Class UpdateRestaurantCommand
Namespace: Restaurant.Application.Requests.Restaurant
Assembly: Restaurant.Application.dll
public sealed class UpdateRestaurantCommand : IRequest<Result<RestaurantResponse>>, IBaseRequest
Inheritance
object ← UpdateRestaurantCommand
Implements
IRequest<Result<RestaurantResponse\>\>, IBaseRequest
Inherited Members
object.Equals\(object?\), object.Equals\(object?, object?\), object.GetHashCode\(\), object.GetType\(\), object.ReferenceEquals\(object?, object?\), object.ToString\(\)
Properties
Address
public Address Address { get; init; }
Property Value
Address
Description
public string Description { get; init; }
Property Value
DisplayImageUrl
public string DisplayImageUrl { get; init; }
Property Value
Id
[JsonIgnore]
[Required]
public Guid Id { get; set; }
Property Value
Name
[Required]
[MaxLength(50)]
public string Name { get; init; }
Property Value
OpeningHours
public IEnumerable<OpeningHours> OpeningHours { get; init; }
Property Value
IEnumerable <OpeningHours\>
Last modified: 21 May 2024