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

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - 隧道上下行洞车道标志线新增/修改 Request VO")
@Data
public class TunnelHoleMarkerlineSaveReqVO {

    @Schema(description = "标志线主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "11861")
    private String id;

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

    @Schema(description = "所属洞id", requiredMode = Schema.RequiredMode.REQUIRED, example = "25864")
    @NotEmpty(message = "所属洞id不能为空")
    private String holeId;

    @Schema(description = "类型（车道/紧急停车带/方向线）", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotEmpty(message = "类型（车道/紧急停车带/方向线）不能为空")
    private String type;

    @Schema(description = "标志线名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
    @NotEmpty(message = "标志线名称不能为空")
    private String name;

    @Schema(description = "标志线类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotEmpty(message = "标志线类型不能为空")
    private String markerlineType;

    @Schema(description = "桩号列表")
    @ExcelProperty("桩号列表")
    private List<MileStoneVO> mileList;


}
