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 +
|
'}';
|
}
|
}
|