auto.bus_api/SharedModels/QueryParameters/Objects/VehicleEnrollmentParameters.cs
2022-11-23 19:45:15 +02:00

20 lines
674 B
C#

namespace SharedModels.QueryParameters.Objects;
public class VehicleEnrollmentParameters : ParametersBase
{
public const string DefaultFields = "id,vehicleId,routeId,departureDateTimeUtc," +
"delayTimeSpan,isCancelled,cancellationComment";
public VehicleEnrollmentParameters()
{
Sort = "id";
Fields = DefaultFields;
}
public int? VehicleId { get; set; }
public int? RouteId { get; set; }
public DateTime? FromDepartureDateTime { get; set; }
public DateTime? ToDepartureDateTime { get; set; }
public bool? IsDelayed { get; set; }
public bool? IsCanceled {get; set; }
}