3900-MyRecipes-backup / Server / Models / Recipe.cs
Recipe.cs
Raw
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;

namespace MyRecipes2.Server.Models
{
    public class Recipe
    {
        public int Id { get; set; }
       
        public string Name { get; set; }

        public IList<MethodStep> Method { get; set; }

        public DateTime CreatedDateTime { get; set; }

        public ApplicationUser CreatedBy { get; set; }

        public IList<Ingredient> Ingredients { get; set; }

        public Image Image { get; set; }

        public double Estimated_Cost { get; set; }

        public IList<Comment> Comments { get; set; }

        public IList<Recipe> Recommendations { get; set; }

        public IList<Like> Likes { get; set; }

        public IList<RecipeMealType> RecipeMealTypes { get; set; }

        public DateTime LastModified { get; set; }
    }
}