validation Model class