You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
1.5 KiB
22 lines
1.5 KiB
package modelAppPlatform
|
|
|
|
// 行政组织类型
|
|
type PrintTemplate struct {
|
|
Id int `json:"id" gorm:"primaryKey;column:id;type:int unsigned;not null;comment:Id;index"`
|
|
Title string `json:"title" gorm:"column:title;type:varchar(255) ;default:'';not null;comment:标题"`
|
|
Type string `json:"type" gorm:"column:type;type:varchar(255) ;default:'form';not null;comment:类型"`
|
|
//Mode string `json:"mode" gorm:"column:type;type:varchar(20) ;default:'html';not null;comment:类型"`
|
|
CreaterTime int64 `json:"creater_time" gorm:"column:creater_time;type:bigint unsigned;default:0;not null;comment:创建时间"`
|
|
EditTime int64 `json:"editTime" gorm:"column:edit_time;type:bigint unsigned;default:0;not null;comment:编辑时间"`
|
|
|
|
VersionId string `json:"version_id" gorm:"column:version_id;type:varchar(40) ;default:0;not null;comment:来源于哪个表单"`
|
|
FormKey string `json:"form_key" gorm:"column:form_key;type:varchar(40) ;default:0;not null;comment:主表标识"`
|
|
PageConfigJson string `json:"pageconfigjson" gorm:"column:pageconfigjson;type:varchar(300);comment:页面配置json"`
|
|
FormTemplateJson string `json:"formtemplatejson" gorm:"column:formtemplatejson;type:mediumtext;comment:表单结构json"`
|
|
TreeDataJson string `json:"treedatajson" gorm:"column:treedatajson;type:mediumtext;comment:表单结构json"`
|
|
NodeCheckedList string `json:"nodecheckedlist" gorm:"column:nodecheckedlist;type:text;comment:打印字段json"`
|
|
}
|
|
|
|
func (pt *PrintTemplate) TableName() string {
|
|
return "print_templates"
|
|
}
|
|
|