CreateOrUpdateStorageLocationCommand.cs 967 Bytes
using Rcs.Application.MessageBus.Commands;

namespace Rcs.Application.MessageBus.Commands.StorageLocations
{
    /// <summary>
    /// Create or update storage location command.
    /// </summary>
    public class CreateOrUpdateStorageLocationCommand : MessageBase
    {
        public string? LocationId { get; set; }
        public string AreaId { get; set; } = string.Empty;
        public string? LocationTypeId { get; set; }
        public string? MapNodeId { get; set; }
        public string LocationCode { get; set; } = string.Empty;
        public string? LocationName { get; set; }
        public int? LayerNumber { get; set; }
        public double? Orientation { get; set; }
        public double? Width { get; set; }
        public double? Depth { get; set; }
        public double? Height { get; set; }
        public double? MaxLoadWeight { get; set; }
        public int Status { get; set; }
        public bool IsActive { get; set; } = true;
    }
}