Models
This commit is contained in:
8
Knots/DTO/Group/CreateGroupDto.cs
Normal file
8
Knots/DTO/Group/CreateGroupDto.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
namespace Knots.DTO.Group;
|
||||
|
||||
public class CreateGroupDto
|
||||
{
|
||||
public string? Nom { get; set; }
|
||||
public int NombreMembres { get; set; }
|
||||
public string? ProfilePicture { get; set; }
|
||||
}
|
||||
6
Knots/DTO/Group/DeleteGroupDto.cs
Normal file
6
Knots/DTO/Group/DeleteGroupDto.cs
Normal file
@@ -0,0 +1,6 @@
|
||||
namespace Knots.DTO.Group;
|
||||
|
||||
public class DeleteGroupDto
|
||||
{
|
||||
public string? Id { get; set; }
|
||||
}
|
||||
9
Knots/DTO/Group/GetGroupDto.cs
Normal file
9
Knots/DTO/Group/GetGroupDto.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
namespace Knots.DTO.Group;
|
||||
|
||||
public class GetGroupDto
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string? Nom { get; set; }
|
||||
public int NombreMembres { get; set; }
|
||||
public string? ProfilePicture { get; set; }
|
||||
}
|
||||
9
Knots/DTO/Group/UpdateGroupDto.cs
Normal file
9
Knots/DTO/Group/UpdateGroupDto.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
namespace Knots.DTO.Group;
|
||||
|
||||
public class UpdateGroupDto
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string? Nom { get; set; }
|
||||
public int NombreMembres { get; set; }
|
||||
public string? ProfilePicture { get; set; }
|
||||
}
|
||||
6
Knots/DTO/Key/CreateKeyDto.cs
Normal file
6
Knots/DTO/Key/CreateKeyDto.cs
Normal file
@@ -0,0 +1,6 @@
|
||||
namespace Knots.DTO.Key;
|
||||
|
||||
public class CreateKeyDto
|
||||
{
|
||||
public string? EnKey { get; set; }
|
||||
}
|
||||
6
Knots/DTO/Key/DeleteKeyDto.cs
Normal file
6
Knots/DTO/Key/DeleteKeyDto.cs
Normal file
@@ -0,0 +1,6 @@
|
||||
namespace Knots.DTO.Key;
|
||||
|
||||
public class DeleteKeyDto
|
||||
{
|
||||
public int Id { get; set; }
|
||||
}
|
||||
7
Knots/DTO/Key/GetKeyDto.cs
Normal file
7
Knots/DTO/Key/GetKeyDto.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace Knots.DTO.Key;
|
||||
|
||||
public class GetKeyDto
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string? EnKey { get; set; }
|
||||
}
|
||||
8
Knots/DTO/Message/CreateMessageDto.cs
Normal file
8
Knots/DTO/Message/CreateMessageDto.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
namespace Knots.DTO.Message;
|
||||
|
||||
public class CreateMessageDto
|
||||
{
|
||||
public string? Contenu { get; set; }
|
||||
public DateTime Date { get; set; }
|
||||
public Boolean Type { get; set; }
|
||||
}
|
||||
6
Knots/DTO/Message/DeleteMessageDto.cs
Normal file
6
Knots/DTO/Message/DeleteMessageDto.cs
Normal file
@@ -0,0 +1,6 @@
|
||||
namespace Knots.DTO.Message;
|
||||
|
||||
public class DeleteMessageDto
|
||||
{
|
||||
public int Id { get; set; }
|
||||
}
|
||||
8
Knots/DTO/Message/GetMessageDto.cs
Normal file
8
Knots/DTO/Message/GetMessageDto.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
namespace Knots.DTO.Message;
|
||||
|
||||
public class GetMessageDto
|
||||
{
|
||||
public string? Contenu { get; set; }
|
||||
public DateTime Date { get; set; }
|
||||
public Boolean Type { get; set; }
|
||||
}
|
||||
7
Knots/DTO/Message/UpdateMessageDto.cs
Normal file
7
Knots/DTO/Message/UpdateMessageDto.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace Knots.DTO.Message;
|
||||
|
||||
public class UpdateMessageDto
|
||||
{
|
||||
public string? Contenu { get; set; }
|
||||
public DateTime Date { get; set; }
|
||||
}
|
||||
6
Knots/DTO/Role/CreateRoleDto.cs
Normal file
6
Knots/DTO/Role/CreateRoleDto.cs
Normal file
@@ -0,0 +1,6 @@
|
||||
namespace Knots.DTO.Role;
|
||||
|
||||
public class CreateRoleDto
|
||||
{
|
||||
public string? Libelle { get; set; }
|
||||
}
|
||||
6
Knots/DTO/Role/DeleteRoleDto.cs
Normal file
6
Knots/DTO/Role/DeleteRoleDto.cs
Normal file
@@ -0,0 +1,6 @@
|
||||
namespace Knots.DTO.Role;
|
||||
|
||||
public class DeleteRoleDto
|
||||
{
|
||||
public int Id { get; set; }
|
||||
}
|
||||
6
Knots/DTO/Role/GetRoleDto.cs
Normal file
6
Knots/DTO/Role/GetRoleDto.cs
Normal file
@@ -0,0 +1,6 @@
|
||||
namespace Knots.DTO.Role;
|
||||
|
||||
public class GetRoleDto
|
||||
{
|
||||
public string? Id { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user