auto.bus_api/SharedModels/QueryParameters/Objects/TicketParameters.cs
cuqmbr 1ba0867390 refactor: optimize crud services
fix: data shaping removes fields from objects
2022-11-30 16:38:30 +02:00

16 lines
485 B
C#

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