<?php

namespace Modules\VetClinic\Entities;

use Illuminate\Database\Eloquent\Model;

class VcRoleLandingPage extends Model
{
    protected $table = 'vc_role_landing_pages';
    protected $guarded = ['id'];

    /**
     * Built-in landing-page presets shown in the picker. Free URLs are also
     * accepted (anything not in this list is treated as a custom URL).
     */
    public static function presets(): array
    {
        return [
            '/home'                              => 'Main ERP dashboard',
            '/vet-clinic'                        => 'Vet Clinic dashboard',
            '/vet-clinic/appointments'           => 'Vet Clinic — Appointments list',
            '/vet-clinic/appointments/calendar'  => 'Vet Clinic — Appointments calendar',
            '/vet-clinic/pet-owners'             => 'Vet Clinic — Pet Owners',
            '/vet-clinic/pets'                   => 'Vet Clinic — Pets',
            '/vet-clinic/vaccinations'           => 'Vet Clinic — Vaccinations',
            '/vet-clinic/prescriptions'          => 'Vet Clinic — Prescriptions',
            '/vet-clinic/reports'                => 'Vet Clinic — Reports',
            '/pos/create'                        => 'POS — New sale',
        ];
    }
}
