package com.fdage.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * Created by owen on 2021/8/24 0024 9:46
 */
@Data
public class VideoDto {

    @ApiModelProperty(value = "id")
    private Long id;

    @NotBlank(message = "名称不能为空")
    @ApiModelProperty(value = "名称", required = true)
    private String name;

    @NotBlank(message = "视频url不能为空")
    @ApiModelProperty(value = "视频url", required = true)
    private String urlVideo;

    @NotBlank(message = "缩略图url不能为空")
    @ApiModelProperty(value = "缩略图url", required = true)
    private String thumb;

    @ApiModelProperty(value = "文件名称", required = true)
    private String fileName;


}
