// ========================================================================== // This is auto-generated by gf cli tool. DO NOT EDIT THIS FILE MANUALLY. // ========================================================================== package internal import ( "github.com/gogf/gf/os/gtime" ) // SysRole is the golang structure for table sys_role. type SysRole struct { Id int `orm:"id,primary" json:"id"` // 角色ID RoleName string `orm:"role_name" json:"roleName"` // 角色名称 RoleKey string `orm:"role_key" json:"roleKey"` // 角色权限字符串 DataScope string `orm:"data_scope" json:"dataScope"` // 数据范围;(10:全部数据权限 20:自定数据权限 30:本部门数据权限 40:本部门及以下数据权限) MenuCheckStrictly string `orm:"menu_check_strictly" json:"menuCheckStrictly"` // 菜单树选择项是否关联显示 DeptCheckStrictly string `orm:"dept_check_strictly" json:"deptCheckStrictly"` // 部门树选择项是否关联显示 Status string `orm:"status" json:"status"` // 角色状态(10正常20停用) Sort int `orm:"sort" json:"sort"` // 显示顺序 Remark string `orm:"remark" json:"remark"` // 备注 CreatedBy int `orm:"created_by" json:"createdBy"` // 创建者 CreatedName string `orm:"created_name" json:"createdName"` // 创建人 CreatedTime *gtime.Time `orm:"created_time" json:"createdTime"` // 创建时间 UpdatedBy int `orm:"updated_by" json:"updatedBy"` // 更新者 UpdatedName string `orm:"updated_name" json:"updatedName"` // 更新人 UpdatedTime *gtime.Time `orm:"updated_time" json:"updatedTime"` // 更新时间 DeletedTime *gtime.Time `orm:"deleted_time" json:"deletedTime"` // 删除时间 }