<?php

namespace App\Modules\HR\Contracts\Models;

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

class ContractTemplate extends Model
{
    use BelongsToTenant;

    protected $table = 'hr_contract_templates';

    protected $fillable = ['tenant_id', 'name', 'contract_type', 'body', 'is_active'];

    protected function casts(): array
    {
        return ['is_active' => 'boolean'];
    }
}
