InventoryDetailDto.java 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. package com.kmall.admin.dto;
  2. import java.io.Serializable;
  3. import java.util.Date;
  4. /**
  5. * 进销存明细dto(商品全景)
  6. */
  7. public class InventoryDetailDto implements Serializable {
  8. private static final long serialVersionUID = 1L;
  9. // id
  10. private Integer id;
  11. // 单据号
  12. private String documentNo;
  13. // 日期
  14. private Date inventoryDate;
  15. // 方式
  16. private String inventoryModel;
  17. // 数量(+)
  18. private Integer numberAdd;
  19. // 数量(-)
  20. private Integer numberSub;
  21. // 期末库存
  22. private Integer endingInventory;
  23. // 应存数量
  24. private Integer shouldNumber;
  25. // 成本价
  26. private Double costPrice;
  27. // 售价
  28. private Double salePrice;
  29. // 金额进价(-)
  30. private Double moneyBidAdd;
  31. // 金额进价(-)
  32. private Double moneyBidSub;
  33. // 期末金额(进价)
  34. private Double endingPrice;
  35. public Integer getId() {
  36. return id;
  37. }
  38. public void setId(Integer id) {
  39. this.id = id;
  40. }
  41. public String getDocumentNo() {
  42. return documentNo;
  43. }
  44. public void setDocumentNo(String documentNo) {
  45. this.documentNo = documentNo;
  46. }
  47. public Date getInventoryDate() {
  48. return inventoryDate;
  49. }
  50. public void setInventoryDate(Date inventoryDate) {
  51. this.inventoryDate = inventoryDate;
  52. }
  53. public String getInventoryModel() {
  54. return inventoryModel;
  55. }
  56. public void setInventoryModel(String inventoryModel) {
  57. this.inventoryModel = inventoryModel;
  58. }
  59. public Integer getNumberAdd() {
  60. return numberAdd;
  61. }
  62. public void setNumberAdd(Integer numberAdd) {
  63. this.numberAdd = numberAdd;
  64. }
  65. public Integer getNumberSub() {
  66. return numberSub;
  67. }
  68. public void setNumberSub(Integer numberSub) {
  69. this.numberSub = numberSub;
  70. }
  71. public Integer getEndingInventory() {
  72. return endingInventory;
  73. }
  74. public void setEndingInventory(Integer endingInventory) {
  75. this.endingInventory = endingInventory;
  76. }
  77. public Integer getShouldNumber() {
  78. return shouldNumber;
  79. }
  80. public void setShouldNumber(Integer shouldNumber) {
  81. this.shouldNumber = shouldNumber;
  82. }
  83. public Double getCostPrice() {
  84. return costPrice;
  85. }
  86. public void setCostPrice(Double costPrice) {
  87. this.costPrice = costPrice;
  88. }
  89. public Double getSalePrice() {
  90. return salePrice;
  91. }
  92. public void setSalePrice(Double salePrice) {
  93. this.salePrice = salePrice;
  94. }
  95. public Double getMoneyBidAdd() {
  96. return moneyBidAdd;
  97. }
  98. public void setMoneyBidAdd(Double moneyBidAdd) {
  99. this.moneyBidAdd = moneyBidAdd;
  100. }
  101. public Double getMoneyBidSub() {
  102. return moneyBidSub;
  103. }
  104. public void setMoneyBidSub(Double moneyBidSub) {
  105. this.moneyBidSub = moneyBidSub;
  106. }
  107. public Double getEndingPrice() {
  108. return endingPrice;
  109. }
  110. public void setEndingPrice(Double endingPrice) {
  111. this.endingPrice = endingPrice;
  112. }
  113. public InventoryDetailDto() {
  114. }
  115. public InventoryDetailDto(Integer id, String documentNo, Date inventoryDate, String inventoryModel, Integer numberAdd, Integer numberSub, Integer endingInventory, Integer shouldNumber, Double costPrice, Double salePrice, Double moneyBidAdd, Double moneyBidSub, Double endingPrice) {
  116. this.id = id;
  117. this.documentNo = documentNo;
  118. this.inventoryDate = inventoryDate;
  119. this.inventoryModel = inventoryModel;
  120. this.numberAdd = numberAdd;
  121. this.numberSub = numberSub;
  122. this.endingInventory = endingInventory;
  123. this.shouldNumber = shouldNumber;
  124. this.costPrice = costPrice;
  125. this.salePrice = salePrice;
  126. this.moneyBidAdd = moneyBidAdd;
  127. this.moneyBidSub = moneyBidSub;
  128. this.endingPrice = endingPrice;
  129. }
  130. @Override
  131. public String toString() {
  132. return "InventoryDetailDto{" +
  133. "id=" + id +
  134. ", documentNo='" + documentNo + '\'' +
  135. ", inventoryDate=" + inventoryDate +
  136. ", inventoryModel='" + inventoryModel + '\'' +
  137. ", numberAdd=" + numberAdd +
  138. ", numberSub=" + numberSub +
  139. ", endingInventory=" + endingInventory +
  140. ", shouldNumber=" + shouldNumber +
  141. ", costPrice=" + costPrice +
  142. ", salePrice=" + salePrice +
  143. ", moneyBidAdd=" + moneyBidAdd +
  144. ", moneyBidSub=" + moneyBidSub +
  145. ", endingPrice=" + endingPrice +
  146. '}';
  147. }
  148. }