Files
Antonio Lopes dos Santos afec302c3e
All checks were successful
build-api-image / build (push) Successful in 51s
init commit
2026-08-04 16:52:02 -03:00

32 lines
526 B
PHP

<?php
namespace App\Models\Cadastro\Estabelecimento;
use App\Models\Model;
use App\Models\ProntoAtendimento\Plantao\Plantao;
class Servico extends Model
{
protected $table = 'cadastro_servico';
protected $fillable = [
'id',
'nome',
];
protected $hidden = [
'created_at',
'updated_at',
];
public function setores()
{
return $this->hasMany(Setor::class);
}
public function plantoes()
{
return $this->hasMany(Plantao::class);
}
}