sys_enum_license

package
v0.8.24 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AuthType = authType{}
View Source
var License = license{
	PermissionType: PermissionType,
	State:          State,
}
View Source
var (
	PermissionType = permissionType{
		ViewDetail: permission.New(5953153121845328, "ViewDetail", "查看个人资质信息", "查看某条个人资质信息"),
		List:       permission.New(5953153121845329, "List", "个人资质列表", "查看所有个人资质信息"),
		Update:     permission.New(5953153121845330, "Update", "更新资质审核信息", "更新某条资质审核信息"),
		SetState:   permission.New(5953153121845331, "SetState", "设置个人资质状态", "设置某个人资质认证状态"),
		Create:     permission.New(5953153121845332, "Create", "创建个人资质", "创建个人资质信息"),
	}
)
View Source
var State = state{
	Disabled: enum.New[StateEnum](0, "失效"),
	Normal:   enum.New[StateEnum](1, "正常"),
}

Functions

This section is empty.

Types

type AuthTypeEnum added in v0.7.1

type AuthTypeEnum enum.IEnumCode[int]

type PermissionTypeEnum

type PermissionTypeEnum = base_permission.IPermission

type StateEnum added in v0.7.1

type StateEnum enum.IEnumCode[int]

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL