using ApplicationCore.Entities;
using ApplicationCore.Specification.BaseSpecification;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ApplicationCore.Specification
{
    public class MedicineIngredientSpecification : BaseSpecification<Medicine>
    {

        public MedicineIngredientSpecification( )
               
        {
            AddInclude(p => p.MedicineIngredients);
            AddInclude(p => p.Category);
            AddInclude(p => p.MedicineType);
            AddInclude(p => p.Patients);
            AddInclude(p => p.Ingredients);

            AddThenInclude("MedicineIngredients.Ingredient");
            

        }
    }
}
