auto.bus_api/SharedModels/QueryParameters/Objects/StateParameters.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
344 B
C#

namespace SharedModels.QueryParameters.Objects;
public class StateParameters : ParametersBase
{
public const string DefaultFields = "id,name,fullName,cities,countryId,country";
public StateParameters()
{
Fields = DefaultFields;
}
public string? Name { get; set; }
public int? CountryId { get; set; }
}