| | |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import lombok.EqualsAndHashCode; |
| | | import org.hibernate.validator.constraints.Length; |
| | | |
| | | import java.io.Serializable; |
| | | import java.time.LocalDateTime; |
| | |
| | | @TableId(value = "id", type = IdType.ASSIGN_ID) |
| | | private String id; |
| | | |
| | | @Length(max = 40,message = "分类名称不能超过40个字符") |
| | | @ApiModelProperty(value = "分类名称") |
| | | @TableField("type_name") |
| | | private String typeName; |
| | |
| | | @TableField("show_type") |
| | | private Integer showType; |
| | | |
| | | @Length(max = 11,message = "显示数量不能超过11个字符") |
| | | @ApiModelProperty(value = "显示数量") |
| | | @TableField("show_number") |
| | | private Integer showNumber; |