15 lines
489 B
Go
15 lines
489 B
Go
package models
|
|
|
|
import "time"
|
|
|
|
type SiteLanguage struct {
|
|
SiteID uint32 `gorm:"primaryKey;autoIncrement:false"`
|
|
Lang string `gorm:"primaryKey;size:35;not null"`
|
|
IsDefault bool `gorm:"not null;default:false"`
|
|
Enabled bool `gorm:"not null;default:true"`
|
|
Confirmed bool `gorm:"not null;default:false"`
|
|
SocialLocale *string `gorm:"size:35"`
|
|
CreatedAt time.Time `gorm:"autoCreateTime"`
|
|
UpdatedAt time.Time `gorm:"autoUpdateTime"`
|
|
}
|