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/vo/ShoppingGoodsDetailVo.java | 225 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 225 insertions(+), 0 deletions(-) diff --git a/zq-erp/src/main/java/com/matrix/system/app/vo/ShoppingGoodsDetailVo.java b/zq-erp/src/main/java/com/matrix/system/app/vo/ShoppingGoodsDetailVo.java new file mode 100644 index 0000000..5ef3256 --- /dev/null +++ b/zq-erp/src/main/java/com/matrix/system/app/vo/ShoppingGoodsDetailVo.java @@ -0,0 +1,225 @@ +package com.matrix.system.app.vo; + +import com.matrix.system.hive.bean.ShoppingGoodsCategory; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +import java.math.BigDecimal; +import java.util.List; + +/** + * @author wzy + * @date 2020-12-24 + **/ +@ApiModel(value = "ShoppingGoodsDetailVo", description = "商品详情返回参数类") +public class ShoppingGoodsDetailVo { + + @ApiModelProperty(value = "商品编号") + private String goodsNo; + + @ApiModelProperty(value = "商品名称") + private String goodsName; + + @ApiModelProperty(value = "销售价格") + private BigDecimal salePrice; + + @ApiModelProperty(value = "销量") + private Integer saleCnt; + + @ApiModelProperty(value = "主图") + private String img; + + @ApiModelProperty(value = "详情") + private String desc; + + @ApiModelProperty(value = "商品类型") + private String goodsType; + + @ApiModelProperty(value = "容积") + private Integer volume; + + @ApiModelProperty(value = "规格") + private String measure; + + @ApiModelProperty(value = "最大销售数量") + private Integer maxSaleCnt; + + @ApiModelProperty(value = "每人限购次数") + private String limitBuyCnt; + + @ApiModelProperty(value = "充值卡使用范围 是-所有产品 否-部分产品") + private String carIsAll; + + @ApiModelProperty(value = "赠送金额") + private BigDecimal giftPrice; + + @ApiModelProperty(value = "固定/任选套餐 Y-任选 N-固定") + private String isCourse; + + @ApiModelProperty(value = "最大使用次数") + private Integer maxUseCnt; + + @ApiModelProperty(value = "项目关联产品--配料表、卡项可消费产品") + List<ShoppingGoodsDetailVo> assembleProj; + + @ApiModelProperty(value = "套餐项目权益") + List<ShoppingGoodsDetailVo> assembleTaocanProj; + + @ApiModelProperty(value = "套餐产品权益") + List<ShoppingGoodsDetailVo> assembleTaocanProduct; + + @ApiModelProperty(value = "卡项产品可消费类型") + List<ShoppingGoodsCategory> cardCategory; + + public BigDecimal getGiftPrice() { + return giftPrice; + } + + public void setGiftPrice(BigDecimal giftPrice) { + this.giftPrice = giftPrice; + } + + public String getCarIsAll() { + return carIsAll; + } + + public void setCarIsAll(String carIsAll) { + this.carIsAll = carIsAll; + } + + public String getGoodsNo() { + return goodsNo; + } + + public void setGoodsNo(String goodsNo) { + this.goodsNo = goodsNo; + } + + public String getGoodsName() { + return goodsName; + } + + public void setGoodsName(String goodsName) { + this.goodsName = goodsName; + } + + public BigDecimal getSalePrice() { + return salePrice; + } + + public void setSalePrice(BigDecimal salePrice) { + this.salePrice = salePrice; + } + + public Integer getSaleCnt() { + return saleCnt; + } + + public void setSaleCnt(Integer saleCnt) { + this.saleCnt = saleCnt; + } + + public String getImg() { + return img; + } + + public void setImg(String img) { + this.img = img; + } + + public String getDesc() { + return desc; + } + + public void setDesc(String desc) { + this.desc = desc; + } + + public String getGoodsType() { + return goodsType; + } + + public void setGoodsType(String goodsType) { + this.goodsType = goodsType; + } + + public Integer getVolume() { + return volume; + } + + public void setVolume(Integer volume) { + this.volume = volume; + } + + public String getMeasure() { + return measure; + } + + public void setMeasure(String measure) { + this.measure = measure; + } + + public Integer getMaxSaleCnt() { + return maxSaleCnt; + } + + public void setMaxSaleCnt(Integer maxSaleCnt) { + this.maxSaleCnt = maxSaleCnt; + } + + public String getLimitBuyCnt() { + return limitBuyCnt; + } + + public void setLimitBuyCnt(String limitBuyCnt) { + this.limitBuyCnt = limitBuyCnt; + } + + public List<ShoppingGoodsDetailVo> getAssembleProj() { + return assembleProj; + } + + public void setAssembleProj(List<ShoppingGoodsDetailVo> assembleProj) { + this.assembleProj = assembleProj; + } + + public List<ShoppingGoodsDetailVo> getAssembleTaocanProj() { + return assembleTaocanProj; + } + + public void setAssembleTaocanProj(List<ShoppingGoodsDetailVo> assembleTaocanProj) { + this.assembleTaocanProj = assembleTaocanProj; + } + + public List<ShoppingGoodsDetailVo> getAssembleTaocanProduct() { + return assembleTaocanProduct; + } + + public void setAssembleTaocanProduct(List<ShoppingGoodsDetailVo> assembleTaocanProduct) { + this.assembleTaocanProduct = assembleTaocanProduct; + } + + public List<ShoppingGoodsCategory> getCardCategory() { + return cardCategory; + } + + public void setCardCategory(List<ShoppingGoodsCategory> cardCategory) { + this.cardCategory = cardCategory; + } + + public String getIsCourse() { + return isCourse; + } + + public void setIsCourse(String isCourse) { + this.isCourse = isCourse; + } + + public Integer getMaxUseCnt() { + return maxUseCnt; + } + + public void setMaxUseCnt(Integer maxUseCnt) { + this.maxUseCnt = maxUseCnt; + } +} -- Gitblit v1.9.1