class ArticleCategory extends BaseEntity {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "分类名称")
    @NotEmpty(message = "分类名称不能为空")
    private String articleCategoryName;

    @ApiModelProperty(value = "父分类ID")
    private String parentId;

    @ApiModelProperty(value = "排序")
    @Min(value = 0,message = "排序值最小0，最大9999999999")
    @Max(value = 999999999,message = "排序值最小0，最大9999999999")
    @NotNull(message = "排序值不能为空")
    private Integer sort;

    @ApiModelProperty(value = "层级")
    @Min(value = 0,message = "层级最小为0")
    @Max(value = 3,message = "层级最大为3")
    private Integer level;

    /**
     * @see ArticleCategoryEnum
     */
    @ApiModelProperty(value = "类型")
    private String type;

    public Integer getSort() {<FILL_FUNCTION_BODY>}

    public Integer getLevel() {
        if (level == null) {
            return 1;
        }
        return level;
    }
}

        if (sort == null) {
            return 0;
        }
        return sort;
    
<methods>public non-sealed void <init>() <variables>private java.lang.String createBy,private java.util.Date createTime,private java.lang.Boolean deleteFlag,private java.lang.String id,private static final long serialVersionUID,private java.lang.String updateBy,private java.util.Date updateTime