This commit is contained in:
2025-11-02 01:25:30 +01:00
commit ed18be9fbd
17 changed files with 598 additions and 0 deletions

14
models/server.go Normal file
View File

@@ -0,0 +1,14 @@
package models
import (
"time"
"github.com/google/uuid"
)
type Server struct {
ID uuid.UUID `gorm:"primaryKey" json:"id"`
Password string `gorm:"not null" json:"-"`
CreatedAt time.Time `gorm:"autoCreateTime" json:"created_at"`
UpdatedAt time.Time `gorm:"autoUpdateTime" json:"updated_at"`
}