Created
April 12, 2019 21:26
-
-
Save Rudyzio/e693be7fb2ab4875edebc1db5987685b 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 Recipe : BaseEntity | |
{ | |
public string Name { get; set; } | |
public string Description { get; set; } | |
public string ImagePath { get; set; } | |
public RecipeDifficulty Difficulty { get; set; } | |
public int Time { get; set; } | |
public IEnumerable<Ingredient> Ingredients { get; set; } | |
[ForeignKey("User")] | |
public int UserId { get; set; } | |
public User User { get; set; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment