Class RestaurantEvent
Namespace: Restaurant.Domain.Aggregates.RestaurantAggregate
Assembly: Restaurant.Domain.dll
Inheritance
object ← Entity ← RestaurantEvent
Implements
Inherited Members
Entity.Id, Entity.CreatedAt, Entity.UpdatedAt, Entity.DomainEvents, Entity.EmitDomainEvent\(IDomainEvent\)s.Entity.md#emitdomainevent-idomainevent), object.Equals\(object?\), object.Equals\(object?, object?\), object.GetHashCode\(\), object.GetType\(\), object.MemberwiseClone\(\), object.ReferenceEquals\(object?, object?\), object.ToString\(\)
Constructors
RestaurantEvent\(\)
Properties
Description
Description of the Restaurant.Domain.Aggregates.RestaurantAggregate.RestaurantEvent.
Property Value
DisplayImageUrl
URL of the Restaurant.Domain.Aggregates.RestaurantAggregate.RestaurantEvent image.
Property Value
IsActive
Indicates if the Restaurant.Domain.Aggregates.RestaurantAggregate.RestaurantEvent is active.
Property Value
RestaurantId
Id of the parent Restaurant.Domain.Aggregates.RestaurantAggregate.Restaurant.
Property Value
SortingIndex
Position of the Restaurant.Domain.Aggregates.RestaurantAggregate.RestaurantEvent in it's Restaurant.Domain.Aggregates.RestaurantAggregate.Restaurant.
Property Value
Title
Name of the Restaurant.Domain.Aggregates.RestaurantAggregate.RestaurantEvent.
Property Value
TitleColor
Color of the Restaurant.Domain.Aggregates.RestaurantAggregate.RestaurantEvent title.
Property Value
Methods
Create\(string, string, string, bool, long\)
Parameters
title string
description string
displayImageUrl string
isActive bool
titleColor long
Returns
RestaurantEvent
Update\(string, string, string, bool, long\)
Updated the Restaurant.Domain.Aggregates.RestaurantAggregate.RestaurantEvent.
Parameters
title string
Name of the Restaurant.Domain.Aggregates.RestaurantAggregate.RestaurantEvent.
description string
Description of the Restaurant.Domain.Aggregates.RestaurantAggregate.RestaurantEvent.
displayImageUrl string
URL of the Restaurant.Domain.Aggregates.RestaurantAggregate.RestaurantEvent image.
isActive bool
Indicates if the Restaurant.Domain.Aggregates.RestaurantAggregate.RestaurantEvent is active.
titleColor long
Color of the Restaurant.Domain.Aggregates.RestaurantAggregate.RestaurantEvent title.
UpdateSortingIndex\(int\)
Update index of position.
Parameters
newSortingIndex int