'datetime', 'role' => UserRoleEnum::class ]; /** * The attributes that should be hidden for arrays. * * @var array */ protected $hidden = [ 'remember_token', 'role' => UserRoleEnum::class, ]; /** * Perform any actions required after the model boots. * * @return void */ protected static function booted() { // * EVENT CLOSURES. } }