sys_enum_audit

package
v0.6.13 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 License: MIT Imports: 5 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,
	Category:       Category,
	PermissionType: PermissionType,
}
View Source
var Category = category{
	PersonLicenseAudit:  enum.New[CategoryEnum](1, "个人资质审核"),
	CompanyLicenseAudit: enum.New[CategoryEnum](2, "主体资质审核"),
	DataAudit:           enum.New[CategoryEnum](4, "数据审核"),
}
View Source
var Event = eventState{
	Created:      enum.New[EventEnum](1, "有新的审核申请"),
	ReSubmit:     enum.New[EventEnum](2, "有再次提交的申请"),
	ExecAudit:    enum.New[EventEnum](4, "处理审核"),
	GetAuditData: enum.New[EventEnum](8, "获取审核数据"),
}
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 CategoryEnum added in v0.4.19

type CategoryEnum enum.IEnumCode[int]

CategoryEnum 审核业务类别:1个人资质审核、2主体资质审核、4数据审核

type EventEnum

type EventEnum enum.IEnumCode[int]

type PermissionTypeEnum

type PermissionTypeEnum = base_permission.IPermission

Jump to

Keyboard shortcuts

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