123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359 |
- package com.kmall.admin.entity;
- import com.kmall.admin.haikong.vo.QueryGoodsVO;
- import org.springframework.beans.BeanUtils;
- import java.io.Serializable;
- import java.math.BigDecimal;
- import java.util.*;
- /**
- * @author Scott
- * @email
- * @date 2017-08-13 10:41:08
- */
- public class GoodsEntity implements Serializable {
- private static final long serialVersionUID = 1L;
- //主键
- private Long id;
- //商品类型Id
- private Integer categoryId;
- //供应商id
- private Integer supplierId;
- //商品序列号
- private String goodsSn;
- //名称
- private String name;
- //品牌Id
- private Integer brandId;
- //运费id
- private Integer freightId;
- //品牌
- private String brand;
- //商品库存
- private Integer goodsNumber;
- //关键字
- private String keywords;
- //简明介绍
- private String goodsBrief;
- //商品描述
- private String goodsDesc;
- //添加时间
- private Date addTime;
- //修改时间
- private Date updateTime;
- //排序
- private Integer sortOrder;
- //删除状态
- private Integer isDelete;
- //属性类别
- private Integer attributeCategory;
- //库存价格
- private BigDecimal counterPrice;
- //附加价格
- private BigDecimal extraPrice;
- //是否新商品
- private Integer isNew;
- //商品单位
- private String goodsUnit;
- //商品主图
- private String primaryPicUrl;
- //商品列表图
- private String listPicUrl;
- //商品税率
- private BigDecimal goodsRate;
- //零售价格
- // private BigDecimal retailPrice;
- //销售量
- private Integer sellVolume;
- //主sku product_id
- private Long primaryProductId;
- //单位价格,单价
- private BigDecimal unitPrice;
- //推广描述
- private String promotionDesc;
- //推广标签
- private String promotionTag;
- //APP专享价
- private BigDecimal appExclusivePrice;
- //是否是APP专属
- private Integer isAppExclusive;
- //限购
- private Integer isLimited;
- //上架
- private Integer isOnSale;
- //热销
- private Integer isHot;
- //市场价
- // private BigDecimal marketPrice;
- //零售价格
- private BigDecimal storeRetailPrice;
- //市场价
- private BigDecimal storeMarketPrice;
- /**
- * 产品条码
- */
- private String prodBarcode;
- /**
- * 计量单位代码,参见海关编码
- */
- private String unitCode;
- /**
- * 海关商品编码
- */
- private String cusGoodsCode;
- /**
- * 国检规格型号
- */
- private String ciqProdModel;
- /**
- * 原产国代码,海关编码
- */
- private String oriCntCode;
- /**
- * 原产国名称
- */
- private String oriCntName;
- /**
- * 海关申报要素,报统一版
- */
- private String cusDeclEle;
- /**
- * 海关备案编号,企业自编,用于报园区
- */
- private String cusRecCode;
- private String sku;
- private String goodsBizType;
- private String createrSn;
- private Date createTime;
- private String moderSn;
- private Date modTime;
- private Date tstm;
- /**
- * 用户ID
- */
- private Long createUserId;
- private Long createUserDeptId;
- private String prodName;
- public String getProdName() {
- return prodName;
- }
- public void setProdName(String prodName) {
- this.prodName = prodName;
- }
- private String prodRecordName; // 产品中文备案名称
- public String getProdRecordName() {
- return prodRecordName;
- }
- public void setProdRecordName(String prodRecordName) {
- this.prodRecordName = prodRecordName;
- }
- // 商品规格
- // 商品规格编号
- /**
- * 用户ID
- */
- private Long updateUserId;
- // 商品类型
- private Integer goodsType = 0; // 0普通 1 2团购
- private List<GoodsAttributeEntity> attributeEntityList = new ArrayList<>();
- private List<GoodsGalleryEntity> goodsImgList = new ArrayList<>();
- private List<ProductEntity> productEntityList = new ArrayList<>();
- /**
- * 翻译用字段
- */
- //属性类别
- private String attributeCategoryName;
- //视频地址
- private String videoUrl;
- private Integer stockNum;
- private String storeName;
- private String productId;
- private Integer storeId;
- /**
- * 导入翻译数据
- */
- //商品类型
- private String categoryName;
- //品牌
- private String brandName;
- //商户编号
- private String merchSn;
- private String merchName;
- private String thirdPartyMerchCode;
- private String isStockShare;
- //毛重,kg
- private BigDecimal grossWeight;
- //净重,kg
- private BigDecimal netWeight;
- private String isSupplierGoods;
- private String goodsIsStockShare;
- private String isStockShareBySuppler;
- /**
- * 商品库存数量变化后是否已共享,0:否,1:是(下单、退款、取消订单触发)
- */
- private String isGoodsShareStock;
- // PLU
- private String plu;
- // 英文名称
- private String englishName;
- // 成本价
- private BigDecimal costPrice;
- // 日常价
- private BigDecimal dailyPrice;
- // 最后销售时间
- private Date lastSaleTime;
- // MychemID
- private String mychemId;
- private String hsCode;
- private String hsCodeName;
- private String isSyncHsCode;
- private String isSyncGoodsRate;
- private BigDecimal impConsumTaxRate;
- private BigDecimal valueAddedTaxRate;
- private BigDecimal cosmThresholdValue;
- private BigDecimal legalUnit1Qty;
- private BigDecimal legalUnit2Qty;
- private Integer toBeRestored;
- /**
- * 预估税
- */
- private BigDecimal goodsTaxes;
- //仓库编码
- private String warehouseSn;
- //货主编码
- private String consignorSn;
- //仓储系统商品ID
- private String warehousSysGoodId;
- //库存类型
- private String inventoryType;
- //残品等级(非残次品则不填)
- private String defectiveProductsGrade;
- public GoodsEntity() {
- }
- public GoodsEntity(QueryGoodsVO queryGoodsVo) {
- BeanUtils.copyProperties(queryGoodsVo, this);
- this.goodsNumber = queryGoodsVo.getSellVolume();
- }
- public BigDecimal getGoodsTaxes() {
- return goodsTaxes;
- }
- public void setGoodsTaxes(BigDecimal goodsTaxes) {
- this.goodsTaxes = goodsTaxes;
- }
- public BigDecimal getCosmThresholdValue() {
- return cosmThresholdValue;
- }
- public void setCosmThresholdValue(BigDecimal cosmThresholdValue) {
- this.cosmThresholdValue = cosmThresholdValue;
- }
- public BigDecimal getLegalUnit1Qty() {
- return legalUnit1Qty;
- }
- public void setLegalUnit1Qty(BigDecimal legalUnit1Qty) {
- this.legalUnit1Qty = legalUnit1Qty;
- }
- public BigDecimal getLegalUnit2Qty() {
- return legalUnit2Qty;
- }
- public void setLegalUnit2Qty(BigDecimal legalUnit2Qty) {
- this.legalUnit2Qty = legalUnit2Qty;
- }
- public BigDecimal getImpConsumTaxRate() {
- return impConsumTaxRate;
- }
- public void setImpConsumTaxRate(BigDecimal impConsumTaxRate) {
- this.impConsumTaxRate = impConsumTaxRate;
- }
- public BigDecimal getValueAddedTaxRate() {
- return valueAddedTaxRate;
- }
- public void setValueAddedTaxRate(BigDecimal valueAddedTaxRate) {
- this.valueAddedTaxRate = valueAddedTaxRate;
- }
- public String getIsSyncGoodsRate() {
- return isSyncGoodsRate;
- }
- public void setIsSyncGoodsRate(String isSyncGoodsRate) {
- this.isSyncGoodsRate = isSyncGoodsRate;
- }
- public String getIsSyncHsCode() {
- return isSyncHsCode;
- }
- public void setIsSyncHsCode(String isSyncHsCode) {
- this.isSyncHsCode = isSyncHsCode;
- }
- public String getHsCode() {
- return hsCode;
- }
- public void setHsCode(String hsCode) {
- this.hsCode = hsCode;
- }
- public String getHsCodeName() {
- return hsCodeName;
- }
- public void setHsCodeName(String hsCodeName) {
- this.hsCodeName = hsCodeName;
- }
- public String getMychemId() {
- return mychemId;
- }
- public void setMychemId(String mychemId) {
- this.mychemId = mychemId;
- }
- private String activity;
- // 单价
- private BigDecimal retailPrice;
- // 优惠金额
- private BigDecimal discountedPrice;
- // 实际支付价
- private BigDecimal actualPaymentAmount;
- /**
- * 门店商品库存表 出区数
- */
- private Integer exitRegionNumber;
- public BigDecimal getRetailPrice() {
- return retailPrice;
- }
- public void setRetailPrice(BigDecimal retailPrice) {
- this.retailPrice = retailPrice;
- }
- public BigDecimal getDiscountedPrice() {
- return discountedPrice;
- }
- public void setDiscountedPrice(BigDecimal discountedPrice) {
- this.discountedPrice = discountedPrice;
- }
- public BigDecimal getActualPaymentAmount() {
- return actualPaymentAmount;
- }
- public void setActualPaymentAmount(BigDecimal actualPaymentAmount) {
- this.actualPaymentAmount = actualPaymentAmount;
- }
- public Date getLastSaleTime() {
- return lastSaleTime;
- }
- public void setLastSaleTime(Date lastSaleTime) {
- this.lastSaleTime = lastSaleTime;
- }
- public String getOriCntName() {
- return oriCntName;
- }
- public void setOriCntName(String oriCntName) {
- this.oriCntName = oriCntName;
- }
- public BigDecimal getCostPrice() {
- return costPrice;
- }
- public void setCostPrice(BigDecimal costPrice) {
- this.costPrice = costPrice;
- }
- public BigDecimal getDailyPrice() {
- return dailyPrice;
- }
- public void setDailyPrice(BigDecimal dailyPrice) {
- this.dailyPrice = dailyPrice;
- }
- public String getPlu() {
- return plu;
- }
- public void setPlu(String plu) {
- this.plu = plu;
- }
- public String getEnglishName() {
- return englishName;
- }
- public void setEnglishName(String englishName) {
- this.englishName = englishName;
- }
- public String getIsGoodsShareStock() {
- return isGoodsShareStock;
- }
- public void setIsGoodsShareStock(String isGoodsShareStock) {
- this.isGoodsShareStock = isGoodsShareStock;
- }
- public String getIsSupplierGoods() {
- return isSupplierGoods;
- }
- public void setIsSupplierGoods(String isSupplierGoods) {
- this.isSupplierGoods = isSupplierGoods;
- }
- public String getGoodsIsStockShare() {
- return goodsIsStockShare;
- }
- public void setGoodsIsStockShare(String goodsIsStockShare) {
- this.goodsIsStockShare = goodsIsStockShare;
- }
- public String getIsStockShareBySuppler() {
- return isStockShareBySuppler;
- }
- public void setIsStockShareBySuppler(String isStockShareBySuppler) {
- this.isStockShareBySuppler = isStockShareBySuppler;
- }
- public BigDecimal getGrossWeight() {
- return grossWeight;
- }
- public void setGrossWeight(BigDecimal grossWeight) {
- this.grossWeight = grossWeight;
- }
- public BigDecimal getNetWeight() {
- return netWeight;
- }
- public void setNetWeight(BigDecimal netWeight) {
- this.netWeight = netWeight;
- }
- public String getIsStockShare() {
- return isStockShare;
- }
- public void setIsStockShare(String isStockShare) {
- this.isStockShare = isStockShare;
- }
- public String getThirdPartyMerchCode() {
- return thirdPartyMerchCode;
- }
- public void setThirdPartyMerchCode(String thirdPartyMerchCode) {
- this.thirdPartyMerchCode = thirdPartyMerchCode;
- }
- public BigDecimal getStoreRetailPrice() {
- return storeRetailPrice;
- }
- public void setStoreRetailPrice(BigDecimal storeRetailPrice) {
- this.storeRetailPrice = storeRetailPrice;
- }
- public BigDecimal getStoreMarketPrice() {
- return storeMarketPrice;
- }
- public void setStoreMarketPrice(BigDecimal storeMarketPrice) {
- this.storeMarketPrice = storeMarketPrice;
- }
- public String getMerchName() {
- return merchName;
- }
- public void setMerchName(String merchName) {
- this.merchName = merchName;
- }
- public String getMerchSn() {
- return merchSn;
- }
- public void setMerchSn(String merchSn) {
- this.merchSn = merchSn;
- }
- public Integer getStoreId() {
- return storeId;
- }
- public void setStoreId(Integer storeId) {
- this.storeId = storeId;
- }
- public String getProductId() {
- return productId;
- }
- public void setProductId(String productId) {
- this.productId = productId;
- }
- public Integer getStockNum() {
- return stockNum;
- }
- public void setStockNum(Integer stockNum) {
- this.stockNum = stockNum;
- }
- public String getStoreName() {
- return storeName;
- }
- public void setStoreName(String storeName) {
- this.storeName = storeName;
- }
- public Integer getSupplierId() {
- return supplierId;
- }
- public void setSupplierId(Integer supplierId) {
- this.supplierId = supplierId;
- }
- public String getVideoUrl() {
- return videoUrl;
- }
- public void setVideoUrl(String videoUrl) {
- this.videoUrl = videoUrl;
- }
- public String getSku() {
- return sku;
- }
- public void setSku(String sku) {
- this.sku = sku;
- }
- public String getGoodsBizType() {
- return goodsBizType;
- }
- public void setGoodsBizType(String goodsBizType) {
- this.goodsBizType = goodsBizType;
- }
- public String getCreaterSn() {
- return createrSn;
- }
- public void setCreaterSn(String createrSn) {
- this.createrSn = createrSn;
- }
- public Date getCreateTime() {
- return createTime;
- }
- public void setCreateTime(Date createTime) {
- this.createTime = createTime;
- }
- public String getModerSn() {
- return moderSn;
- }
- public void setModerSn(String moderSn) {
- this.moderSn = moderSn;
- }
- public Date getModTime() {
- return modTime;
- }
- public void setModTime(Date modTime) {
- this.modTime = modTime;
- }
- public Date getTstm() {
- return tstm;
- }
- public void setTstm(Date tstm) {
- this.tstm = tstm;
- }
- public Long getCreateUserDeptId() {
- return createUserDeptId;
- }
- public void setCreateUserDeptId(Long createUserDeptId) {
- this.createUserDeptId = createUserDeptId;
- }
- public List<GoodsGalleryEntity> getGoodsImgList() {
- return goodsImgList;
- }
- public void setGoodsImgList(List<GoodsGalleryEntity> goodsImgList) {
- this.goodsImgList = goodsImgList;
- }
- public String getBrandName() {
- return brandName;
- }
- public void setBrandName(String brandName) {
- this.brandName = brandName;
- }
- public String getAttributeCategoryName() {
- return attributeCategoryName;
- }
- public void setAttributeCategoryName(String attributeCategoryName) {
- this.attributeCategoryName = attributeCategoryName;
- }
- public String getCategoryName() {
- return categoryName;
- }
- public void setCategoryName(String categoryName) {
- this.categoryName = categoryName;
- }
- /**
- * 设置:主键
- */
- public void setId(Long id) {
- this.id = id;
- }
- /**
- * 获取:主键
- */
- public Long getId() {
- return id;
- }
- /**
- * 设置:商品类型Id
- */
- public void setCategoryId(Integer categoryId) {
- this.categoryId = categoryId;
- }
- /**
- * 获取:商品类型Id
- */
- public Integer getCategoryId() {
- return categoryId;
- }
- /**
- * 设置:商品序列号
- */
- public void setGoodsSn(String goodsSn) {
- this.goodsSn = goodsSn;
- }
- /**
- * 获取:商品序列号
- */
- public String getGoodsSn() {
- return goodsSn;
- }
- /**
- * 设置:名称
- */
- public void setName(String name) {
- this.name = name;
- }
- /**
- * 获取:名称
- */
- public String getName() {
- return name;
- }
- public Integer getFreightId() {
- return freightId;
- }
- public void setFreightId(Integer freightId) {
- this.freightId = freightId;
- }
- /**
- * 设置:品牌Id
- */
- public void setBrandId(Integer brandId) {
- this.brandId = brandId;
- }
- /**
- * 获取:品牌Id
- */
- public Integer getBrandId() {
- return brandId;
- }
- public String getBrand() {
- return brand;
- }
- public void setBrand(String brand) {
- this.brand = brand;
- }
- /**
- * 设置:商品序列号
- */
- public void setGoodsNumber(Integer goodsNumber) {
- this.goodsNumber = goodsNumber;
- }
- /**
- * 获取:商品序列号
- */
- public Integer getGoodsNumber() {
- return goodsNumber;
- }
- /**
- * 设置:关键字
- */
- public void setKeywords(String keywords) {
- this.keywords = keywords;
- }
- /**
- * 获取:关键字
- */
- public String getKeywords() {
- return keywords;
- }
- /**
- * 设置:简明介绍
- */
- public void setGoodsBrief(String goodsBrief) {
- this.goodsBrief = goodsBrief;
- }
- /**
- * 获取:简明介绍
- */
- public String getGoodsBrief() {
- return goodsBrief;
- }
- /**
- * 设置:商品描述
- */
- public void setGoodsDesc(String goodsDesc) {
- this.goodsDesc = goodsDesc;
- }
- /**
- * 获取:商品描述
- */
- public String getGoodsDesc() {
- return goodsDesc;
- }
- /**
- * 设置:上架
- */
- public void setIsOnSale(Integer isOnSale) {
- this.isOnSale = isOnSale;
- }
- /**
- * 获取:上架
- */
- public Integer getIsOnSale() {
- return isOnSale;
- }
- /**
- * 设置:添加时间
- */
- public void setAddTime(Date addTime) {
- this.addTime = addTime;
- }
- /**
- * 获取:添加时间
- */
- public Date getAddTime() {
- return addTime;
- }
- /**
- * 设置:排序
- */
- public void setSortOrder(Integer sortOrder) {
- this.sortOrder = sortOrder;
- }
- /**
- * 获取:排序
- */
- public Integer getSortOrder() {
- return sortOrder;
- }
- /**
- * 设置:删除状态
- */
- public void setIsDelete(Integer isDelete) {
- this.isDelete = isDelete;
- }
- /**
- * 获取:删除状态
- */
- public Integer getIsDelete() {
- return isDelete;
- }
- /**
- * 设置:属性类别
- */
- public void setAttributeCategory(Integer attributeCategory) {
- this.attributeCategory = attributeCategory;
- }
- /**
- * 获取:属性类别
- */
- public Integer getAttributeCategory() {
- return attributeCategory;
- }
- /**
- * 设置:专柜价格
- */
- public void setCounterPrice(BigDecimal counterPrice) {
- this.counterPrice = counterPrice;
- }
- /**
- * 获取:专柜价格
- */
- public BigDecimal getCounterPrice() {
- return counterPrice;
- }
- /**
- * 设置:附加价格
- */
- public void setExtraPrice(BigDecimal extraPrice) {
- this.extraPrice = extraPrice;
- }
- /**
- * 获取:附加价格
- */
- public BigDecimal getExtraPrice() {
- return extraPrice;
- }
- /**
- * 设置:是否新商品
- */
- public void setIsNew(Integer isNew) {
- this.isNew = isNew;
- }
- /**
- * 获取:是否新商品
- */
- public Integer getIsNew() {
- return isNew;
- }
- /**
- * 设置:商品单位
- */
- public void setGoodsUnit(String goodsUnit) {
- this.goodsUnit = goodsUnit;
- }
- /**
- * 获取:商品单位
- */
- public String getGoodsUnit() {
- return goodsUnit;
- }
- /**
- * 设置:商品主图
- */
- public void setPrimaryPicUrl(String primaryPicUrl) {
- this.primaryPicUrl = primaryPicUrl;
- }
- /**
- * 获取:商品主图
- */
- public String getPrimaryPicUrl() {
- return primaryPicUrl;
- }
- /**
- * 设置:商品列表图
- */
- public void setListPicUrl(String listPicUrl) {
- this.listPicUrl = listPicUrl;
- }
- /**
- * 获取:商品列表图
- */
- public String getListPicUrl() {
- return listPicUrl;
- }
- public BigDecimal getGoodsRate() {
- return goodsRate;
- }
- public void setGoodsRate(BigDecimal goodsRate) {
- this.goodsRate = goodsRate;
- }
- // /**
- // * 设置:零售价格
- // */
- // public void setRetailPrice(BigDecimal retailPrice) {
- // this.retailPrice = retailPrice;
- // }
- //
- // /**
- // * 获取:零售价格
- // */
- // public BigDecimal getRetailPrice() {
- // return retailPrice;
- // }
- /**
- * 设置:销售量
- */
- public void setSellVolume(Integer sellVolume) {
- this.sellVolume = sellVolume;
- }
- /**
- * 获取:销售量
- */
- public Integer getSellVolume() {
- return sellVolume;
- }
- /**
- * 设置:主sku product_id
- */
- public void setPrimaryProductId(Long primaryProductId) {
- this.primaryProductId = primaryProductId;
- }
- /**
- * 获取:主sku product_id
- */
- public Long getPrimaryProductId() {
- return primaryProductId;
- }
- /**
- * 设置:单位价格,单价
- */
- public void setUnitPrice(BigDecimal unitPrice) {
- this.unitPrice = unitPrice;
- }
- /**
- * 获取:单位价格,单价
- */
- public BigDecimal getUnitPrice() {
- return unitPrice;
- }
- /**
- * 设置:推广描述
- */
- public void setPromotionDesc(String promotionDesc) {
- this.promotionDesc = promotionDesc;
- }
- /**
- * 获取:推广描述
- */
- public String getPromotionDesc() {
- return promotionDesc;
- }
- /**
- * 设置:推广标签
- */
- public void setPromotionTag(String promotionTag) {
- this.promotionTag = promotionTag;
- }
- /**
- * 获取:推广标签
- */
- public String getPromotionTag() {
- return promotionTag;
- }
- /**
- * 设置:APP专享价
- */
- public void setAppExclusivePrice(BigDecimal appExclusivePrice) {
- this.appExclusivePrice = appExclusivePrice;
- }
- /**
- * 获取:APP专享价
- */
- public BigDecimal getAppExclusivePrice() {
- return appExclusivePrice;
- }
- /**
- * 设置:是否是APP专属
- */
- public void setIsAppExclusive(Integer isAppExclusive) {
- this.isAppExclusive = isAppExclusive;
- }
- /**
- * 获取:是否是APP专属
- */
- public Integer getIsAppExclusive() {
- return isAppExclusive;
- }
- /**
- * 设置:限购
- */
- public void setIsLimited(Integer isLimited) {
- this.isLimited = isLimited;
- }
- /**
- * 获取:限购
- */
- public Integer getIsLimited() {
- return isLimited;
- }
- /**
- * 设置:热销
- */
- public void setIsHot(Integer isHot) {
- this.isHot = isHot;
- }
- /**
- * 获取:热销
- */
- public Integer getIsHot() {
- return isHot;
- }
- // public BigDecimal getMarketPrice() {
- // return marketPrice;
- // }
- //
- // public void setMarketPrice(BigDecimal marketPrice) {
- // this.marketPrice = marketPrice;
- // }
- public List<GoodsAttributeEntity> getAttributeEntityList() {
- return attributeEntityList;
- }
- public void setAttributeEntityList(List<GoodsAttributeEntity> attributeEntityList) {
- this.attributeEntityList = attributeEntityList;
- }
- public Long getCreateUserId() {
- return createUserId;
- }
- public void setCreateUserId(Long createUserId) {
- this.createUserId = createUserId;
- }
- public Long getUpdateUserId() {
- return updateUserId;
- }
- public void setUpdateUserId(Long updateUserId) {
- this.updateUserId = updateUserId;
- }
- public Date getUpdateTime() {
- return updateTime;
- }
- public void setUpdateTime(Date updateTime) {
- this.updateTime = updateTime;
- }
- public List<ProductEntity> getProductEntityList() {
- return productEntityList;
- }
- public void setProductEntityList(List<ProductEntity> productEntityList) {
- this.productEntityList = productEntityList;
- }
- public Integer getGoodsType() {
- return goodsType;
- }
- public void setGoodsType(Integer goodsType) {
- this.goodsType = goodsType;
- }
- public String getProdBarcode() {
- return prodBarcode;
- }
- public void setProdBarcode(String prodBarcode) {
- this.prodBarcode = prodBarcode;
- }
- public String getUnitCode() {
- return unitCode;
- }
- public void setUnitCode(String unitCode) {
- this.unitCode = unitCode;
- }
- public String getCusGoodsCode() {
- return cusGoodsCode;
- }
- public void setCusGoodsCode(String cusGoodsCode) {
- this.cusGoodsCode = cusGoodsCode;
- }
- public String getCiqProdModel() {
- return ciqProdModel;
- }
- public void setCiqProdModel(String ciqProdModel) {
- this.ciqProdModel = ciqProdModel;
- }
- public String getOriCntCode() {
- return oriCntCode;
- }
- public void setOriCntCode(String oriCntCode) {
- this.oriCntCode = oriCntCode;
- }
- public String getCusDeclEle() {
- return cusDeclEle;
- }
- public void setCusDeclEle(String cusDeclEle) {
- this.cusDeclEle = cusDeclEle;
- }
- public String getCusRecCode() {
- return cusRecCode;
- }
- public void setCusRecCode(String cusRecCode) {
- this.cusRecCode = cusRecCode;
- }
- public String getActivity() {
- return activity;
- }
- public void setActivity(String activity) {
- this.activity = activity;
- }
- public Integer getToBeRestored() {
- return toBeRestored;
- }
- public void setToBeRestored(Integer toBeRestored) {
- this.toBeRestored = toBeRestored;
- }
- public Integer getExitRegionNumber() {
- return exitRegionNumber;
- }
- public void setExitRegionNumber(Integer exitRegionNumber) {
- this.exitRegionNumber = exitRegionNumber;
- }
- public String getWarehouseSn() {
- return warehouseSn;
- }
- public void setWarehouseSn(String warehouseSn) {
- this.warehouseSn = warehouseSn;
- }
- public String getConsignorSn() {
- return consignorSn;
- }
- public void setConsignorSn(String consignorSn) {
- this.consignorSn = consignorSn;
- }
- public String getWarehousSysGoodId() {
- return warehousSysGoodId;
- }
- public void setWarehousSysGoodId(String warehousSysGoodId) {
- this.warehousSysGoodId = warehousSysGoodId;
- }
- public String getInventoryType() {
- return inventoryType;
- }
- public void setInventoryType(String inventoryType) {
- this.inventoryType = inventoryType;
- }
- public String getDefectiveProductsGrade() {
- return defectiveProductsGrade;
- }
- public void setDefectiveProductsGrade(String defectiveProductsGrade) {
- this.defectiveProductsGrade = defectiveProductsGrade;
- }
- /**
- * 重写hashCode方法,用作排序
- */
- @Override
- public int hashCode() {
- String s = this.prodBarcode + this.sku + this.storeId;
- return s.hashCode();
- }
- /**
- * 重写equals
- * @param obj 需要对比的对象
- */
- @Override
- public boolean equals(Object obj) {
- if (Objects.isNull(obj)) {
- return false;
- }
- if (obj instanceof GoodsEntity) {
- return this.hashCode() == obj.hashCode();
- }
- return false;
- }
- }
|