sys_message.go 1.9 KB

12345678910111213141516171819202122232425262728293031
  1. // ==========================================================================
  2. // This is auto-generated by gf cli tool. DO NOT EDIT THIS FILE MANUALLY.
  3. // ==========================================================================
  4. package internal
  5. import (
  6. "github.com/gogf/gf/os/gtime"
  7. )
  8. // SysMessage is the golang structure for table sys_message.
  9. type SysMessage struct {
  10. Id int `orm:"id,primary" json:"id"` // 主键
  11. MsgTitle string `orm:"msg_title" json:"msgTitle"` // 消息标题
  12. MsgContent string `orm:"msg_content" json:"msgContent"` // 消息内容
  13. MsgType string `orm:"msg_type" json:"msgType"` // 消息类别(10公告20消息30审批)
  14. MsgStatus string `orm:"msg_status" json:"msgStatus"` // 消息状态(10正常20关闭)
  15. RecvUserIds string `orm:"recv_user_ids" json:"recvUserIds"` // 接收用户
  16. SendType string `orm:"send_type" json:"sendType"` // 发送方式 默认10 websocket推送
  17. OpnUrl string `orm:"opn_url" json:"opnUrl"` // 操作链接
  18. IsRead string `orm:"is_read" json:"isRead"` // 是否已读(10否20是)
  19. ReadTime *gtime.Time `orm:"read_time" json:"readTime"` // 已读时间
  20. Remark string `orm:"remark" json:"remark"` // 备注
  21. CreatedBy int `orm:"created_by" json:"createdBy"` // 创建者
  22. CreatedName string `orm:"created_name" json:"createdName"` // 创建人
  23. CreatedTime *gtime.Time `orm:"created_time" json:"createdTime"` // 创建时间
  24. UpdatedBy int `orm:"updated_by" json:"updatedBy"` // 更新者
  25. UpdatedName string `orm:"updated_name" json:"updatedName"` // 更新人
  26. UpdatedTime *gtime.Time `orm:"updated_time" json:"updatedTime"` // 更新时间
  27. DeletedTime *gtime.Time `orm:"deleted_time" json:"deletedTime"` // 删除时间
  28. }