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