package models import ( //__import_packages__ ) type SysRoleAppFun struct { //主键 Id string `xorm:"'id' varchar(36) pk notnull "json:"id"` //角色ID RoleId string `xorm:"'role_id' varchar(36) notnull "json:"role_id"` //APP功能ID AppFunId string `xorm:"'app_fun_id' varchar(36) notnull "json:"app_fun_id"` //创建人 CreateBy string `xorm:"'create_by' varchar(36) notnull "json:"create_by"` //创建时间 CreateTime LocalTime `xorm:"'create_time' notnull "json:"create_time"` //最后更新人 LastUpdateBy string `xorm:"'last_update_by' varchar(36) notnull "json:"last_update_by"` //最后更新时间 LastUpdateTime int64 `xorm:"'last_update_time' notnull "json:"last_update_time"` //是否删除 1:删除 0:正常 DelFlag int32 `xorm:"'del_flag' notnull "json:"del_flag"` } func (t *SysRoleAppFun) TableName() string { return "sys_role_app_fun" } func init() { AddTableName("sys_role_app_fun") RegisterModel(new(SysRoleAppFun)) }