Endpoints to see groups

This commit is contained in:
2026-02-22 16:02:34 +01:00
parent f75eecc712
commit c67cdf8dd8
9 changed files with 112 additions and 2 deletions
@@ -0,0 +1,17 @@
using BeReadyBackend.DTO.Messages;
namespace BeReadyBackend.DTO.Groups;
public class GetGroupDetailsDto
{
public int Id { get; set; }
public string? Label { get; set; }
public bool IsFinished { get; set; }
public string? Title { get; set; }
public string? Description { get; set; }
public int Duration { get; set; }
public DateTime CreationDate { get; set; }
public List<GetMessageDto>? Messages { get; set; }
public List<GetUserGroupDto>? Users { get; set; }
}
+8
View File
@@ -0,0 +1,8 @@
namespace BeReadyBackend.DTO.Groups;
public class GetGroupDto
{
public int Id { get; set; }
public string? Label { get; set; }
public bool IsFinished { get; set; }
}
@@ -0,0 +1,10 @@
namespace BeReadyBackend.DTO.Messages;
public class GetMessageDto
{
public int Id { get; set; }
public string? Libelle { get; set; }
public DateTime SendDate { get; set; }
public int UserId { get; set; }
public string? Username { get; set; }
}