package com.ishop.model.vo;
|
|
import com.ishop.model.po.EbProductAttr;
|
import com.ishop.model.po.EbProductAttrValue;
|
|
import java.util.List;
|
|
public class ProductAddVo {
|
|
public Long getId() {
|
return id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
public String getImage() {
|
return image;
|
}
|
|
public void setImage(String image) {
|
this.image = image;
|
}
|
|
public String getFlatPattern() {
|
return flatPattern;
|
}
|
|
public void setFlatPattern(String flatPattern) {
|
this.flatPattern = flatPattern;
|
}
|
|
public String getSliderImage() {
|
return sliderImage;
|
}
|
|
public void setSliderImage(String sliderImage) {
|
this.sliderImage = sliderImage;
|
}
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
public String getIntro() {
|
return intro;
|
}
|
|
public void setIntro(String intro) {
|
this.intro = intro;
|
}
|
|
public String getKeyword() {
|
return keyword;
|
}
|
|
public void setKeyword(String keyword) {
|
this.keyword = keyword;
|
}
|
|
public String getCateId() {
|
return cateId;
|
}
|
|
public void setCateId(String cateId) {
|
this.cateId = cateId;
|
}
|
|
public Integer getBrandId() {
|
return brandId;
|
}
|
|
public void setBrandId(Integer brandId) {
|
this.brandId = brandId;
|
}
|
|
public Integer getCategoryId() {
|
return categoryId;
|
}
|
|
public void setCategoryId(Integer categoryId) {
|
this.categoryId = categoryId;
|
}
|
|
public String getGuaranteeIds() {
|
return guaranteeIds;
|
}
|
|
public void setGuaranteeIds(String guaranteeIds) {
|
this.guaranteeIds = guaranteeIds;
|
}
|
|
public String getUnitName() {
|
return unitName;
|
}
|
|
public void setUnitName(String unitName) {
|
this.unitName = unitName;
|
}
|
|
public Integer getTempId() {
|
return tempId;
|
}
|
|
public void setTempId(Integer tempId) {
|
this.tempId = tempId;
|
}
|
|
public Integer getSort() {
|
return sort;
|
}
|
|
public void setSort(Integer sort) {
|
this.sort = sort;
|
}
|
|
public Boolean getSpecType() {
|
return specType;
|
}
|
|
public void setSpecType(Boolean specType) {
|
this.specType = specType;
|
}
|
|
public Boolean getIsSub() {
|
return isSub;
|
}
|
|
public void setIsSub(Boolean sub) {
|
isSub = sub;
|
}
|
|
public List<EbProductAttr> getAttr() {
|
return attr;
|
}
|
|
public void setAttr(List<EbProductAttr> attr) {
|
this.attr = attr;
|
}
|
|
public List<EbProductAttrValue> getAttrValue() {
|
return attrValue;
|
}
|
|
public void setAttrValue(List<EbProductAttrValue> attrValue) {
|
this.attrValue = attrValue;
|
}
|
|
public String getContent() {
|
return content;
|
}
|
|
public void setContent(String content) {
|
this.content = content;
|
}
|
|
public List<Integer> getCouponIds() {
|
return couponIds;
|
}
|
|
public void setCouponIds(List<Integer> couponIds) {
|
this.couponIds = couponIds;
|
}
|
|
// @ApiModelProperty(value = "商品id|添加时不填,修改时必填")
|
private Long id;
|
|
// @ApiModelProperty(value = "商品图片", required = true)
|
// @NotBlank(message = "商品图片不能为空")
|
// @Length(max = 255, message = "商品图片名称长度不能超过255个字符")
|
private String image;
|
|
// @ApiModelProperty(value = "展示图")
|
// @Length(max = 1000, message = "展示图名称长度不能超过1000个字符")
|
private String flatPattern;
|
|
// @ApiModelProperty(value = "轮播图", required = true)
|
// @NotBlank(message = "轮播图不能为空")
|
// @Length(max = 2000, message = "轮播图名称长度不能超过2000个字符")
|
private String sliderImage;
|
|
// @ApiModelProperty(value = "商品名称", required = true)
|
// @NotBlank(message = "商品名称不能为空")
|
// @Length(max = 128, message = "商品名称长度不能超过128个字符")
|
private String name;
|
|
// @ApiModelProperty(value = "商品简介", required = true)
|
// @NotBlank(message = "商品简介不能为空")
|
// @Length(max = 256, message = "商品简介长度不能超过256个字符")
|
private String intro;
|
|
// @ApiModelProperty(value = "关键字", required = true)
|
// @Length(max = 255, message = "关键字长度不能超过255个字符")
|
// @NotBlank(message = "关键字不能为空")
|
private String keyword;
|
|
// @ApiModelProperty(value = "商户商品分类id|逗号分隔", required = true)
|
// @NotBlank(message = "商户商品分类不能为空")
|
// @Length(max = 64, message = "商品分类组合长度不能超过64个字符")
|
private String cateId;
|
|
// @ApiModelProperty(value = "品牌id", required = true)
|
// @NotNull(message = "品牌id不能为空")
|
private Integer brandId;
|
|
// @ApiModelProperty(value = "平台分类id", required = true)
|
// @NotNull(message = "平台分类id不能为空")
|
private Integer categoryId;
|
|
// @ApiModelProperty(value = "保障服务ids(英文逗号拼接)")
|
private String guaranteeIds;
|
|
// @ApiModelProperty(value = "单位名", required = true)
|
// @NotBlank(message = "单位名称不能为空")
|
// @Length(max = 32, message = "单位名长度不能超过32个字符")
|
private String unitName;
|
|
// @ApiModelProperty(value = "运费模板ID", required = true)
|
// @NotNull(message = "运费模板ID不能为空")
|
private Integer tempId;
|
|
// @ApiModelProperty(value = "排序")
|
private Integer sort;
|
|
// @ApiModelProperty(value = "规格 0单 1多", required = true)
|
// @NotNull(message = "商品规格类型不能为空")
|
private Boolean specType;
|
|
// @ApiModelProperty(value = "是否单独分佣", required = true)
|
// @NotNull(message = "请选择是否单独分佣")
|
private Boolean isSub;
|
|
// @Valid
|
// @ApiModelProperty(value = "商品属性", required = true)
|
// @NotEmpty(message = "商品属性不能为空")
|
private List<EbProductAttr> attr;
|
|
// @Valid
|
// @ApiModelProperty(value = "商品属性详情", required = true)
|
// @NotEmpty(message = "商品属性详情不能为空")
|
// private List<ProductAttrValueAddRequest> attrValue;
|
private List<EbProductAttrValue> attrValue;
|
|
// @ApiModelProperty(value = "商品描述")
|
private String content;
|
|
// @ApiModelProperty(value = "优惠券id集合")
|
private List<Integer> couponIds;
|
}
|