DepotItem.java 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304
  1. package com.jsh.erp.datasource.entities;
  2. import io.swagger.annotations.ApiModelProperty;
  3. import lombok.Data;
  4. import java.math.BigDecimal;
  5. import java.util.Date;
  6. /**
  7. * 单据子表实体类
  8. */
  9. @Data
  10. public class DepotItem {
  11. @ApiModelProperty("主键id")
  12. private Long id;
  13. @ApiModelProperty("表头Id")
  14. private Long headerId;
  15. @ApiModelProperty("商品Id")
  16. private Long materialId;
  17. @ApiModelProperty("商品扩展id")
  18. private Long materialExtendId;
  19. @ApiModelProperty("商品单位")
  20. private String materialUnit;
  21. @ApiModelProperty("多属性")
  22. private String sku;
  23. @ApiModelProperty("数量")
  24. private BigDecimal operNumber;
  25. @ApiModelProperty("基础数量,如kg、瓶")
  26. private BigDecimal basicNumber;
  27. @ApiModelProperty("单价")
  28. private BigDecimal unitPrice;
  29. @ApiModelProperty("采购单价")
  30. private BigDecimal purchaseUnitPrice;
  31. @ApiModelProperty("含税单价")
  32. private BigDecimal taxUnitPrice;
  33. @ApiModelProperty("金额")
  34. private BigDecimal allPrice;
  35. @ApiModelProperty("备注")
  36. private String remark;
  37. @ApiModelProperty("仓库ID")
  38. private Long depotId;
  39. @ApiModelProperty("调拨时,对方仓库Id")
  40. private Long anotherDepotId;
  41. @ApiModelProperty("税率")
  42. private BigDecimal taxRate;
  43. @ApiModelProperty("税额")
  44. private BigDecimal taxMoney;
  45. @ApiModelProperty("价税合计")
  46. private BigDecimal taxLastMoney;
  47. @ApiModelProperty("商品类型")
  48. private String materialType;
  49. @ApiModelProperty("序列号列表")
  50. private String snList;
  51. @ApiModelProperty("批号")
  52. private String batchNumber;
  53. @ApiModelProperty("有效日期")
  54. private Date expirationDate;
  55. @ApiModelProperty("关联明细id")
  56. private Long linkId;
  57. @ApiModelProperty("租户id")
  58. private Long tenantId;
  59. @ApiModelProperty("删除标记,0未删除,1删除")
  60. private String deleteFlag;
  61. @ApiModelProperty("实际出入库数量")
  62. private BigDecimal actualQuantityInStorage;
  63. @ApiModelProperty("出入库差异")
  64. private BigDecimal warehousingVariance;
  65. @ApiModelProperty("出入库差异原因")
  66. private String reasonOfDifference;
  67. @ApiModelProperty("出入库用户")
  68. private Long warehousingUser;
  69. @ApiModelProperty("出入库时间")
  70. private Date warehousingTime;
  71. public Long getId() {
  72. return id;
  73. }
  74. public void setId(Long id) {
  75. this.id = id;
  76. }
  77. public Long getHeaderId() {
  78. return headerId;
  79. }
  80. public void setHeaderId(Long headerId) {
  81. this.headerId = headerId;
  82. }
  83. public Long getMaterialId() {
  84. return materialId;
  85. }
  86. public void setMaterialId(Long materialId) {
  87. this.materialId = materialId;
  88. }
  89. public Long getMaterialExtendId() {
  90. return materialExtendId;
  91. }
  92. public void setMaterialExtendId(Long materialExtendId) {
  93. this.materialExtendId = materialExtendId;
  94. }
  95. public String getMaterialUnit() {
  96. return materialUnit;
  97. }
  98. public void setMaterialUnit(String materialUnit) {
  99. this.materialUnit = materialUnit == null ? null : materialUnit.trim();
  100. }
  101. public String getSku() {
  102. return sku;
  103. }
  104. public void setSku(String sku) {
  105. this.sku = sku == null ? null : sku.trim();
  106. }
  107. public BigDecimal getOperNumber() {
  108. return operNumber;
  109. }
  110. public void setOperNumber(BigDecimal operNumber) {
  111. this.operNumber = operNumber;
  112. }
  113. public BigDecimal getBasicNumber() {
  114. return basicNumber;
  115. }
  116. public void setBasicNumber(BigDecimal basicNumber) {
  117. this.basicNumber = basicNumber;
  118. }
  119. public BigDecimal getUnitPrice() {
  120. return unitPrice;
  121. }
  122. public void setUnitPrice(BigDecimal unitPrice) {
  123. this.unitPrice = unitPrice;
  124. }
  125. public BigDecimal getPurchaseUnitPrice() {
  126. return purchaseUnitPrice;
  127. }
  128. public void setPurchaseUnitPrice(BigDecimal purchaseUnitPrice) {
  129. this.purchaseUnitPrice = purchaseUnitPrice;
  130. }
  131. public BigDecimal getTaxUnitPrice() {
  132. return taxUnitPrice;
  133. }
  134. public void setTaxUnitPrice(BigDecimal taxUnitPrice) {
  135. this.taxUnitPrice = taxUnitPrice;
  136. }
  137. public BigDecimal getAllPrice() {
  138. return allPrice;
  139. }
  140. public void setAllPrice(BigDecimal allPrice) {
  141. this.allPrice = allPrice;
  142. }
  143. public String getRemark() {
  144. return remark;
  145. }
  146. public void setRemark(String remark) {
  147. this.remark = remark == null ? null : remark.trim();
  148. }
  149. public Long getDepotId() {
  150. return depotId;
  151. }
  152. public void setDepotId(Long depotId) {
  153. this.depotId = depotId;
  154. }
  155. public Long getAnotherDepotId() {
  156. return anotherDepotId;
  157. }
  158. public void setAnotherDepotId(Long anotherDepotId) {
  159. this.anotherDepotId = anotherDepotId;
  160. }
  161. public BigDecimal getTaxRate() {
  162. return taxRate;
  163. }
  164. public void setTaxRate(BigDecimal taxRate) {
  165. this.taxRate = taxRate;
  166. }
  167. public BigDecimal getTaxMoney() {
  168. return taxMoney;
  169. }
  170. public void setTaxMoney(BigDecimal taxMoney) {
  171. this.taxMoney = taxMoney;
  172. }
  173. public BigDecimal getTaxLastMoney() {
  174. return taxLastMoney;
  175. }
  176. public void setTaxLastMoney(BigDecimal taxLastMoney) {
  177. this.taxLastMoney = taxLastMoney;
  178. }
  179. public String getMaterialType() {
  180. return materialType;
  181. }
  182. public void setMaterialType(String materialType) {
  183. this.materialType = materialType == null ? null : materialType.trim();
  184. }
  185. public String getSnList() {
  186. return snList;
  187. }
  188. public void setSnList(String snList) {
  189. this.snList = snList == null ? null : snList.trim();
  190. }
  191. public String getBatchNumber() {
  192. return batchNumber;
  193. }
  194. public void setBatchNumber(String batchNumber) {
  195. this.batchNumber = batchNumber == null ? null : batchNumber.trim();
  196. }
  197. public Date getExpirationDate() {
  198. return expirationDate;
  199. }
  200. public void setExpirationDate(Date expirationDate) {
  201. this.expirationDate = expirationDate;
  202. }
  203. public Long getLinkId() {
  204. return linkId;
  205. }
  206. public void setLinkId(Long linkId) {
  207. this.linkId = linkId;
  208. }
  209. public Long getTenantId() {
  210. return tenantId;
  211. }
  212. public void setTenantId(Long tenantId) {
  213. this.tenantId = tenantId;
  214. }
  215. public String getDeleteFlag() {
  216. return deleteFlag;
  217. }
  218. public void setDeleteFlag(String deleteFlag) {
  219. this.deleteFlag = deleteFlag == null ? null : deleteFlag.trim();
  220. }
  221. }