Initial Migration

This commit is contained in:
Francesco D'Amico
2025-03-05 17:29:37 +01:00
parent b06e1b27dd
commit 6affee7b8c
14 changed files with 113 additions and 12 deletions
@@ -1,11 +1,13 @@
namespace Francesco.Recipes.World.Models.BackendModels.Unit
namespace Francesco.Recipes.World.Models.BackendModels.Unit
{
using Francesco.Recipes.World.Models.BackendModels.Ingredient;
public class Unit
{
public Guid Id { get; set; }
public string Name { get; set; }
public virtual ICollection<Ingredient> Recipes { get; set; } = new List<Ingredient>();
}
public Guid Id{ get; set; }
public string Name{ get; set; }
public string Symbol { get; set; }
public virtual ICollection<Ingredient> Ingredients { get; set; } = new List<Ingredient>();
}
}