Created endpoints to manage groups

This commit is contained in:
2026-02-22 15:16:53 +01:00
parent 3b0f25d450
commit f75eecc712
11 changed files with 206 additions and 1 deletions
@@ -0,0 +1,10 @@
namespace BeReadyBackend.DTO.Groups;
public class CreateGroupDto
{
public string? Label { get; set; }
public string? Title { get; set; }
public string? Description { get; set; }
public int Duration { get; set; }
public List<CreateUserGroupDto>? UserGroups { get; set; }
}
@@ -0,0 +1,6 @@
namespace BeReadyBackend.DTO.Groups;
public class CreateUserGroupDto
{
public int UserId { get; set; }
}
@@ -0,0 +1,9 @@
namespace BeReadyBackend.DTO.Groups;
public class GetUserGroupDto
{
public int Id { get; set; }
public string? Username { get; set; }
public string? Grade { get; set; }
public int Score { get; set; }
}