package models import ( "time" ) type TIntegratedSystemDutyCharge struct { Appid string `xorm:"not null pk comment('某个集成系统') CHAR(32)"` DutiesId int64 `xorm:"not null pk comment('职务') INT(11)"` InChargeId int64 `xorm:"not null pk comment('分管工作') INT(11)"` DutiesChargeMd5 string `xorm:"not null comment('两者加在一起的MD5值') index VARCHAR(255)"` UpdateTs time.Time `xorm:"not null default 'current_timestamp()' comment('时间戳') TIMESTAMP"` }