init
This commit is contained in:
28
internal/model/entity/system_role.go
Normal file
28
internal/model/entity/system_role.go
Normal file
@@ -0,0 +1,28 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// SystemRole is the golang structure for table system_role.
|
||||
type SystemRole struct {
|
||||
Id int64 `json:"id" orm:"id" description:"角色ID"` // 角色ID
|
||||
Name string `json:"name" orm:"name" description:"角色名称"` // 角色名称
|
||||
Code string `json:"code" orm:"code" description:"角色权限字符串"` // 角色权限字符串
|
||||
Sort int `json:"sort" orm:"sort" description:"显示顺序"` // 显示顺序
|
||||
DataScope int `json:"dataScope" orm:"data_scope" description:"数据范围(1:全部数据权限 2:自定数据权限 3:本部门数据权限 4:本部门及以下数据权限)"` // 数据范围(1:全部数据权限 2:自定数据权限 3:本部门数据权限 4:本部门及以下数据权限)
|
||||
DataScopeDeptIds string `json:"dataScopeDeptIds" orm:"data_scope_dept_ids" description:"数据范围(指定部门数组)"` // 数据范围(指定部门数组)
|
||||
Status int `json:"status" orm:"status" description:"角色状态(0正常 1停用)"` // 角色状态(0正常 1停用)
|
||||
Type int `json:"type" orm:"type" description:"角色类型"` // 角色类型
|
||||
Remark string `json:"remark" orm:"remark" description:"备注"` // 备注
|
||||
Creator string `json:"creator" orm:"creator" description:"创建者"` // 创建者
|
||||
CreateTime *gtime.Time `json:"createTime" orm:"create_time" description:"创建时间"` // 创建时间
|
||||
Updater string `json:"updater" orm:"updater" description:"更新者"` // 更新者
|
||||
UpdateTime *gtime.Time `json:"updateTime" orm:"update_time" description:"更新时间"` // 更新时间
|
||||
Deleted bool `json:"deleted" orm:"deleted" description:"是否删除"` // 是否删除
|
||||
TenantId int64 `json:"tenantId" orm:"tenant_id" description:"租户编号"` // 租户编号
|
||||
}
|
||||
Reference in New Issue
Block a user