This commit is contained in:
38
api/app/Models/ProntoAtendimento/PedidoExame/Observacao.php
Normal file
38
api/app/Models/ProntoAtendimento/PedidoExame/Observacao.php
Normal file
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models\ProntoAtendimento\PedidoExame;
|
||||
|
||||
use App\Models\Parametrizacao\Exame\Exame;
|
||||
use App\Models\Model;
|
||||
use Dyrynda\Database\Support\CascadeSoftDeletes;
|
||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
use App\Models\Parametrizacao\Exame\ExameStatus;
|
||||
|
||||
class Observacao extends Model
|
||||
{
|
||||
use SoftDeletes, CascadeSoftDeletes;
|
||||
|
||||
protected $table = 'pronto_atendimento_pedido_exame_item_observacao';
|
||||
|
||||
protected $fillable = [
|
||||
'observacao',
|
||||
'item_id'
|
||||
];
|
||||
|
||||
protected $hidden = [
|
||||
'created_at',
|
||||
'created_lotacao_id',
|
||||
'created_centro_custo_id',
|
||||
'updated_at',
|
||||
'updated_lotacao_id',
|
||||
'updated_centro_custo_id',
|
||||
'deleted_at',
|
||||
'deleted_lotacao_id',
|
||||
'deleted_centro_custo_id',
|
||||
];
|
||||
|
||||
public function pedidoExameItem()
|
||||
{
|
||||
return $this->belongsTo(Item::class);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user