3900-MyRecipes-backup / Shared / RecipeDto.cs
RecipeDto.cs
Raw
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyRecipes2.Shared
{
    public class RecipeDto
    {
        public int Id { get; set; }

        public string Name { get; set; }

        public List<string> Method { get; set; }

        public DateTime CreatedDateTime { get; set; }

        public string Author { get; set; }

        public string Author_id { get; set; }

        public string AuthorImageUrl { get; set; }

        public string Calories { get; set; }

        public List<IngredientDto> Ingredients { get; set; }

        public int Likes { get; set; }

        public double Estimated_Cost { get; set; }

        public List<CommentDto> Comments { get; set; }

        public List<MealTypeDto> MealTypes { get; set; }

        public string ImageUrl { get; set; }

        public int? ImageId { get; set; }

        public DateTime LastModified { get; set; }
    }
}