sys_role.go 837 B

123456789101112131415
  1. // ==========================================================================
  2. // Code generated by GoFrame CLI tool. DO NOT EDIT.
  3. // ==========================================================================
  4. package internal
  5. // SysRole is the golang structure for table sys_role.
  6. type SysRole struct {
  7. Id uint `orm:"id,primary" json:"id"` //
  8. Status uint `orm:"status" json:"status"` // 状态;0:禁用;1:正常
  9. ListOrder float64 `orm:"list_order" json:"listOrder"` // 排序
  10. Name string `orm:"name" json:"name"` // 角色名称
  11. Remark string `orm:"remark" json:"remark"` // 备注
  12. DataScope uint `orm:"data_scope" json:"dataScope"` // 数据范围(1:全部数据权限 2:自定数据权限 3:本部门数据权限 4:本部门及以下数据权限)
  13. }