unsa-pis-be/app/Models/Responsables.php

23 lines
436 B
PHP
Raw Normal View History

2022-07-27 05:42:33 +00:00
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Responsables extends Model
{
use HasFactory;
public $timestamps = false;
protected $table ='responsables';
protected $fillable = [
'nombre',
];
public function responsablesplanesmejora(){
return $this->hasmany(ResponsablesPlanesMejora::class,'id');
}
}