<?php

namespace App\Modules\HR\Performance\Models;

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

class PerformanceCycle extends Model
{
    use BelongsToTenant;

    protected $table = 'hr_performance_cycles';

    protected $guarded = ['id'];

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