From f7ea5773570beb5ad8c6efb5c1cf743294ee079b Mon Sep 17 00:00:00 2001 From: wzy <wzy19931122ai@163.com> Date: Sun, 24 Jan 2021 14:16:04 +0800 Subject: [PATCH] modify --- zq-erp/src/main/java/com/matrix/system/app/dto/ShoppingGoodsListDto.java | 82 +++++++++++++++++++++++++++++++++++++++++ 1 files changed, 82 insertions(+), 0 deletions(-) diff --git a/zq-erp/src/main/java/com/matrix/system/app/dto/ShoppingGoodsListDto.java b/zq-erp/src/main/java/com/matrix/system/app/dto/ShoppingGoodsListDto.java new file mode 100644 index 0000000..62a7172 --- /dev/null +++ b/zq-erp/src/main/java/com/matrix/system/app/dto/ShoppingGoodsListDto.java @@ -0,0 +1,82 @@ +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; + + 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; + } +} -- Gitblit v1.9.1