|
@@ -0,0 +1,546 @@
|
|
|
+/*
|
|
|
+ *
|
|
|
+ * ProductAttrValueDTO.java
|
|
|
+ * Copyright(C) 2017-2020 fendo公司
|
|
|
+ * @date 2025-07-16
|
|
|
+ */
|
|
|
+package dto;
|
|
|
+
|
|
|
+import java.io.Serializable;
|
|
|
+import java.math.BigDecimal;
|
|
|
+import java.util.Date;
|
|
|
+
|
|
|
+public class ProductAttrValueDTO implements Serializable {
|
|
|
+ /**
|
|
|
+ * m_product_attr_value
|
|
|
+ */
|
|
|
+ private static final long serialVersionUID = 1L;
|
|
|
+ /**
|
|
|
+ * 主键
|
|
|
+ */
|
|
|
+ private Long id;
|
|
|
+ /**
|
|
|
+ * 商品ID
|
|
|
+ */
|
|
|
+ private Long productId;
|
|
|
+ /**
|
|
|
+ * SKU编号
|
|
|
+ */
|
|
|
+ private String skuCode;
|
|
|
+ /**
|
|
|
+ * 商品属性索引值 (attr_value|attr_value[|....])
|
|
|
+ */
|
|
|
+ private String suk;
|
|
|
+ /**
|
|
|
+ * 属性对应的库存
|
|
|
+ */
|
|
|
+ private Integer stock;
|
|
|
+ /**
|
|
|
+ * 库存预警值
|
|
|
+ */
|
|
|
+ private Integer stockThreshold;
|
|
|
+ /**
|
|
|
+ * 销量
|
|
|
+ */
|
|
|
+ private Integer sales;
|
|
|
+ /**
|
|
|
+ * 属性金额
|
|
|
+ */
|
|
|
+ private BigDecimal price;
|
|
|
+ /**
|
|
|
+ * 图片
|
|
|
+ */
|
|
|
+ private String image;
|
|
|
+ /**
|
|
|
+ * 成本价
|
|
|
+ */
|
|
|
+ private BigDecimal cost;
|
|
|
+ /**
|
|
|
+ * 原价
|
|
|
+ */
|
|
|
+ private BigDecimal otPrice;
|
|
|
+ /**
|
|
|
+ * 重量
|
|
|
+ */
|
|
|
+ private BigDecimal weight;
|
|
|
+ /**
|
|
|
+ * 体积
|
|
|
+ */
|
|
|
+ private BigDecimal volume;
|
|
|
+ /**
|
|
|
+ * 一级返佣
|
|
|
+ */
|
|
|
+ private BigDecimal brokerage;
|
|
|
+ /**
|
|
|
+ * 二级返佣
|
|
|
+ */
|
|
|
+ private BigDecimal brokerageTwo;
|
|
|
+ /**
|
|
|
+ * 活动类型 0=商品,1=秒杀,2=砍价,3=拼团
|
|
|
+ */
|
|
|
+ private Boolean type;
|
|
|
+ /**
|
|
|
+ * 活动限购数量
|
|
|
+ */
|
|
|
+ private Integer quota;
|
|
|
+ /**
|
|
|
+ * 活动限购数量显示
|
|
|
+ */
|
|
|
+ private Integer quotaShow;
|
|
|
+ /**
|
|
|
+ * 创建时间
|
|
|
+ */
|
|
|
+ private Date createTime;
|
|
|
+ /**
|
|
|
+ * 更新时间
|
|
|
+ */
|
|
|
+ private Date updateTime;
|
|
|
+ /**
|
|
|
+ * 创建人id
|
|
|
+ */
|
|
|
+ private Long createUserId;
|
|
|
+ /**
|
|
|
+ * 更新人id
|
|
|
+ */
|
|
|
+ private Long updateUserId;
|
|
|
+ /**
|
|
|
+ * 是否删除
|
|
|
+ */
|
|
|
+ private Byte isDelete;
|
|
|
+ /**
|
|
|
+ * attr_values 创建更新时的属性对应
|
|
|
+ */
|
|
|
+ private String attrValue;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 主键
|
|
|
+ *
|
|
|
+ * @return id 主键
|
|
|
+ */
|
|
|
+ public Long getId() {
|
|
|
+ return id;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 主键
|
|
|
+ *
|
|
|
+ * @param id 主键
|
|
|
+ */
|
|
|
+ public void setId(Long id) {
|
|
|
+ this.id = id;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 商品ID
|
|
|
+ *
|
|
|
+ * @return product_id 商品ID
|
|
|
+ */
|
|
|
+ public Long getProductId() {
|
|
|
+ return productId;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 商品ID
|
|
|
+ *
|
|
|
+ * @param productId 商品ID
|
|
|
+ */
|
|
|
+ public void setProductId(Long productId) {
|
|
|
+ this.productId = productId;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * SKU编号
|
|
|
+ *
|
|
|
+ * @return sku_code SKU编号
|
|
|
+ */
|
|
|
+ public String getSkuCode() {
|
|
|
+ return skuCode;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * SKU编号
|
|
|
+ *
|
|
|
+ * @param skuCode SKU编号
|
|
|
+ */
|
|
|
+ public void setSkuCode(String skuCode) {
|
|
|
+ this.skuCode = skuCode;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 商品属性索引值 (attr_value|attr_value[|....])
|
|
|
+ *
|
|
|
+ * @return suk 商品属性索引值 (attr_value|attr_value[|....])
|
|
|
+ */
|
|
|
+ public String getSuk() {
|
|
|
+ return suk;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 商品属性索引值 (attr_value|attr_value[|....])
|
|
|
+ *
|
|
|
+ * @param suk 商品属性索引值 (attr_value|attr_value[|....])
|
|
|
+ */
|
|
|
+ public void setSuk(String suk) {
|
|
|
+ this.suk = suk;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 属性对应的库存
|
|
|
+ *
|
|
|
+ * @return stock 属性对应的库存
|
|
|
+ */
|
|
|
+ public Integer getStock() {
|
|
|
+ return stock;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 属性对应的库存
|
|
|
+ *
|
|
|
+ * @param stock 属性对应的库存
|
|
|
+ */
|
|
|
+ public void setStock(Integer stock) {
|
|
|
+ this.stock = stock;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 库存预警值
|
|
|
+ *
|
|
|
+ * @return stock_threshold 库存预警值
|
|
|
+ */
|
|
|
+ public Integer getStockThreshold() {
|
|
|
+ return stockThreshold;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 库存预警值
|
|
|
+ *
|
|
|
+ * @param stockThreshold 库存预警值
|
|
|
+ */
|
|
|
+ public void setStockThreshold(Integer stockThreshold) {
|
|
|
+ this.stockThreshold = stockThreshold;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 销量
|
|
|
+ *
|
|
|
+ * @return sales 销量
|
|
|
+ */
|
|
|
+ public Integer getSales() {
|
|
|
+ return sales;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 销量
|
|
|
+ *
|
|
|
+ * @param sales 销量
|
|
|
+ */
|
|
|
+ public void setSales(Integer sales) {
|
|
|
+ this.sales = sales;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 属性金额
|
|
|
+ *
|
|
|
+ * @return price 属性金额
|
|
|
+ */
|
|
|
+ public BigDecimal getPrice() {
|
|
|
+ return price;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 属性金额
|
|
|
+ *
|
|
|
+ * @param price 属性金额
|
|
|
+ */
|
|
|
+ public void setPrice(BigDecimal price) {
|
|
|
+ this.price = price;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 图片
|
|
|
+ *
|
|
|
+ * @return image 图片
|
|
|
+ */
|
|
|
+ public String getImage() {
|
|
|
+ return image;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 图片
|
|
|
+ *
|
|
|
+ * @param image 图片
|
|
|
+ */
|
|
|
+ public void setImage(String image) {
|
|
|
+ this.image = image;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 成本价
|
|
|
+ *
|
|
|
+ * @return cost 成本价
|
|
|
+ */
|
|
|
+ public BigDecimal getCost() {
|
|
|
+ return cost;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 成本价
|
|
|
+ *
|
|
|
+ * @param cost 成本价
|
|
|
+ */
|
|
|
+ public void setCost(BigDecimal cost) {
|
|
|
+ this.cost = cost;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 原价
|
|
|
+ *
|
|
|
+ * @return ot_price 原价
|
|
|
+ */
|
|
|
+ public BigDecimal getOtPrice() {
|
|
|
+ return otPrice;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 原价
|
|
|
+ *
|
|
|
+ * @param otPrice 原价
|
|
|
+ */
|
|
|
+ public void setOtPrice(BigDecimal otPrice) {
|
|
|
+ this.otPrice = otPrice;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 重量
|
|
|
+ *
|
|
|
+ * @return weight 重量
|
|
|
+ */
|
|
|
+ public BigDecimal getWeight() {
|
|
|
+ return weight;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 重量
|
|
|
+ *
|
|
|
+ * @param weight 重量
|
|
|
+ */
|
|
|
+ public void setWeight(BigDecimal weight) {
|
|
|
+ this.weight = weight;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 体积
|
|
|
+ *
|
|
|
+ * @return volume 体积
|
|
|
+ */
|
|
|
+ public BigDecimal getVolume() {
|
|
|
+ return volume;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 体积
|
|
|
+ *
|
|
|
+ * @param volume 体积
|
|
|
+ */
|
|
|
+ public void setVolume(BigDecimal volume) {
|
|
|
+ this.volume = volume;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 一级返佣
|
|
|
+ *
|
|
|
+ * @return brokerage 一级返佣
|
|
|
+ */
|
|
|
+ public BigDecimal getBrokerage() {
|
|
|
+ return brokerage;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 一级返佣
|
|
|
+ *
|
|
|
+ * @param brokerage 一级返佣
|
|
|
+ */
|
|
|
+ public void setBrokerage(BigDecimal brokerage) {
|
|
|
+ this.brokerage = brokerage;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 二级返佣
|
|
|
+ *
|
|
|
+ * @return brokerage_two 二级返佣
|
|
|
+ */
|
|
|
+ public BigDecimal getBrokerageTwo() {
|
|
|
+ return brokerageTwo;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 二级返佣
|
|
|
+ *
|
|
|
+ * @param brokerageTwo 二级返佣
|
|
|
+ */
|
|
|
+ public void setBrokerageTwo(BigDecimal brokerageTwo) {
|
|
|
+ this.brokerageTwo = brokerageTwo;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 活动类型 0=商品,1=秒杀,2=砍价,3=拼团
|
|
|
+ *
|
|
|
+ * @return type 活动类型 0=商品,1=秒杀,2=砍价,3=拼团
|
|
|
+ */
|
|
|
+ public Boolean getType() {
|
|
|
+ return type;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 活动类型 0=商品,1=秒杀,2=砍价,3=拼团
|
|
|
+ *
|
|
|
+ * @param type 活动类型 0=商品,1=秒杀,2=砍价,3=拼团
|
|
|
+ */
|
|
|
+ public void setType(Boolean type) {
|
|
|
+ this.type = type;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 活动限购数量
|
|
|
+ *
|
|
|
+ * @return quota 活动限购数量
|
|
|
+ */
|
|
|
+ public Integer getQuota() {
|
|
|
+ return quota;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 活动限购数量
|
|
|
+ *
|
|
|
+ * @param quota 活动限购数量
|
|
|
+ */
|
|
|
+ public void setQuota(Integer quota) {
|
|
|
+ this.quota = quota;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 活动限购数量显示
|
|
|
+ *
|
|
|
+ * @return quota_show 活动限购数量显示
|
|
|
+ */
|
|
|
+ public Integer getQuotaShow() {
|
|
|
+ return quotaShow;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 活动限购数量显示
|
|
|
+ *
|
|
|
+ * @param quotaShow 活动限购数量显示
|
|
|
+ */
|
|
|
+ public void setQuotaShow(Integer quotaShow) {
|
|
|
+ this.quotaShow = quotaShow;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 创建时间
|
|
|
+ *
|
|
|
+ * @return create_time 创建时间
|
|
|
+ */
|
|
|
+ public Date getCreateTime() {
|
|
|
+ return createTime;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 创建时间
|
|
|
+ *
|
|
|
+ * @param createTime 创建时间
|
|
|
+ */
|
|
|
+ public void setCreateTime(Date createTime) {
|
|
|
+ this.createTime = createTime;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 更新时间
|
|
|
+ *
|
|
|
+ * @return update_time 更新时间
|
|
|
+ */
|
|
|
+ public Date getUpdateTime() {
|
|
|
+ return updateTime;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 更新时间
|
|
|
+ *
|
|
|
+ * @param updateTime 更新时间
|
|
|
+ */
|
|
|
+ public void setUpdateTime(Date updateTime) {
|
|
|
+ this.updateTime = updateTime;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 创建人id
|
|
|
+ *
|
|
|
+ * @return create_user_id 创建人id
|
|
|
+ */
|
|
|
+ public Long getCreateUserId() {
|
|
|
+ return createUserId;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 创建人id
|
|
|
+ *
|
|
|
+ * @param createUserId 创建人id
|
|
|
+ */
|
|
|
+ public void setCreateUserId(Long createUserId) {
|
|
|
+ this.createUserId = createUserId;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 更新人id
|
|
|
+ *
|
|
|
+ * @return update_user_id 更新人id
|
|
|
+ */
|
|
|
+ public Long getUpdateUserId() {
|
|
|
+ return updateUserId;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 更新人id
|
|
|
+ *
|
|
|
+ * @param updateUserId 更新人id
|
|
|
+ */
|
|
|
+ public void setUpdateUserId(Long updateUserId) {
|
|
|
+ this.updateUserId = updateUserId;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 是否删除
|
|
|
+ *
|
|
|
+ * @return is_delete 是否删除
|
|
|
+ */
|
|
|
+ public Byte getIsDelete() {
|
|
|
+ return isDelete;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 是否删除
|
|
|
+ *
|
|
|
+ * @param isDelete 是否删除
|
|
|
+ */
|
|
|
+ public void setIsDelete(Byte isDelete) {
|
|
|
+ this.isDelete = isDelete;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * attr_values 创建更新时的属性对应
|
|
|
+ *
|
|
|
+ * @return attr_value attr_values 创建更新时的属性对应
|
|
|
+ */
|
|
|
+ public String getAttrValue() {
|
|
|
+ return attrValue;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * attr_values 创建更新时的属性对应
|
|
|
+ *
|
|
|
+ * @param attrValue attr_values 创建更新时的属性对应
|
|
|
+ */
|
|
|
+ public void setAttrValue(String attrValue) {
|
|
|
+ this.attrValue = attrValue;
|
|
|
+ }
|
|
|
+}
|