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
40
41
42
43
44
45
46
47
48
49
50
package com.ishop.mobile.pojo;
 
import java.io.Serializable;
 
public class CouponParam implements Serializable {
 
    public Integer getCategory() {
        return category;
    }
 
    public void setCategory(Integer category) {
        this.category = category;
    }
 
    public Long getProductId() {
        return productId;
    }
 
    public void setProductId(Long productId) {
        this.productId = productId;
    }
 
    public Integer getMerId() {
        return merId;
    }
 
    public void setMerId(Integer merId) {
        this.merId = merId;
    }
 
    //    @ApiModelProperty(value = "类别 0-所有 1-商家券, 2-商品券", required = true)
//    @NotNull(message = "优惠券类别不能为空")
//    @Range(min = 0, max = 2, message = "未知的优惠券类别")
    private Integer category;
 
//    @ApiModelProperty(value = "产品id,与merId二选一")
    private Long productId;
 
//    @ApiModelProperty(value = "商户id,与productId二选一")
    private Integer merId;
 
    @Override
    public String toString() {
        return "CouponParam{" +
                "category=" + category +
                ", productId=" + productId +
                ", merId=" + merId +
                '}';
    }
}