package cn.reghao.tnb.content.app.vod.model.dto;

import lombok.Getter;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;

/**
 * @author reghao
 * @date 2025-10-19 14:35:47
 */
@Getter
public class CategoryAdd {
    @NotNull
    private Integer pid;
    @NotBlank
    @Size(min = 1, max = 10, message = "分区名字不能超过 10 个字符")
    private String name;
    @NotNull
    private Boolean vip;
}
