feat:完善项目信息
This commit is contained in:
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user