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

27 lines
874 B
C#

namespace SharedModels.QueryParameters.Objects;
public class VehicleParameters : ParametersBase
{
public const string DefaultFields = "id,companyId,number,type,capacity,hasClimateControl," +
"hasWiFi,hasWC,hasStewardess,hasTV,hasOutlet,hasBelts";
public VehicleParameters()
{
Fields = DefaultFields;
}
public string? Number { get; set; }
public string? Type { get; set; }
public int? FromCapacity { get; set; }
public int? ToCapacity { get; set; }
public bool? HasClimateControl { get; set; }
public bool? HasWiFi { get; set; }
public bool? HasWC { get; set; }
public bool? HasStewardess { get; set; }
public bool? HasTV { get; set; }
public bool? HasOutlet { get; set; }
public bool? HasBelts { get; set; }
public int? CompanyId { get; set; }
}