unsa-pis-be/app/Models/Responsables.php
2022-08-01 23:44:21 -05:00

23 lines
435 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 = true;
protected $table ='responsables';
protected $fillable = [
'nombre',
];
public function responsablesplanesmejora(){
return $this->hasmany(ResponsablesPlanesMejora::class,'id');
}
}