After the company issues a notice of dismissal, you can apply for labor arbitration and ask the company to issue a certificate to prove that their dismissal is legal.
Generally speaking, a company needs three elements to be dissolved. One is that employees' disciplinary behavior exists and can be proved. The other is that there are relevant rules and regulations to punish employees' disciplinary behavior. For example, because you endanger the interests of the company, the company can be dismissed. Third, you have approved the rules and regulations, such as signing. Or know. Usually you don't know anything about the trial unless he takes out the documents you signed. If the employer terminates the labor relationship with you or pays any economic compensation without reason, you are not at fault, and there is no situation stipulated in Article 39 of the Labor Contract Law. You can conclude that the employer's behavior is illegal to terminate the labor contract as stipulated in Article 87 of the Labor Contract Law, and should pay you compensation, that is, pay you two months' salary for every year of work.