|
@@ -0,0 +1,245 @@
|
|
|
+package com.hwrj.cloud.admin.dto.param;
|
|
|
+
|
|
|
+import com.alibaba.excel.annotation.ExcelIgnore;
|
|
|
+import com.alibaba.excel.annotation.ExcelProperty;
|
|
|
+import io.swagger.annotations.ApiModelProperty;
|
|
|
+import lombok.Data;
|
|
|
+
|
|
|
+import java.math.BigDecimal;
|
|
|
+import java.util.Date;
|
|
|
+
|
|
|
+@Data
|
|
|
+public class PmsProductParam {
|
|
|
+ @ExcelIgnore
|
|
|
+ private Long id;
|
|
|
+ @ExcelIgnore
|
|
|
+ private Long brandId;
|
|
|
+ @ExcelIgnore
|
|
|
+ private Long productCategoryId;
|
|
|
+ @ExcelIgnore
|
|
|
+ private Long feightTemplateId;
|
|
|
+ @ExcelIgnore
|
|
|
+ private Long productAttributeCategoryId;
|
|
|
+ /****/
|
|
|
+ @ExcelProperty("名称")
|
|
|
+ private String name;
|
|
|
+ /****/
|
|
|
+ @ExcelProperty("图片")
|
|
|
+ private String pic;
|
|
|
+ /**
|
|
|
+ * 货号
|
|
|
+ **/
|
|
|
+ @ExcelProperty("货号")
|
|
|
+ private String productSn;
|
|
|
+ /**
|
|
|
+ * 删除状态:0->未删除;1->已删除
|
|
|
+ **/
|
|
|
+ @ExcelProperty("删除状态:0->未删除;1->已删除")
|
|
|
+ private int deleteStatus;
|
|
|
+ /**
|
|
|
+ * 上架状态:0->下架;1->上架
|
|
|
+ **/
|
|
|
+ @ExcelProperty("上架状态:0->下架;1->上架")
|
|
|
+ private int publishStatus;
|
|
|
+ /**
|
|
|
+ * 新品状态:0->不是新品;1->新品
|
|
|
+ **/
|
|
|
+ @ExcelProperty("新品状态:0->不是新品;1->新品")
|
|
|
+ private int newStatus;
|
|
|
+ /**
|
|
|
+ * 推荐状态;0->不推荐;1->推荐
|
|
|
+ **/
|
|
|
+ @ExcelProperty("推荐状态;0->不推荐;1->推荐")
|
|
|
+ private int recommandStatus;
|
|
|
+ /**
|
|
|
+ * 审核状态:0->未审核;1->审核通过
|
|
|
+ **/
|
|
|
+ @ExcelProperty("审核状态:0->未审核;1->审核通过")
|
|
|
+ private int verifyStatus;
|
|
|
+ /**
|
|
|
+ * 排序
|
|
|
+ **/
|
|
|
+ @ExcelProperty("排序")
|
|
|
+ private int sort;
|
|
|
+ /**
|
|
|
+ * 销量
|
|
|
+ **/
|
|
|
+ @ExcelProperty("销量")
|
|
|
+ private int sale;
|
|
|
+ /**价格**/
|
|
|
+ @ExcelProperty("价格")
|
|
|
+ private BigDecimal price;
|
|
|
+ /**
|
|
|
+ * 促销价格
|
|
|
+ **/
|
|
|
+ @ExcelProperty("促销价格")
|
|
|
+ private BigDecimal promotionPrice;
|
|
|
+ /**
|
|
|
+ * 赠送的成长值
|
|
|
+ **/
|
|
|
+ @ExcelProperty("赠送的成长值")
|
|
|
+ private int giftGrowth;
|
|
|
+ /**
|
|
|
+ * 赠送的积分
|
|
|
+ **/
|
|
|
+ @ExcelProperty("赠送的积分")
|
|
|
+ private int giftPoint;
|
|
|
+ /**
|
|
|
+ * 限制使用的积分数
|
|
|
+ **/
|
|
|
+ @ExcelProperty("限制使用的积分数")
|
|
|
+ private int usePointLimit;
|
|
|
+ /**
|
|
|
+ * 副标题
|
|
|
+ **/
|
|
|
+ @ExcelProperty("副标题")
|
|
|
+ private String subTitle;
|
|
|
+ /**
|
|
|
+ * 商品描述
|
|
|
+ **/
|
|
|
+ @ExcelProperty("商品描述")
|
|
|
+ private String description;
|
|
|
+ /**
|
|
|
+ * 市场价
|
|
|
+ **/
|
|
|
+ @ExcelProperty("市场价")
|
|
|
+ private BigDecimal originalPrice;
|
|
|
+ /**
|
|
|
+ * 库存
|
|
|
+ **/
|
|
|
+ @ExcelProperty("库存")
|
|
|
+ private int stock;
|
|
|
+ /**
|
|
|
+ * 库存预警值
|
|
|
+ **/
|
|
|
+ @ExcelProperty("库存预警值")
|
|
|
+ private int lowStock;
|
|
|
+ /**
|
|
|
+ * 单位
|
|
|
+ **/
|
|
|
+ @ExcelProperty("单位")
|
|
|
+ private String unit;
|
|
|
+ /**
|
|
|
+ * 商品重量,默认为克
|
|
|
+ **/
|
|
|
+ @ExcelProperty("商品重量,默认为克")
|
|
|
+ private int weight;
|
|
|
+ /**
|
|
|
+ * 是否为预告商品
|
|
|
+ **/
|
|
|
+ @ExcelProperty("是否为预告商品")
|
|
|
+ private int previewStatus;
|
|
|
+ /**
|
|
|
+ * 以逗号分割的产品服务
|
|
|
+ **/
|
|
|
+ @ExcelProperty("以逗号分割的产品服务")
|
|
|
+ private String serviceIds;
|
|
|
+ @ExcelIgnore
|
|
|
+ private String keywords;
|
|
|
+ @ExcelIgnore
|
|
|
+ private String note;
|
|
|
+ /**
|
|
|
+ * 画册图片
|
|
|
+ **/
|
|
|
+ @ExcelProperty("画册图片")
|
|
|
+ private String albumPics;
|
|
|
+ @ExcelIgnore
|
|
|
+ private String detailTitle;
|
|
|
+ @ExcelIgnore
|
|
|
+ private String detailDesc;
|
|
|
+ /**
|
|
|
+ * 产品详情网页内容
|
|
|
+ **/
|
|
|
+ @ExcelProperty("产品详情网页内容")
|
|
|
+ private String detailHtml;
|
|
|
+ /**
|
|
|
+ * 移动端网页详情
|
|
|
+ **/
|
|
|
+ @ExcelProperty("移动端网页详情")
|
|
|
+ private String detailMobileHtml;
|
|
|
+ /**
|
|
|
+ * 促销开始时间
|
|
|
+ **/
|
|
|
+ @ExcelProperty("促销开始时间")
|
|
|
+ private Date promotionStartTime;
|
|
|
+ /**
|
|
|
+ * 促销结束时间
|
|
|
+ **/
|
|
|
+ @ExcelProperty("促销结束时间")
|
|
|
+ private Date promotionEndTime;
|
|
|
+ /**
|
|
|
+ * 活动限购数量
|
|
|
+ **/
|
|
|
+ @ExcelProperty("活动限购数量")
|
|
|
+ private int promotionPerLimit;
|
|
|
+ /**
|
|
|
+ * 促销类型
|
|
|
+ **/
|
|
|
+ @ExcelProperty("促销类型")
|
|
|
+ private String promotionType;
|
|
|
+ /**
|
|
|
+ * 品牌名称
|
|
|
+ **/
|
|
|
+ @ExcelProperty("品牌名称")
|
|
|
+ private String brandName;
|
|
|
+ /**
|
|
|
+ * 商品分类名称
|
|
|
+ **/
|
|
|
+ @ExcelProperty("商品分类名称")
|
|
|
+ private String productCategoryName;
|
|
|
+ /**
|
|
|
+ * 供应商id
|
|
|
+ **/
|
|
|
+ @ExcelProperty("供应商id")
|
|
|
+ private Long umsCompanyInfoId;
|
|
|
+ /**
|
|
|
+ * 供应商
|
|
|
+ **/
|
|
|
+ @ExcelProperty("供应商")
|
|
|
+ private String umsCompanyInfo;
|
|
|
+ /**
|
|
|
+ * 批发价
|
|
|
+ **/
|
|
|
+ @ExcelProperty("批发价")
|
|
|
+ private BigDecimal tradePrice;
|
|
|
+ /**
|
|
|
+ * 规格
|
|
|
+ **/
|
|
|
+ @ExcelProperty("规格")
|
|
|
+ private String spec;
|
|
|
+ /**
|
|
|
+ * 产品标准代号
|
|
|
+ **/
|
|
|
+ @ExcelProperty("产品标准代号")
|
|
|
+ private String productStandardCode;
|
|
|
+ /**
|
|
|
+ * 生产日期
|
|
|
+ **/
|
|
|
+ @ExcelProperty("生产日期")
|
|
|
+ private int dateOfManufacture;
|
|
|
+ /**
|
|
|
+ * 生产地id
|
|
|
+ **/
|
|
|
+ @ExcelProperty("生产地id")
|
|
|
+ private Long placeOfProductionId;
|
|
|
+ /**
|
|
|
+ * 生产地
|
|
|
+ **/
|
|
|
+ @ExcelProperty("生产地")
|
|
|
+ private String placeOfProduction;
|
|
|
+ /**
|
|
|
+ * 使用说明
|
|
|
+ **/
|
|
|
+ @ExcelProperty("使用说明")
|
|
|
+ private String instructions;
|
|
|
+ /**
|
|
|
+ * 注意事项
|
|
|
+ **/
|
|
|
+ @ExcelProperty("注意事项")
|
|
|
+ private String pointsForAttention;
|
|
|
+ /**
|
|
|
+ * 保质期
|
|
|
+ **/
|
|
|
+ @ExcelProperty("保质期")
|
|
|
+ private String qualityGuaranteePeriod;
|
|
|
+}
|