生成表结构、
This commit is contained in:
26
internal/model/do/notices.go
Normal file
26
internal/model/do/notices.go
Normal file
@ -0,0 +1,26 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// Notices is the golang structure of table notices for DAO operations like Where/Data.
|
||||
type Notices struct {
|
||||
g.Meta `orm:"table:notices, do:true"`
|
||||
Id interface{} // 通知ID
|
||||
Title interface{} // 通知标题
|
||||
Content interface{} // 通知内容
|
||||
Type interface{} // 通知类型:1=系统公告,2=活动通知,3=维护通知
|
||||
Status interface{} // 状态:0=关闭,1=发布
|
||||
VisibleTo interface{} // 可见范围:1=所有人,2=仅门店,3=仅用户
|
||||
MerchantId interface{} // 所属商户ID
|
||||
StoreId interface{} // 所属门店ID
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedAt *gtime.Time // 软删除时间戳
|
||||
}
|
||||
Reference in New Issue
Block a user