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 SceneDto {

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

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

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

    @ApiModelProperty(value = "缩略图url", required = true)
    private String thumb;

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


}
