namespace CashLineERP.Contracts.Sales;

public sealed record SalesReturnResponse(
    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<SalesReturnLineResponse> Lines);
