schema

package
v1.1.12 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 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 AccessctlCreateDTO

type AccessctlCreateDTO struct {
	Path        string `gorm:"column:path" json:"Path" form:"Path" comment:"Path"`
	Ips         string `gorm:"column:ips" json:"Ips" form:"Ips" comment:"Ips"`
	Access      int    `gorm:"column:access;default:1" json:"Access" form:"Access" comment:"Access"`
	Description string `gorm:"column:description" json:"Description" form:"Description" comment:"Description"`
	Status      int    `gorm:"column:status;type:int" json:"Status"`
}

type AccessctlQueryDTO

type AccessctlQueryDTO struct {
	Path        string `gorm:"column:path" json:"Path" form:"Path" comment:"Path"`
	Ips         string `gorm:"column:ips" json:"Ips" form:"Ips" comment:"Ips"`
	Access      int    `gorm:"column:access;default:1" json:"Access" form:"Access" comment:"Access"`
	Description string `gorm:"column:description" json:"Description" form:"Description" comment:"Description"`
	Status      int    `gorm:"column:status;type:int" json:"Status"`
}

type AccessctlVO

type AccessctlVO struct {
	Id          int64  `gorm:"primaryKey;autoIncrement:false" json:"Id,string"`
	Path        string `gorm:"column:path" json:"Path" form:"Path" comment:"Path"`
	Ips         string `gorm:"column:ips" json:"Ips" form:"Ips" comment:"Ips"`
	Access      int    `gorm:"column:access" json:"Access" form:"Access" comment:"Access"`
	Description string `gorm:"column:description" json:"Description" form:"Description" comment:"Description"`
	Status      int    `gorm:"column:status;type:int" json:"Status"`
}

func (AccessctlVO) GetDetailVO

func (c AccessctlVO) GetDetailVO() interface{}

func (AccessctlVO) GetListVO

func (c AccessctlVO) GetListVO() interface{}

type ClientCreateDTO

type ClientCreateDTO struct {
	Status  int    `gorm:"column:status;type:int" json:"Status"`
	Access  int    `gorm:"column:access;default:1" json:"Access" form:"Access" comment:"Access"`
	Task    int    `gorm:"column:task;type:int" json:"Task"`
	Cpu     string `gorm:"column:cpu;size:255" json:"Cpu"`
	Mem     string `gorm:"column:mem;size:255" json:"Mem"`
	Account string `gorm:"column:account;size:255" json:"Account"`
	Name    string `gorm:"column:name;size:255" json:"Name"`
	Ip      string `gorm:"column:ip;size:39;unique" json:"Ip"`
}

type ClientQueryDTO

type ClientQueryDTO struct {
	Status  int    `gorm:"column:status;type:int" json:"Status"`
	Access  int    `gorm:"column:access;default:1" json:"Access" form:"Access" comment:"Access"`
	Task    int    `gorm:"column:task;type:int" json:"Task"`
	Cpu     string `gorm:"column:cpu;size:255" json:"Cpu"`
	Mem     string `gorm:"column:mem;size:255" json:"Mem"`
	Account string `gorm:"column:account;size:255" json:"Account"`
	Name    string `gorm:"column:name;size:255" json:"Name"`
	Ip      string `gorm:"column:ip;size:39;unique" json:"Ip"`
}

type ClientVO

type ClientVO struct {
	Id      int64  `json:"Id,string"`
	Status  int    `gorm:"column:status;type:int" json:"Status"`
	Access  int    `gorm:"column:access;default:1" json:"Access" form:"Access" comment:"Access"`
	Task    int    `gorm:"column:task;type:int" json:"Task"`
	Cpu     string `gorm:"column:cpu;size:255" json:"Cpu"`
	Mem     string `gorm:"column:mem;size:255" json:"Mem"`
	Account string `gorm:"column:account;size:255" json:"Account"`
	Name    string `gorm:"column:name;size:255" json:"Name"`
	Ip      string `gorm:"column:ip;size:39;unique" json:"Ip"`
}

func (ClientVO) GetDetailVO

func (c ClientVO) GetDetailVO() interface{}

func (ClientVO) GetListVO

func (c ClientVO) GetListVO() interface{}

type ConcurrencyDTO

type ConcurrencyDTO struct {
	UserId    string `gorm:"column:user_id" json:"UserId" form:"UserId" comment:"UserId"`             // 用户ID
	Resource  string `gorm:"column:resource" json:"Resource" form:"Resource" comment:"Resource"`      // 资源名
	RateLimit int    `gorm:"column:rate_limit" json:"RateLimit" form:"RateLimit" comment:"RateLimit"` // 每秒令牌生成数
	Burst     int    `gorm:"column:burst" json:"Burst" form:"Burst" comment:"Burst"`                  // 突发容量
	WaitTime  int    `gorm:"column:wait_time" json:"WaitTime" form:"WaitTime" comment:"WaitTime"`     // 最大排队等待时间
	Status    int    `gorm:"column:status;default:0" json:"Status" form:"Status" comment:"Status"`
}

type ConcurrencyVO

