This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models\Farmacia\AltoCusto;
|
||||
|
||||
use App\Models\Cadastro\Estabelecimento\CentroCusto;
|
||||
use App\Models\Model;
|
||||
|
||||
class ProcessoNumeroRecebimento extends Model
|
||||
{
|
||||
protected $table = 'farmacia_alto_custo_processo_numero_recebimento';
|
||||
|
||||
protected $fillable = [
|
||||
'centro_custo_id',
|
||||
'numero',
|
||||
];
|
||||
|
||||
protected $hidden = [
|
||||
'created_at',
|
||||
'created_lotacao_id',
|
||||
'created_centro_custo_id',
|
||||
'updated_at',
|
||||
'updated_lotacao_id',
|
||||
'updated_centro_custo_id',
|
||||
];
|
||||
|
||||
public function centroCusto()
|
||||
{
|
||||
return $this->belongsTo(CentroCusto::class);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user