Clean the vegetables. Cut the potatoes, aubergine, courgettes, and tomatoes into slices. Peel and chop the onion.
Boil the potato slices in cold salted water and bring to the boil. As soon as it boils, drain the potatoes and leave to drain.
Peel and crush the garlic. Mix the cream with the garlic, salt, and pepper.
Butter an ovenproof dish and arrange the potatoes in it. Pour the cream over them.
Briefly fry the courgettes and aubergine in olive oil. Season with salt and pepper. Layer them over the potatoes.
Cook the onion in olive oil until translucent. Add the minced meat and fry until cooked. Spread the meat over the vegetables.
For the bechamel sauce, melt the butter in a pan, then add dd the flour and heat for 1 minute. Stir in the milk a little at a time and let it boil for a while. Stir in the tomato puree. Season to taste with salt and pepper.
Spoon the sauce over the meat. Place tomato slices on top and sprinkle with rosemary and feta cheese. Cook in the oven for 30–35 minutes.