auto.bus_api/SharedModels/QueryParameters/Objects/ReviewParameters.cs
2022-11-23 19:45:15 +02:00

18 lines
454 B
C#

namespace SharedModels.QueryParameters.Objects;
public class ReviewParameters : ParametersBase
{
public const string DefaultFields = "id,userId,vehicleEnrollmentId,rating,comment";
public ReviewParameters()
{
Sort = "id";
Fields = DefaultFields;
}
public int? FromRating { get; set; }
public int? ToRating { get; set; }
public string? Comment { get; set; }
public string? UserId { get; set; }
}