Response.cs 550 B

12345678910111213141516171819202122
  1. namespace Application.Features.Api.Banner.Item.GetByCode;
  2. public sealed record Response(int Total, List<Response.Row> List)
  3. {
  4. public sealed record Row(
  5. int ID,
  6. int PositionID,
  7. string PositionCode,
  8. string PositionSubject,
  9. string Subject,
  10. string? DesktopImage,
  11. string? MobileImage,
  12. string? Link,
  13. string LinkTarget,
  14. short Order,
  15. bool IsActive,
  16. DateTime? StartAt,
  17. DateTime? EndAt,
  18. DateTime? UpdatedAt,
  19. DateTime CreatedAt
  20. );
  21. }