1
0

OrderInfoDTO.java 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  1. package com.kmall.admin.haikong.dto;
  2. import com.fasterxml.jackson.annotation.JsonProperty;
  3. import lombok.*;
  4. import java.io.Serializable;
  5. import java.math.BigDecimal;
  6. /**
  7. * 订单主信息
  8. * @author lhm
  9. * @createDate 2021-12-07
  10. */
  11. public class OrderInfoDTO implements Serializable {
  12. private static final long serialVersionUID = -1110285187874182199L;
  13. @JsonProperty("outer_order_no")
  14. private String outerOrderNo;
  15. @JsonProperty("pay_app")
  16. private String payApp;
  17. /**
  18. * 默认:SF
  19. */
  20. @JsonProperty("dlytype_code")
  21. private String dlytypeCode;
  22. @JsonProperty("consignee_name")
  23. private String consigneeName;
  24. @JsonProperty("consignee_area_province")
  25. private String consigneeAreaProvince;
  26. @JsonProperty("consignee_area_city")
  27. private String consigneeAreaCity;
  28. @JsonProperty("consignee_area_county")
  29. private String consigneeAreaCounty;
  30. @JsonProperty("consignee_address")
  31. private String consigneeAddress;
  32. @JsonProperty("consignee_zip")
  33. private String consigneeZip;
  34. @JsonProperty("consignee_tel")
  35. private String consigneeTel;
  36. @JsonProperty("consignee_email")
  37. private String consigneeEmail;
  38. @JsonProperty("consignee_mobile")
  39. private String consigneeMobile;
  40. private String weight;
  41. private Integer quantity;
  42. @JsonProperty("order_total")
  43. private BigDecimal orderTotal;
  44. private String platform;
  45. /**
  46. * 商品优惠后总金额
  47. */
  48. @JsonProperty("finally_cart_amount")
  49. private BigDecimal finallyCartAmount;
  50. public String getOuterOrderNo() {
  51. return outerOrderNo;
  52. }
  53. public void setOuterOrderNo(String outerOrderNo) {
  54. this.outerOrderNo = outerOrderNo;
  55. }
  56. public String getPayApp() {
  57. return payApp;
  58. }
  59. public void setPayApp(String payApp) {
  60. this.payApp = payApp;
  61. }
  62. public String getDlytypeCode() {
  63. return dlytypeCode;
  64. }
  65. public void setDlytypeCode(String dlytypeCode) {
  66. this.dlytypeCode = dlytypeCode;
  67. }
  68. public String getConsigneeName() {
  69. return consigneeName;
  70. }
  71. public void setConsigneeName(String consigneeName) {
  72. this.consigneeName = consigneeName;
  73. }
  74. public String getConsigneeAreaProvince() {
  75. return consigneeAreaProvince;
  76. }
  77. public void setConsigneeAreaProvince(String consigneeAreaProvince) {
  78. this.consigneeAreaProvince = consigneeAreaProvince;
  79. }
  80. public String getConsigneeAreaCity() {
  81. return consigneeAreaCity;
  82. }
  83. public void setConsigneeAreaCity(String consigneeAreaCity) {
  84. this.consigneeAreaCity = consigneeAreaCity;
  85. }
  86. public String getConsigneeAreaCounty() {
  87. return consigneeAreaCounty;
  88. }
  89. public void setConsigneeAreaCounty(String consigneeAreaCounty) {
  90. this.consigneeAreaCounty = consigneeAreaCounty;
  91. }
  92. public String getConsigneeAddress() {
  93. return consigneeAddress;
  94. }
  95. public void setConsigneeAddress(String consigneeAddress) {
  96. this.consigneeAddress = consigneeAddress;
  97. }
  98. public String getConsigneeZip() {
  99. return consigneeZip;
  100. }
  101. public void setConsigneeZip(String consigneeZip) {
  102. this.consigneeZip = consigneeZip;
  103. }
  104. public String getConsigneeTel() {
  105. return consigneeTel;
  106. }
  107. public void setConsigneeTel(String consigneeTel) {
  108. this.consigneeTel = consigneeTel;
  109. }
  110. public String getConsigneeEmail() {
  111. return consigneeEmail;
  112. }
  113. public void setConsigneeEmail(String consigneeEmail) {
  114. this.consigneeEmail = consigneeEmail;
  115. }
  116. public String getConsigneeMobile() {
  117. return consigneeMobile;
  118. }
  119. public void setConsigneeMobile(String consigneeMobile) {
  120. this.consigneeMobile = consigneeMobile;
  121. }
  122. public String getWeight() {
  123. return weight;
  124. }
  125. public void setWeight(String weight) {
  126. this.weight = weight;
  127. }
  128. public Integer getQuantity() {
  129. return quantity;
  130. }
  131. public void setQuantity(Integer quantity) {
  132. this.quantity = quantity;
  133. }
  134. public BigDecimal getOrderTotal() {
  135. return orderTotal;
  136. }
  137. public void setOrderTotal(BigDecimal orderTotal) {
  138. this.orderTotal = orderTotal;
  139. }
  140. public String getPlatform() {
  141. return platform;
  142. }
  143. public void setPlatform(String platform) {
  144. this.platform = platform;
  145. }
  146. public BigDecimal getFinallyCartAmount() {
  147. return finallyCartAmount;
  148. }
  149. public void setFinallyCartAmount(BigDecimal finallyCartAmount) {
  150. this.finallyCartAmount = finallyCartAmount;
  151. }
  152. @Override
  153. public String toString() {
  154. return "OrderInfoDTO{" +
  155. "outerOrderNo='" + outerOrderNo + '\'' +
  156. ", payApp='" + payApp + '\'' +
  157. ", dlytypeCode='" + dlytypeCode + '\'' +
  158. ", consigneeName='" + consigneeName + '\'' +
  159. ", consigneeAreaProvince='" + consigneeAreaProvince + '\'' +
  160. ", consigneeAreaCity='" + consigneeAreaCity + '\'' +
  161. ", consigneeAreaCounty='" + consigneeAreaCounty + '\'' +
  162. ", consigneeAddress='" + consigneeAddress + '\'' +
  163. ", consigneeZip='" + consigneeZip + '\'' +
  164. ", consigneeTel='" + consigneeTel + '\'' +
  165. ", consigneeEmail='" + consigneeEmail + '\'' +
  166. ", consigneeMobile='" + consigneeMobile + '\'' +
  167. ", weight='" + weight + '\'' +
  168. ", quantity='" + quantity + '\'' +
  169. ", orderTotal=" + orderTotal +
  170. ", finallyCartAmount=" + finallyCartAmount +
  171. ", platform='" + platform + '\'' +
  172. '}';
  173. }
  174. }