|
|
@@ -136,23 +136,24 @@ func (Enumdicitem) TableName() string {
|
|
|
|
|
|
// Noticemsg 公告消息表
|
|
|
type Noticemsg struct {
|
|
|
- Autoid int32 `json:"autoid" xorm:"'AUTOID'" binding:"required"` // 自增ID
|
|
|
- Msgtype int32 `json:"msgtype" xorm:"'MSGTYPE'"` // 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
|
|
|
- Title string `json:"title" xorm:"'TITLE'"` // 标题
|
|
|
- Content string `json:"content" xorm:"'CONTENT'"` // 内容
|
|
|
- Scheduletime time.Time `json:"scheduletime" xorm:"'SCHEDULETIME'"` // 计划发送时间
|
|
|
- Publisher string `json:"publisher" xorm:"'PUBLISHER'"` // 消息发布者
|
|
|
- Sendtype int32 `json:"sendtype" xorm:"'SENDTYPE'"` // 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
|
|
|
- Userid int64 `json:"userid" xorm:"'USERID'"` // 会员/投资者ID推送方式 为 个人时,填写投资者ID
|
|
|
- Istop int32 `json:"istop" xorm:"'ISTOP'"` // 是否置顶 - 0:不置顶 1:置顶
|
|
|
- Sentstatus int32 `json:"sentstatus" xorm:"'SENTSTATUS'"` // 推送状态 - 0:未推送 1:已推送 2:审核拒绝
|
|
|
- Endtime time.Time `json:"endtime" xorm:"'ENDTIME'"` // 结束时间
|
|
|
- Creatorid int64 `json:"creatorid" xorm:"'CREATORID'"` // 建仓人
|
|
|
- Createtime time.Time `json:"createtime" xorm:"'CREATETIME'"` // 创建时间
|
|
|
- Auditoruserid int64 `json:"auditoruserid" xorm:"'AUDITORUSERID'"` // 审核人
|
|
|
- Audittime time.Time `json:"audittime" xorm:"'AUDITTIME'"` // 审核日期
|
|
|
- Auditremark string `json:"auditremark" xorm:"'AUDITREMARK'"` // 审核备注
|
|
|
- Msgiconurl string `json:"msgiconurl" xorm:"'MSGICONURL'"` // 消息图标Url
|
|
|
+ Autoid int32 `json:"autoid" xorm:"'AUTOID'" binding:"required"` // 自增ID
|
|
|
+ Msgtype int32 `json:"msgtype" xorm:"'MSGTYPE'"` // 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
|
|
|
+ Title string `json:"title" xorm:"'TITLE'"` // 标题
|
|
|
+ Content string `json:"content" xorm:"'CONTENT'"` // 内容
|
|
|
+ Scheduletime time.Time `json:"scheduletime" xorm:"'SCHEDULETIME'"` // 计划发送时间
|
|
|
+ Publisher string `json:"publisher" xorm:"'PUBLISHER'"` // 消息发布者
|
|
|
+ Sendtype int32 `json:"sendtype" xorm:"'SENDTYPE'"` // 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
|
|
|
+ Userid int64 `json:"userid" xorm:"'USERID'"` // 会员/投资者ID推送方式 为 个人时,填写投资者ID
|
|
|
+ Istop int32 `json:"istop" xorm:"'ISTOP'"` // 是否置顶 - 0:不置顶 1:置顶
|
|
|
+ Sentstatus int32 `json:"sentstatus" xorm:"'SENTSTATUS'"` // 推送状态 - 0:未推送 1:已推送 2:审核拒绝
|
|
|
+ Endtime time.Time `json:"endtime" xorm:"'ENDTIME'"` // 结束时间
|
|
|
+ Creatorid int64 `json:"creatorid" xorm:"'CREATORID'"` // 建仓人
|
|
|
+ Createtime time.Time `json:"createtime" xorm:"'CREATETIME'"` // 创建时间
|
|
|
+ Auditoruserid int64 `json:"auditoruserid" xorm:"'AUDITORUSERID'"` // 审核人
|
|
|
+ Audittime time.Time `json:"audittime" xorm:"'AUDITTIME'"` // 审核日期
|
|
|
+ Auditremark string `json:"auditremark" xorm:"'AUDITREMARK'"` // 审核备注
|
|
|
+ Msgiconurl string `json:"msgiconurl" xorm:"'MSGICONURL'"` // 消息图标Url
|
|
|
+ IsforceDisplay int32 `json:"isforcedisplay" xorm:"'ISFORCEDISPLAY'"` // 是否强制显示 - 0:不强制 1:强制
|
|
|
}
|
|
|
|
|
|
// TableName is NOTICEMSG
|