<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class TipoCliente extends Model
{
    use HasFactory;

    protected $table = 'tipo_clientes';

    protected $fillable = [
        'name',
        'description'
    ];

    public function cliente() 
    {
        return $this->belongsTo(Cliente::class, 'type_client');
    }
}
