By statute, both prenuptial and postnuptial agreements must meet the same general requirements in order to be enforceable in court.