<?php

namespace App\Modules\HR\Shifts\Models;

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

class ShiftSwapRequest extends Model
{
    use BelongsToTenant;

    protected $table = 'hr_shift_swap_requests';

    protected $guarded = ['id'];

    protected function casts(): array
    {
        return ['date' => 'date', 'reviewed_at' => 'datetime'];
    }
}
