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

24 lines
424 B
PHP
Raw Normal View History

<?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 = [
2022-12-16 11:29:23 +00:00
'descripcion',
2022-12-17 18:30:20 +00:00
'fecha'
];
public function estandar()
{
return $this->belongsTo(Estandar::class, 'id_estandar');
}
}