package models import ( "time" ) type TTransferApplyLog 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)"` SourceBureauId string `xorm:"not null comment('源单位') CHAR(36)"` TargetBureauId string `xorm:"not null comment('目标单位') CHAR(36)"` IdentityId int64 `xorm:"not null comment('身份ID') INT(11)"` PersonId string `xorm:"not null comment('人员ID') CHAR(36)"` PersonName string `xorm:"not null comment('人员姓名,冗余') VARCHAR(32)"` StatusId int64 `xorm:"not null comment('申请状态,t_transfer_apply_status') INT(11)"` TargetIsRead int64 `xorm:"not null default 0 comment('目标单位管理员是否已查阅') INT(11)"` SourceIsRead int64 `xorm:"not null default 0 comment('源单位管理员是否已查看回执结果') INT(11)"` ApplyTime time.Time `xorm:"not null comment('申请时间') DATETIME"` ApplyMessage string `xorm:"not null comment('申请信息') VARCHAR(255)"` EchoTime time.Time `xorm:"not null default ''1970-01-01 00:00:00'' comment('反馈时间') DATETIME"` EchoMessage string `xorm:"not null comment('审核信息') VARCHAR(255)"` BUse int64 `xorm:"not null default 1 comment('是不是有效') 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)"` }