package xiaoqu.home.open.controller.output.scenes;

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

import java.util.List;

/**
 * @author wh
 * @since 2022-03-21
 */
@ApiModel(value = "场景网格树输出")
@Data
public class SceneTreeOutput {

	@ApiModelProperty(value = "唯一id 网格id+网格等级")
	private String id;

	@ApiModelProperty(value = "网格ID")
	private Long gridId;

	@ApiModelProperty(value = "名称")
	private String name;

	@ApiModelProperty(value = "级别")
	private Integer level;

	@ApiModelProperty(value = "场景ID")
	private Long sceneId;

	@ApiModelProperty(value = "是否场景，0:否;1:是")
	private Integer isscene = 0;

	@ApiModelProperty(value = "是否叶节点，0:否;1:是")
	private Integer isLast = 0;
	
	@ApiModelProperty(value = "是否可选")
	private Boolean disable = true;
	
	@ApiModelProperty(value = "是否展示")
	private Boolean isShow = true;

	List<SceneTreeOutput> childNode;

}
