package com.fdage.entity;

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

import javax.persistence.Table;
import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * Created by owen on 2021/8/23 0023 15:40
 */
@Data
@Table(name = "tb_scene")
public class SceneEntity extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 5520004524498372572L;

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

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

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

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