auto.bus_api/SharedModels/QueryParameters/Objects/TicketGroupParameters.cs
cuqmbr 5fecec2d3e fix: invalid arrival address details in TicketGroupDto; add isPurchased field
Before this arrival address info in TicketGroupDto was being populated by first ticket arrival address info
2023-05-25 11:49:37 +03:00

18 lines
738 B
C#

namespace SharedModels.QueryParameters.Objects;
public class TicketGroupParameters : ParametersBase
{
public const string DefaultFields =
"id,userId,purchaseDateTime,isReturned,isPurchased,departureAddressName,departureCityName,departureStateName,departureCountryName," +
"departureFullName,departureDateTime,arrivalAddressName,arrivalCityName,arrivalStateName,arrivalCountryName,arrivalFullName," +
"arrivalDateTime,cost,tickets";
public TicketGroupParameters()
{
Fields = DefaultFields;
}
public DateTime? FromPurchaseDateTime { get; set; }
public DateTime? ToPurchaseDateTime { get; set; }
public bool? IsReturned { get; set; }
public string? UserId { get; set; }
}