Files
epic-go/internal/model/entity/system_role.go
hu xiaotong 85e3a6540b init
2025-06-20 17:17:02 +08:00

29 lines
3.1 KiB
Go
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// =================================================================================
// 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:"租户编号"` // 租户编号
}