Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTimestampSec ¶
Types ¶
type Record ¶
type Record struct { ID uint `gorm:"AUTO_INCREMENT;not null"` Name string `gorm:"type:varchar(64)" form:"name"` StudentID string `gorm:"type:varchar(64);not null" form:"student_id"` Phone string `gorm:"type:varchar(64)" form:"phone"` Province string `gorm:"type:text" form:"province"` Address string `gorm:"type:text" form:"address"` Temp uint `form:"temp"` CreateTime *time.Time `gorm:"default:current_timestamp"` }
data model
Click to show internal directories.
Click to hide internal directories.