In case of prior agreement, the agreement shall be followed. If there is no prior agreement, both parties will get half and half.
Article 19 of the Marriage Law: The husband and wife may agree that the property acquired during the marriage relationship and the pre marital property shall belong to their own ownership, joint ownership or part of their own ownership or part of their joint ownership. The agreement shall be in writing. In the absence of an agreement or unclear agreement, the provisions of Articles 17 and 18 of this Law shall apply. The agreement between husband and wife on the property acquired during the period of marriage and the property before marriage shall be binding on both parties. If the husband and wife agree that the property acquired during the marriage relationship shall belong to each other, and the debt of the husband or wife to the outside world, and the third person knows the agreement, the property owned by the husband or wife shall be used to pay off.