mirror of
https://github.com/farcasclaudiu/PracticeCalendar.git
synced 2026-06-22 09:01:18 +03:00
play with storing valueobjects
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
using PracticeCalendar.Domain.ValueObjects;
|
||||
|
||||
namespace PracticeCalendar.Application.Products.Queries
|
||||
{
|
||||
public class ProductDto
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string Name { get; set; } = string.Empty;
|
||||
public string Category { get; set; } = string.Empty;
|
||||
public decimal UnitPrice { get; set; }
|
||||
public string UnitPriceCurrency { get; set; } = Price.DEFAULT_CURRENCY;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user