package com.fdkanfang.domain.dto;

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

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;


/**
 * Created by Owen on 2019/12/16 0016 16:30
 *
 * 生成场景模型
 * 接收前端数据Dto
 */
@Data
public class SceneJsonDto {

    @ApiModelProperty(value = "房源id", required = true )
    @NotNull(message = "房源id不能为空")
    private Long id;

    // 编辑后的sceneJson
    @ApiModelProperty(value = "sceneJson", required = true )
    @NotBlank(message = "sceneJson不能为空")
    private String sceneJson;
}
