namespace CashLineERP.Application.Sales;

public sealed record SalesReturnDetailView(
    long SalesReturnId,
    string SalesReturnNumber,
    long BranchId,
    long CustomerId,
    long SalesOrderId,
    long DispatchOrderId,
    DateOnly ReturnDate,
    long ReturnWarehouseId,
    string ReasonCode,
    string? Notes,
    string StatusCode,
    decimal TotalReturnedQuantity,
    long? CreditNoteInvoiceId,
    DateTime? CreditNoteIssuedAtUtc,
    IReadOnlyCollection<SalesReturnLineView> Lines);
