package com.yuchen.saas.park.api.dto.elevator;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @Author: baichaojie
 * @CreateTime: 2024/07/24 15:05
 * @Description: TODO
 * @Version: 1.0
 */
@ApiModel(value="DeviceDTO对象", description="人员权限Json字符串")
@Data
public class DeviceDTO {
    @ApiModelProperty(name = "id", value = "id")
    private String id;

    @ApiModelProperty(name = "deviceId", value = "设备Id")
    private Long deviceId;

    //@ApiModelProperty(name = "deviceName", value = "设备名称")
    @ApiModelProperty(name = "label", value = "设备名称")
    private String label;

    @ApiModelProperty(name = "isDisabled", value = "是否禁用")
    private Boolean isDisabled;

    @ApiModelProperty(name = "isSelected", value = "是否选择")
    private Boolean isSelected;

    @ApiModelProperty(name = "children", value = "楼层们")
    //@ApiModelProperty(name = "listFloor", value = "楼层们")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private List<FloorDTO> children;


}