unsa-pis-be/app/Models/Acta.php
2022-12-17 13:30:20 -05:00

24 lines
424 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Acta extends Model
{
use HasFactory;
public $timestamps = true;
protected $table = 'actas';
protected $fillable = [
'descripcion',
'fecha'
];
public function estandar()
{
return $this->belongsTo(Estandar::class, 'id_estandar');
}
}