package com.ishop.model.vo;
|
|
import java.io.Serializable;
|
|
public class ProductBrandVo implements Serializable {
|
|
public Integer getId() {
|
return id;
|
}
|
|
public void setId(Integer id) {
|
this.id = id;
|
}
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
public String getIcon() {
|
return icon;
|
}
|
|
public void setIcon(String icon) {
|
this.icon = icon;
|
}
|
|
public Integer getSort() {
|
return sort;
|
}
|
|
public void setSort(Integer sort) {
|
this.sort = sort;
|
}
|
|
public String getCategoryIds() {
|
return categoryIds;
|
}
|
|
public void setCategoryIds(String categoryIds) {
|
this.categoryIds = categoryIds;
|
}
|
|
// @ApiModelProperty(value = "品牌ID,添加时不填,编辑时必填")
|
private Integer id;
|
|
// @ApiModelProperty(value = "名称")
|
// @NotEmpty(message = "品牌名不能为空")
|
private String name;
|
|
// @ApiModelProperty(value = "icon")
|
private String icon;
|
|
// @ApiModelProperty(value = "排序")
|
// @NotNull(message = "排序不能为空")
|
private Integer sort;
|
|
// @ApiModelProperty(value = "关联分类id(只能关联3级分类),逗号分割")
|
private String categoryIds;
|
|
@Override
|
public String toString() {
|
return "ProductBrandVo{" +
|
"id=" + id +
|
", name='" + name + '\'' +
|
", categoryIds='" + categoryIds + '\'' +
|
'}';
|
}
|
}
|