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

17 lines
433 B
C#

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