前端 mobile :商品列表

This commit is contained in:
YunaiV
2019-03-26 00:27:25 +08:00
parent 40e4236af2
commit 2d978d5168
8 changed files with 613 additions and 472 deletions

View File

@@ -28,6 +28,12 @@ public class UsersProductSpuVO {
* 目前的计算方式是,以 Sku 最小价格为准
*/
private Integer price;
/**
* 库存数量
*
* 目前的计算方式是,以 Sku 库存累加为准
*/
private Integer quantity;
public Integer getId() {
return id;
@@ -82,4 +88,13 @@ public class UsersProductSpuVO {
this.price = price;
return this;
}
public Integer getQuantity() {
return quantity;
}
public UsersProductSpuVO setQuantity(Integer quantity) {
this.quantity = quantity;
return this;
}
}