package com.ishop.merchant.pojo;
|
|
import com.walker.web.param.ParamRequest;
|
|
public class ProductParam extends ParamRequest {
|
public int getType() {
|
return type;
|
}
|
|
public void setType(int type) {
|
this.type = type;
|
}
|
|
public Integer getCategoryId() {
|
return categoryId;
|
}
|
|
public void setCategoryId(Integer categoryId) {
|
this.categoryId = categoryId;
|
}
|
|
public String getCateId() {
|
return cateId;
|
}
|
|
public void setCateId(String cateId) {
|
this.cateId = cateId;
|
}
|
|
public String getKeywords() {
|
return keywords;
|
}
|
|
public void setKeywords(String keywords) {
|
this.keywords = keywords;
|
}
|
|
public Integer getMerId() {
|
return merId;
|
}
|
|
public void setMerId(Integer merId) {
|
this.merId = merId;
|
}
|
|
public Integer getIsSelf() {
|
return isSelf;
|
}
|
|
public void setIsSelf(Integer isSelf) {
|
this.isSelf = isSelf;
|
}
|
|
// @ApiModelProperty(value = "类型(1:出售中(已上架),2:仓库中(未上架),3:已售罄,4:警戒库存,5:回收站,6:待审核,7:审核失败)")
|
// @NotNull(message = "商品类型不能为空")
|
// @Range(min = 1, max = 7, message = "未知的商品类型")
|
private int type;
|
|
// @ApiModelProperty(value = "平台商品分类ID")
|
private Integer categoryId;
|
|
// @ApiModelProperty(value = "商户商品分类ID")
|
private String cateId;
|
|
// @ApiModelProperty(value = "关键字搜索,支持(商品名称, 关键字)")
|
private String keywords;
|
|
// @ApiModelProperty(value = "商户ID,平台端商品列表使用")
|
private Integer merId;
|
|
// @ApiModelProperty(value = "商户是否自营:0-非自营,1-自营,平台端商品列表使用")
|
private Integer isSelf;
|
}
|