<?php import::dbModel(); import::model('UserGroup.php'); class User extends dbModel { public $email = dbModel::EMAIL; public $password = dbModel::PASSWORD; public $group = dbModel::FOREIGNKEY; protected $__foreignkeys = array('group' => 'UserGroup'); }