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

import cn.reghao.jutil.jdk.web.validator.ValidEnum;
import cn.reghao.tnb.content.api.constant.VideoErrorType;
import cn.reghao.tnb.content.api.constant.VideoStatus;
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 VideoErrorReport {
    @NotBlank
    @Size(min = 1, max = 10, message = "videoId 不能超过 10 个字符")
    private String videoId;
    @ValidEnum(value = VideoErrorType.class, message = "错误类型不正确")
    private Integer errorCode;
}
