Add new Model Unit and changed some Logik to some Properties
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
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>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user