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 (ModelDTO) GetCreateDTO ¶
func (c ModelDTO) GetCreateDTO() interface{}
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{}
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 (TableDTO) GetCreateDTO ¶
func (c TableDTO) GetCreateDTO() interface{}
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{}
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 (TmplDTO) GetCreateDTO ¶
func (c TmplDTO) GetCreateDTO() interface{}
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{}
Click to show internal directories.
Click to hide internal directories.