26 lines
1.3 KiB
Go
26 lines
1.3 KiB
Go
// =================================================================================
|
||
// Code generated by GoFrame CLI tool. DO NOT EDIT.
|
||
// =================================================================================
|
||
|
||
package entity
|
||
|
||
import (
|
||
"github.com/gogf/gf/v2/os/gtime"
|
||
)
|
||
|
||
// SysRole is the golang structure for table sys_role.
|
||
type SysRole struct {
|
||
Id uint `json:"id" description:""`
|
||
Pid uint `json:"pid" description:""`
|
||
Status uint `json:"status" description:"状态;0:禁用;1:正常"`
|
||
ListOrder uint `json:"listOrder" description:"排序"`
|
||
Name string `json:"name" description:"角色名称"`
|
||
Remark string `json:"remark" description:"备注"`
|
||
DataScope uint `json:"dataScope" description:"数据范围(1:全部数据权限 2:自定数据权限 3:本部门数据权限 4:本部门及以下数据权限)"`
|
||
CreatedAt *gtime.Time `json:"createdAt" description:"创建时间"`
|
||
UpdatedAt *gtime.Time `json:"updatedAt" description:"更新时间"`
|
||
UserCnt uint `json:"userCnt" description:"用户数量"`
|
||
CreatedBy uint64 `json:"createdBy" orm:"created_by" description:"创建人"`
|
||
EffectiveTime string `json:"effectiveTime" orm:"effective_time" description:"角色有效日期"`
|
||
}
|