First Commit 09/10
# Conflicts: # PyroFetes/PyroFetes.csproj
This commit is contained in:
11
PyroFetes/DTO/Contact/Request/CreateContactDto.cs
Normal file
11
PyroFetes/DTO/Contact/Request/CreateContactDto.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
namespace PyroFetes.DTO.Contact.Request;
|
||||
|
||||
public class CreateContactDto
|
||||
{
|
||||
public string? LastName { get; set; }
|
||||
public string? FirstName { get; set; }
|
||||
public string? PhoneNumber { get; set; }
|
||||
public string? Email { get; set; }
|
||||
public string? Address { get; set; }
|
||||
public string? Role { get; set; }
|
||||
}
|
||||
6
PyroFetes/DTO/Contact/Request/GetContactRequest.cs
Normal file
6
PyroFetes/DTO/Contact/Request/GetContactRequest.cs
Normal file
@@ -0,0 +1,6 @@
|
||||
namespace PyroFetes.DTO.Contact.Request;
|
||||
|
||||
public class GetContactRequest
|
||||
{
|
||||
public int Id { get; set; }
|
||||
}
|
||||
12
PyroFetes/DTO/Contact/Request/UpdateContactDto.cs
Normal file
12
PyroFetes/DTO/Contact/Request/UpdateContactDto.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
namespace PyroFetes.DTO.Contact.Request;
|
||||
|
||||
public class UpdateContactDto
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string? LastName { get; set; }
|
||||
public string? FirstName { get; set; }
|
||||
public string? PhoneNumber { get; set; }
|
||||
public string? Email { get; set; }
|
||||
public string? Address { get; set; }
|
||||
public string? Role { get; set; }
|
||||
}
|
||||
12
PyroFetes/DTO/Contact/Response/GetContactDto.cs
Normal file
12
PyroFetes/DTO/Contact/Response/GetContactDto.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
namespace PyroFetes.DTO.Contact.Response;
|
||||
|
||||
public class GetContactDto
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string? LastName { get; set; }
|
||||
public string? FirstName { get; set; }
|
||||
public string? PhoneNumber { get; set; }
|
||||
public string? Email { get; set; }
|
||||
public string? Address { get; set; }
|
||||
public string? Role { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user