teacher model validations