| | |
| | | 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; |
| | |
| | | @TableField("parent_id") |
| | | private String parentId; |
| | | |
| | | @Length(max = 40,message = "分类名称不能超过40个字符") |
| | | @ApiModelProperty(value = "分类名称") |
| | | @TableField("type_name") |
| | | private String typeName; |
| | | |
| | | @Length(max = 40,message = "单位名称不能超过40个字符") |
| | | @ApiModelProperty(value = "单位名称") |
| | | @TableField("unit_name") |
| | | private String unitName; |