package com.cico.nest.lcdp.boot.core.qxsd.adapter.web.vo.tunnelDevice;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.cico.nest.lcdp.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.cico.nest.lcdp.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 隧道设备信息分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class TunnelDevicePageReqVO extends PageParam {

    @Schema(description = "所属机构id", example = "5425")
    private String deptId;

    @Schema(description = "隧道编码")
    private String tunnelCode;

    @Schema(description = "洞id", example = "27970")
    private String holeId;

    @Schema(description = "左右洞位置：左洞/右洞")
    private String holePosition;

    @Schema(description = "上下行方向",  example = "10700")
    private String directionUpdown;

    @Schema(description = "行车方向：如杭州方向", example = "lcdp")
    private String directionName;

    @Schema(description = "设备ID")
    private String deviceId;

    @Schema(description = "设备编码")
    private String deviceCode;

    @Schema(description = "设备名称", example = "王五")
    private String deviceName;

    @Schema(description = "设备类型", example = "2")
    private String deviceType;

    @Schema(description = "设备ip地址")
    private String deviceIp;

    @Schema(description = "UUID", example = "16432")
    private String deviceUuid;

    @Schema(description = "所属模块")
    private String module;

    @Schema(description = "开始桩号")
    private String mileStart;

    @Schema(description = "结束桩号")
    private String mileEnd;

    @Schema(description = "桩号偏移量")
    private String mileStartOffset;

    @Schema(description = "所在行号（前端铺设使用）")
    private String line;

    @Schema(description = "横坐标")
    private String axisX;

    @Schema(description = "纵坐标")
    private String axisY;

    @Schema(description = "长度")
    private String length;

    @Schema(description = "模型版本")
    private String modelVersion;

    @Schema(description = "区控编码")
    private String plcCode;

    @Schema(description = "是否摄像机联动，1是0否")
    private String needCamera;

    @Schema(description = "视频事件设备ID", example = "21394")
    private String trafficEventDeviceId;

    @Schema(description = "车道信息")
    private String laneInfo;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;
    //省中心名称
    private String provincecenter;
    //区域中心名称
    private String areacenter;
    //分中心名称
    private String branchcenter;
    //隧道所名称
    private String tunnelgroup;
    //路段
    private String road;
    //隧道名称
    private String tunnelname;

}
