Endpoints to see groups
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
@@ -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; }
|
||||
}
|
||||
Reference in New Issue
Block a user