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 jdk.dynalink.linker.LinkerServices;
import lombok.Data;

import java.util.List;

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

    @ApiModelProperty(name = "floorId", value = "楼层")
    private Long floorId;

    //@ApiModelProperty(name = "floorName", value = "楼层名称")
    @ApiModelProperty(name = "label", value = "楼层名称")
    private String label;

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

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

    //@ApiModelProperty(name = "personIds", value = "人员ID们")
    @ApiModelProperty(name = "children", value = "人员ID们")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private List<Long> children;

}