BaseConfig2

package
v5.1.37 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: Apache-2.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 FieldsConfig

type FieldsConfig struct {
	//组织ID
	OrgID int64 `db:"org_id" json:"orgID"`
	//使用系统
	UseSystem string `db:"use_system" json:"useSystem"`
	//使用系统标识
	UseSystemID   int64  `db:"use_system_id" json:"useSystemID"`
	UseSystemMark string `db:"use_system_mark" json:"useSystemMark"`
	//标识码
	Mark string `db:"mark" json:"mark"`
	//创建时间
	CreateAt time.Time `db:"create_at" json:"createAt"`
	//更新时间
	UpdateAt time.Time `db:"update_at" json:"updateAt"`
	//是否可以公开
	AllowPublic bool `db:"allow_public" json:"allowPublic"`
	//验证Hash
	UpdateHash string `db:"update_hash" json:"updateHash"`
	//名称
	Name string `db:"name" json:"name"`
	//分组
	GroupMark string `db:"group_mark" json:"groupMark"`
	//描述
	Des string `db:"des" json:"des"`
	//结构
	// string / bool / int / int64 / float64
	// 结构也可用于前端判定某个特殊的样式,如时间样式、过期时间样式等,程序内不做任何限定,只是标记
	ValueType string `db:"value_type" json:"valueType"`
	//值
	Value string `db:"value" json:"value"`
}

FieldsConfig 配置

Jump to

Keyboard shortcuts

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