20 lines
786 B
Go
20 lines
786 B
Go
package models
|
|
|
|
import "work_cation/pkg/gormx"
|
|
|
|
type ErlangCards struct {
|
|
UUID string `json:"uuid"` // id ip加时间戳生成
|
|
UserIp string `json:"user_ip"` // 用户ip
|
|
Title string `json:"title"` // 标题
|
|
Text string `json:"text"` // 内容
|
|
Covers gormx.ListString `json:"covers"` // 封面
|
|
Template string `json:"template"` // 模版
|
|
VarName gormx.ListString `json:"var_name"` // 变量
|
|
VarContent gormx.ListString `json:"var_content"` // 变量内容
|
|
IsShowOut bool `json:"is_show_out"` // 是否展示
|
|
|
|
Number int `json:"number"` // 数量
|
|
Goods int `json:"goods"` // 点赞
|
|
Collection int `json:"collection"` // 收藏
|
|
}
|