package models import ( "time" ) type TPersonDutyCharge struct { Id int64 `xorm:"not null pk autoincr index(id) INT(11)"` PersonId string `xorm:"not null default '''' comment('人员ID') CHAR(36)"` CityId string `xorm:"not null comment('人员所在城市ID') CHAR(36)"` AreaId string `xorm:"not null comment('人员所在区域ID') CHAR(36)"` BureauId string `xorm:"not null comment('人员所在单位ID') CHAR(36)"` MainSchoolId string `xorm:"not null comment('人员所在主校ID,如果是普通学校,就是本校ID') CHAR(36)"` BUse int64 `xorm:"not null comment('是否要用') INT(11)"` DutiesId int64 `xorm:"not null comment('职务ID') INT(11)"` InChargeId int64 `xorm:"not null comment('分管ID') INT(11)"` UpdateTs time.Time `xorm:"not null default 'current_timestamp()' comment('更新时间戳') index(id) index TIMESTAMP"` Operator string `xorm:"not null comment('操作人员') CHAR(36)"` IpAddress int64 `xorm:"not null default 0 comment('操作者IP') BIGINT(11)"` }