model+migration+relations+validations