schemas

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataSourceDTO

type DataSourceDTO struct {
	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" 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"`
}

func (DataSourceDTO) GetBulkUpdate

func (c DataSourceDTO) GetBulkUpdate() bool

func (DataSourceDTO) GetCreateDTO

func (c DataSourceDTO) GetCreateDTO() interface{}

func (DataSourceDTO) GetKeys

func (c DataSourceDTO) GetKeys() []string

func (DataSourceDTO) GetQueryDTO

func (c DataSourceDTO) GetQueryDTO() interface{}

type DataSourceVO

type DataSourceVO struct {
	Id          int64  `gorm:"primaryKey;autoIncrement:false" json:"Id,string"`
	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" 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   time.Time
	UpdatedAt   time.Time
}

func (DataSourceVO) GetDetailVO

func (c DataSourceVO) GetDetailVO() interface{}

func (DataSourceVO) GetListVO

func (c DataSourceVO) GetListVO() interface{}

type ModelDTO

type ModelDTO struct {
	Id            int64                `gorm:"primaryKey;autoIncrement:false" json:"Id,string"`
	TABLE_NAME    string               `gorm:"column:table_name;size:64" json:"TABLE_NAME" form:"TABLE_NAME" comment:"COLUMN_NAME"`
	CLASS_NAME    string               `gorm:"column:class_name;size:64" json:"CLASS_NAME" form:"CLASS_NAME" comment:"CLASS_NAME"`
	MODEL_NAME    string               `gorm:"column:model_name;size:64" json:"MODEL_NAME" form:"MODEL_NAME" comment:"MODEL_NAME"`
	TMPL_GROUP_ID int                  `gorm:"column:categary_id" json:"TMPL_GROUP_ID" form:"TMPL_GROUP_ID" comment:"TMPL_GROUP_ID"`
	Fields        []models.FieldEntity `gorm:"foreignKey:Model_ID;association_foreignkey:Id;constraint:OnUpdate:CASCADE,OnDelete:CASCADE;"`
}

func (ModelDTO) GetBulkUpdate

func (c ModelDTO) GetBulkUpdate() bool

func (ModelDTO) GetCreateDTO

func (c ModelDTO) GetCreateDTO() interface{}

func (ModelDTO) GetKeys

func (c ModelDTO) GetKeys() []string

func (ModelDTO) GetQueryDTO

func (c ModelDTO) GetQueryDTO() interface{}

type ModelVO

type ModelVO struct {
	Id            int64  `gorm:"primaryKey;autoIncrement:false" json:"Id,string"`
	TMPL_GROUP_ID int    `gorm:"column:categary_id" json:"TMPL_GROUP_ID" form:"TMPL_GROUP_ID" comment:"TMPL_GROUP_ID"`
	TABLE_NAME    string `gorm:"column:table_name;size:64" json:"TABLE_NAME" form:"TABLE_NAME" comment:"COLUMN_NAME"`
	CLASS_NAME    string `gorm:"column:class_name;size:64" json:"CLASS_NAME" form:"CLASS_NAME" comment:"CLASS_NAME"`
	MODEL_NAME    string `gorm:"column:model_name;size:64" json:"MODEL_NAME" form:"MODEL_NAME" comment:"MODEL_NAME"`
	CreatedAt     time.Time
	UpdatedAt     time.Time
	Fields        []models.FieldEntity `gorm:"foreignKey:Model_ID;references:ID"`
}

func (ModelVO) GetDetailVO

func (c ModelVO) GetDetailVO() interface{}

func (ModelVO) GetListVO

func (c ModelVO) GetListVO() interface{}

type TableDTO

type TableDTO struct {
	TABLE_SCHEMA string `gorm:"column:TABLE_SCHEMA" json:"TABLE_SCHEMA" form:"TABLE_SCHEMA" comment:"TABLE_SCHEMA"`
	TABLE_NAME   string `gorm:"column:TABLE_NAME" json:"TABLE_NAME" form:"TABLE_NAME" comment:"TABLE_NAME"`
	TABLE_TYPE   string `gorm:"column:TABLE_TYPE" json:"TABLE_TYPE" form:"TABLE_TYPE" comment:"TABLE_TYPE"`
}

func (TableDTO) GetBulkUpdate

func (c TableDTO) GetBulkUpdate() bool

func (TableDTO) GetCreateDTO

func (c TableDTO) GetCreateDTO() interface{}

func (TableDTO) GetKeys

func (c TableDTO) GetKeys() []string

func (TableDTO) GetQueryDTO

func (c TableDTO) GetQueryDTO() interface{}

type TableVO

type TableVO struct {
	TABLE_SCHEMA string `gorm:"column:TABLE_SCHEMA" json:"TABLE_SCHEMA" form:"TABLE_SCHEMA" comment:"TABLE_SCHEMA"`
	TABLE_NAME   string `gorm:"column:TABLE_NAME" json:"TABLE_NAME" form:"TABLE_NAME" comment:"TABLE_NAME"`
	TABLE_TYPE   string `gorm:"column:TABLE_TYPE" json:"TABLE_TYPE" form:"TABLE_TYPE" comment:"TABLE_TYPE"`
	Fields       []models.ColumnEntity
}

func (TableVO) GetDetailVO

func (c TableVO) GetDetailVO() interface{}

func (TableVO) GetListVO

func (c TableVO) GetListVO() interface{}

type TmplDTO

type TmplDTO struct {
	TMPL_GROUP_ID int64  `gorm:"column:categary_id" json:"TMPL_GROUP_ID,string" form:"TMPL_GROUP_ID" comment:"TMPL_GROUP_ID"`
	NAME          string `gorm:"column:name" json:"NAME" form:"NAME" comment:"NAME"`
	PATH          string `gorm:"column:path" json:"PATH" form:"PATH" comment:"PATH"`
	CONTENT       string `gorm:"column:content" json:"CONTENT" form:"CONTENT" comment:"CONTENT"`
	Status        int    `json:"Status type:int" form:"Status" comment:"Status"`
}

func (TmplDTO) GetBulkUpdate

func (c TmplDTO) GetBulkUpdate() bool

func (TmplDTO) GetCreateDTO

func (c TmplDTO) GetCreateDTO() interface{}

func (TmplDTO) GetKeys

func (c TmplDTO) GetKeys() []string

func (TmplDTO) GetQueryDTO

func (c TmplDTO) GetQueryDTO() interface{}

type TmplVO

type TmplVO struct {
	Id            int64  `gorm:"primaryKey;autoIncrement:false" json:"Id,string"`
	TMPL_GROUP_ID int64  `gorm:"column:categary_id" json:"TMPL_GROUP_ID,string" form:"TMPL_GROUP_ID" comment:"TMPL_GROUP_ID"`
	NAME          string `gorm:"column:name" json:"NAME" form:"NAME" comment:"NAME"`
	PATH          string `gorm:"column:path" json:"PATH" form:"PATH" comment:"PATH"`
	CONTENT       string `gorm:"column:content" json:"CONTENT" form:"CONTENT" comment:"CONTENT"`
	Status        int    `json:"Status" form:"Status" comment:"Status"`
}

func (TmplVO) GetDetailVO

func (c TmplVO) GetDetailVO() interface{}

func (TmplVO) GetListVO

func (c TmplVO) GetListVO() interface{}

Jump to

Keyboard shortcuts

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