diff --git a/PyroFetes/DTO/PurchaseProduct/Request/CreateWareHouseProductDto.cs b/PyroFetes/DTO/PurchaseProduct/Request/CreateWareHouseProductDto.cs new file mode 100644 index 0000000..a617180 --- /dev/null +++ b/PyroFetes/DTO/PurchaseProduct/Request/CreateWareHouseProductDto.cs @@ -0,0 +1,28 @@ +namespace PyroFetes.DTO.PurchaseProduct.Request; + +public class CreateWareHouseProductDto +{ + public int Quantity { get; set; } + + public int WareHouseId { get; set; } + public string? WareHouseName {get; set;} + public int WareHouseMaxWeight {get; set;} + public int WareHouseCurrent {get; set;} + public int WareHouseMinWeight {get; set;} + public string? WareHouseAddress { get; set; } + public int WareHouseZipCode { get; set; } + public string? WareHouseCity { get; set; } + + public int ProductId { get; set; } + public int ProductReferences { get; set; } + public string? ProductName { get; set; } + public decimal ProductDuration {get; set;} + public decimal ProductCaliber { get; set; } + public int ProductApprovalNumber { get; set; } + public decimal ProductWeight { get; set; } + public decimal ProductNec { get; set; } + public decimal ProductSellingPrice { get; set; } + public string? ProductImage { get; set; } + public string? ProductLink { get; set; } + public int ProductMinimalQuantity { get; set; } +} \ No newline at end of file diff --git a/PyroFetes/DTO/PurchaseProduct/Request/PatchWareHouseProductQuantityDto.cs b/PyroFetes/DTO/PurchaseProduct/Request/PatchWareHouseProductQuantityDto.cs new file mode 100644 index 0000000..15a7cc0 --- /dev/null +++ b/PyroFetes/DTO/PurchaseProduct/Request/PatchWareHouseProductQuantityDto.cs @@ -0,0 +1,7 @@ +namespace PyroFetes.DTO.PurchaseProduct.Request; + +public class PatchWareHouseProductQuantityDto +{ + public int Id { get; set; } + public int Quantity { get; set; } +} \ No newline at end of file diff --git a/PyroFetes/DTO/PurchaseProduct/Request/UpdateWareHouseProductDto.cs b/PyroFetes/DTO/PurchaseProduct/Request/UpdateWareHouseProductDto.cs new file mode 100644 index 0000000..302962c --- /dev/null +++ b/PyroFetes/DTO/PurchaseProduct/Request/UpdateWareHouseProductDto.cs @@ -0,0 +1,29 @@ +namespace PyroFetes.DTO.PurchaseProduct.Request; + +public class UpdateWareHouseProductDto +{ + public int Id { get; set; } + public int Quantity { get; set; } + + public int WareHouseId { get; set; } + public string? WareHouseName {get; set;} + public int WareHouseMaxWeight {get; set;} + public int WareHouseCurrent {get; set;} + public int WareHouseMinWeight {get; set;} + public string? WareHouseAddress { get; set; } + public int WareHouseZipCode { get; set; } + public string? WareHouseCity { get; set; } + + public int ProductId { get; set; } + public int ProductReferences { get; set; } + public string? ProductName { get; set; } + public decimal ProductDuration {get; set;} + public decimal ProductCaliber { get; set; } + public int ProductApprovalNumber { get; set; } + public decimal ProductWeight { get; set; } + public decimal ProductNec { get; set; } + public decimal ProductSellingPrice { get; set; } + public string? ProductImage { get; set; } + public string? ProductLink { get; set; } + public int ProductMinimalQuantity { get; set; } +} \ No newline at end of file diff --git a/PyroFetes/DTO/PurchaseProduct/Response/GetWareHouseProductDto.cs b/PyroFetes/DTO/PurchaseProduct/Response/GetWareHouseProductDto.cs new file mode 100644 index 0000000..d2ec8a2 --- /dev/null +++ b/PyroFetes/DTO/PurchaseProduct/Response/GetWareHouseProductDto.cs @@ -0,0 +1,31 @@ +using PyroFetes.Models; + +namespace PyroFetes.DTO.PurchaseProduct.Response; + +public class GetWareHouseProductDto +{ + public int Id { get; set; } + public int Quantity { get; set; } + + public int WareHouseId { get; set; } + public string? WareHouseName {get; set;} + public int WareHouseMaxWeight {get; set;} + public int WareHouseCurrent {get; set;} + public int WareHouseMinWeight {get; set;} + public string? WareHouseAddress { get; set; } + public int WareHouseZipCode { get; set; } + public string? WareHouseCity { get; set; } + + public int ProductId { get; set; } + public int ProductReferences { get; set; } + public string? ProductName { get; set; } + public decimal ProductDuration {get; set;} + public decimal ProductCaliber { get; set; } + public int ProductApprovalNumber { get; set; } + public decimal ProductWeight { get; set; } + public decimal ProductNec { get; set; } + public decimal ProductSellingPrice { get; set; } + public string? ProductImage { get; set; } + public string? ProductLink { get; set; } + public int ProductMinimalQuantity { get; set; } +} \ No newline at end of file