Darstellung
ExpenseSubsistenceCountry
Tabelle: lt_expense_subsistence_country
Domain: ExpenseSubsistenceCountry · 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) |
company_country_id | bigint | Nein | — | Fremdschlüssel → company country |
name | varchar(100) | Nein | — | Country name |
subsistance8h | decimal(18, 2) | Ja | 0.00 | subsistance8h |
subsistance24h | decimal(18, 2) | Ja | 0.00 | subsistance24h |
subsistance_hotel | decimal(18, 2) | Ja | 0.00 | subsistance hotel |
discount_breakfast | smallint | Ja | 0 | discount breakfast |
discount_lunch | smallint | Ja | 0 | discount lunch |
discount_dinner | smallint | Ja | 0 | discount dinner |
created_by_id | bigint | Ja | — | Angelegt von (Benutzer-ID) |
updated_by_id | bigint | Ja | — | Geändert von (Benutzer-ID) |
date_created | datetime | Ja | — | Anlagezeitpunkt |
last_updated | datetime | Ja | CURRENT_TIMESTAMP | Letzte Änderung |
Fremdschlüssel
| Spalte(n) | Referenz |
|---|---|
company_country_id | lt_country (id) |