package models import ( "time" ) type TDmSubject struct { SubjectId int64 `xorm:"not null pk autoincr comment('科目ID') index(cdwl_index) INT(11)"` SubjectName string `xorm:"not null comment('科目名') VARCHAR(30)"` StageId string `xorm:"not null comment('学段ID,关联t_dm_stage表的STAGE_ID。') index(cdwl_index) CHAR(11)"` SortId int64 `xorm:"not null INT(11)"` UpdateTs time.Time `xorm:"default 'current_timestamp()' TIMESTAMP"` }