package models import "time" type Site struct { ID uint32 `gorm:"primaryKey;autoIncrement"` Name string `gorm:"size:100;not null"` Key string `gorm:"column:site_key;size:32;not null;uniqueIndex"` BaseURL string `gorm:"size:255;not null"` DefaultSocialImageID *uint32 DefaultRobots string `gorm:"size:16;not null"` Locale *string `gorm:"size:35"` IsDefault bool `gorm:"not null"` CreatedAt time.Time `gorm:"autoCreateTime"` UpdatedAt time.Time `gorm:"autoUpdateTime"` }