mirror of
https://gitee.com/xiangheng/x_admin.git
synced 2025-10-07 00:52:57 +08:00
优化素材中心
This commit is contained in:
@@ -8,10 +8,10 @@ import (
|
||||
|
||||
// UserProtocol 用户协议实体
|
||||
type UserProtocol struct {
|
||||
Id int `gorm:"primarykey;comment:''"` //
|
||||
Title string `gorm:"comment:'标题'"` // 标题
|
||||
Content string `gorm:"comment:'协议内容'"` // 协议内容
|
||||
Sort core.NullFloat `gorm:"comment:'排序'"` // 排序
|
||||
Id int `gorm:"primarykey;comment:''"` //
|
||||
Title string `gorm:"comment:'标题'"` // 标题
|
||||
Content string `gorm:"comment:'协议内容'"` // 协议内容
|
||||
// Sort core.NullFloat `gorm:"comment:'排序'"` // 排序
|
||||
IsDelete soft_delete.DeletedAt `gorm:"not null;default:0;softDelete:flag,DeletedAtField:DeleteTime;comment:'是否删除: 0=否, 1=是'"`
|
||||
CreateTime core.NullTime `gorm:"autoCreateTime;comment:'创建时间'"` // 创建时间
|
||||
UpdateTime core.NullTime `gorm:"autoUpdateTime;comment:'更新时间'"` // 更新时间
|
||||
|
Reference in New Issue
Block a user