unsa-pis-be/app/Models/Responsables.php
2022-07-27 00:42:33 -05:00

23 lines
436 B
PHP

<?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');
}
}