cotizaweb/app/Models/Client.php
jesusfb 161fcee049
Some checks are pending
Deploy to EC2 cotiza / deploy (push) Waiting to run
first commit
2026-04-24 12:53:27 -07:00

25 lines
390 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Client extends Model
{
protected $fillable = [
'company_id','nombre','email','telefono','direccion'
];
public function company()
{
return $this->belongsTo(Company::class);
}
public function cotizaciones()
{
return $this->hasMany(Cotizacion::class);
}
}