Showing
1 changed file
with
13 additions
and
19 deletions
1 | package com.yoho.order.model; | 1 | package com.yoho.order.model; |
2 | 2 | ||
3 | +import lombok.ToString; | ||
4 | + | ||
3 | import java.io.Serializable; | 5 | import java.io.Serializable; |
4 | import java.math.BigDecimal; | 6 | import java.math.BigDecimal; |
5 | 7 | ||
@@ -7,6 +9,7 @@ import java.math.BigDecimal; | @@ -7,6 +9,7 @@ import java.math.BigDecimal; | ||
7 | * @author caoyan | 9 | * @author caoyan |
8 | * @date 2018/9/12 | 10 | * @date 2018/9/12 |
9 | */ | 11 | */ |
12 | +@ToString | ||
10 | public class BuyerOrder implements Serializable { | 13 | public class BuyerOrder implements Serializable { |
11 | 14 | ||
12 | 15 | ||
@@ -47,6 +50,8 @@ public class BuyerOrder implements Serializable { | @@ -47,6 +50,8 @@ public class BuyerOrder implements Serializable { | ||
47 | 50 | ||
48 | private Integer attributes; | 51 | private Integer attributes; |
49 | 52 | ||
53 | + private Integer platformDeliveryStatus;//1 平台发货给卖家, 2 平台发货给买家 | ||
54 | + | ||
50 | public Integer getId() { | 55 | public Integer getId() { |
51 | return id; | 56 | return id; |
52 | } | 57 | } |
@@ -167,23 +172,12 @@ public class BuyerOrder implements Serializable { | @@ -167,23 +172,12 @@ public class BuyerOrder implements Serializable { | ||
167 | this.attributes = attributes; | 172 | this.attributes = attributes; |
168 | } | 173 | } |
169 | 174 | ||
170 | - @Override | ||
171 | - public String toString() { | ||
172 | - return "BuyerOrder{" + | ||
173 | - "id=" + id + | ||
174 | - ", uid='" + uid + '\'' + | ||
175 | - ", orderCode='" + orderCode + '\'' + | ||
176 | - ", sellerUid='" + sellerUid + '\'' + | ||
177 | - ", clientType=" + clientType + | ||
178 | - ", payment=" + payment + | ||
179 | - ", paymentType=" + paymentType + | ||
180 | - ", isCancel=" + isCancel + | ||
181 | - ", amount=" + amount + | ||
182 | - ", shipFee=" + shipFee + | ||
183 | - ", status=" + status + | ||
184 | - ", createTime=" + createTime + | ||
185 | - ", updateTime=" + updateTime + | ||
186 | - ", channelNo=" + channelNo + | ||
187 | - '}'; | ||
188 | - } | 175 | + public Integer getPlatformDeliveryStatus() { |
176 | + return platformDeliveryStatus; | ||
177 | + } | ||
178 | + | ||
179 | + public void setPlatformDeliveryStatus(Integer platformDeliveryStatus) { | ||
180 | + this.platformDeliveryStatus = platformDeliveryStatus; | ||
181 | + } | ||
182 | + | ||
189 | } | 183 | } |
-
Please register or login to post a comment