OrderInfoItemDTO.java 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. package com.kmall.admin.haikong.dto;
  2. import com.fasterxml.jackson.annotation.JsonProperty;
  3. import java.io.Serializable;
  4. import java.math.BigDecimal;
  5. /**
  6. * 订单明细信息
  7. * @author lhm
  8. * @createDate 2021-12-07
  9. */
  10. public class OrderInfoItemDTO implements Serializable {
  11. private static final long serialVersionUID = -5010285187879982199L;
  12. @JsonProperty("order_id")
  13. private String orderId;
  14. @JsonProperty("image_url")
  15. private String imageUrl;
  16. private String bn;
  17. private String barcode;
  18. private String name;
  19. private BigDecimal cost;
  20. private BigDecimal price;
  21. @JsonProperty("buy_price")
  22. private BigDecimal buyPrice;
  23. private String itemcode;
  24. private BigDecimal amount;
  25. private Integer nums;
  26. @JsonProperty("is_tax")
  27. private String tax;
  28. @JsonProperty("tax_price")
  29. private BigDecimal taxPrice;
  30. public String getOrderId() {
  31. return orderId;
  32. }
  33. public void setOrderId(String orderId) {
  34. this.orderId = orderId;
  35. }
  36. public String getImageUrl() {
  37. return imageUrl;
  38. }
  39. public void setImageUrl(String imageUrl) {
  40. this.imageUrl = imageUrl;
  41. }
  42. public String getBn() {
  43. return bn;
  44. }
  45. public void setBn(String bn) {
  46. this.bn = bn;
  47. }
  48. public String getBarcode() {
  49. return barcode;
  50. }
  51. public void setBarcode(String barcode) {
  52. this.barcode = barcode;
  53. }
  54. public String getName() {
  55. return name;
  56. }
  57. public void setName(String name) {
  58. this.name = name;
  59. }
  60. public BigDecimal getCost() {
  61. return cost;
  62. }
  63. public void setCost(BigDecimal cost) {
  64. this.cost = cost;
  65. }
  66. public BigDecimal getPrice() {
  67. return price;
  68. }
  69. public void setPrice(BigDecimal price) {
  70. this.price = price;
  71. }
  72. public String getItemcode() {
  73. return itemcode;
  74. }
  75. public void setItemcode(String itemcode) {
  76. this.itemcode = itemcode;
  77. }
  78. public BigDecimal getAmount() {
  79. return amount;
  80. }
  81. public void setAmount(BigDecimal amount) {
  82. this.amount = amount;
  83. }
  84. public Integer getNums() {
  85. return nums;
  86. }
  87. public void setNums(Integer nums) {
  88. this.nums = nums;
  89. }
  90. public String getTax() {
  91. return tax;
  92. }
  93. public void setTax(String tax) {
  94. this.tax = tax;
  95. }
  96. public BigDecimal getTaxPrice() {
  97. return taxPrice;
  98. }
  99. public void setTaxPrice(BigDecimal taxPrice) {
  100. this.taxPrice = taxPrice;
  101. }
  102. public BigDecimal getBuyPrice() {
  103. return buyPrice;
  104. }
  105. public void setBuyPrice(BigDecimal buyPrice) {
  106. this.buyPrice = buyPrice;
  107. }
  108. @Override
  109. public String toString() {
  110. return "OrderInfoItemDTO{" +
  111. "orderId='" + orderId + '\'' +
  112. ", imageUrl='" + imageUrl + '\'' +
  113. ", bn='" + bn + '\'' +
  114. ", barcode='" + barcode + '\'' +
  115. ", name='" + name + '\'' +
  116. ", cost=" + cost +
  117. ", price=" + price +
  118. ", buyPrice=" + buyPrice +
  119. ", itemcode='" + itemcode + '\'' +
  120. ", amount=" + amount +
  121. ", nums=" + nums +
  122. ", tax=" + tax +
  123. ", taxPrice=" + taxPrice +
  124. '}';
  125. }
  126. }