package models import ( "time" ) type TPersonDutyChargeLog struct { LogIdInt int64 `xorm:"not null pk autoincr comment('整数主键') unique index(log_id_int_2) INT(11)"` ActionName string `xorm:"not null comment('操作名称') VARCHAR(128)"` Id int64 `xorm:"not null INT(10)"` 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(log_id_int_2) index TIMESTAMP"` Operator string `xorm:"not null comment('操作人员') CHAR(36)"` IpAddress int64 `xorm:"not null default 0 comment('操作者IP') BIGINT(11)"` }