This commit is contained in:
2026-03-12 16:09:17 +01:00
parent 2258e5ad8e
commit 7ede95db7c
17 changed files with 100 additions and 6 deletions

View 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; }
}

View File

@@ -0,0 +1,6 @@
namespace Knots.DTO.Group;
public class DeleteGroupDto
{
public string? Id { get; set; }
}

View 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; }
}

View 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; }
}

View File

@@ -0,0 +1,6 @@
namespace Knots.DTO.Key;
public class CreateKeyDto
{
public string? EnKey { get; set; }
}

View File

@@ -0,0 +1,6 @@
namespace Knots.DTO.Key;
public class DeleteKeyDto
{
public int Id { get; set; }
}

View File

@@ -0,0 +1,7 @@
namespace Knots.DTO.Key;
public class GetKeyDto
{
public int Id { get; set; }
public string? EnKey { get; set; }
}

View 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; }
}

View File

@@ -0,0 +1,6 @@
namespace Knots.DTO.Message;
public class DeleteMessageDto
{
public int Id { get; set; }
}

View 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; }
}

View File

@@ -0,0 +1,7 @@
namespace Knots.DTO.Message;
public class UpdateMessageDto
{
public string? Contenu { get; set; }
public DateTime Date { get; set; }
}

View File

@@ -0,0 +1,6 @@
namespace Knots.DTO.Role;
public class CreateRoleDto
{
public string? Libelle { get; set; }
}

View File

@@ -0,0 +1,6 @@
namespace Knots.DTO.Role;
public class DeleteRoleDto
{
public int Id { get; set; }
}

View File

@@ -0,0 +1,6 @@
namespace Knots.DTO.Role;
public class GetRoleDto
{
public string? Id { get; set; }
}

View File

@@ -19,10 +19,6 @@
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Folder Include="DTO\Group\" />
<Folder Include="DTO\Key\" />
<Folder Include="DTO\Message\" />
<Folder Include="DTO\Role\" />
<Folder Include="DTO\User\" /> <Folder Include="DTO\User\" />
<Folder Include="Endpoints\" /> <Folder Include="Endpoints\" />
<Folder Include="Validators\" /> <Folder Include="Validators\" />

View File

@@ -13,7 +13,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Knots")] [assembly: System.Reflection.AssemblyCompanyAttribute("Knots")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+f2e4058b04fa558b746330577933ccad1a256320")] [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+2258e5ad8e56b01ea799bd6859bf45e6499a9f5f")]
[assembly: System.Reflection.AssemblyProductAttribute("Knots")] [assembly: System.Reflection.AssemblyProductAttribute("Knots")]
[assembly: System.Reflection.AssemblyTitleAttribute("Knots")] [assembly: System.Reflection.AssemblyTitleAttribute("Knots")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]

View File

@@ -1 +1 @@
58ea72202b7406d81e7748acd4a38ae302713932c2e53e7a26e9bb316e982ba1 1ec67d9f775d898443e3ca901e3936ca7eac382476d451d905e395f125dd8665