|
@@ -0,0 +1,315 @@
|
|
|
|
|
+package com.uas.cloud.mall.store.cms.domain;
|
|
|
|
|
+
|
|
|
|
|
+import org.springframework.data.annotation.Id;
|
|
|
|
|
+import org.springframework.data.mongodb.core.index.Indexed;
|
|
|
|
|
+import org.springframework.data.mongodb.core.mapping.Document;
|
|
|
|
|
+import org.springframework.data.mongodb.core.mapping.Field;
|
|
|
|
|
+
|
|
|
|
|
+import java.util.Date;
|
|
|
|
|
+
|
|
|
|
|
+/**
|
|
|
|
|
+ * 优势库存信息
|
|
|
|
|
+ *
|
|
|
|
|
+ * history:
|
|
|
|
|
+ * Created by huxz on 2017-3-3 10:44:16
|
|
|
|
|
+ */
|
|
|
|
|
+@Document(collection = "store_product_recommendation")
|
|
|
|
|
+public class RecommendProduct {
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 主键UUID
|
|
|
|
|
+ */
|
|
|
|
|
+ @Id
|
|
|
|
|
+ private String id;
|
|
|
|
|
+
|
|
|
|
|
+ /*=========================================================================
|
|
|
|
|
+ * 基础信息
|
|
|
|
|
+ *=========================================================================*/
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 创建时间
|
|
|
|
|
+ */
|
|
|
|
|
+ @Field(value = "create_time")
|
|
|
|
|
+ private Date createTime;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 修改时间
|
|
|
|
|
+ */
|
|
|
|
|
+ @Field(value = "update_time")
|
|
|
|
|
+ private Date updateTime;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 排序
|
|
|
|
|
+ */
|
|
|
|
|
+ @Field(value = "order")
|
|
|
|
|
+ private int order;
|
|
|
|
|
+
|
|
|
|
|
+ /*=========================================================================
|
|
|
|
|
+ * 商品基础信息
|
|
|
|
|
+ *=========================================================================*/
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 商品批次号
|
|
|
|
|
+ */
|
|
|
|
|
+ @Field(value = "batch_code")
|
|
|
|
|
+ private String batchCode;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 对应的器件uuid
|
|
|
|
|
+ */
|
|
|
|
|
+ @Field(value = "com_uuid")
|
|
|
|
|
+ private String comUuid;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 原厂型号
|
|
|
|
|
+ */
|
|
|
|
|
+ @Field(value = "com_code")
|
|
|
|
|
+ private String comCode;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 图片path
|
|
|
|
|
+ */
|
|
|
|
|
+ @Field(value = "com_img")
|
|
|
|
|
+ private String comImg;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 类名UUID
|
|
|
|
|
+ */
|
|
|
|
|
+ @Field(value = "kind_uuid")
|
|
|
|
|
+ private String kindUuid;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 类目的名称
|
|
|
|
|
+ */
|
|
|
|
|
+ @Field(value = "kind_name_cn")
|
|
|
|
|
+ private String kindNameCn;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 品牌中文名称
|
|
|
|
|
+ */
|
|
|
|
|
+ @Field(value = "brand_name_cn")
|
|
|
|
|
+ private String brandNameCn;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 本批次的最低人民币价格
|
|
|
|
|
+ */
|
|
|
|
|
+ @Field(value = "min_price_rmb")
|
|
|
|
|
+ private Double minPriceRMB;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 本批次的最低美元价格
|
|
|
|
|
+ */
|
|
|
|
|
+ @Field(value = "min_price_usd")
|
|
|
|
|
+ private Double minPriceUSD;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 商品库存量
|
|
|
|
|
+ */
|
|
|
|
|
+ @Field(value = "reserve")
|
|
|
|
|
+ private Double reserve;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 最小起订量
|
|
|
|
|
+ */
|
|
|
|
|
+ @Field(value = "min_buy_qty")
|
|
|
|
|
+ private Double minBuyQty;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 币别
|
|
|
|
|
+ */
|
|
|
|
|
+ @Field(value = "currency")
|
|
|
|
|
+ private String currency;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 产品上架的店铺的UUID
|
|
|
|
|
+ */
|
|
|
|
|
+ @Field(value = "store_second_id")
|
|
|
|
|
+ private String storeId;
|
|
|
|
|
+
|
|
|
|
|
+ /*=========================================================================
|
|
|
|
|
+ * 店铺信息
|
|
|
|
|
+ *=========================================================================*/
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 产品推荐拥有者所属公司UU
|
|
|
|
|
+ */
|
|
|
|
|
+ @Indexed
|
|
|
|
|
+ @Field(value = "store_enuu")
|
|
|
|
|
+ private Long storeEnUU;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 产品推荐拥有者的店铺UUID
|
|
|
|
|
+ */
|
|
|
|
|
+ @Indexed
|
|
|
|
|
+ @Field(value = "store_uuid")
|
|
|
|
|
+ private String storeUuid;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 售罄状态
|
|
|
|
|
+ */
|
|
|
|
|
+ @Field(value = "status")
|
|
|
|
|
+ private Integer status;
|
|
|
|
|
+
|
|
|
|
|
+ public RecommendProduct() {
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public Integer getStatus() {
|
|
|
|
|
+ return status;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setStatus(Integer status) {
|
|
|
|
|
+ this.status = status;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public String getId() {
|
|
|
|
|
+ return id;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setId(String id) {
|
|
|
|
|
+ this.id = id;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public Date getCreateTime() {
|
|
|
|
|
+ return createTime;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setCreateTime(Date createTime) {
|
|
|
|
|
+ this.createTime = createTime;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public Date getUpdateTime() {
|
|
|
|
|
+ return updateTime;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setUpdateTime(Date updateTime) {
|
|
|
|
|
+ this.updateTime = updateTime;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public int getOrder() {
|
|
|
|
|
+ return order;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setOrder(int order) {
|
|
|
|
|
+ this.order = order;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public String getBatchCode() {
|
|
|
|
|
+ return batchCode;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setBatchCode(String batchCode) {
|
|
|
|
|
+ this.batchCode = batchCode;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public String getComUuid() {
|
|
|
|
|
+ return comUuid;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setComUuid(String comUuid) {
|
|
|
|
|
+ this.comUuid = comUuid;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public String getComCode() {
|
|
|
|
|
+ return comCode;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setComCode(String comCode) {
|
|
|
|
|
+ this.comCode = comCode;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public String getComImg() {
|
|
|
|
|
+ return comImg;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setComImg(String comImg) {
|
|
|
|
|
+ this.comImg = comImg;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public String getKindUuid() {
|
|
|
|
|
+ return kindUuid;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setKindUuid(String kindUuid) {
|
|
|
|
|
+ this.kindUuid = kindUuid;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public String getKindNameCn() {
|
|
|
|
|
+ return kindNameCn;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setKindNameCn(String kindNameCn) {
|
|
|
|
|
+ this.kindNameCn = kindNameCn;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public String getBrandNameCn() {
|
|
|
|
|
+ return brandNameCn;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setBrandNameCn(String brandNameCn) {
|
|
|
|
|
+ this.brandNameCn = brandNameCn;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public Double getMinPriceRMB() {
|
|
|
|
|
+ return minPriceRMB;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setMinPriceRMB(Double minPriceRMB) {
|
|
|
|
|
+ this.minPriceRMB = minPriceRMB;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public Double getMinPriceUSD() {
|
|
|
|
|
+ return minPriceUSD;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setMinPriceUSD(Double minPriceUSD) {
|
|
|
|
|
+ this.minPriceUSD = minPriceUSD;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public Double getReserve() {
|
|
|
|
|
+ return reserve;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setReserve(Double reserve) {
|
|
|
|
|
+ this.reserve = reserve;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public Double getMinBuyQty() {
|
|
|
|
|
+ return minBuyQty;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setMinBuyQty(Double minBuyQty) {
|
|
|
|
|
+ this.minBuyQty = minBuyQty;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public String getCurrency() {
|
|
|
|
|
+ return currency;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setCurrency(String currency) {
|
|
|
|
|
+ this.currency = currency;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public String getStoreId() {
|
|
|
|
|
+ return storeId;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setStoreId(String storeId) {
|
|
|
|
|
+ this.storeId = storeId;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public Long getStoreEnUU() {
|
|
|
|
|
+ return storeEnUU;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setStoreEnUU(Long storeEnUU) {
|
|
|
|
|
+ this.storeEnUU = storeEnUU;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public String getStoreUuid() {
|
|
|
|
|
+ return storeUuid;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setStoreUuid(String storeUuid) {
|
|
|
|
|
+ this.storeUuid = storeUuid;
|
|
|
|
|
+ }
|
|
|
|
|
+}
|