package models import ( "time" ) type TBaseTerm struct { XqId int64 `xorm:"not null pk autoincr comment('学期ID') index INT(11)"` Xn int64 `xorm:"default NULL comment('学年') INT(11)"` Xq int64 `xorm:"default NULL comment('学期') INT(11)"` Xqmc string `xorm:"default 'NULL' comment('学期名称') VARCHAR(50)"` Ksrq time.Time `xorm:"default 'NULL' comment('开始日期') index(ksrq) DATE"` Jsrq time.Time `xorm:"default 'NULL' comment('结束日期') index(ksrq) DATE"` }