package com.ishop.mobile.pojo;
|
|
import com.walker.web.param.ParamRequest;
|
|
public class CartNumParam extends ParamRequest {
|
|
/**
|
* 数量类型:total-商品数量,sum-购物数量
|
* @return
|
*/
|
public String getType() {
|
return type;
|
}
|
|
public void setType(String type) {
|
this.type = type;
|
}
|
|
/**
|
* 商品类型:true-有效商品,false-无效商品
|
* @return
|
*/
|
public Boolean getNumType() {
|
return numType;
|
}
|
|
public void setNumType(Boolean numType) {
|
this.numType = numType;
|
}
|
|
// @ApiModelProperty(value = "数量类型:total-商品数量,sum-购物数量", required = true)
|
// @NotEmpty(message = "Quantity type cannot be empty")
|
// @StringContains(limitValues = {"total", "sum"}, message = "Unknown quantity type")
|
private String type;
|
|
// @ApiModelProperty(value = "商品类型:true-有效商品,false-无效商品", required = true)
|
// @NotNull(message = "Product type cannot be empty")
|
private Boolean numType;
|
}
|