Darstellung
WidgetType
Tabelle: lt_widget_type
Domain: WidgetType · com.reybex.domain.pms
Modul: SYS
Partner-Hinweise
- Daten liegen mandantengetrennt – bei SELECT fast immer
tenant_id = :mandantsetzen (Spalte ggf.TenantIdin älteren Tabellen). - Schreibende SQL (
INSERT/UPDATE/DELETE) nur in abgestimmten Export-/Report-Jobs (Transaktion BAS23) und nie ohne Freigabe durch reybex. - Für API-Integrationen bevorzugt die API statt direkter DB-Zugriffe.
Primärschlüssel
id
Spalten
| Spalte | SQL-Typ | NULL | Default | Beschreibung |
|---|---|---|---|---|
id | bigint auto_increment | Ja | — | Primärschlüssel (Domain: id) |
tenant_id | bigint | Ja | — | Mandanten-ID (Multi-Tenant – in Abfragen fast immer filtern) (Domain: tenantId) |
name | varchar(200) | Ja | — | Bezeichnung / Name (Domain: name) |
code | varchar(50) | Nein | — | Code / Kurzkennzeichen (Domain: code) |
type | varchar(50) | Ja | — | Domain-Feld type |
template | varchar(250) | Ja | — | Domain-Feld template |
description | mediumtext | Ja | — | Beschreibung (Domain: description) |
chart_type | varchar(100) | Ja | — | Domain-Feld chartType |
sql_query | mediumtext | Ja | — | Domain-Feld sqlQuery |
groovy_script | mediumtext | Ja | — | Domain-Feld groovyScript |
row | smallint | Ja | 0 | row |
row_number | smallint | Ja | — | row number |
col | smallint | Ja | 0 | col |
sizex | smallint | Ja | 1 | sizex |
sizey | smallint | Ja | 1 | sizey |
colors | varchar(250) | Ja | — | Domain-Feld colors |
has_menu | smallint | Ja | 0 | has menu |
create_at_init | smallint | Ja | 1 | create at init |
is_in_use | smallint | Ja | 0 | Boolean: In Use |
date_created | datetime | Ja | — | Anlagezeitpunkt |
last_updated | datetime | Ja | CURRENT_TIMESTAMP | Letzte Änderung |
created_by_id | bigint | Ja | — | Angelegt von (Benutzer-ID) |
updated_by_id | bigint | Ja | — | Geändert von (Benutzer-ID) |
is_inactive | smallint | Ja | 0 | Boolean: Inactive |
rownumber | smallint | Ja | — | rownumber |