using CMSMicroservice.Domain.Enums;

namespace CMSMicroservice.Application.StockMovementCQ.Queries.GetStockMovements;

public class GetStockMovementsResponseDto
{
    public List<StockMovementListDto> Movements { get; set; } = new();
    public int TotalCount { get; set; }
}

public class StockMovementListDto
{
    public long Id { get; set; }
    public long InventoryItemId { get; set; }
    public StockMovementType MovementType { get; set; }
    public int Quantity { get; set; }
    public int QuantityBefore { get; set; }
    public int QuantityAfter { get; set; }
    public string? Note { get; set; }
    public string? ReferenceNumber { get; set; }
    public long? OrderId { get; set; }
    public long? DiscountOrderId { get; set; }
    public long? PerformedByUserId { get; set; }
    public string? ProductTitle { get; set; }
    public DateTime Created { get; set; }
}
