Files
iotlcm/worker-svr/internal/model/entity/sys_role.go
T

35 lines
2.2 KiB
Go

// =================================================================================
// Code generated and maintained 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 {
RoleId int64 `json:"roleId" orm:"role_id" ` //
TenantId string `json:"tenantId" orm:"tenant_id" ` //
DeptId int64 `json:"deptId" orm:"dept_id" ` //
RoleName string `json:"roleName" orm:"role_name" ` //
RoleKey string `json:"roleKey" orm:"role_key" ` //
RoleSort int64 `json:"roleSort" orm:"role_sort" ` //
DataScope string `json:"dataScope" orm:"data_scope" ` //
MenuCheckStrictly int64 `json:"menuCheckStrictly" orm:"menu_check_strictly" ` //
DeptCheckStrictly int64 `json:"deptCheckStrictly" orm:"dept_check_strictly" ` //
Status string `json:"status" orm:"status" ` //
IsPass int64 `json:"isPass" orm:"is_pass" ` //
SourceRoleId int64 `json:"sourceRoleId" orm:"source_role_id" ` //
SourceDeptId int64 `json:"sourceDeptId" orm:"source_dept_id" ` //
CreatedDept int64 `json:"createdDept" orm:"created_dept" ` //
CreatedBy int64 `json:"createdBy" orm:"created_by" ` //
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" ` //
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" ` //
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" ` //
DeletedBy int64 `json:"deletedBy" orm:"deleted_by" ` //
DeletedAt *gtime.Time `json:"deletedAt" orm:"deleted_at" ` //
Remark string `json:"remark" orm:"remark" ` //
}