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.Common;
|
||||
using PracticeCalendar.Domain.Common.Interfaces;
|
||||
using PracticeCalendar.Domain.ValueObjects;
|
||||
|
||||
namespace PracticeCalendar.Domain.Entities.Product
|
||||
{
|
||||
public class Product : EntityBase, IAggregateRoot
|
||||
{
|
||||
public string Name { get; set; } = string.Empty;
|
||||
public string Category { get; set; } = string.Empty;
|
||||
public Price UnitPrice { get; set; } = Price.Empty;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user