How to compensate for layoffs of listed companies

Legal subjectivity:

Company layoffs are generally compensated according to the actual working years of employees and the average salary in the twelve months before the termination of the labor contract. The company pays one month's salary every year as economic compensation for legal layoffs, and double the economic compensation for illegal layoffs.