system

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2026 License: GPL-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 System

type System struct {
	Id        int64     `gorm:"primarykey"`
	Category  string    `gorm:"type:varchar(100);default:'';not null;comment:Category"`
	Key       string    `gorm:"index:index_key;unique;type:varchar(100);default:'';not null;comment:Key Name"`
	Value     string    `gorm:"type:text;not null;comment:Key Value"`
	Type      string    `gorm:"type:varchar(50);default:'';not null;comment:Type"`
	Desc      string    `gorm:"type:text;not null;comment:Description"`
	CreatedAt time.Time `gorm:"<-:create;comment:Creation Time"`
	UpdatedAt time.Time `gorm:"comment:Update Time"`
}

func (*System) ConfigKey added in v1.14.18

func (s *System) ConfigKey() string

ConfigKey, ConfigValue, and ConfigType expose the system configuration record through the narrow contract used by generic configuration helpers.

func (*System) ConfigType added in v1.14.18

func (s *System) ConfigType() string

func (*System) ConfigValue added in v1.14.18

func (s *System) ConfigValue() string

func (System) TableName

func (System) TableName() string

Jump to

Keyboard shortcuts

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