Update model.php

Add method setPropertiesWithAssoc()