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

43 lines
830 B
PHP

<?php
namespace App\Models\Almoxarifado;
use App\Models\Cadastro\SujeitoAtencao\Usuario;
use App\Models\Model;
class SaidaBaixa extends Model
{
protected $table = 'almoxarifado_saida_baixa';
protected $fillable = [
'saida_id',
'motivo_id',
'justificativa',
'usuario_solicitante_id',
];
protected $hidden = [
'created_at',
'created_lotacao_id',
'created_centro_custo_id',
'updated_at',
'updated_lotacao_id',
'updated_centro_custo_id',
];
public function saida()
{
return $this->belongsTo(Saida::class);
}
public function motivo()
{
return $this->belongsTo(MotivoBaixa::class);
}
public function usuarioSolicitante()
{
return $this->belongsTo(Usuario::class);
}
}