blob: efb691c89f5668b8d4c94ee9c3c276c901813996 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
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();
}
}
}
|