Class CreateProductPersonalizationCommand
Namespace: Restaurant.Application.Requests.Product
Assembly: Restaurant.Application.dll
public sealed class CreateProductPersonalizationCommand : IRequest<Result<Product>>, IBaseRequest
Inheritance
object ← CreateProductPersonalizationCommand
Implements
IRequest<Result<Product\>\>, IBaseRequest
Inherited Members
object.Equals\(object?\), object.Equals\(object?, object?\), object.GetHashCode\(\), object.GetType\(\), object.ReferenceEquals\(object?, object?\), object.ToString\(\)
Properties
Choices
[Required]
public List<PersonalizationChoice> Choices { get; init; }
Property Value
List <PersonalizationChoice\>
MaxChoices
[Required]
public int MaxChoices { get; init; }
Property Value
MinChoices
[Required]
public int MinChoices { get; init; }
Property Value
Mode
[Required]
public PersonalizationMode Mode { get; init; }
Property Value
PersonalizationMode
Name
[Required]
public string Name { get; init; }
Property Value
ProductId
[JsonIgnore]
[Required]
public Guid ProductId { get; set; }
Property Value
Last modified: 21 May 2024