using System;
using System.Collections.Generic;
using WmsLite.Api.Enums;
namespace WmsLite.Api.Dtos.Inventory;
public class InventoryTransactionViewDto
{
public long Id { get; set; }
public string TenantId { get; set; } = string.Empty;
public string OwnerCode { get; set; } = string.Empty;
public long InventoryId { get; set; }
public InventoryMovementType MovementType { get; set; }
public InventoryStatus InventoryStatus { get; set; }
public string? BizNo { get; set; }
public decimal BeforeQty { get; set; }
public decimal AfterQty { get; set; }
public decimal BeforePendingInboundQty { get; set; }
public decimal AfterPendingInboundQty { get; set; }
public decimal BeforePendingOutboundQty { get; set; }
public decimal AfterPendingOutboundQty { get; set; }
public decimal BeforeFrozenQty { get; set; }
public decimal AfterFrozenQty { get; set; }
public decimal ChangeQty { get; set; }
/// 流水快照:物料编码(追溯)。
public string? MaterialCode { get; set; }
/// 流水快照:容器编码(追溯)。
public string? ContainerCode { get; set; }
/// 流水快照:仓库编码。
public string WarehouseCode { get; set; } = string.Empty;
/// 流水快照:库区编码。
public string AreaCode { get; set; } = string.Empty;
/// 流水快照:分区编码。
public string ZoneCode { get; set; } = string.Empty;
/// 流水快照:库位编码(追溯)。
public string? LocationCode { get; set; }
public Dictionary? Attrs { get; set; }
public DateTime? CreateTime { get; set; }
}