From 5d43370b99a03391c9271d04d3f351f0fd734dae Mon Sep 17 00:00:00 2001 From: 935090232@qq.com <ak473600000> Date: Thu, 18 Mar 2021 20:23:02 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/score_shop' into score_shop --- zq-erp/src/main/java/com/matrix/system/shopXcx/bean/ShopProduct.java | 404 +++++---------------------------------------------------- 1 files changed, 35 insertions(+), 369 deletions(-) diff --git a/zq-erp/src/main/java/com/matrix/system/shopXcx/bean/ShopProduct.java b/zq-erp/src/main/java/com/matrix/system/shopXcx/bean/ShopProduct.java index ca48c7e..5057ab4 100644 --- a/zq-erp/src/main/java/com/matrix/system/shopXcx/bean/ShopProduct.java +++ b/zq-erp/src/main/java/com/matrix/system/shopXcx/bean/ShopProduct.java @@ -2,6 +2,7 @@ import com.matrix.core.anotations.Extend; import com.matrix.system.common.bean.EntityDTOExt; +import lombok.Data; import java.util.List; @@ -10,13 +11,27 @@ * @author jyy * @date 2019-06-10 10:58 */ +@Data public class ShopProduct extends EntityDTOExt { /** - * 产品类型-服务 + * 卖场-微商城 */ - public static final int IS_SERVICE_Y=1; - public static final int IS_SERVICE_N=2; + public static final int MALL_MICRO =1; + /** + * 卖场-积分商城 + */ + public static final int MALL_SCORE=2; + /** + * 可分销 + */ + public static final int ABLE_SALES =1; + /** + * 不可分销 + */ + public static final int NOT_ABLE_SALES=2; + + /** * 主键 @@ -28,7 +43,12 @@ * 分类ID */ private Integer categoryId; - + + /** + * 积分商城分类ID + */ + private Integer scoreCategoryId; + /** * 标题 @@ -58,10 +78,17 @@ * 手机端封面 */ private String imgMobile; - - - + /** + * 上架卖场 1 微商城,2 积分商城 + */ + private Integer mallType; + + + /** + * 是否为分销产品 1是2不是 + */ + private Integer ableSales; /** * 原价 @@ -161,6 +188,7 @@ */ @Extend private String paramRefs; + @Extend private List<ShopProductParamRef> params; @@ -246,366 +274,4 @@ - public Long getCompanyId() { - return companyId; - } - - public void setCompanyId(Long companyId) { - this.companyId = companyId; - } - - public String getBrand() { - return brand; - } - - public void setBrand(String brand) { - this.brand = brand; - } - - public String getShopIds() { - return shopIds; - } - - public void setShopIds(String shopIds) { - this.shopIds = shopIds; - } - - public ShopCoupon getShopCoupon() { - return shopCoupon; - } - - public void setShopCoupon(ShopCoupon shopCoupon) { - this.shopCoupon = shopCoupon; - } - - public Integer getCouponId() { - return couponId; - } - - public void setCouponId(Integer couponId) { - this.couponId = couponId; - } - - public String getStockNum() { - return stockNum; - } - - public void setStockNum(String stockNum) { - this.stockNum = stockNum; - } - - public Integer getIsService() { - return isService; - } - - public void setIsService(Integer isService) { - this.isService = isService; - } - - public Integer getIsSpecialPrice() { - return isSpecialPrice; - } - - public void setIsSpecialPrice(Integer isSpecialPrice) { - this.isSpecialPrice = isSpecialPrice; - } - - public Double getMarkedPrice() { - return markedPrice; - } - - public void setMarkedPrice(Double markedPrice) { - this.markedPrice = markedPrice; - } - - public Integer getId() { - return id; - } - - public void setId(Integer id) { - this.id=id; - } - - - public Integer getCategoryId() { - return categoryId; - } - - public void setCategoryId(Integer categoryId) { - this.categoryId=categoryId; - } - - - public String getTitle() { - return title; - } - - public void setTitle(String title) { - this.title=title; - } - - - public String getBriefIntroduction() { - return briefIntroduction; - } - - public void setBriefIntroduction(String briefIntroduction) { - this.briefIntroduction=briefIntroduction; - } - - - public Integer getCarriage() { - return carriage; - } - - public void setCarriage(Integer carriage) { - this.carriage=carriage; - } - - - public String getImgPc() { - return imgPc; - } - - public void setImgPc(String imgPc) { - this.imgPc=imgPc; - } - - - public String getImgMobile() { - return imgMobile; - } - - public void setImgMobile(String imgMobile) { - this.imgMobile=imgMobile; - } - - - - public Double getPrice() { - return price; - } - - public void setPrice(Double price) { - this.price=price; - } - - - public String getPcDetails() { - return pcDetails; - } - - public void setPcDetails(String pcDetails) { - this.pcDetails=pcDetails; - } - - - public String getMobileDetails() { - return mobileDetails; - } - - public void setMobileDetails(String mobileDetails) { - this.mobileDetails=mobileDetails; - } - - - public Integer getBuyLimit() { - return buyLimit; - } - - public void setBuyLimit(Integer buyLimit) { - this.buyLimit=buyLimit; - } - - - public Integer getLimitCycle() { - return limitCycle; - } - - public void setLimitCycle(Integer limitCycle) { - this.limitCycle=limitCycle; - } - - - public Integer getIsCanComment() { - return isCanComment; - } - - public void setIsCanComment(Integer isCanComment) { - this.isCanComment=isCanComment; - } - - - public String getMnemonicCode() { - return mnemonicCode; - } - - public void setMnemonicCode(String mnemonicCode) { - this.mnemonicCode=mnemonicCode; - } - - - public Integer getStatus() { - return status; - } - - public void setStatus(Integer status) { - this.status=status; - } - - - public Integer getDsVolume() { - return dsVolume; - } - - public void setDsVolume(Integer dsVolume) { - this.dsVolume=dsVolume; - } - - - public Integer getRsVolume() { - return rsVolume; - } - - public void setRsVolume(Integer rsVolume) { - this.rsVolume=rsVolume; - } - - - public Integer getDelFlag() { - return delFlag; - } - - public void setDelFlag(Integer delFlag) { - this.delFlag=delFlag; - } - - - public String getParamRefs() { - return paramRefs; - } - - public void setParamRefs(String paramRefs) { - this.paramRefs = paramRefs; - } - - public String getAttrs() { - return attrs; - } - - public void setAttrs(String attrs) { - this.attrs = attrs; - } - - public String getShopSku() { - return shopSku; - } - - public void setShopSku(String shopSku) { - this.shopSku = shopSku; - } - - public String getShopProductImg() { - return shopProductImg; - } - - public void setShopProductImg(String shopProductImg) { - this.shopProductImg = shopProductImg; - } - - public List<ShopProductParamRef> getParams() { - return params; - } - - public void setParams(List<ShopProductParamRef> params) { - this.params = params; - } - - public List<ShopProductAttrRef> getAttrRefs() { - return attrRefs; - } - - public void setAttrRefs(List<ShopProductAttrRef> attrRefs) { - this.attrRefs = attrRefs; - } - - public List<ShopSku> getSkus() { - return skus; - } - - public void setSkus(List<ShopSku> skus) { - this.skus = skus; - } - - public List<ShopProductImg> getProductImgs() { - return productImgs; - } - - public void setProductImgs(List<ShopProductImg> productImgs) { - this.productImgs = productImgs; - } - - public Integer getStartPrice() { - return startPrice; - } - - public void setStartPrice(Integer startPrice) { - this.startPrice = startPrice; - } - - public Integer getEndPrice() { - return endPrice; - } - - public void setEndPrice(Integer endPrice) { - this.endPrice = endPrice; - } - - public String getSortType() { - return sortType; - } - - public void setSortType(String sortType) { - this.sortType = sortType; - } - - public String getQueryType() { - return queryType; - } - - public void setQueryType(String queryType) { - this.queryType = queryType; - } - - public String getAttrValues() { - return attrValues; - } - - public void setAttrValues(String attrValues) { - this.attrValues = attrValues; - } - - public String getAtrid() { - return atrid; - } - - public void setAtrid(String atrid) { - this.atrid = atrid; - } - - public String getScore() { - return score; - } - - public Integer getServiceTime() { - return serviceTime; - } - - public void setServiceTime(Integer serviceTime) { - this.serviceTime = serviceTime; - } - - public void setScore(String score) { - this.score = score; - } } \ No newline at end of file -- Gitblit v1.9.1