<?php

declare(strict_types=1);

namespace WorkforceOS\Services;

final class EmployeeService
{
    public function list(array $tenant): array
    {
        return [
            'tenant_id' => $tenant['id'],
            'data' => [
                [
                    'id' => 1001,
                    'employee_code' => 'EMP-1001',
                    'name' => 'Nusrat Jahan',
                    'designation' => 'HR Manager',
                    'department' => 'Human Resources',
                    'branch' => 'Head Office',
                    'rfid_card_no' => 'RF-889120',
                    'fingerprint_id' => 'FP-1001',
                    'face_id' => 'FC-1001',
                    'salary_type' => 'monthly',
                    'status' => 'active',
                ],
                [
                    'id' => 1007,
                    'employee_code' => 'EMP-1007',
                    'name' => 'Rafiq Hasan',
                    'designation' => 'Line Manager',
                    'department' => 'Production',
                    'branch' => 'Gazipur Plant',
                    'rfid_card_no' => 'RF-889146',
                    'fingerprint_id' => 'FP-1007',
                    'face_id' => 'FC-1007',
                    'salary_type' => 'monthly',
                    'status' => 'active',
                ],
            ],
            'meta' => [
                'supports' => ['photo', 'signature', 'documents', 'bank_info', 'emergency_contact', 'transfers'],
            ],
        ];
    }
}
