package org.dromara.system.domain.bo;

import jakarta.validation.constraints.NotNull;
import lombok.Data;
import io.github.linpeilie.annotations.AutoMapper;
import org.dromara.system.domain.TblDzbcDriverTrip;

import java.time.LocalDateTime;

@Data
@AutoMapper(target = TblDzbcDriverTrip.class, reverseConvertGenerate = false)
public class TblDzbcDriverTripBo extends TblDzbcDriverTrip {

    @NotNull(message = "路线ID不能为空")
    private Long pathId;

    @NotNull(message = "司机ID不能为空")
    private Long driverId;

    @NotNull(message = "车辆ID不能为空")
    private Long carId;

    private LocalDateTime startTime;
}
