<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Database\Eloquent\Relations\HasMany;
class Client extends Model
{
    use HasFactory, SoftDeletes;
    protected $fillable = ['type','name','document','email','phone','status'];
    public function cases(): HasMany { return $this->hasMany(CaseFile::class, 'client_id'); }
}
