UMessage.java 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. package com.fjhx.entity.message;
  2. import com.baomidou.mybatisplus.annotation.IdType;
  3. import java.util.Date;
  4. import com.baomidou.mybatisplus.annotation.Version;
  5. import com.baomidou.mybatisplus.annotation.TableId;
  6. import com.fjhx.base.BaseEntity;
  7. import com.baomidou.mybatisplus.annotation.TableField;
  8. import lombok.Data;
  9. import lombok.EqualsAndHashCode;
  10. /**
  11. * <p>
  12. * 消息提醒
  13. * </p>
  14. *
  15. * @author ${author}
  16. * @since 2022-07-29
  17. */
  18. @Data
  19. @EqualsAndHashCode(callSuper = true)
  20. public class UMessage extends BaseEntity {
  21. /**
  22. * 软删除
  23. */
  24. @TableField("IsDelete")
  25. private Boolean isdelete;
  26. /**
  27. * 创建时间
  28. */
  29. @TableField("CreatedTime")
  30. private Date createdtime;
  31. /**
  32. * 修改时间
  33. */
  34. @TableField("UpdatedTime")
  35. private Date updatedtime;
  36. /**
  37. * 提醒来源 (枚举定义:0=物料申购,1=入库管理,2=库存管理,3=出库管理,4=系统提醒,5=盘点提醒)
  38. */
  39. @TableField("SourceType")
  40. private Integer sourcetype;
  41. /**
  42. * 提醒内容
  43. */
  44. @TableField("Content")
  45. private String content;
  46. /**
  47. * 发送消息用户ID
  48. */
  49. @TableField("SenderId")
  50. private String senderid;
  51. /**
  52. * 消息提醒对象 (枚举定义:0=用户,1=角色,2=全员)
  53. */
  54. @TableField("ObejctType")
  55. private Integer obejcttype;
  56. /**
  57. * 关联编号
  58. */
  59. @TableField("LinkId")
  60. private String linkid;
  61. /**
  62. * 待办类型 (枚举定义:0=物料申购,1=合同管理,2=付款管理,3=出库管理,4=其他出库(退货、报损),5=质检数量修正申请,6=物料修改申请,7=物料价格调整,8=库存盘点,9=归还入库,10=合同删除,11=免检申请,12=供应商出货申请)
  63. */
  64. @TableField("DealWithType")
  65. private Integer dealwithtype;
  66. }