package com.matrix.system.app.dto;
|
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
|
import javax.validation.constraints.NotNull;
|
|
/**
|
* @author wzy
|
* @date 2020-12-23
|
**/
|
@ApiModel(value = "ShoppingGoodsListDto", description = "商品列表接受类")
|
public class ShoppingGoodsListDto {
|
|
@ApiModelProperty(value = "商品名称/编号/拼音")
|
private String queryKey;
|
|
@ApiModelProperty(value = "商品类型")
|
private String goodType;
|
|
@ApiModelProperty(value = "类型ID", example = "13")
|
private Long cateId;
|
|
@NotNull(message = "参数错误")
|
@ApiModelProperty(value = "条数", example = "10")
|
private Integer pageSize = 10;
|
|
@NotNull(message = "参数错误")
|
@ApiModelProperty(value = "第几页", example = "1")
|
private Integer pageNum = 1;
|
|
@ApiModelProperty(hidden = true)
|
private Long shopId;
|
|
@ApiModelProperty(hidden = true)
|
private Long companyId;
|
|
public Long getCompanyId() {
|
return companyId;
|
}
|
|
public void setCompanyId(Long companyId) {
|
this.companyId = companyId;
|
}
|
|
public String getGoodType() {
|
return goodType;
|
}
|
|
public void setGoodType(String goodType) {
|
this.goodType = goodType;
|
}
|
|
public Long getShopId() {
|
return shopId;
|
}
|
|
public void setShopId(Long shopId) {
|
this.shopId = shopId;
|
}
|
|
public String getQueryKey() {
|
return queryKey;
|
}
|
|
public void setQueryKey(String queryKey) {
|
this.queryKey = queryKey;
|
}
|
|
public Long getCateId() {
|
return cateId;
|
}
|
|
public void setCateId(Long cateId) {
|
this.cateId = cateId;
|
}
|
|
public Integer getPageSize() {
|
return pageSize;
|
}
|
|
public void setPageSize(Integer pageSize) {
|
this.pageSize = pageSize;
|
}
|
|
public Integer getPageNum() {
|
return pageNum;
|
}
|
|
public void setPageNum(Integer pageNum) {
|
this.pageNum = pageNum;
|
}
|
}
|