model

package
v0.0.0-...-e3c6108 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FieldTypeDepartment = "department"
)
View Source
const (
	FieldTypeUser = "user"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DepartmentDelegate

type DepartmentDelegate struct {
	item.SqlHelper
}

func NewDepartmentDelegate

func NewDepartmentDelegate() (d *DepartmentDelegate)

func (*DepartmentDelegate) BuildField

func (d *DepartmentDelegate) BuildField() []*item.Field

func (*DepartmentDelegate) IsList

func (d *DepartmentDelegate) IsList() bool

func (*DepartmentDelegate) Name

func (d *DepartmentDelegate) Name() string

func (*DepartmentDelegate) Type

func (d *DepartmentDelegate) Type() item.FieldType

type UserDelegate

type UserDelegate struct {
	item.SqlHelper
}

func NewUserDelegate

func NewUserDelegate() (d *UserDelegate)

func (*UserDelegate) BuildField

func (d *UserDelegate) BuildField() []*item.Field

func (*UserDelegate) IsList

func (d *UserDelegate) IsList() bool

func (*UserDelegate) Name

func (d *UserDelegate) Name() string

func (*UserDelegate) Type

func (d *UserDelegate) Type() item.FieldType

Jump to

Keyboard shortcuts

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