Class CreateFeedbackCommand
Namespace: Restaurant.Application.Requests.Feedback
Assembly: Restaurant.Application.dll
public sealed class CreateFeedbackCommand : IRequest<Result<Unit>>, IBaseRequest
Inheritance
object ← CreateFeedbackCommand
Implements
IRequest<Result<Unit\>\>, IBaseRequest
Inherited Members
object.Equals\(object?\), object.Equals\(object?, object?\), object.GetHashCode\(\), object.GetType\(\), object.ReferenceEquals\(object?, object?\), object.ToString\(\)
Properties
ActionMenuRating
[Required]
[Range(1, 5)]
public ushort ActionMenuRating { get; init; }
Property Value
Comment
public string Comment { get; init; }
Property Value
CustomerIdentifier
[Required]
public string CustomerIdentifier { get; init; }
Property Value
public string Email { get; init; }
Property Value
FoodPersonalizationRating
[Required]
[Range(1, 5)]
public ushort FoodPersonalizationRating { get; init; }
Property Value
GlobalRating
[Required]
[Range(1, 5)]
public ushort GlobalRating { get; init; }
Property Value
IsPaymentCanSaveTime
public bool? IsPaymentCanSaveTime { get; init; }
Property Value
bool?
IsRecommendable
[Required]
public bool IsRecommendable { get; init; }
Property Value
MenuConsultationRating
[Required]
[Range(1, 5)]
public ushort MenuConsultationRating { get; init; }
Property Value
PaymentExperienceRating
[Range(1, 5)]
public ushort? PaymentExperienceRating { get; init; }
Property Value
RestaurantId
[Required]
public Guid RestaurantId { get; init; }
Property Value
TableNumber
[Required]
public int TableNumber { get; init; }
Property Value
Last modified: 21 May 2024