You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
412 B

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"`
}