edit
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
package lingtao.net.vo;
|
||||
|
||||
import lingtao.net.bean.Product;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
public class PricingListVo {
|
||||
int code = 0;
|
||||
|
||||
List<ProductVo> proList = null;
|
||||
|
||||
String msg = "";
|
||||
|
||||
public PricingListVo() {
|
||||
}
|
||||
|
||||
public PricingListVo(int code, String msg) {
|
||||
this.code = code;
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public PricingListVo(List<ProductVo> proList) {
|
||||
this.proList = proList;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
package lingtao.net.vo;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
public class ProductVo {
|
||||
// 价格
|
||||
private Double price;
|
||||
// 重量
|
||||
private String weight;
|
||||
// 款数
|
||||
private Integer number;
|
||||
// 数量
|
||||
private Integer count;
|
||||
|
||||
private String role;
|
||||
|
||||
private List<ProvidePrice> providePrices = new ArrayList<>();
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
package lingtao.net.vo;
|
||||
|
||||
public class ProvidePrice {
|
||||
private String name;
|
||||
private double price;
|
||||
|
||||
public ProvidePrice(String name, double price) {
|
||||
this.name = name;
|
||||
this.price = price;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public double getPrice() {
|
||||
return price;
|
||||
}
|
||||
|
||||
public void setPrice(double price) {
|
||||
this.price = price;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user