Do you have a Contract issued by your company and registered at the Labor Office? If you do, read it carefully. After this if you feel the company has wronged you, you can lodge a complain at the Labor Office and they will help you out.