RetreatOptimization.java 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. package platform.modules.government.entity;
  2. import lombok.Data;
  3. import platform.common.base.model.BaseEntity;
  4. import platform.common.base.model.Template;
  5. import platform.modules.sys.entity.Approval;
  6. import javax.persistence.Table;
  7. import javax.persistence.Transient;
  8. import java.util.List;
  9. /**
  10. * @author kevin
  11. * @since 2019/3/14 10:45 AM
  12. */
  13. @Data
  14. @Table(name = "retreat_optimization")
  15. public class RetreatOptimization extends BaseEntity {
  16. /**
  17. * 编号
  18. */
  19. private String no;
  20. /**
  21. * 类型
  22. */
  23. private Integer type;
  24. /**
  25. * 板块
  26. */
  27. private Integer plate;
  28. /**
  29. * 提交时间
  30. */
  31. private String commit_time;
  32. /**
  33. * 状态
  34. */
  35. private Integer status;
  36. /**
  37. * 是否已读
  38. */
  39. private Boolean is_read;
  40. /**
  41. * 模版文件
  42. */
  43. @Transient
  44. private List<Template> materials;
  45. /**
  46. * 审批流
  47. */
  48. @Transient
  49. private List<Approval> approvals;
  50. @Transient
  51. private String plateName;
  52. @Transient
  53. private String typeStr;
  54. @Transient
  55. private String commitTime;
  56. @Transient
  57. private String statusStr;
  58. @Transient
  59. private String userName;
  60. @Transient
  61. private Boolean canAudit = false;
  62. @Transient
  63. private Boolean canEdit = false;
  64. }