package bus.model.dto;

import bus.model.po.BBusInfoPo;
import lombok.Data;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.math.BigDecimal;
import java.util.Date;
import java.util.Date;
import java.util.List;

/**
* @Program: bus
* @Description: 描述
* @Author: zy
* @Date: 2025-03-02 19:53:50
**/
@Data
public class BCourseInfoDto{
    @ApiModelProperty("id")
    private String id;
    @ApiModelProperty("线路名称")
    private String courseName;
    @ApiModelProperty("线路编号")
    private String courseCode;
    @ApiModelProperty("地图快照")
    private String mapPicUrl;
    @ApiModelProperty("区")
    private String area;
    @ApiModelProperty("线路标记点LIST")
    private List<BCoursePointDto> mapPointList;
    @ApiModelProperty("线路类型 0单层专线，1闭环专线")
    private String courseType;
    @ApiModelProperty("票价类型 0固定票价 1参考票价")
    private String ticketType;
    @ApiModelProperty("票价")
    private BigDecimal ticketAmount;
    @ApiModelProperty("路线状态 0正常 1维护 2禁用")
    private String status;

    @ApiModelProperty("时刻LIST")
    @NotEmpty(message = "时刻列表不能为空")
    List<BCourseTimeDto> bCourseTimeList;

    @ApiModelProperty("标志点LIST")
    @NotEmpty(message = "标志点列表不能为空")
    List<BCourseStationDto> bCourseStationList;

    @ApiModelProperty("车辆LIST")
    @NotEmpty(message = "车辆列表不能为空")
    List<BCourseBusDto> bCourseBusList;
}
