auto.bus_api/SharedModels/QueryParameters/Objects/CompanyParameters.cs
cuqmbr 51f77aa290 fix: expand data fields returned in GET methods
This fixes possible lack of data on client applications. Prevents multiple requests from being sent
2023-04-25 20:28:23 +03:00

14 lines
328 B
C#

namespace SharedModels.QueryParameters.Objects;
public class CompanyParameters : ParametersBase
{
public const string DefaultFields = "id,ownerId,name,vehicles";
public CompanyParameters()
{
Fields = DefaultFields;
}
public string? Name { get; set; }
public string? OwnerId { get; set; }
}