SlaughterReportDTO.java 3.3 KB

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