package models import ( "time" ) type TThirdPartySample struct { Id int64 `xorm:"not null pk autoincr INT(11)"` OrgCode string `xorm:"default 'NULL' comment('单位代码') VARCHAR(36)"` IdcardCode string `xorm:"default 'NULL' comment('身份证号') CHAR(128)"` PersonName string `xorm:"not null comment('人员姓名') VARCHAR(32)"` CreateTime time.Time `xorm:"not null comment('创建时间') index DATETIME"` UpdateTs time.Time `xorm:"not null default 'current_timestamp()' comment('更新时间戳') TIMESTAMP"` IpAddress int64 `xorm:"not null comment('访问者IP') BIGINT(11)"` }