提供文件上传及静态服务
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.

28 lines
693 B

package model
import "service-api/global"
type SysBrochure struct { //单页 协议、条款等
global.BASE_ID
Title string `gorm:"size:10" json:"title"` //标题
Type string `gorm:"size:30" sql:"index" json:"type"` //类型
Content string `gorm:"type:text" json:"content"` //内容
Src string `gorm:"size:500" json:"src"` //静态页面html
global.TIME_MODEL
}
type SysBrochure4List struct {
global.BASE_ID
Title string `gorm:"size:10" json:"title"` //标题
global.TIME_MODEL
global.TIME_MODEL_VIEW
}
func (SysBrochure) TableName() string {
return "sys_brochure"
}
func (SysBrochure4List) TableName() string {
return "sys_brochure"
}