mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-04-23 02:48:34 +08:00
优化功能,通知功能,任务功能
This commit is contained in:
29
apps/develop/entity/dev_gen_table_column.go
Normal file
29
apps/develop/entity/dev_gen_table_column.go
Normal file
@@ -0,0 +1,29 @@
|
||||
package entity
|
||||
|
||||
type DevGenTableColumn struct {
|
||||
ColumnId int64 `gorm:"column_id,primary" json:"columnId"` // 编号
|
||||
TableId int64 `gorm:"table_id" json:"tableId"` // 归属表编号
|
||||
TableName string `gorm:"table_name" json:"tableName"`
|
||||
ColumnName string `gorm:"column_name" json:"columnName"` // 列名称
|
||||
ColumnComment string `gorm:"column_comment" json:"columnComment"` // 列描述
|
||||
ColumnType string `gorm:"column_type" json:"columnType"` // 列类型
|
||||
GoType string `gorm:"go_type" json:"goType"` // Go类型
|
||||
GoField string `gorm:"go_field" json:"goField"` // Go字段名
|
||||
HtmlField string `gorm:"html_field" json:"htmlField"` // html字段名
|
||||
IsPk string `gorm:"is_pk" json:"isPk"` // 是否主键(1是)
|
||||
IsIncrement string `gorm:"is_increment" json:"isIncrement"` // 是否自增(1是)
|
||||
IsRequired string `gorm:"is_required" json:"isRequired"` // 是否必填(1是)
|
||||
IsInsert string `gorm:"is_insert" json:"isInsert"` // 是否为插入字段(1是)
|
||||
IsEdit string `gorm:"is_edit" json:"isEdit"` // 是否编辑字段(1是)
|
||||
IsList string `gorm:"is_list" json:"isList"` // 是否列表字段(1是)
|
||||
IsQuery string `gorm:"is_query" json:"isQuery"` // 是否查询字段(1是)
|
||||
QueryType string `gorm:"query_type" json:"queryType"` // 查询方式(等于、不等于、大于、小于、范围)
|
||||
HtmlType string `gorm:"html_type" json:"htmlType"` // 显示类型(文本框、文本域、下拉框、复选框、单选框、日期控件)
|
||||
DictType string `gorm:"dict_type" json:"dictType"` // 字典类型
|
||||
Sort int `gorm:"sort" json:"sort"` // 排序
|
||||
LinkTableName string `gorm:"link_table_name" json:"linkTableName"` // 关联表名
|
||||
LinkTableClass string `gorm:"link_table_class" json:"linkTableClass"` // 关联表类名
|
||||
LinkTablePackage string `gorm:"link_table_package" json:"linkTablePackage"` // 关联表包名
|
||||
LinkLabelId string `gorm:"link_label_id" json:"linkLabelId"` // 关联表键名
|
||||
LinkLabelName string `gorm:"link_label_name" json:"linkLabelName"` // 关联表字段值
|
||||
}
|
||||
Reference in New Issue
Block a user