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

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 TunnelBasePageReqVO extends PageParam {

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

    @Schema(description = "隧道名称", example = "张三")
    private String tunnelName;

    @Schema(description = "所属组织", example = "23135")
    private String deptId;

    @Schema(description = "所属路段")
    private String road;

    @Schema(description = "经度")
    private String longitude;

    @Schema(description = "纬度")
    private String latitude;

    @Schema(description = "隧道类型 0双洞双向1单洞双向2单洞单向", example = "2")
    private String tunnelType;

    @Schema(description = "隧道设计类型（隧道管控）", example = "1")
    private String tunnelDesignType;

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

    @Schema(description = "设计流量")
    private Long trafficFlow;

    @Schema(description = "横通道数量")
    private Integer crossNum;

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

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

    @Schema(description = "是否常用隧道,1是，0不是")
    private String isCommon;

    @Schema(description = "是否有3D模型,1是，0不是")
    private String model3dFlag;

    @Schema(description = "3D模型文件路径")
    private String model3dPath;

    @Schema(description = "模块")
    private String modules;

    @Schema(description = "是否启用:1启用,0不启用")
    private Integer enable;

    @Schema(description = "排序")
    private Integer sort;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
