0
0
MyDarling/Models/Figure.cs

16 lines
414 B
C#
Raw Normal View History

2023-01-31 15:55:44 +03:00
namespace MyDarling.Models
{
2023-06-03 07:41:46 +03:00
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;
}
}
2023-01-31 15:55:44 +03:00
}