Update model.php

Change private cxn property to protected so it can be extended