init commit
All checks were successful
build-api-image / build (push) Successful in 51s

This commit is contained in:
Antonio Lopes dos Santos
2026-08-04 16:52:02 -03:00
commit afec302c3e
11594 changed files with 1636728 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
<?php
namespace App\Models\Log;
use App\Models\Model;
class Acao extends Model
{
protected $table = 'log_acao';
protected $fillable = [
'id',
'operacao_id',
'namespace',
'table',
'data',
];
protected $hidden = [
'created_at',
'created_lotacao_id',
'created_centro_custo_id',
'updated_at',
'updated_lotacao_id',
'updated_centro_custo_id',
];
}

View File

@@ -0,0 +1,24 @@
<?php
namespace App\Models\Log;
use App\Models\Model;
class AcessoFuncionalidade extends Model
{
protected $table = 'log_acesso_funcionalidade';
protected $fillable = [
'id',
'funcionalidade_id',
];
protected $hidden = [
'created_at',
'created_lotacao_id',
'created_centro_custo_id',
'updated_at',
'updated_lotacao_id',
'updated_centro_custo_id',
];
}

View File

@@ -0,0 +1,32 @@
<?php
namespace App\Models\Log;
use App\Models\Cadastro\SujeitoAtencao\Usuario;
use App\Models\Model;
class AcessoSistema extends Model
{
protected $table = 'log_acesso_sistema';
protected $fillable = [
'id',
'usuario_id',
'status_id',
];
protected $hidden = [
'created_at',
'updated_at',
];
public function usuario()
{
return $this->belongsTo(Usuario::class);
}
public function status()
{
return $this->belongsTo(AcessoSistemaStatus::class);
}
}

View File

@@ -0,0 +1,20 @@
<?php
namespace App\Models\Log;
use App\Models\Model;
class AcessoSistemaStatus extends Model
{
protected $table = 'log_acesso_sistema_status';
protected $fillable = [
'id',
'nome',
];
protected $hidden = [
'created_at',
'updated_at',
];
}

View File

@@ -0,0 +1,26 @@
<?php
namespace App\Models\Log;
use App\Models\Model;
class CadastroMaterialIntegracaoBnafarMedicamento extends Model
{
protected $table = 'log_cadastro_material_integracao_bnafar_medicamento';
protected $fillable = [
'id',
'operacao_id',
'material_id',
'medicamento_id',
];
protected $hidden = [
'created_at',
'created_lotacao_id',
'created_centro_custo_id',
'updated_at',
'updated_lotacao_id',
'updated_centro_custo_id',
];
}

View File

@@ -0,0 +1,20 @@
<?php
namespace App\Models\Log;
use App\Models\Model;
class Operacao extends Model
{
protected $table = 'log_operacao';
protected $fillable = [
'id',
'nome',
];
protected $hidden = [
'created_at',
'updated_at',
];
}