Files
go_oxspeak_server/models/server.go
2025-11-15 16:19:25 +01:00

16 lines
354 B
Go

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