entity

package
v0.1.28 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2025 License: AGPL-3.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseCode

type BaseCode struct {
	entity.StatusEntity `xorm:"extends"`
	BaseCodeId          string        `xorm:"varchar(16)" json:"baseCodeId,omitempty"`
	BaseCodeType        string        `xorm:"varchar(16)" json:"baseCodeType,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"`
	Version             int           `json:"version,omitempty"`
	StartDate           *time.Time    `json:"startDate,omitempty"`
	EndDate             *time.Time    `json:"endDate,omitempty"`
	CodeDetails         []*CodeDetail `xorm:"-" json:"codeDetails,omitempty"`
}

func (BaseCode) IdName

func (BaseCode) IdName() string

func (BaseCode) KeyName

func (BaseCode) KeyName() string

func (BaseCode) TableName

func (BaseCode) TableName() string

type CodeDetail

type CodeDetail struct {
	entity.StatusEntity `xorm:"extends"`
	BaseCodeId          string     `xorm:"varchar(16)" json:"baseCodeId,omitempty"`
	CodeDetailId        string     `xorm:"varchar(16)" json:"codeDetailId,omitempty"`
	Label               string     `xorm:"varchar(16)" json:"label,omitempty"`
	Value               string     `xorm:"varchar(32)" json:"value,omitempty"`
	Version             int        `json:"version,omitempty"`
	StartDate           *time.Time `json:"startDate,omitempty"`
	EndDate             *time.Time `json:"endDate,omitempty"`
	ParentId            string     `xorm:"varchar(16)" json:"parentId,omitempty"`
	SerialId            int        `json:"serialId,omitempty"`
}

func (CodeDetail) IdName

func (CodeDetail) IdName() string

func (CodeDetail) KeyName

func (CodeDetail) KeyName() string

func (CodeDetail) TableName

func (CodeDetail) TableName() string

Jump to

Keyboard shortcuts

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