//package com.backendsys.entity.Cms;
//
//import com.backendsys.entity.validator.RangeArray;
//import jakarta.validation.constraints.NotBlank;
//import jakarta.validation.constraints.NotNull;
//import jakarta.validation.constraints.Size;
//import lombok.Data;
//import org.hibernate.validator.constraints.Range;
//
//@Data
//public class CmsArticleCategoryDTO {
//    public static interface Detail{}
//    public static interface Create{}
//    public static interface Update{}
//    public static interface Delete{}
//
//    /**
//     * cms_article_category
//     */
//    private Long id;
//    @NotNull(message="article_category_id 不能为空", groups = { Detail.class, Update.class, Delete.class})
//    private Long article_category_id;
//
//    private Long parent_id;
//
//    @Size(max = 20, message = "资讯分类名称长度不超过 {max} 字符", groups = {Create.class, Update.class})
//    @NotBlank(message="资讯分类名称不能为空", groups = {Create.class, Update.class, })
//    private String category_name;
//
//    @Size(max = 200, message = "资讯分类描述长度不超过 {max} 字符", groups = {Create.class, Update.class})
//    private String category_description;
//    @Range(min = 1, max = 9999, message = "排序必须在 {min} 到 {max} 之间", groups = {Create.class, Update.class})
//    private Integer sort;
//    @RangeArray(message="状态取值有误，范围应是(-1禁用, 1启用)", value = {"-1", "1"}, groups = {Create.class, Update.class})
//    private Integer status;
//
//}
