sys_role.go 1016 B

123456789101112131415161718192021
  1. // =================================================================================
  2. // Code generated by GoFrame CLI tool. DO NOT EDIT.
  3. // =================================================================================
  4. package entity
  5. import (
  6. "github.com/gogf/gf/v2/os/gtime"
  7. )
  8. // SysRole is the golang structure for table sys_role.
  9. type SysRole struct {
  10. Id uint `json:"id" description:""`
  11. Status uint `json:"status" description:"状态;0:禁用;1:正常"`
  12. ListOrder uint `json:"listOrder" description:"排序"`
  13. Name string `json:"name" description:"角色名称"`
  14. Remark string `json:"remark" description:"备注"`
  15. DataScope uint `json:"dataScope" description:"数据范围(1:全部数据权限 2:自定数据权限 3:本部门数据权限 4:本部门及以下数据权限)"`
  16. CreatedAt *gtime.Time `json:"createdAt" description:"创建时间"`
  17. UpdatedAt *gtime.Time `json:"updatedAt" description:"更新时间"`
  18. }