package models type TDmSubject struct { SubjectId string `xorm:"not null pk comment('学科ID') CHAR(2)"` SubjectName string `xorm:"not null default '''' comment('学科名称') VARCHAR(16)"` BUse int32 `xorm:"not null default 1 comment('是否启用 0:未启用 1:启用') TINYINT(1)"` SortId int32 `xorm:"not null default 1 comment('排序号') INT(11)"` }