entity

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2021 License: AGPL-3.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

View Source
const (
	MenuType_App      = "App"
	MenuType_Module   = "Module"
	MenuType_Function = "Function"
)
View Source
const (
	ClientType_User = "User"
	ClientType_Peer = "Peer"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type GuiMenu

type GuiMenu struct {
	entity.StatusEntity `xorm:"extends"`
	MenuId              string     `xorm:"varchar(16)" json:"menuId,omitempty"`
	MenuType            string     `xorm:"varchar(16)" json:"menuType,omitempty"`
	Kind                string     `xorm:"varchar(16)" json:"kind,omitempty"`
	Name                string     `xorm:"varchar(32)" json:"name,omitempty"`
	Label               string     `xorm:"varchar(32)" json:"label,omitempty"`
	ClientType          string     `xorm:"varchar(32)" json:"clientType,omitempty"`
	Path                string     `xorm:"varchar(32)" json:"path,omitempty"`
	Icon                string     `xorm:"varchar(32)" json:"icon,omitempty"`
	ParentId            string     `xorm:"varchar(16)" json:"parentId,omitempty"`
	SerialId            int        `xorm:"" json:"serialId,omitempty"`
	StartDate           *time.Time `json:"startDate,omitempty"`
	EndDate             *time.Time `json:"endDate,omitempty"`
	Children            []*GuiMenu `xorm:"-" json:"children,omitempty"`
}

func (GuiMenu) IdName

func (GuiMenu) IdName() string

func (GuiMenu) KeyName

func (GuiMenu) KeyName() string

func (GuiMenu) TableName

func (GuiMenu) TableName() string

Jump to

Keyboard shortcuts

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