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

import cn.reghao.tnb.content.api.constant.PostScope;
import cn.reghao.jutil.jdk.web.validator.ValidEnum;
import lombok.Getter;

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

/**
 * @author reghao
 * @date 2023-08-25 11:03:33
 */
@Getter
public class VideoScopeUpdate {
    @NotBlank
    @Size(min = 1, max = 10, message = "videoId 不能超过 10 个字符")
    private String videoId;
    @ValidEnum(value = PostScope.class, message = "可见范围不正确")
    private Integer scope;
}
