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.

25 lines
710 B

// 自动生成模板AppHerbsN
package app
import (
"ln/nft/global"
)
// AppHerbsN 结构体
type AppHerbsN struct {
global.GVA_MODEL
CategoryId *int `json:"categoryId" form:"categoryId" gorm:"column:category_id;comment:分类;size:10;"`
Desc string `json:"desc" form:"desc" gorm:"column:desc;comment:简介;size:200;"`
Detail string `json:"detail" form:"detail" gorm:"column:detail;comment:详情;"`
Name string `json:"name" form:"name" gorm:"column:name;comment:名称;size:20;"`
Thumb string `json:"thumb" form:"thumb" gorm:"column:thumb;comment:图片;size:255;"`
}
// TableName AppHerbsN 表名
func (AppHerbsN) TableName() string {
return "app_herbs"
}