summaryrefslogtreecommitdiff
path: root/Models/Product.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Models/Product.cs')
-rw-r--r--Models/Product.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/Models/Product.cs b/Models/Product.cs
new file mode 100644
index 0000000..efb691c
--- /dev/null
+++ b/Models/Product.cs
@@ -0,0 +1,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();
+ }
+ }
+} \ No newline at end of file