Response.cs 732 B

12345678910111213141516171819202122232425262728293031
  1. namespace Application.Features.Api.Paper.GetOrders;
  2. public sealed record Response(int Total, List<Response.Row> List)
  3. {
  4. public sealed record Row(
  5. int ID,
  6. string StockCode,
  7. string StockName,
  8. string Side,
  9. string FillRule,
  10. int Quantity,
  11. decimal ReservedAmount,
  12. DateOnly TargetDate,
  13. DateTime CancelableUntil,
  14. string Status,
  15. string? RejectReason,
  16. DateTime CreatedAt,
  17. FillInfo? Fill
  18. );
  19. public sealed record FillInfo(
  20. decimal Price,
  21. int Quantity,
  22. decimal Fee,
  23. decimal Tax,
  24. decimal Amount,
  25. decimal? RealizedPnL,
  26. DateOnly PriceDate,
  27. DateTime FilledAt
  28. );
  29. }