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.

100 lines
2.1 KiB

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
  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.apache.ibatis.type.Alias;
  9. import org.springframework.format.annotation.DateTimeFormat;
  10. import java.io.Serializable;
  11. import java.util.Date;
  12. import java.util.List;
  13. @Data
  14. @TableName("plm_bom_header")
  15. public class BomHeaderEntity extends QueryPage implements Serializable {
  16. private static final long serialVersionUID = 1L;
  17. /**
  18. * 工厂
  19. **/
  20. private String site;
  21. /**
  22. * 物料编码
  23. **/
  24. private String partNo;
  25. /**
  26. * bom版本号
  27. **/
  28. private Integer engChgLevel;
  29. /**
  30. * 制造类型
  31. **/
  32. private String bomType;
  33. /**
  34. * 备注
  35. **/
  36. private String noteText;
  37. /**
  38. * 开始时间
  39. **/
  40. @DateTimeFormat(pattern = "yyyy-MM-dd")
  41. @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
  42. private Date effPhaseInDate;
  43. /**
  44. * 结束时间
  45. **/
  46. @DateTimeFormat(pattern = "yyyy-MM-dd")
  47. @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
  48. private Date effPhaseOutDate;
  49. /**
  50. * 工程版本号
  51. **/
  52. private String engRevision;
  53. /**
  54. *
  55. **/
  56. private String rowVersion;
  57. /**
  58. *
  59. **/
  60. private String rowKey;
  61. /**
  62. * 区分是BOM/配方
  63. **/
  64. private String typeFlag;
  65. /**
  66. * 净重
  67. **/
  68. private String netWeight;
  69. /**
  70. * 创建时间
  71. **/
  72. @TableField(fill = FieldFill.INSERT)
  73. private Date createDate;
  74. /**
  75. * 创建人
  76. **/
  77. private String createBy;
  78. /**
  79. * 更新时间
  80. **/
  81. @TableField(fill = FieldFill.UPDATE)
  82. private Date updateDate;
  83. /**
  84. * 更新人
  85. **/
  86. private String updateBy;
  87. /**
  88. * 数据集
  89. */
  90. @TableField(exist = false)
  91. private List<BomHeaderEntity> informationList;
  92. /**
  93. * 是否为正式物料
  94. */
  95. private String officialFlag;
  96. }