SlaughterBatchDTO.java 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  1. package com.ruoyi.app.DTO;
  2. import com.fasterxml.jackson.annotation.JsonFormat;
  3. import java.math.BigDecimal;
  4. import java.util.Date;
  5. import java.util.List;
  6. public class SlaughterBatchDTO {
  7. private Long id;
  8. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  9. private Date slaughterTime;
  10. private String salePlace;
  11. private String meatCert;
  12. private String animalCert;
  13. private String slaughterCode;
  14. private Integer amount;
  15. private BigDecimal beforeWeight;
  16. private String purchaserName;
  17. private String supplierName;
  18. private String variety;
  19. private String animalCertNo;
  20. private BigDecimal sideWeight;
  21. private BigDecimal headWeight;
  22. private BigDecimal redWeight;
  23. private BigDecimal whiteWeight;
  24. private String purchaserId;
  25. private String oneCode;
  26. public String getOneCode() {
  27. return oneCode;
  28. }
  29. public void setOneCode(String oneCode) {
  30. this.oneCode = oneCode;
  31. }
  32. public String getPurchaserId() {
  33. return purchaserId;
  34. }
  35. public void setPurchaserId(String purchaserId) {
  36. this.purchaserId = purchaserId;
  37. }
  38. public List<ProductionVo> getProductionVos() {
  39. return productionVos;
  40. }
  41. public void setProductionVos(List<ProductionVo> productionVos) {
  42. this.productionVos = productionVos;
  43. }
  44. private List<ProductionVo> productionVos;
  45. // Getters and Setters
  46. public Long getId() {
  47. return id;
  48. }
  49. public void setId(Long id) {
  50. this.id = id;
  51. }
  52. public Date getSlaughterTime() {
  53. return slaughterTime;
  54. }
  55. public void setSlaughterTime(Date slaughterTime) {
  56. this.slaughterTime = slaughterTime;
  57. }
  58. public String getSalePlace() {
  59. return salePlace;
  60. }
  61. public void setSalePlace(String salePlace) {
  62. this.salePlace = salePlace;
  63. }
  64. public String getMeatCert() {
  65. return meatCert;
  66. }
  67. public void setMeatCert(String meatCert) {
  68. this.meatCert = meatCert;
  69. }
  70. public String getAnimalCert() {
  71. return animalCert;
  72. }
  73. public void setAnimalCert(String animalCert) {
  74. this.animalCert = animalCert;
  75. }
  76. public String getSlaughterCode() {
  77. return slaughterCode;
  78. }
  79. public void setSlaughterCode(String slaughterCode) {
  80. this.slaughterCode = slaughterCode;
  81. }
  82. public Integer getAmount() {
  83. return amount;
  84. }
  85. public void setAmount(Integer amount) {
  86. this.amount = amount;
  87. }
  88. public BigDecimal getBeforeWeight() {
  89. return beforeWeight;
  90. }
  91. public void setBeforeWeight(BigDecimal beforeWeight) {
  92. this.beforeWeight = beforeWeight;
  93. }
  94. public String getPurchaserName() {
  95. return purchaserName;
  96. }
  97. public void setPurchaserName(String purchaserName) {
  98. this.purchaserName = purchaserName;
  99. }
  100. public String getSupplierName() {
  101. return supplierName;
  102. }
  103. public void setSupplierName(String supplierName) {
  104. this.supplierName = supplierName;
  105. }
  106. public String getVariety() {
  107. return variety;
  108. }
  109. public void setVariety(String variety) {
  110. this.variety = variety;
  111. }
  112. public String getAnimalCertNo() {
  113. return animalCertNo;
  114. }
  115. public void setAnimalCertNo(String animalCertNo) {
  116. this.animalCertNo = animalCertNo;
  117. }
  118. public BigDecimal getSideWeight() {
  119. return sideWeight;
  120. }
  121. public void setSideWeight(BigDecimal sideWeight) {
  122. this.sideWeight = sideWeight;
  123. }
  124. public BigDecimal getHeadWeight() {
  125. return headWeight;
  126. }
  127. public void setHeadWeight(BigDecimal headWeight) {
  128. this.headWeight = headWeight;
  129. }
  130. public BigDecimal getRedWeight() {
  131. return redWeight;
  132. }
  133. public void setRedWeight(BigDecimal redWeight) {
  134. this.redWeight = redWeight;
  135. }
  136. public BigDecimal getWhiteWeight() {
  137. return whiteWeight;
  138. }
  139. public void setWhiteWeight(BigDecimal whiteWeight) {
  140. this.whiteWeight = whiteWeight;
  141. }
  142. }