domain

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateType added in v1.4.0

type CreateType uint8
const (
	// LDAP LDAP创建
	LDAP CreateType = 1
	// SYSTEM 系统创建
	SYSTEM CreateType = 2
)

func (CreateType) ToUint8 added in v1.4.0

func (s CreateType) ToUint8() uint8

type Status added in v1.3.0

type Status uint8
const (
	// ENABLED 启用
	ENABLED Status = 1
	// DISABLED 禁用
	DISABLED Status = 2
)

func (Status) ToUint8 added in v1.3.0

func (s Status) ToUint8() uint8

type User

type User struct {
	Id          int64
	Username    string
	Password    string
	Email       string
	Title       string
	DisplayName string
	Status      Status
	CreateType  CreateType
	RoleCodes   []string
}

Jump to

Keyboard shortcuts

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