diff --git a/PyroFetes/DTO/WareHouseProduct/Request/CreateWareHouseProductDto.cs b/PyroFetes/DTO/WareHouseProduct/Request/CreateWareHouseProductDto.cs new file mode 100644 index 0000000..9b2a142 --- /dev/null +++ b/PyroFetes/DTO/WareHouseProduct/Request/CreateWareHouseProductDto.cs @@ -0,0 +1,27 @@ +namespace PyroFetes.DTO.WareHouseProduct.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 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/WareHouseProduct/Request/PatchWareHouseProductQuantityDto.cs b/PyroFetes/DTO/WareHouseProduct/Request/PatchWareHouseProductQuantityDto.cs new file mode 100644 index 0000000..6bc95ad --- /dev/null +++ b/PyroFetes/DTO/WareHouseProduct/Request/PatchWareHouseProductQuantityDto.cs @@ -0,0 +1,7 @@ +namespace PyroFetes.DTO.WareHouseProduct.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/WareHouseProduct/Request/UpdateWareHouseProductDto.cs b/PyroFetes/DTO/WareHouseProduct/Request/UpdateWareHouseProductDto.cs new file mode 100644 index 0000000..299d0c3 --- /dev/null +++ b/PyroFetes/DTO/WareHouseProduct/Request/UpdateWareHouseProductDto.cs @@ -0,0 +1,28 @@ +namespace PyroFetes.DTO.WareHouseProduct.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 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/WareHouseProduct/Response/GetWareHouseProductDto.cs b/PyroFetes/DTO/WareHouseProduct/Response/GetWareHouseProductDto.cs new file mode 100644 index 0000000..70a1e4a --- /dev/null +++ b/PyroFetes/DTO/WareHouseProduct/Response/GetWareHouseProductDto.cs @@ -0,0 +1,28 @@ +namespace PyroFetes.DTO.WareHouseProduct.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 string? ProductImage { get; set; } + public string? ProductLink { get; set; } + public int ProductMinimalQuantity { get; set; } +} \ No newline at end of file