diff --git a/PyroFetes/DTO/Price/Request/CreatePriceDto.cs b/PyroFetes/DTO/Price/Request/CreatePriceDto.cs new file mode 100644 index 0000000..f268d21 --- /dev/null +++ b/PyroFetes/DTO/Price/Request/CreatePriceDto.cs @@ -0,0 +1,27 @@ +namespace PyroFetes.DTO.Price.Request; + +public class CreatePriceDto +{ + public decimal SellingPrice { get; set; } + + public int SupplierId { get; set; } + public string? SupplierName { get; set; } + public string? SupplierEmail { get; set; } + public string? SupplierPhone { get; set; } + public string? SupplierAddress { get; set; } + public int SupplierZipCode { get; set; } + public string? SupplierCity { get; set; } + public int SupplierDeliveryDelay { 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/Price/Request/PatchPriceSellingPriceDto.cs b/PyroFetes/DTO/Price/Request/PatchPriceSellingPriceDto.cs new file mode 100644 index 0000000..5692248 --- /dev/null +++ b/PyroFetes/DTO/Price/Request/PatchPriceSellingPriceDto.cs @@ -0,0 +1,7 @@ +namespace PyroFetes.DTO.Price.Request; + +public class PatchPriceSellingPriceDto +{ + public int Id { get; set; } + public decimal SellingPrice { get; set; } +} \ No newline at end of file diff --git a/PyroFetes/DTO/Price/Request/UpdatePriceDto.cs b/PyroFetes/DTO/Price/Request/UpdatePriceDto.cs new file mode 100644 index 0000000..6f6af24 --- /dev/null +++ b/PyroFetes/DTO/Price/Request/UpdatePriceDto.cs @@ -0,0 +1,28 @@ +namespace PyroFetes.DTO.Price.Request; + +public class UpdatePriceDto +{ + public int Id { get; set; } + public decimal SellingPrice { get; set; } + + public int SupplierId { get; set; } + public string? SupplierName { get; set; } + public string? SupplierEmail { get; set; } + public string? SupplierPhone { get; set; } + public string? SupplierAddress { get; set; } + public int SupplierZipCode { get; set; } + public string? SupplierCity { get; set; } + public int SupplierDeliveryDelay { 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/Price/Response/GetPriceDto.cs b/PyroFetes/DTO/Price/Response/GetPriceDto.cs new file mode 100644 index 0000000..81a8f07 --- /dev/null +++ b/PyroFetes/DTO/Price/Response/GetPriceDto.cs @@ -0,0 +1,28 @@ +namespace PyroFetes.DTO.Price.Response; + +public class GetPriceDto +{ + public int Id { get; set; } + public decimal SellingPrice { get; set; } + + public int SupplierId { get; set; } + public string? SupplierName { get; set; } + public string? SupplierEmail { get; set; } + public string? SupplierPhone { get; set; } + public string? SupplierAddress { get; set; } + public int SupplierZipCode { get; set; } + public string? SupplierCity { get; set; } + public int SupplierDeliveryDelay { 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