shikeyin
2024-01-11 65da8373531677b1c37a98f53eaa30c892f35e5a
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
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;
}