type ConcurrencyVO struct {
	Id        int64  `gorm:"primaryKey;autoIncrement:false" json:"Id,string"`
	UserId    string `gorm:"column:user_id" json:"UserId" form:"UserId" comment:"UserId"`             // 用户ID
	Resource  string `gorm:"column:resource" json:"Resource" form:"Resource" comment:"Resource"`      // 资源名
	RateLimit int    `gorm:"column:rate_limit" json:"RateLimit" form:"RateLimit" comment:"RateLimit"` // 每秒令牌生成数
	Burst     int    `gorm:"column:burst" json:"Burst" form:"Burst" comment:"Burst"`                  // 突发容量
	WaitTime  int    `gorm:"column:wait_time" json:"WaitTime" form:"WaitTime" comment:"WaitTime"`     // 最大排队等待时间
	Status    int    `gorm:"column:status;default:0" json:"Status" form:"Status" comment:"Status"`
}

func (ConcurrencyVO) GetDetailVO

func (c ConcurrencyVO) GetDetailVO() interface{}

func (ConcurrencyVO) GetListVO

func (c ConcurrencyVO) GetListVO() interface{}

type DataSourceDTO

type DataSourceDTO struct {
	Alias       string `gorm:"column:alias;not null" json:"Alias" form:"Alias" comment:"Alias"`
	UserName    string `gorm:"column:user_name" json:"UserName" form:"UserName" comment:"UserName"`
	Password    string `gorm:"column:password" json:"Password" form:"Password" comment:"Password"`
	Host        string `gorm:"column:host;not null" json:"Host" form:"Host" comment:"Host"`
	Port        int    `gorm:"column:port" json:"Port" form:"Port" comment:"Port"`
	DriverClass string `gorm:"column:driver_class" json:"DriverClass" form:"DriverClass" comment:"DriverClass"`
	DbName      string `gorm:"column:db_name" json:"DbName" form:"DbName" comment:"DbName"`
	Status      int    `gorm:"column:status" json:"Status" form:"Status" comment:"Status"`
}

type DataSourceVO

type DataSourceVO struct {
	Id          int64  `gorm:"primaryKey;autoIncrement:false" json:"Id,string"`
	Alias       string `gorm:"column:alias;not null" json:"Alias" form:"Alias" comment:"Alias"`
	UserName    string `gorm:"column:user_name" json:"UserName" form:"UserName" comment:"UserName"`
	Password    string `gorm:"column:password" json:"Password" form:"Password" comment:"Password"`
	Host        string `gorm:"column:host;not null" json:"Host" form:"Host" comment:"Host"`
	Port        int    `gorm:"column:port" json:"Port" form:"Port" comment:"Port"`
	DriverClass string `gorm:"column:driver_class" json:"DriverClass" form:"DriverClass" comment:"DriverClass"`
	DbName      string `gorm:"column:db_name" json:"DbName" form:"DbName" comment:"DbName"`
	Status      int    `gorm:"column:status" json:"Status" form:"Status" comment:"Status"`
	CreatedAt   base.ISO8601Time
	UpdatedAt   base.ISO8601Time
}

func (DataSourceVO) GetDetailVO

func (c DataSourceVO) GetDetailVO() interface{}

func (DataSourceVO) GetListVO

func (c DataSourceVO) GetListVO() interface{}

type DictCreateDTO

type DictCreateDTO struct {
	ParentId int64  `gorm:"column:parent_id" json:"ParentId,string"`
	Code     string `gorm:"column:code" json:"Code"`
	Key      string `gorm:"column:key" json:"Key"`
	Value    string `gorm:"column:value;size:255" json:"Value"`
	Status   int    `gorm:"column:status;type:int" json:"Status"`
	Remark   string `gorm:"column:remark" json:"Remark"`
}

type DictQueryDTO

type DictQueryDTO struct {
	ParentId    int64  `gorm:"column:parent_id" json:"ParentId,string"`
	Code        string `gorm:"column:code" json:"Code"`
	Key         string `gorm:"column:key" json:"Key"`
	Value       string `gorm:"column:value;size:255" json:"Value"`
	Status      int    `gorm:"column:status;type:int" json:"Status"`
	Remark      string `gorm:"column:remark" json:"Remark"`
	ParentId_eq string `gorm:"column:parent_id" json:"ParentId_eq"`
}

type DictVO

type DictVO struct {
	Id       int64  `gorm:"primaryKey;autoIncrement:false" json:"Id,string"`
	ParentId int64  `gorm:"column:parent_id" json:"ParentId,string"`
	Code     string `gorm:"column:code" json:"Code"`
	Key      string `gorm:"column:key" json:"Key"`
	Value    string `gorm:"column:value;size:255" json:"Value"`
	Status   int    `gorm:"column:status;type:int" json:"Status"`
	Remark   string `gorm:"column:remark" json:"Remark"`
}

func (DictVO) GetDetailVO

func (c DictVO) GetDetailVO() interface{}

func (DictVO) GetListVO

func (c DictVO) GetListVO() interface{}

Jump to

Keyboard shortcuts

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