feat: implement synchronization and UI display for application configuration links via new AppConfig entity

This commit is contained in:
Jhony Cesar
2026-08-06 17:04:20 -04:00
parent 8f557b0581
commit aaa5871292
13 changed files with 570 additions and 11 deletions

View File

@@ -171,6 +171,15 @@ Gerencia o nível de acesso e permissões das contas de usuário autenticadas no
| `nivelAcesso` | `String` | - | Permissão: `"ADMIN"`, `"ENCO"` ou `"VISUALIZADOR"`. |
| `lastUpdated` | `Long` | - | Timestamp da atualização de acesso. |
### 3.7. Entidade: `AppConfig` (Tabela: `app_config`)
Armazena configurações globais, links úteis e versão da base de dados (`database_epoch`) lidos da aba `config` da planilha online Google Sheets.
| Campo | Tipo | Chave | Descrição |
| :--- | :--- | :--- | :--- |
| `key` | `String` | Primária | Identificador único da chave (ex: `Link1`, `DescricaoLink1`, `database_epoch`). |
| `value` | `String` | - | Valor da chave de configuração (ex: URL ou texto). |
| `description` | `String?` | - | Descrição complementar da chave de configuração. |
---
## 4. Integração Remota (Google Sheets API v4)