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

22 lines
406 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Observaciones extends Model
{
use HasFactory;
public $timestamps = false;
protected $table ='observaciones';
protected $fillable = [
'descripcion',
];
public function plans(){
return $this->belongsTo(plan::class,'id_plan');
}
}