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

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - 隧道横通道新增/修改 Request VO")
@Data
public class TunnelPassageSaveReqVO {

    @Schema(description = "通道主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "7876")
    private String id;

    @Schema(description = "所属隧道id", requiredMode = Schema.RequiredMode.REQUIRED, example = "27058")
    @NotEmpty(message = "所属隧道id不能为空")
    private String tunnelId;

    @Schema(description = "类型（人通/汽通）", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotEmpty(message = "类型（人通/汽通）不能为空")
    private String type;

    @Schema(description = "通道名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @NotEmpty(message = "通道名称不能为空")
    private String name;

    @Schema(description = "交点桩号右洞", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "交点桩号右洞不能为空")
    private String rightHole;

    @Schema(description = "交点桩号左洞", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "交点桩号左洞不能为空")
    private String leftHole;

    @Schema(description = "通道宽度（米）", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "通道宽度（米）不能为空")
    private String width;

    @Schema(description = "通道高度（米）", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "通道高度（米）不能为空")
    private String height;

}
