Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Ingredient : BaseEntity
- {
- public string Name { get; set; }
- public int Amount { get; set; }
- [ForeignKey("Recipe")]
- public int RecipeId { get; set; }
- public Recipe Recipe { get; set; }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement