sys_enum_audit

package
v0.2.112 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Action = action{
	Reject:     enum.New[ActionEnum](-1, "不通过"),
	WaitReview: enum.New[ActionEnum](0, "待审核"),
	Approve:    enum.New[ActionEnum](1, "通过"),
}
View Source
var Audit = audit{
	Action:         Action,
	Event:          Event,
	PermissionType: PermissionType,
}
View Source
var Event = eventState{
	Created:   enum.New[EventEnum](1, "有新的审核申请"),
	ReSubmit:  enum.New[EventEnum](2, "有再次提交的申请"),
	ExecAudit: enum.New[EventEnum](4, "处理审核"),
}
View Source
var (
	PermissionType = permissionType{
		ViewDetail: permission.New(5953151699124297, "ViewDetail", "查看资质审核信息", "查看某条资质审核信息"),
		List:       permission.New(5953151699124298, "List", "资质审核列表", "查看所有资质审核"),
		Update:     permission.New(5953151699124299, "Update", "更新资质审核信息", "更新某条资质审核信息"),
	}
)

Functions

This section is empty.

Types

type ActionEnum

type ActionEnum enum.IEnumCode[int]

type EventEnum

type EventEnum enum.IEnumCode[int]

type PermissionTypeEnum

type PermissionTypeEnum = *permission.SysPermissionTree

Jump to

Keyboard shortcuts

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