Response.cs 601 B

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