It depends on the specific content of the contract. According to the law, a civil juristic act that meets the following conditions is valid: (1) the actor has corresponding capacity for civil conduct; (2) the meaning is true; (three) does not violate the mandatory provisions of laws and administrative regulations, and does not violate public order and good customs. Contracts established according to law are protected by law. A legally established contract is legally binding only on the parties, except as otherwise provided by law.
legal ground
People's Republic of China (PRC) Civil Code
Article 143 A civil juristic act that meets the following conditions is valid:
(1) The actor has corresponding capacity for civil conduct;
(2) the meaning is true;
(three) does not violate the mandatory provisions of laws and administrative regulations, and does not violate public order and good customs.