package bus.model.dto;

import lombok.Data;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.Date;
/**
* @Program: bus
* @Description: 描述
* @Author: zy
* @Date: 2025-03-01 09:44:24
**/
@Data
public class BBusInfoDto{
    @ApiModelProperty("id")
    private String id;
    @ApiModelProperty("车辆名称")
    //@NotBlank(message = "车辆名称不能为空")
    private String busName;
    @ApiModelProperty("车牌号")
    @NotBlank(message = "车牌号不能为空")
    private String busNo;
    @ApiModelProperty("车辆类型")
    private String busType;
    @ApiModelProperty("车辆图片")
    private String busUrl;
    @ApiModelProperty("驾驶员姓名")
    @NotBlank(message = "驾驶员姓名不能为空")
    private String driverName;
    @ApiModelProperty("驾驶员号码")
    @NotBlank(message = "驾驶员号码不能为空")
    private String driverPhone;
    @ApiModelProperty("车辆状态 0禁用 1维护 2正常")
    private String status;


}
