<?php

namespace App\Modules\HR\Recruitment\Models;

use App\Modules\Admin\Tenancy\Traits\BelongsToTenant;
use Illuminate\Database\Eloquent\Model;

class RecruitmentCareerPortalSetting extends Model
{
    use BelongsToTenant;

    protected $table = 'recruitment_career_portal_settings';

    protected $fillable = [
        'tenant_id',
        'is_enabled',
        'portal_title',
        'portal_subtitle',
        'about_text',
        'contact_email',
        'contact_phone',
        'seo_title',
        'seo_description',
        'seo_keywords',
        'recaptcha_enabled',
    ];

    protected function casts(): array
    {
        return [
            'is_enabled' => 'boolean',
            'recaptcha_enabled' => 'boolean',
        ];
    }
}
