sys_enum_user

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Event = event{
	BeforeCreate: sys_enum.New(2, "创建前"),
	AfterCreate:  sys_enum.New(4, "创建后"),
}
View Source
var State = state{
	Unactivated: sys_enum.New(0, "未激活"),
	Normal:      sys_enum.New(1, "正常"),
	Suspended:   sys_enum.New(-1, "封号"),
	Abnormality: sys_enum.New(-2, "异常"),
	Canceled:    sys_enum.New(-3, "已注销"),
}
View Source
var Type = userType{
	Anonymous:   sys_enum.New(0, "匿名"),
	User:        sys_enum.New(1, "用户"),
	WeBusiness:  sys_enum.New(2, "微商"),
	Merchant:    sys_enum.New(4, "商户"),
	Advertiser:  sys_enum.New(8, "广告主"),
	Facilitator: sys_enum.New(16, "服务商"),
	Operator:    sys_enum.New(32, "运营商"),
	SuperAdmin:  sys_enum.New(-1, "超级管理员"),
}
View Source
var User = user{
	Event: Event,
	Type:  Type,
	State: State,
}

Functions

This section is empty.

Types

type EventEnum

type EventEnum sys_enum.Code

type StateEnum

type StateEnum sys_enum.Code

type TypeEnum

type TypeEnum sys_enum.Code

Jump to

Keyboard shortcuts

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