Add new Model Unit and changed some Logik to some Properties
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
namespace Francesco.Recipes.World.Models.BackendModels.Ingredient
|
||||
{
|
||||
using Francesco.Recipes.World.Models.BackendModels.Unit;
|
||||
public class Ingredient
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public string? Name { get; set; }
|
||||
public string? Unit { get; set; }
|
||||
public string Name { get; set; }
|
||||
public virtual Unit Unit { get; set; } = new();
|
||||
public int Quantity { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user