From e63f19f819cf996cd26abdb1f56c19f02d3de0d4 Mon Sep 17 00:00:00 2001 From: macro Date: Tue, 2 Jun 2020 21:01:31 +0800 Subject: [PATCH] Update PmsProductParam.java --- .../com/macro/mall/dto/PmsProductParam.java | 60 ++----------------- 1 file changed, 4 insertions(+), 56 deletions(-) diff --git a/mall-admin/src/main/java/com/macro/mall/dto/PmsProductParam.java b/mall-admin/src/main/java/com/macro/mall/dto/PmsProductParam.java index 371cb7a..1f29d1e 100644 --- a/mall-admin/src/main/java/com/macro/mall/dto/PmsProductParam.java +++ b/mall-admin/src/main/java/com/macro/mall/dto/PmsProductParam.java @@ -2,6 +2,8 @@ package com.macro.mall.dto; import com.macro.mall.model.*; import io.swagger.annotations.ApiModelProperty; +import lombok.Data; +import lombok.EqualsAndHashCode; import java.util.List; @@ -9,6 +11,8 @@ import java.util.List; * 创建和修改商品时使用的参数 * Created by macro on 2018/4/26. */ +@Data +@EqualsAndHashCode(callSuper = false) public class PmsProductParam extends PmsProduct{ @ApiModelProperty("商品阶梯价格设置") private List productLadderList; @@ -24,60 +28,4 @@ public class PmsProductParam extends PmsProduct{ private List subjectProductRelationList; @ApiModelProperty("优选专区和商品的关系") private List prefrenceAreaProductRelationList; - - public List getProductLadderList() { - return productLadderList; - } - - public void setProductLadderList(List productLadderList) { - this.productLadderList = productLadderList; - } - - public List getProductFullReductionList() { - return productFullReductionList; - } - - public void setProductFullReductionList(List productFullReductionList) { - this.productFullReductionList = productFullReductionList; - } - - public List getMemberPriceList() { - return memberPriceList; - } - - public void setMemberPriceList(List memberPriceList) { - this.memberPriceList = memberPriceList; - } - - public List getSkuStockList() { - return skuStockList; - } - - public void setSkuStockList(List skuStockList) { - this.skuStockList = skuStockList; - } - - public List getProductAttributeValueList() { - return productAttributeValueList; - } - - public void setProductAttributeValueList(List productAttributeValueList) { - this.productAttributeValueList = productAttributeValueList; - } - - public List getSubjectProductRelationList() { - return subjectProductRelationList; - } - - public void setSubjectProductRelationList(List subjectProductRelationList) { - this.subjectProductRelationList = subjectProductRelationList; - } - - public List getPrefrenceAreaProductRelationList() { - return prefrenceAreaProductRelationList; - } - - public void setPrefrenceAreaProductRelationList(List prefrenceAreaProductRelationList) { - this.prefrenceAreaProductRelationList = prefrenceAreaProductRelationList; - } }