Add endpoint to display all customers, and updated dto to create quotation and purchase order
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
namespace PyroFetes.DTO.Customer.Response;
|
||||
|
||||
public class GetCustomerDto
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string? Note { get; set; }
|
||||
}
|
||||
@@ -5,5 +5,6 @@ namespace PyroFetes.DTO.PurchaseOrder.Request;
|
||||
public class CreatePurchaseOrderDto
|
||||
{
|
||||
public string? PurchaseConditions { get; set; }
|
||||
public int SupplierId { get; set; }
|
||||
public List<CreatePurchaseOrderProductDto>? Products { get; set; }
|
||||
}
|
||||
@@ -6,5 +6,7 @@ public class CreateQuotationDto
|
||||
{
|
||||
public string? Message { get; set; }
|
||||
public string? ConditionsSale { get; set; }
|
||||
public int CustomerId { get; set; }
|
||||
public int SupplierId { get; set; }
|
||||
public List<CreateProductQuotationDto>? Products { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user