75675358bf0e4591a8092d48ff0830e929b7658b.svn-base 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. package org.jeecg.modules.message.entity;
  2. import org.jeecg.common.aspect.annotation.Dict;
  3. import org.jeecg.common.system.base.entity.JeecgEntity;
  4. import org.jeecgframework.poi.excel.annotation.Excel;
  5. import org.springframework.format.annotation.DateTimeFormat;
  6. import com.baomidou.mybatisplus.annotation.TableName;
  7. import com.fasterxml.jackson.annotation.JsonFormat;
  8. import lombok.Data;
  9. import lombok.EqualsAndHashCode;
  10. import lombok.experimental.Accessors;
  11. /**
  12. * @Description: 消息
  13. * @Author: jeecg-boot
  14. * @Date: 2019-04-09
  15. * @Version: V1.0
  16. */
  17. @Data
  18. @EqualsAndHashCode(callSuper = false)
  19. @Accessors(chain = true)
  20. @TableName("sys_sms")
  21. public class SysMessage extends JeecgEntity {
  22. /**推送内容*/
  23. @Excel(name = "推送内容", width = 15)
  24. private java.lang.String esContent;
  25. /**推送所需参数Json格式*/
  26. @Excel(name = "推送所需参数Json格式", width = 15)
  27. private java.lang.String esParam;
  28. /**接收人*/
  29. @Excel(name = "接收人", width = 15)
  30. private java.lang.String esReceiver;
  31. /**推送失败原因*/
  32. @Excel(name = "推送失败原因", width = 15)
  33. private java.lang.String esResult;
  34. /**发送次数*/
  35. @Excel(name = "发送次数", width = 15)
  36. private java.lang.Integer esSendNum;
  37. /**推送状态 0未推送 1推送成功 2推送失败*/
  38. @Excel(name = "推送状态 0未推送 1推送成功 2推送失败", width = 15)
  39. @Dict(dicCode = "msgSendStatus")
  40. private java.lang.String esSendStatus;
  41. /**推送时间*/
  42. @Excel(name = "推送时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
  43. @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
  44. @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
  45. private java.util.Date esSendTime;
  46. /**消息标题*/
  47. @Excel(name = "消息标题", width = 15)
  48. private java.lang.String esTitle;
  49. /**推送方式:1短信 2邮件 3微信*/
  50. @Excel(name = "推送方式:1短信 2邮件 3微信", width = 15)
  51. @Dict(dicCode = "msgType")
  52. private java.lang.String esType;
  53. /**备注*/
  54. @Excel(name = "备注", width = 15)
  55. private java.lang.String remark;
  56. }