You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

83 lines
1.8 KiB

  1. package com.spring.modules.part.entity;
  2. import com.baomidou.mybatisplus.annotation.FieldFill;
  3. import com.baomidou.mybatisplus.annotation.TableField;
  4. import com.baomidou.mybatisplus.annotation.TableName;
  5. import com.fasterxml.jackson.annotation.JsonFormat;
  6. import com.spring.common.utils.QueryPage;
  7. import lombok.Data;
  8. import org.springframework.format.annotation.DateTimeFormat;
  9. import java.io.Serializable;
  10. import java.util.Date;
  11. import java.util.List;
  12. @Data
  13. @TableName("part_revision")
  14. public class PartRevisionEntity extends QueryPage implements Serializable {
  15. private static final long serialVersionUID = 1L;
  16. /**
  17. * 工厂
  18. **/
  19. private String site;
  20. /**
  21. * 物料编码
  22. **/
  23. private String partNo;
  24. /**
  25. * 物料版本号
  26. **/
  27. private Integer engChgLevel;
  28. /**
  29. * 开始时间
  30. **/
  31. @DateTimeFormat(pattern = "yyyy-MM-dd")
  32. @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
  33. private Date effPhaseInDate;
  34. /**
  35. * 结束时间
  36. **/
  37. @DateTimeFormat(pattern = "yyyy-MM-dd")
  38. @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
  39. private Date effPhaseOutDate;
  40. /**
  41. * 备注
  42. **/
  43. private String revisionText;
  44. /**
  45. *
  46. **/
  47. private String productStatus;
  48. /**
  49. *
  50. **/
  51. private String repairStatus;
  52. /**
  53. * 工程版本号
  54. **/
  55. private String engRevision;
  56. /**
  57. * 创建时间
  58. **/
  59. @TableField(fill = FieldFill.INSERT)
  60. private Date createDate;
  61. /**
  62. * 创建人
  63. **/
  64. private String createBy;
  65. /**
  66. * 更新时间
  67. **/
  68. @TableField(fill = FieldFill.UPDATE)
  69. private Date updateDate;
  70. /**
  71. * 更新人
  72. **/
  73. private String updateBy;
  74. /**
  75. * 数据集
  76. */
  77. @TableField(exist = false)
  78. private List<PartRevisionEntity> informationList;
  79. }