Skip to content

Commit

Permalink
feat: Add ProductCreateDto to ProductDto.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
geraldmaale committed Mar 16, 2024
1 parent b0ba58a commit 0b06369
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Web/DTOs/ProductDto.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,10 @@ public sealed class ProductDto
public decimal Price { get; set; }
}

public sealed class ProductCreateDto
{
public string? Name { get; set; }
public decimal Price { get; set; }
public string? SKU { get; set; }

}

0 comments on commit 0b06369

Please sign in to comment.