The bare minimum would look something like https://employment-social-affairs.ec.europa.eu/policies-and-activities/rights-work/labour-law/employee-involvement/collective-redundancies_en
Is it childish to think that companies that are profitable should not be able to get rid of their employees for no reason?