package com.zksy.visualization.domain.response;

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

import java.util.List;

/**
 * @author Administrator
 * @version 1.0
 * @project dh-server-micro
 * @description 查询车场列表
 * @date 2024/12/16 10:25:11
 */
@Data
public class ParkingListResponse {
        @ApiModelProperty(value = "分页对象")
        private List<ParikingLot> pageData;

    @Data
    public class ParikingLot {

        @ApiModelProperty(value = "绑定车场的车辆数")
        private int carNum;

        @ApiModelProperty(value = "入口数")
        private int entranceNum;

        @ApiModelProperty(value = "出口数")
        private int exitusNum;

        @ApiModelProperty(value = "ID")
        private Long id;

        @ApiModelProperty(value = "余位数")
        private int idleLot;

        @ApiModelProperty(value = "绑定的LED数")
        private int ledNum;

        @ApiModelProperty(value = "场区名称")
        private String parkingLot;

        @ApiModelProperty(value = "场区编号")
        private String parkingLotCode;

        @ApiModelProperty(value = "总车位数")
        private int totalLot;

        @ApiModelProperty(value = "使用了的车位数")
        private int usedLot;

        @ApiModelProperty(value = "父场区名称")
        private String parentName;

        @ApiModelProperty(value = "场区所属组织编码")
        private String orgCode;
    }
    private Integer currentPage;
    private String totalPage;
    private Integer pageSize;
    private String totalRows;
}
