15 lines
374 B
C#
15 lines
374 B
C#
|
namespace MyDarling.Models
|
||
|
{
|
||
|
public class Product
|
||
|
{
|
||
|
public string Id { get; set; }
|
||
|
public string Name { get; set; } = string.Empty;
|
||
|
public List<Figure> Figures { get; set; } = new List<Figure>();
|
||
|
public string Description { get; set; } = string.Empty;
|
||
|
public decimal Price { get; set; } = 1000M;
|
||
|
public Product()
|
||
|
{
|
||
|
Id = Guid.NewGuid().ToString();
|
||
|
}
|
||
|
}
|
||
|
}
|