f67ec17abffc72a90a33bc6271977aa7e5f10b91.svn-base 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. package org.jeecg.modules.system.entity;
  2. import com.baomidou.mybatisplus.annotation.IdType;
  3. import com.baomidou.mybatisplus.annotation.TableId;
  4. import com.baomidou.mybatisplus.annotation.TableName;
  5. import com.fasterxml.jackson.annotation.JsonFormat;
  6. import lombok.Data;
  7. import org.jeecg.common.aspect.annotation.Dict;
  8. import org.jeecgframework.poi.excel.annotation.Excel;
  9. import org.springframework.format.annotation.DateTimeFormat;
  10. import java.io.Serializable;
  11. /**
  12. * @Description: 系统通告表
  13. * @Author: jeecg-boot
  14. * @Date: 2019-01-02
  15. * @Version: V1.0
  16. */
  17. @Data
  18. @TableName("sys_announcement")
  19. public class SysAnnouncement implements Serializable {
  20. private static final long serialVersionUID = 1L;
  21. /**
  22. * id
  23. */
  24. @TableId(type = IdType.ASSIGN_ID)
  25. private java.lang.String id;
  26. /**
  27. * 标题
  28. */
  29. @Excel(name = "标题", width = 15)
  30. private java.lang.String titile;
  31. /**
  32. * 内容
  33. */
  34. @Excel(name = "内容", width = 30)
  35. private java.lang.String msgContent;
  36. /**
  37. * 开始时间
  38. */
  39. @Excel(name = "开始时间", width = 15, format = "yyyy-MM-dd HH:mm:ss")
  40. @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
  41. @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  42. private java.util.Date startTime;
  43. /**
  44. * 结束时间
  45. */
  46. @Excel(name = "结束时间", width = 15, format = "yyyy-MM-dd HH:mm:ss")
  47. @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
  48. @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  49. private java.util.Date endTime;
  50. /**
  51. * 发布人
  52. */
  53. @Excel(name = "发布人", width = 15)
  54. private java.lang.String sender;
  55. /**
  56. * 优先级(L低,M中,H高)
  57. */
  58. @Excel(name = "优先级", width = 15, dicCode = "priority")
  59. @Dict(dicCode = "priority")
  60. private java.lang.String priority;
  61. /**
  62. * 消息类型1:通知公告2:系统消息
  63. */
  64. @Excel(name = "消息类型", width = 15, dicCode = "msg_category")
  65. @Dict(dicCode = "msg_category")
  66. private java.lang.String msgCategory;
  67. /**
  68. * 通告对象类型(USER:指定用户,ALL:全体用户)
  69. */
  70. @Excel(name = "通告对象类型", width = 15, dicCode = "msg_type")
  71. @Dict(dicCode = "msg_type")
  72. private java.lang.String msgType;
  73. /**
  74. * 发布状态(0未发布,1已发布,2已撤销)
  75. */
  76. @Excel(name = "发布状态", width = 15, dicCode = "send_status")
  77. @Dict(dicCode = "send_status")
  78. private java.lang.String sendStatus;
  79. /**
  80. * 发布时间
  81. */
  82. @Excel(name = "发布时间", width = 15, format = "yyyy-MM-dd HH:mm:ss")
  83. @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
  84. @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  85. private java.util.Date sendTime;
  86. /**
  87. * 撤销时间
  88. */
  89. @Excel(name = "撤销时间", width = 15, format = "yyyy-MM-dd HH:mm:ss")
  90. @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
  91. @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  92. private java.util.Date cancelTime;
  93. /**
  94. * 删除状态(0,正常,1已删除)
  95. */
  96. private java.lang.String delFlag;
  97. /**
  98. * 创建人
  99. */
  100. private java.lang.String createBy;
  101. /**
  102. * 创建时间
  103. */
  104. @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
  105. @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  106. private java.util.Date createTime;
  107. /**
  108. * 更新人
  109. */
  110. private java.lang.String updateBy;
  111. /**
  112. * 更新时间
  113. */
  114. @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
  115. @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  116. private java.util.Date updateTime;
  117. /**
  118. * 指定用户
  119. **/
  120. private java.lang.String userIds;
  121. /**
  122. * 业务类型(email:邮件 bpm:流程)
  123. */
  124. private java.lang.String busType;
  125. /**
  126. * 业务id
  127. */
  128. private java.lang.String busId;
  129. /**
  130. * 打开方式 组件:component 路由:url
  131. */
  132. private java.lang.String openType;
  133. /**
  134. * 组件/路由 地址
  135. */
  136. private java.lang.String openPage;
  137. /**
  138. * 摘要
  139. */
  140. private java.lang.String msgAbstract;
  141. /**
  142. * 钉钉task_id,用于撤回消息
  143. */
  144. private java.lang.String dtTaskId;
  145. }