This commit is contained in:
32
api/app/Models/Cadastro/OrigemProgramatica.php
Normal file
32
api/app/Models/Cadastro/OrigemProgramatica.php
Normal file
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models\Cadastro;
|
||||
|
||||
use App\Models\Model;
|
||||
|
||||
class OrigemProgramatica extends Model
|
||||
{
|
||||
protected $table = 'cadastro_origem_programatica';
|
||||
|
||||
protected $fillable = [
|
||||
'id',
|
||||
'programa_tipo_id',
|
||||
'fornecimento_tipo_id',
|
||||
'estrutura_apoio_id',
|
||||
'nome',
|
||||
'ativo',
|
||||
];
|
||||
|
||||
protected $casts = [
|
||||
'ativo' => 'boolean',
|
||||
];
|
||||
|
||||
protected $hidden = [
|
||||
'created_at',
|
||||
'created_lotacao_id',
|
||||
'created_centro_custo_id',
|
||||
'updated_at',
|
||||
'updated_lotacao_id',
|
||||
'updated_centro_custo_id',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user