<?php

namespace App\Providers;

use App\Models\Booking;
use App\Models\ClinicalHistory;
use App\Models\Company;
use App\Models\Customer;
use App\Models\Employee;
use App\Models\Service;
use App\Policies\BookingPolicy;
use App\Policies\ClinicalHistoryPolicy;
use App\Policies\CompanyPolicy;
use App\Policies\CustomerPolicy;
use App\Policies\EmployeePolicy;
use App\Policies\ServicePolicy;
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;

class AuthServiceProvider extends ServiceProvider
{
    protected $policies = [
        Company::class         => CompanyPolicy::class,
        Booking::class         => BookingPolicy::class,
        Service::class         => ServicePolicy::class,
        Employee::class        => EmployeePolicy::class,
        Customer::class        => CustomerPolicy::class,
        ClinicalHistory::class => ClinicalHistoryPolicy::class,
    ];

    public function boot(): void
    {
        $this->registerPolicies();
    }
}
