Darstellung
Project
Tabelle: project
Domain: Project · com.reybex.domain.pms
Modul: PRM
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
idtenant_id
Spalten
| Spalte | SQL-Typ | NULL | Default | Beschreibung |
|---|---|---|---|---|
customer_id | bigint | Ja | — | Fremdschlüssel → customer |
customer_employee_id | bigint | Ja | — | Fremdschlüssel → customer employee |
main_project_id | bigint | Ja | — | Fremdschlüssel → main project |
id | bigint auto_increment | Ja | — | Primärschlüssel (Domain: id) |
project_status_id | bigint | Nein | — | Fremdschlüssel → project status |
is_activity | smallint | Ja | 0 | Domain-Feld isActivity |
start_date | datetime | Nein | — | start date |
end_date | datetime | Ja | — | Domain-Feld endDate |
planned_cost_hour | smallint | Ja | 0 | planned cost hour |
profit | smallint | Ja | 0 | Domain-Feld profit |
targets | varchar(10000) | Ja | — | Domain-Feld targets |
proposal_nr | varchar(20) | Ja | — | Domain-Feld proposalNr |
user_id | bigint | Nein | — | Fremdschlüssel → user |
title | varchar(100) | Nein | — | Domain-Feld title |
description | varchar(10000) | Ja | — | Beschreibung (Domain: description) |
project_type_id | bigint | Nein | — | Fremdschlüssel → project type |
offer_nr | varchar(20) | Ja | — | Domain-Feld offerNr |
dummy | smallint | Ja | 0 | Domain-Feld dummy |
is_fix_price | smallint | Nein | 0 | Boolean: Fix Price |
fix_price | double | Ja | 0 | Domain-Feld fixPrice |
internal | smallint | Ja | 0 | Domain-Feld internal |
is_delete | smallint | Ja | 0 | Soft-Delete (0 = aktiv, 1 = gelöscht) |
tenant_id | bigint | Nein | — | Mandanten-ID (Multi-Tenant – in Abfragen fast immer filtern) (Domain: tenantId) |
price_per_hour | double | Ja | 0 | Domain-Feld pricePerHour |
is_template | smallint | Ja | 0 | Boolean: Template |
project_number | varchar(50) | Ja | — | Domain-Feld projectNumber |
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) |
unique_name | varchar(20) | Ja | — | unique name |
is_customer_specific | smallint | Ja | 0 | Boolean: Customer Specific |
progress | smallint | Ja | 0 | progress |
is_sprint | smallint | Ja | 0 | Boolean: Sprint |
is_default_for_manager | smallint | Ja | 0 | Boolean: Default For Manager |
is_available_in_documents | smallint | Ja | 1 | Boolean: Available In Documents |
is_phase | smallint | Ja | 0 | Boolean: Phase |
wfc_tasks_auto_close | smallint | Ja | 0 | wfc tasks auto close |
sort_order | int | Ja | — | Domain-Feld sortOrder |
Fremdschlüssel
| Spalte(n) | Referenz |
|---|---|
customer_employee_id | customer_employee (id) |
main_project_id | project (id) |
project_type_id | ltt_project_type (id) |
customer_id | customer (id) |
user_id | user (id) |
project_status_id | lt_project_status (id) |
tenant_id | company (tenant_id) |