nuevo formulario
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class CompatibilidadDgo extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
protected $fillable = [
|
||||
'historial_id',
|
||||
'tipo_dispositivo',
|
||||
'marca_dispositivo',
|
||||
'ciudad',
|
||||
];
|
||||
|
||||
public function historial()
|
||||
{
|
||||
return $this->belongsTo(Historiale::class);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user