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.

17 lines
473 B

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