created product's endpoints

This commit is contained in:
2025-11-07 17:41:50 +01:00
parent f8b3c51435
commit 97a7c6811c
7 changed files with 187 additions and 3 deletions

View File

@@ -2,7 +2,7 @@ namespace PyroFetes.DTO.Product.Request;
public class CreateProductDto
{
public int References { get; set; }
public string? References { get; set; }
public string? Name { get; set; }
public decimal Duration {get; set;}
public decimal Caliber { get; set; }

View File

@@ -3,7 +3,7 @@ namespace PyroFetes.DTO.Product.Request;
public class UpdateProductDto
{
public int Id { get; set; }
public int References { get; set; }
public string? References { get; set; }
public string? Name { get; set; }
public decimal Duration {get; set;}
public decimal Caliber { get; set; }

View File

@@ -3,7 +3,7 @@ namespace PyroFetes.DTO.Product.Response;
public class GetProductDto
{
public int Id { get; set; }
public int References { get; set; }
public string? References { get; set; }
public string? Name { get; set; }
public decimal Duration {get; set;}
public decimal Caliber { get; set; }