Owneat Technical Guide main Help

Class UpdateProductStockCommand

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

public sealed class UpdateProductStockCommand : IRequest<Result<Unit>>, IBaseRequest

Inheritance

object ← UpdateProductStockCommand

Implements

IRequest<Result<Unit\>\>, IBaseRequest

Inherited Members

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

Properties

NewStock

[Required] public uint NewStock { get; init; }

Property Value

uint

ProductId

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

Property Value

Guid

Last modified: 21 May 2024