PorkWhiteoffalProduce.java 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. package com.ruoyi.app.domain;
  2. import java.math.BigDecimal;
  3. import java.util.Date;
  4. import com.fasterxml.jackson.annotation.JsonFormat;
  5. import org.apache.commons.lang3.builder.ToStringBuilder;
  6. import org.apache.commons.lang3.builder.ToStringStyle;
  7. import com.ruoyi.common.annotation.Excel;
  8. import com.ruoyi.common.core.domain.BaseEntity;
  9. /**
  10. * 白脏生产记录对象 pork_whiteoffal_produce
  11. *
  12. * @author coede
  13. * @date 2025-03-19
  14. */
  15. public class PorkWhiteoffalProduce extends BaseEntity
  16. {
  17. private static final long serialVersionUID = 1L;
  18. /** ID */
  19. private Long id;
  20. /** 产品名称 */
  21. @Excel(name = "产品名称")
  22. private String productName;
  23. /** 生产时间 */
  24. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  25. @Excel(name = "生产时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
  26. private Date produceTime;
  27. /** 血码 */
  28. @Excel(name = "血码")
  29. private String slaughterCode;
  30. /** 分销批次ID */
  31. @Excel(name = "分销批次ID")
  32. private Long distributeBatchId;
  33. /** 入场批次ID */
  34. @Excel(name = "入场批次ID")
  35. private Long entranceBatchId;
  36. /** 称显重量 */
  37. @Excel(name = "称显重量")
  38. private BigDecimal scaleWeight;
  39. /** 宰后重量 */
  40. @Excel(name = "宰后重量")
  41. private BigDecimal finalWeight;
  42. /** 删除标志 */
  43. private String delFlag;
  44. public void setId(Long id)
  45. {
  46. this.id = id;
  47. }
  48. public Long getId()
  49. {
  50. return id;
  51. }
  52. public void setProductName(String productName)
  53. {
  54. this.productName = productName;
  55. }
  56. public String getProductName()
  57. {
  58. return productName;
  59. }
  60. public void setProduceTime(Date produceTime)
  61. {
  62. this.produceTime = produceTime;
  63. }
  64. public Date getProduceTime()
  65. {
  66. return produceTime;
  67. }
  68. public void setSlaughterCode(String slaughterCode)
  69. {
  70. this.slaughterCode = slaughterCode;
  71. }
  72. public String getSlaughterCode()
  73. {
  74. return slaughterCode;
  75. }
  76. public void setDistributeBatchId(Long distributeBatchId)
  77. {
  78. this.distributeBatchId = distributeBatchId;
  79. }
  80. public Long getDistributeBatchId()
  81. {
  82. return distributeBatchId;
  83. }
  84. public void setEntranceBatchId(Long entranceBatchId)
  85. {
  86. this.entranceBatchId = entranceBatchId;
  87. }
  88. public Long getEntranceBatchId()
  89. {
  90. return entranceBatchId;
  91. }
  92. public void setScaleWeight(BigDecimal scaleWeight)
  93. {
  94. this.scaleWeight = scaleWeight;
  95. }
  96. public BigDecimal getScaleWeight()
  97. {
  98. return scaleWeight;
  99. }
  100. public void setFinalWeight(BigDecimal finalWeight)
  101. {
  102. this.finalWeight = finalWeight;
  103. }
  104. public BigDecimal getFinalWeight()
  105. {
  106. return finalWeight;
  107. }
  108. public void setDelFlag(String delFlag)
  109. {
  110. this.delFlag = delFlag;
  111. }
  112. public String getDelFlag()
  113. {
  114. return delFlag;
  115. }
  116. @Override
  117. public String toString() {
  118. return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
  119. .append("id", getId())
  120. .append("productName", getProductName())
  121. .append("produceTime", getProduceTime())
  122. .append("slaughterCode", getSlaughterCode())
  123. .append("distributeBatchId", getDistributeBatchId())
  124. .append("entranceBatchId", getEntranceBatchId())
  125. .append("scaleWeight", getScaleWeight())
  126. .append("finalWeight", getFinalWeight())
  127. .append("remark", getRemark())
  128. .append("createBy", getCreateBy())
  129. .append("updateTime", getUpdateTime())
  130. .append("updateBy", getUpdateBy())
  131. .append("delFlag", getDelFlag())
  132. .toString();
  133. }
  134. }