Owneat Technical Guide main Help

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

ushort

Comment

public string Comment { get; init; }

Property Value

string

CustomerIdentifier

[Required] public string CustomerIdentifier { get; init; }

Property Value

string

Email

public string Email { get; init; }

Property Value

string

FoodPersonalizationRating

[Required] [Range(1, 5)] public ushort FoodPersonalizationRating { get; init; }

Property Value

ushort

GlobalRating

[Required] [Range(1, 5)] public ushort GlobalRating { get; init; }

Property Value

ushort

IsPaymentCanSaveTime

public bool? IsPaymentCanSaveTime { get; init; }

Property Value

bool?

IsRecommendable

[Required] public bool IsRecommendable { get; init; }

Property Value

bool

[Required] [Range(1, 5)] public ushort MenuConsultationRating { get; init; }

Property Value

ushort

PaymentExperienceRating

[Range(1, 5)] public ushort? PaymentExperienceRating { get; init; }

Property Value

ushort?

RestaurantId

[Required] public Guid RestaurantId { get; init; }

Property Value

Guid

TableNumber

[Required] public int TableNumber { get; init; }

Property Value

int

Last modified: 21 May 2024