diff --git a/PyroFetes/DTO/Supplier/Request/CreateSupplierDto.cs b/PyroFetes/DTO/Supplier/Request/CreateSupplierDto.cs new file mode 100644 index 0000000..b9e9fe0 --- /dev/null +++ b/PyroFetes/DTO/Supplier/Request/CreateSupplierDto.cs @@ -0,0 +1,12 @@ +namespace PyroFetes.DTO.Supplier.Request; + +public class CreateSupplierDto +{ + public string? Name { get; set; } + public string? Email { get; set; } + public string? Phone { get; set; } + public string? Address { get; set; } + public int ZipCode { get; set; } + public string? City { get; set; } + public int DeliveryDelay { get; set; } +} \ No newline at end of file diff --git a/PyroFetes/DTO/Supplier/Request/PatchSupplierDeliveryDelayDto.cs b/PyroFetes/DTO/Supplier/Request/PatchSupplierDeliveryDelayDto.cs new file mode 100644 index 0000000..a5e8fbc --- /dev/null +++ b/PyroFetes/DTO/Supplier/Request/PatchSupplierDeliveryDelayDto.cs @@ -0,0 +1,7 @@ +namespace PyroFetes.DTO.Supplier.Request; + +public class PatchSupplierDeliveryDelayDto +{ + public int Id { get; set; } + public int DeliveryDelay { get; set; } +} \ No newline at end of file diff --git a/PyroFetes/DTO/Supplier/Request/UpdateSupplierDto.cs b/PyroFetes/DTO/Supplier/Request/UpdateSupplierDto.cs new file mode 100644 index 0000000..b69b72b --- /dev/null +++ b/PyroFetes/DTO/Supplier/Request/UpdateSupplierDto.cs @@ -0,0 +1,13 @@ +namespace PyroFetes.DTO.Supplier.Request; + +public class UpdateSupplierDto +{ + public int Id { get; set; } + public string? Name { get; set; } + public string? Email { get; set; } + public string? Phone { get; set; } + public string? Address { get; set; } + public int ZipCode { get; set; } + public string? City { get; set; } + public int DeliveryDelay { get; set; } +} \ No newline at end of file diff --git a/PyroFetes/DTO/Supplier/Response/GetSupplierDto.cs b/PyroFetes/DTO/Supplier/Response/GetSupplierDto.cs new file mode 100644 index 0000000..7390854 --- /dev/null +++ b/PyroFetes/DTO/Supplier/Response/GetSupplierDto.cs @@ -0,0 +1,13 @@ +namespace PyroFetes.DTO.Supplier.Response; + +public class GetSupplierDto +{ + public int Id { get; set; } + public string? Name { get; set; } + public string? Email { get; set; } + public string? Phone { get; set; } + public string? Address { get; set; } + public int ZipCode { get; set; } + public string? City { get; set; } + public int DeliveryDelay { get; set; } +} \ No newline at end of file