package com.zksy.visualization.domain.response;

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

import java.util.Date;
import java.util.List;

/**
 * @author Administrator
 * @version 1.0
 * @project dh-server-micro
 * @description 车辆列表查询
 * @date 2025/1/8 15:44:58
 */
@Data
public class QueryVehicleListResponse {

        @ApiModelProperty(value = "总页数")
        private int totalPage;

        @ApiModelProperty(value = "总条数")
        private int totalRows;

        @ApiModelProperty(value = "当前页码")
        private int currentPage;

        @ApiModelProperty(value = "每页数量")
        private int pageSize;

        @ApiModelProperty(value = "页面数据对象")
        private List<CarInfo> pageData;

        @Data
        public static class CarInfo {
            @ApiModelProperty(value = "车辆品牌编号")
            private Integer carBrand;

            @ApiModelProperty(value = "车辆品牌")
            private String carBrandStr;

            @ApiModelProperty(value = "车辆编号")
            private String carCode;

            @ApiModelProperty(value = "车辆颜色编号")
            private Integer carColor;

            @ApiModelProperty(value = "车辆颜色")
            private String carColorStr;

            @ApiModelProperty(value = "车牌号码")
            private String carNum;

            @ApiModelProperty(value = "车牌颜色编号")
            private Integer carNumColor;

            @ApiModelProperty(value = "车牌颜色")
            private String carNumColorStr;

            @ApiModelProperty(value = "车辆状态编号（0-未使用，1-使用）")
            private Integer carStatus;

            @ApiModelProperty(value = "车辆状态")
            private String carStatusStr;

            @ApiModelProperty(value = "车辆类型")
            private String carType;

            @ApiModelProperty(value = "汽车类型")
            private String carTypeStr;

            @ApiModelProperty(value = "创建时间")
            private Date createTime;

            @ApiModelProperty(value = "部门ID")
            private String deptId;

            @ApiModelProperty(value = "部门名称")
            private String deptName;

            @ApiModelProperty(value = "数据库车辆id")
            private String id;

            @ApiModelProperty(value = "黑白名单编号：0正常，1白名单，2黑名单")
            private Integer listType;

            @ApiModelProperty(value = "黑白名单")
            private String listTypeStr;

            @ApiModelProperty(value = "备注信息")
            private String memo;

            @ApiModelProperty(value = "车主姓名")
            private String owner;

            @ApiModelProperty(value = "车主id")
            private String ownerId;

            @ApiModelProperty(value = "停车类型编号")
            private Integer parkType;

            @ApiModelProperty(value = "停车类型")
            private String parkTypeStr;

            @ApiModelProperty(value = "所属车场编号")
            private String parkinglotCode;
        }
}
