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; }
|
||||||
|
}
|
||||||
@@ -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\" />
|
||||||
|
|||||||
@@ -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")]
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
58ea72202b7406d81e7748acd4a38ae302713932c2e53e7a26e9bb316e982ba1
|
1ec67d9f775d898443e3ca901e3936ca7eac382476d451d905e395f125dd8665
|
||||||
|
|||||||
Reference in New Issue
Block a user