| 1 | <?php |
||
| 13 | class User extends Model implements AuthenticableContract |
||
| 14 | { |
||
| 15 | use Authenticable; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * The primary key for the model. |
||
| 19 | * |
||
| 20 | * @var string |
||
| 21 | */ |
||
| 22 | protected $primaryKey = 'Persoon.Id'; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * The attributes that should be mutated to dates. |
||
| 26 | * |
||
| 27 | * @var array |
||
| 28 | */ |
||
| 29 | protected $dates = ['Geboortedatum']; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Get the url associated with the model. |
||
| 33 | * |
||
| 34 | * @return string |
||
| 35 | */ |
||
| 36 | public function getUrl() |
||
| 40 | |||
| 41 | /** |
||
| 42 | * Get the user profile details. |
||
| 43 | * |
||
| 44 | * @return \Magister\Services\Database\Elegant\Model|static|null |
||
| 45 | */ |
||
| 46 | public static function profile() |
||
| 50 | } |
||
| 51 |