27 lines
1.9 KiB
Go
27 lines
1.9 KiB
Go
// =================================================================================
|
||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||
// =================================================================================
|
||
|
||
package entity
|
||
|
||
import (
|
||
"github.com/gogf/gf/v2/os/gtime"
|
||
)
|
||
|
||
// Notice is the golang structure for table notice.
|
||
type Notice struct {
|
||
Id int `json:"id" orm:"id" description:"主键ID"` // 主键ID
|
||
TenantId int `json:"tenantId" orm:"tenant_id" description:"租户ID:0=平台级"` // 租户ID:0=平台级
|
||
Title string `json:"title" orm:"title" description:"通知标题"` // 通知标题
|
||
Cover string `json:"cover" orm:"cover" description:"通知封面"` // 通知封面
|
||
Type int `json:"type" orm:"type" description:"通知类型:1-通知 2-公告"` // 通知类型:1-通知 2-公告
|
||
ClickNum int `json:"clickNum" orm:"click_num" description:"点击率"` // 点击率
|
||
Status int `json:"status" orm:"status" description:"通知状态:1-正常 2-停用"` // 通知状态:1-正常 2-停用
|
||
Content string `json:"content" orm:"content" description:"通知公告内容"` // 通知公告内容
|
||
CreateUser string `json:"createUser" orm:"create_user" description:"创建人"` // 创建人
|
||
CreateTime *gtime.Time `json:"createTime" orm:"create_time" description:"创建时间"` // 创建时间
|
||
UpdateUser string `json:"updateUser" orm:"update_user" description:"更新人"` // 更新人
|
||
UpdateTime *gtime.Time `json:"updateTime" orm:"update_time" description:"更新时间"` // 更新时间
|
||
DelFlag int `json:"delFlag" orm:"del_flag" description:"删除标识:0-正常 1-已删除"` // 删除标识:0-正常 1-已删除
|
||
}
|