using System; namespace GoodBooks.PAY.PAYDAL.DTO.Order { /// /// Thin row shape for GetPayOrdersBySourceDoc (Entitlement↔Payment loose coupling, §9.1) — /// a payment-history view for one SourceDoc, not the full PayOrderDTO's customer/gateway- /// credential-adjacent detail. /// public class PayOrderHistoryDTO { public int PayOrderId { get; set; } public string PayOrderNo { get; set; } = string.Empty; public int SourceDocType { get; set; } public int SourceDocId { get; set; } public string OrderCurrency { get; set; } = string.Empty; public decimal OrderAmt { get; set; } public decimal NetPayableAmt { get; set; } public int OrderStatus { get; set; } public decimal PaidAmt { get; set; } public string? GatewayCode { get; set; } public string? GatewayName { get; set; } public DateTime CreatedOn { get; set; } public int TenantId { get; set; } } }