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