feat:完善项目信息

This commit is contained in:
henry
2022-01-13 15:23:27 +08:00
parent e3909112ce
commit 0494bbf5d0
18 changed files with 396 additions and 15 deletions

View File

@ -1,7 +1,16 @@
package model
// SysBanner Banner数据管理模型
type SysBanner struct {
Model
ModelTenant
Title string `gorm:"column:title;type:varchar(255);default:'';comment:名称标题" json:"title"`
Local string `gorm:"column:local;type:varchar(255);default:'';comment:所在位置" json:"local"`
Key string `gorm:"column:key;type:varchar(100);default:'';comment:不做参考,页面唯一标识" json:"key"`
Images
Size string `gorm:"column:size;type:varchar(15);default:'';comment:图片尺寸" json:"size"`
IsMultiple int `gorm:"column:is_multiple;type:tinyint(1);default:0;comment:是否多图" json:"is_multiple"`
Remark string `gorm:"column:remark;type:varchar(255);default:'';comment:备注" json:"remark"`
ModelDeleted
ModelAt
}