Cut the eggplants lengthwise, 5 mm wide. Soak in saltwater under pressure to remove the bitterness. Leave for an hour.
Remove water from eggplants, place on a paper towel.
In a preheated skillet with oil, fry the eggplants for 5 minutes on each side.
In a separate cup, combine chopped tomatoes, tomato paste, oregano, basil, garlic powder, onion powder, olive oil, and salt and pepper.
Heat oil in a frying pan over medium heat, add onion, fry until golden brown, add carrots, spinach. Fry for 5-8 minutes.
In a separate cup, combine ricotta cheese, eggs, Parmesan cheese, garlic powder, onion powder, salt.
Stir in the cooled spinach mixture and the cheese mixture. Preheat the oven to 175 degrees.
Put 1/3 part of the tomato mixture into a mold, spread a layer of eggplant (1/2 part) on top, put 1/2 part of the spinach mixture, 1/3 part of the tomato mixture, 1/2 part of eggplant, 1/2 part of cheese mixture, finish with tomato mixture and sprinkle with mozzarella cheese. Bake in the oven for 45 minutes.