$notifications * * @method static \Database\Factories\ApiClientFactory factory($count = null, $state = []) * * @mixin \Eloquent */ final class ApiClient extends Authenticatable { /** @use HasFactory */ use HasFactory; use HasUuids; use Notifiable; protected static function newFactory(): ApiClientFactory { return ApiClientFactory::new(); } protected $table = 'api_clients'; public $timestamps = true; /** @var list */ protected $fillable = [ 'id', 'name', 'identifier', 'secret', 'is_active', 'created_at', 'updated_at', ]; /** @var list */ protected $hidden = [ 'secret', ]; /** @return array */ #[\Override] protected function casts(): array { return [ 'id' => UuidCast::class, 'name' => ClientNameCast::class, 'identifier' => ClientIdentifierCast::class, 'secret' => ClientSecretCast::class, 'is_active' => 'boolean', 'created_at' => 'datetime', 'updated_at' => 'datetime', ]; } }