﻿using food_therapist.Entities;

namespace food_therapist.Models
{
    public class FoodCategory
    {
        public string Name { get; set; }
        public string Type { get; set; }

        public FoodCategory(Ingredient ingredient)
        {
            Name = ingredient.Name;
            Type = "ingredients";
        }

        public FoodCategory(Color color)
        {
            Name = color.Name;
            Type = "colors";
        }

        public FoodCategory(Taste taste)
        {
            Name = taste.Name;
            Type = "tastes";
        }
    }
}