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

17 lines
506 B
C#

namespace SharedModels.QueryParameters.Objects;
public class TicketParameters : ParametersBase
{
public const string DefaultFields = "id,userId,vehicleEnrollmentId,purchaseDateTimeUtc,isReturned";
public TicketParameters()
{
Sort = "id";
Fields = DefaultFields;
}
public DateTime? FromPurchaseDateTimeUtc { get; set; }
public DateTime? ToPurchaseDateTimeUtc { get; set; }
public bool? IsReturned { get; set; }
public string? UserId { get; set; }
}