package models import ( "time" ) type TDmIdentity struct { IdentityId int64 `xorm:"not null pk autoincr comment('角色ID') INT(4)"` IdentityName string `xorm:"not null comment('角色名称') VARCHAR(64)"` IsDistribute int64 `xorm:"default NULL comment('是不是可以分配(用于集成系统展示)') INT(4)"` UpdateTs time.Time `xorm:"default 'current_timestamp()' TIMESTAMP"` }