Created
April 12, 2019 21:24
-
-
Save Rudyzio/0fd6fcb1e86423c99a4cb946ce06ae7c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment