|
@@ -1,6 +1,7 @@
|
|
|
package com.sckw.product.model.vo.res;
|
|
package com.sckw.product.model.vo.res;
|
|
|
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
|
|
+import io.swagger.v3.oas.annotations.media.Schema;
|
|
|
import lombok.Getter;
|
|
import lombok.Getter;
|
|
|
import lombok.Setter;
|
|
import lombok.Setter;
|
|
|
import lombok.ToString;
|
|
import lombok.ToString;
|
|
@@ -24,193 +25,231 @@ public class GoodsDetail {
|
|
|
/**
|
|
/**
|
|
|
* 商品id
|
|
* 商品id
|
|
|
*/
|
|
*/
|
|
|
|
|
+ @Schema(description = "商品id")
|
|
|
private Long id;
|
|
private Long id;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 企业id
|
|
* 企业id
|
|
|
*/
|
|
*/
|
|
|
|
|
+ @Schema(description = "企业id")
|
|
|
private Long entId;
|
|
private Long entId;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 企业名称
|
|
* 企业名称
|
|
|
*/
|
|
*/
|
|
|
|
|
+ @Schema(description = "企业名称")
|
|
|
private String ent;
|
|
private String ent;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 企业头像
|
|
* 企业头像
|
|
|
*/
|
|
*/
|
|
|
|
|
+ @Schema(description = "企业头像")
|
|
|
private String entHead;
|
|
private String entHead;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 企业主营范围
|
|
* 企业主营范围
|
|
|
*/
|
|
*/
|
|
|
|
|
+ @Schema(description = "企业主营范围")
|
|
|
private String entBusiness;
|
|
private String entBusiness;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 企业地址
|
|
* 企业地址
|
|
|
*/
|
|
*/
|
|
|
|
|
+ @Schema(description = "企业地址")
|
|
|
private String entAddress;
|
|
private String entAddress;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 供应单位id
|
|
* 供应单位id
|
|
|
*/
|
|
*/
|
|
|
|
|
+ @Schema(description = "供应单位id")
|
|
|
private Long supplyEntId;
|
|
private Long supplyEntId;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 供应单位名称
|
|
* 供应单位名称
|
|
|
*/
|
|
*/
|
|
|
|
|
+ @Schema(description = "供应单位名称")
|
|
|
private String supplyEnt;
|
|
private String supplyEnt;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 商品编号
|
|
* 商品编号
|
|
|
*/
|
|
*/
|
|
|
|
|
+ @Schema(description = "商品编号")
|
|
|
private String code;
|
|
private String code;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 商品名称
|
|
* 商品名称
|
|
|
*/
|
|
*/
|
|
|
|
|
+ @Schema(description = "商品名称")
|
|
|
private String name;
|
|
private String name;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 商品类型
|
|
* 商品类型
|
|
|
*/
|
|
*/
|
|
|
|
|
+ @Schema(description = "商品类型")
|
|
|
private String goodsType;
|
|
private String goodsType;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 商品类型集合
|
|
* 商品类型集合
|
|
|
*/
|
|
*/
|
|
|
|
|
+ @Schema(description = "商品类型集合")
|
|
|
private List<String> goodsTypes;
|
|
private List<String> goodsTypes;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 商品类型lab
|
|
* 商品类型lab
|
|
|
*/
|
|
*/
|
|
|
|
|
+ @Schema(description = "商品类型lab")
|
|
|
private String goodsTypeLabel;
|
|
private String goodsTypeLabel;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 商品类型labs
|
|
* 商品类型labs
|
|
|
*/
|
|
*/
|
|
|
|
|
+ @Schema(description = "商品类型labs")
|
|
|
private String goodsTypeLabels;
|
|
private String goodsTypeLabels;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 库存数量
|
|
* 库存数量
|
|
|
*/
|
|
*/
|
|
|
|
|
+ @Schema(description = "库存数量")
|
|
|
private BigDecimal amount;
|
|
private BigDecimal amount;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 价格单位
|
|
* 价格单位
|
|
|
*/
|
|
*/
|
|
|
|
|
+ @Schema(description = "价格单位")
|
|
|
private String priceUnit;
|
|
private String priceUnit;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 轴数id(逗号隔开)
|
|
* 轴数id(逗号隔开)
|
|
|
*/
|
|
*/
|
|
|
|
|
+ @Schema(description = "轴数id")
|
|
|
private String carAxis;
|
|
private String carAxis;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 轴数(逗号隔开)
|
|
* 轴数(逗号隔开)
|
|
|
*/
|
|
*/
|
|
|
|
|
+ @Schema(description = "轴数(逗号隔开)")
|
|
|
private String carAxisName;
|
|
private String carAxisName;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 富文本内容
|
|
* 富文本内容
|
|
|
*/
|
|
*/
|
|
|
|
|
+ @Schema(description = "富文本内容")
|
|
|
private String content;
|
|
private String content;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 参考价格
|
|
* 参考价格
|
|
|
*/
|
|
*/
|
|
|
|
|
+ @Schema(description = "参考价格")
|
|
|
private BigDecimal price;
|
|
private BigDecimal price;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 单位(吨、方、件、箱、其他)
|
|
* 单位(吨、方、件、箱、其他)
|
|
|
*/
|
|
*/
|
|
|
|
|
+ @Schema(description = "单位(吨、方、件、箱、其他)")
|
|
|
private String unit;
|
|
private String unit;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 单位lab
|
|
* 单位lab
|
|
|
*/
|
|
*/
|
|
|
|
|
+ @Schema(description = "单位lab")
|
|
|
private String unitLabel;
|
|
private String unitLabel;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 尺寸大小
|
|
* 尺寸大小
|
|
|
*/
|
|
*/
|
|
|
|
|
+ @Schema(description = "尺寸大小")
|
|
|
private String spec;
|
|
private String spec;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 预付款最低限额
|
|
* 预付款最低限额
|
|
|
*/
|
|
*/
|
|
|
|
|
+ @Schema(description = "预付款最低限额")
|
|
|
private BigDecimal advancePrice;
|
|
private BigDecimal advancePrice;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 专属客户经理id
|
|
* 专属客户经理id
|
|
|
*/
|
|
*/
|
|
|
|
|
+ @Schema(description = "专属客户经理id")
|
|
|
private Long manager;
|
|
private Long manager;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 专属客户经理姓名
|
|
* 专属客户经理姓名
|
|
|
*/
|
|
*/
|
|
|
|
|
+ @Schema(description = "专属客户经理姓名")
|
|
|
private String managerName;
|
|
private String managerName;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 成交量
|
|
* 成交量
|
|
|
*/
|
|
*/
|
|
|
|
|
+ @Schema(description = "成交量")
|
|
|
private BigDecimal performedAmount;
|
|
private BigDecimal performedAmount;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 缩略图
|
|
* 缩略图
|
|
|
*/
|
|
*/
|
|
|
|
|
+ @Schema(description = "缩略图")
|
|
|
private String thumb;
|
|
private String thumb;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 上架时间
|
|
* 上架时间
|
|
|
*/
|
|
*/
|
|
|
|
|
+ @Schema(description = "上架时间")
|
|
|
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
|
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
|
|
private Date addedTime;
|
|
private Date addedTime;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 下架时间
|
|
* 下架时间
|
|
|
*/
|
|
*/
|
|
|
|
|
+ @Schema(description = "下架时间")
|
|
|
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
|
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
|
|
private Date shelfTime;
|
|
private Date shelfTime;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 备注
|
|
* 备注
|
|
|
*/
|
|
*/
|
|
|
|
|
+ @Schema(description = "备注")
|
|
|
private String remark;
|
|
private String remark;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 状态:0草稿/1上架/2下架
|
|
* 状态:0草稿/1上架/2下架
|
|
|
*/
|
|
*/
|
|
|
|
|
+ @Schema(description = "状态:0草稿/1上架/2下架")
|
|
|
private Integer status;
|
|
private Integer status;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 状态label
|
|
* 状态label
|
|
|
*/
|
|
*/
|
|
|
|
|
+ @Schema(description = "状态label")
|
|
|
private String statusLabel;
|
|
private String statusLabel;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 商品详情图片
|
|
* 商品详情图片
|
|
|
*/
|
|
*/
|
|
|
|
|
+ @Schema(description = "商品详情图片")
|
|
|
private List<GoodsImagesDetail> images;
|
|
private List<GoodsImagesDetail> images;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 地址信息
|
|
* 地址信息
|
|
|
*/
|
|
*/
|
|
|
|
|
+ @Schema(description = "地址信息")
|
|
|
private AddressInfoDetail addressInfo;
|
|
private AddressInfoDetail addressInfo;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 参数目录
|
|
* 参数目录
|
|
|
*/
|
|
*/
|
|
|
|
|
+ @Schema(description = "参数目录")
|
|
|
private List<GoodsAttributesDetail> attributes;
|
|
private List<GoodsAttributesDetail> attributes;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 推荐商品
|
|
* 推荐商品
|
|
|
*/
|
|
*/
|
|
|
|
|
+ @Schema(description = "推荐商品")
|
|
|
private List<RecommendGoods> recommendGoodsList;
|
|
private List<RecommendGoods> recommendGoodsList;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 辅助单位
|
|
* 辅助单位
|
|
|
*/
|
|
*/
|
|
|
|
|
+ @Schema(description = "辅助单位")
|
|
|
private List<GoodsUnitDetail> assistUnit;
|
|
private List<GoodsUnitDetail> assistUnit;
|
|
|
|
|
|
|
|
}
|
|
}
|