package models import ( "time" ) type TSysAccountMount struct { Id int64 `xorm:"not null pk autoincr INT(11)"` PersonId string `xorm:"not null comment('人员ID') index CHAR(36)"` IdentityId int64 `xorm:"not null comment('身份ID') INT(11)"` MainPersonId string `xorm:"not null default '''' comment('主账号人员ID') index CHAR(255)"` MainIdentityId int64 `xorm:"not null comment('主账号身份ID') INT(11)"` AccountType int64 `xorm:"not null comment('账号类型 1:主账号 2:子账号') INT(11)"` UpdateTs time.Time `xorm:"not null default 'current_timestamp()' TIMESTAMP"` }