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

import lombok.Getter;

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

/**
 * @author reghao
 * @date 2022-08-05 18:09:04
 */
@Getter
public class VideoInfoUpdate {
    @NotBlank
    @Size(min = 1, max = 10, message = "videoId 不能超过 10 个字符")
    private String videoId;
    @NotBlank
    @Size(min = 1, max = 64, message = "视频名字不能超过 64 个字符")
    private String title;
    private String description;
    private String pubDate;
}
