This commit is contained in:
34
api/app/Models/ExameImagem/Parametrizacao/Ocupacao.php
Normal file
34
api/app/Models/ExameImagem/Parametrizacao/Ocupacao.php
Normal file
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models\ExameImagem\Parametrizacao;
|
||||
|
||||
use App\Models\Sigtap\Ocupacao as SigtapOcupacao;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
|
||||
class Ocupacao extends Model
|
||||
{
|
||||
use SoftDeletes;
|
||||
|
||||
protected $table = 'exame_imagem_parametrizacao_ocupacao';
|
||||
|
||||
protected $fillable = [
|
||||
'ocupacao_id',
|
||||
];
|
||||
|
||||
protected $hidden = [
|
||||
'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 ocupacao()
|
||||
{
|
||||
return $this->belongsTo(SigtapOcupacao::class);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user