Add validations to ticket model