added some validation annotations to the model