Owneat Technical Guide main Help

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

string

DisplayImageUrl

public string DisplayImageUrl { get; init; }

Property Value

string

Id

[JsonIgnore] [Required] public Guid Id { get; set; }

Property Value

Guid

Name

[Required] [MaxLength(50)] public string Name { get; init; }

Property Value

string

OpeningHours

public IEnumerable<OpeningHours> OpeningHours { get; init; }

Property Value

IEnumerable <OpeningHours\>

Last modified: 21 May 2024