|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.matrix.core.anotations.Extend; | 
|---|
|  |  |  | import com.matrix.system.common.bean.EntityDTOExt; | 
|---|
|  |  |  | import lombok.Data; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import java.util.List; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | * @author jyy | 
|---|
|  |  |  | * @date 2019-06-10 10:58 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @Data | 
|---|
|  |  |  | public class ShopProduct extends EntityDTOExt { | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 可用积分 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | public static  final int PAYFOR_SCORE =1; | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 不用积分 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | public static  final int NOT_PAYFOR_SCORE =2; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 产品类型-服务 | 
|---|
|  |  |  | * 可分销 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | public static  final int IS_SERVICE_Y=1; | 
|---|
|  |  |  | public static  final int IS_SERVICE_N=2; | 
|---|
|  |  |  | public static  final int ABLE_SALES =1; | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 不可分销 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | public static  final int NOT_ABLE_SALES=2; | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 主键 | 
|---|
|  |  |  | 
|---|
|  |  |  | * 分类ID | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | private Integer  categoryId; | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 积分商城分类ID | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | private Integer  scoreCategoryId; | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 标题 | 
|---|
|  |  |  | 
|---|
|  |  |  | * 手机端封面 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | private String  imgMobile; | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 是否可用积分支付 1是,2不是 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | private Integer ableScorePay; | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 是否为分销产品 1是2不是 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | private Integer  ableSales; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 原价 | 
|---|
|  |  |  | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @Extend | 
|---|
|  |  |  | private String  paramRefs; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Extend | 
|---|
|  |  |  | private List<ShopProductParamRef> params; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 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; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|