Configuration — Paramètres système et notifications
Paramètres globaux (Setting) et configurations par service (ServiceConfig). Canaux de notification (SMS, email, push) et types de services exposés. Pour la vue d'ensemble, voir Configuration — overview.
Setting
Parametres globaux cle-valeur pour toute la plateforme.
| Champ | Type | Description |
|---|---|---|
key | varchar(100) | Cle unique |
value | text | Valeur |
type | enum | string, number, boolean, json |
is_encrypted | boolean | Valeur chiffree |
ServiceConfig
Configuration specifique par microservice et par environnement.
| Champ | Type | Description |
|---|---|---|
service_name | varchar(50) | Nom du service (auth, orchestrator...) |
config_key | varchar(100) | Cle de configuration |
config_value | text | Valeur |
value_type | varchar(20) | Type de valeur |
environment | varchar(20) | Environnement (development, test, production) |
is_encrypted | boolean | Valeur chiffree |
12. Canaux de notification et types de service
NotificationChannel
Configuration des canaux de notification disponibles.
| Champ | Type | Description |
|---|---|---|
code | varchar(50) | SMS, EMAIL, PUSH, WHATSAPP, IN_APP |
name / name_fr / name_en | varchar(100) | Libelles multilingues |
channel_type | varchar(50) | OTP, MARKETING, TRANSACTIONAL, ALERT |
provider | varchar(100) | WIREPICK, MAILGUN, FIREBASE, CUSTOM |
is_default_for_otp | boolean | Canal par defaut pour les OTP |
supports_attachments | boolean | Support des pieces jointes |
config | jsonb | Configuration specifique au provider |
SystemServiceType
Types de services systeme exposes sur la plateforme.
| Champ | Type | Description |
|---|---|---|
code | varchar(50) | PAYMENT, TRANSFER, CASH_IN, CASH_OUT, BILL_PAYMENT, AIRTIME |
name / name_fr / name_en | varchar(100) | Libelles multilingues |
category | varchar(50) | PAYMENT, TRANSFER, CASH, BILL, AIRTIME, INFORMATION |
icon | varchar(255) | URL de l'icone |
display_order | integer | Ordre d'affichage dans l'app |