'datetime', 'updated_at' => 'datetime', 'deleted_at' => 'datetime', ]; public function getJWTIdentifier() { return $this->getKey(); } /** * Return a key value array, containing any custom claims to be added to the JWT. * * @return array */ public function getJWTCustomClaims() { return []; } public function routeNotificationForEasySms() { return $this->phone; } public function userCourses() { return $this->hasMany(UserCourses::class); } public function userWebsites() { // return $this->hasOne(Website::class,'id','website_id'); return $this->belongsTo(Website::class, 'id', 'website_id'); } }