<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class AttendanceLog extends Model
{
    protected $fillable = [
        'tenant_id', 'device_id', 'employee_id', 'punch_type', 'verify_mode', 'punched_at',
        'raw_payload', 'source', 'processed_at',
    ];

    protected $casts = [
        'punched_at' => 'datetime',
        'processed_at' => 'datetime',
        'raw_payload' => 'array',
    ];
}
