This commit is contained in:
27
api/app/Models/ExameImagem/Jornada/SemanaJornada.php
Normal file
27
api/app/Models/ExameImagem/Jornada/SemanaJornada.php
Normal file
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models\ExameImagem\Jornada;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
|
||||
class SemanaJornada extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
protected $table = 'exame_imagem_jornada_semana';
|
||||
|
||||
protected $fillable = [
|
||||
'nome'
|
||||
];
|
||||
|
||||
protected $hidden = [
|
||||
'created_at',
|
||||
'updated_at',
|
||||
];
|
||||
|
||||
public function jornadaExameImagem()
|
||||
{
|
||||
return $this->hasMany(Jornada::class);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user