package com.matrix.system.shopXcx.bean;
|
|
import com.matrix.core.anotations.Extend;
|
import com.matrix.system.common.bean.EntityDTOExt;
|
import lombok.Data;
|
|
import java.util.List;
|
|
/**
|
* @description 产品表
|
* @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 ABLE_SALES =1;
|
/**
|
* 不可分销
|
*/
|
public static final int NOT_ABLE_SALES=2;
|
|
|
|
/**
|
* 主键
|
*/
|
private Integer id;
|
|
|
/**
|
* 分类ID
|
*/
|
private Integer categoryId;
|
|
/**
|
* 积分商城分类ID
|
*/
|
private Integer scoreCategoryId;
|
|
|
/**
|
* 标题
|
*/
|
private String title;
|
|
|
/**
|
* 产品简介
|
*/
|
private String briefIntroduction;
|
|
|
/**
|
* 运费
|
*/
|
private Integer carriage;
|
|
|
/**
|
* PC端封面
|
*/
|
private String imgPc;
|
|
|
/**
|
* 手机端封面
|
*/
|
private String imgMobile;
|
|
/**
|
* 是否可用积分支付 1是,2不是
|
*/
|
private Integer ableScorePay;
|
|
|
/**
|
* 是否为分销产品 1是2不是
|
*/
|
private Integer ableSales;
|
|
/**
|
* 原价
|
*/
|
private Double price;
|
|
|
/**
|
* PC端详情
|
*/
|
private String pcDetails;
|
|
|
/**
|
* 手机端详情
|
*/
|
private String mobileDetails;
|
|
|
/**
|
* 限购数量
|
*/
|
private Integer buyLimit;
|
|
|
/**
|
* 限购周期(单位:天)
|
*/
|
private Integer limitCycle;
|
|
|
/**
|
* 是否可以评论(1=是,2=否)
|
*/
|
private Integer isCanComment;
|
|
|
/**
|
* 助记码
|
*/
|
private String mnemonicCode;
|
|
|
/**
|
* 是否上架(1=是,2=否)
|
*/
|
private Integer status;
|
|
/**
|
* 服务时长
|
*/
|
private Integer serviceTime;
|
|
/**
|
* 展示销量
|
*/
|
private Integer dsVolume;
|
|
|
/**
|
* 真实销量
|
*/
|
private Integer rsVolume;
|
|
|
/**
|
* 删除标识(1=是,2=否)
|
*/
|
private Integer delFlag;
|
|
/**
|
* 商品属性值
|
*/
|
private String attrValues;
|
|
/**
|
* 是否为服务(1:是,2:否)
|
*/
|
private Integer isService;
|
|
/**
|
* 是否特价(1:是,2:否)
|
*/
|
private Integer isSpecialPrice;
|
|
/**
|
* 划线价格
|
*/
|
private Double markedPrice;
|
|
private String shopIds;
|
|
private String brand;
|
|
/**
|
* 商品参数
|
*/
|
@Extend
|
private String paramRefs;
|
|
@Extend
|
private List<ShopProductParamRef> params;
|
|
/**
|
* 商品属性
|
*/
|
@Extend
|
private String attrs;
|
@Extend
|
private List<ShopProductAttrRef> attrRefs;
|
|
/**
|
* 商品规格
|
*/
|
@Extend
|
private String shopSku;
|
@Extend
|
private List<ShopSku> skus;
|
|
/**
|
* 商品图片
|
*/
|
@Extend
|
private String shopProductImg;
|
@Extend
|
private List<ShopProductImg> productImgs;
|
|
|
/**
|
* 起始价格
|
*/
|
@Extend
|
private Integer startPrice;
|
|
/**
|
* 结束价格
|
*/
|
@Extend
|
private Integer endPrice;
|
|
/**
|
* 查询类型1综合查询,2销量查询,3价格查询
|
*/
|
@Extend
|
private String queryType;
|
|
/**
|
* 排序类型
|
*/
|
@Extend
|
private String sortType;
|
|
/**
|
* 品种编码
|
*/
|
@Extend
|
private String atrid;
|
|
/**
|
* 积分
|
*/
|
@Extend
|
private String score;
|
|
/**
|
* 库存总量
|
*/
|
@Extend
|
private String stockNum;
|
|
/**
|
* 产品关联的最高优惠活动
|
*/
|
@Extend
|
private ShopCoupon shopCoupon;
|
|
/**
|
* 优惠券id
|
*/
|
private Integer couponId;
|
|
private Long companyId;
|
|
/**
|
* 是否虚拟产品 1/是 2/否
|
*/
|
private Integer isUnrealProduct;
|
|
}
|