model

package
v0.0.0-...-06a76ff Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2023 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AssignedRole

type AssignedRole struct {
	ID        string
	EntityID  string
	RoleID    string
	CircleID  string
	UserID    string
	CreatedAt time.Time
}

type Field

type Field struct {
	Value any
}

type Permission

type Permission struct {
	Service   string
	Operation string
	Scope     string
}

type Role

type Role struct {
	ID          string
	Name        string
	Permissions []Permission
	CreatedAt   time.Time
	UpdatedAt   *time.Time
	DeletedAt   *time.Time
}

type RoleUpdate

type RoleUpdate struct {
	Name        *Field
	Permissions *Field
	DeletedAt   *Field
}

Jump to

Keyboard shortcuts

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