package com.ishop.model.request; import java.io.Serializable; @Deprecated public class ArticleCategoryRequest implements Serializable { public Long getId() { return id; } public void setId(Long 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; } // @ApiModelProperty(value = "ID,新增时不传,修改时必传") private Long id; // @ApiModelProperty(value = "分类名称", required = true) // @NotBlank(message = "分类名称不能为空") // @Length(min = 1, max = 20, message = "分类名称不能超过20个字符") private String name; // @ApiModelProperty(value = "分类图标") private String icon; // @ApiModelProperty(value = "排序", required = true) // @NotNull(message = "排序不能为空") // @Range(min = 0, max = 9999, message = "排序范围为0~9999") private Integer sort; }