A marriage contract shall be an agreement of the persons entering into marriage or an agreement of the spouses determining the property rights and duties of the spouses during the marriage and (or) in case of its dissolution.