Is it legal to put a clause in the contract that it ends automatically after 3 years?

Printable View