<?php

declare(strict_types=1);

namespace App\Filament\Resources\ClubNews\Pages;

use App\Filament\Resources\ClubNews\ClubNewsResource;
use App\Models\Post;
use App\Support\Filament\ContentCrud\Concerns\CreatesContentRecord;
use Filament\Resources\Pages\CreateRecord;

class CreateClubNews extends CreateRecord
{
    use CreatesContentRecord;

    protected static string $resource = ClubNewsResource::class;

    protected function getContentSection(): string
    {
        return 'club_news';
    }

    protected function getContentModelClass(): string
    {
        return Post::class;
    }
}
