0
0
MyDarling/Models/Figure.cs
2023-06-03 07:41:46 +03:00

16 lines
414 B
C#

namespace MyDarling.Models
{
public class Figure
{
public string Id { get; set; }
public string Description { get; set; } = string.Empty;
public string ProductId { get; set; }
public Figure(string description, string productId)
{
Id = Guid.NewGuid().ToString();
Description = description;
ProductId = productId;
}
}
}