Clean, wash and break the beans. Peel onion and garlic. Dice onion, press garlic through a garlic press. Heat oil in a large pan. Fry the minced meat until crumbly while turning. Finally fry onions and garlic briefly.
Season with salt, pepper, oregano, thyme and rosemary and deglaze with beef stock. Add the tomatoes and chop roughly. Stir in tomato paste and simmer at low to medium heat for 10-15 minutes. Stir in between. Steam beans covered in little boiling salted water for about 15 minutes. Prepare macaroni in plenty of boiling salted water according to package instructions. For the béchamel sauce, heat the fat in a pot and sauté the flour in it. Add vegetable stock and milk while stirring, bring to the boil and simmer for about 5 minutes. Season béchamel sauce with salt, pepper and nutmeg. Drain the beans. Pour the macaroni onto a sieve, rinse with cold water and drain. Layer the macaroni, beans, chopped tomato sauce and just under half of the béchamel sauce in a high casserole dish.
Add vegetable stock and milk while stirring, bring to the boil and simmer for about 5 minutes. Season béchamel sauce with salt, pepper and nutmeg. Drain the beans. Pour the macaroni onto a sieve, rinse with cold water and drain. Layer the macaroni, beans, chopped tomato sauce and just under half of the béchamel sauce in a high casserole dish. As a last layer, add macaroni and the rest of the béchamel sauce. Grate the parmesan on top. Bake in the preheated oven (electric cooker: 200 °C/ convection oven: 175 °C/ gas: level 3) for 40-45 minutes