Owneat Technical Guide main Help

Class CreateRestaurantCommand

Namespace: Restaurant.Application.Requests.Restaurant
Assembly: Restaurant.Application.dll

public sealed class CreateRestaurantCommand : IRequest<Result<Restaurant>>, IBaseRequest

Inheritance

object ← CreateRestaurantCommand

Implements

IRequest<Result<Restaurant\>\>, IBaseRequest

Inherited Members

object.Equals\(object?\), object.Equals\(object?, object?\), object.GetHashCode\(\), object.GetType\(\), object.ReferenceEquals\(object?, object?\), object.ToString\(\)

Properties

Address

[Required] public Address Address { get; init; }

Property Value

Address

Description

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

Property Value

string

DisplayImageUrl

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

Property Value

string

Name

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

Property Value

string

OpeningHours

[Required] public List<OpeningHours> OpeningHours { get; init; }

Property Value

List <OpeningHours\>

Last modified: 21 May 2024