LCTOrderSyncLineRequest.java
4.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
package com.xiniunet.lecunstomization.request;
import com.xiniunet.framework.base.BaseRequest;
import javax.validation.constraints.NotNull;
/**
* Created by Auy_J on 2018/3/6.
*/
public class LCTOrderSyncLineRequest extends BaseRequest {
/**
* 商品SKU_ID
* 乐村淘商城的goods_id
*/
@NotNull(message = "商品skuId(skuId)不能为空")
private Long skuId;
/**
* 商品Sku_type
* 乐村淘商城的goods_type
*/
private String skuType;
/**
* 商品数量
*/
@NotNull(message = "数量(quantity)不能为空")
private Double quantity;
/**
* 商品单价
* 乐村淘商城的goods_price
*/
@NotNull(message = "单价(unitPrice)不能为空")
private Double unitPrice;
/**
* 结算金额
* 不包含所有折扣,商城里的支付金额
*/
@NotNull(message = "结算金额(revenue)不能为空")
private Double revenue;
/**
* 折扣金额
*/
@NotNull(message = "折扣金额(discountAmount)不能为空")
private Double discountAmount;
/**
* 支线物流补贴
*/
private Double logisticsSubsidy;
/**
* 平台佣金比例
* 百分比,需要除以100后保存
*/
@NotNull(message = "平台佣金比例(platCommissionRate)不能为空")
private Double platCommissionRate;
/**
* 省管佣金比例
* 百分比,需要除以100后保存
*/
@NotNull(message = "省管佣金比例(proviceCommissionRate)不能为空")
private Double proviceCommissionRate;
/**
* 县管佣金比例
* 百分比,需要除以100后保存
*/
@NotNull(message = "县管佣金比例(districtCommissionRate)不能为空")
private Double districtCommissionRate;
/**
* 体验店佣金比例
* 百分比,需要除以100后保存
*/
@NotNull(message = "体验店佣金比例(shopCommissionRate)不能为空")
private Double shopCommissionRate;
/**
* 税率
* 如果商城不管理税率,则不传
*/
private Double taxRate;
/**
* 摘要
*/
private String summary;
public Long getSkuId() {
return skuId;
}
public void setSkuId(Long skuId) {
this.skuId = skuId;
}
public String getSkuType() {
return skuType;
}
public void setSkuType(String skuType) {
this.skuType = skuType;
}
public Double getQuantity() {
return quantity;
}
public void setQuantity(Double quantity) {
this.quantity = quantity;
}
public Double getUnitPrice() {
return unitPrice;
}
public void setUnitPrice(Double unitPrice) {
this.unitPrice = unitPrice;
}
public Double getRevenue() {
return revenue;
}
public void setRevenue(Double revenue) {
this.revenue = revenue;
}
public Double getDiscountAmount() {
return discountAmount;
}
public void setDiscountAmount(Double discountAmount) {
this.discountAmount = discountAmount;
}
public Double getLogisticsSubsidy() {
return logisticsSubsidy;
}
public void setLogisticsSubsidy(Double logisticsSubsidy) {
this.logisticsSubsidy = logisticsSubsidy;
}
public Double getPlatCommissionRate() {
return platCommissionRate;
}
public void setPlatCommissionRate(Double platCommissionRate) {
this.platCommissionRate = platCommissionRate;
}
public Double getProviceCommissionRate() {
return proviceCommissionRate;
}
public void setProviceCommissionRate(Double proviceCommissionRate) {
this.proviceCommissionRate = proviceCommissionRate;
}
public Double getDistrictCommissionRate() {
return districtCommissionRate;
}
public void setDistrictCommissionRate(Double districtCommissionRate) {
this.districtCommissionRate = districtCommissionRate;
}
public Double getShopCommissionRate() {
return shopCommissionRate;
}
public void setShopCommissionRate(Double shopCommissionRate) {
this.shopCommissionRate = shopCommissionRate;
}
public Double getTaxRate() {
return taxRate;
}
public void setTaxRate(Double taxRate) {
this.taxRate = taxRate;
}
public String getSummary() {
return summary;
}
public void setSummary(String summary) {
this.summary = summary;
}
}