Files
BeWoPlaner/Model/Changes_2024_09_23 Customer Wohnhilfe.txt

70 lines
2.5 KiB
Plaintext
Raw Permalink Normal View History

2025-07-11 18:48:37 +02:00
CREATE TABLE IF NOT EXISTS `CustomerWohnhilfe` (
2024-09-23 18:14:35 +02:00
`Oid` bigint NOT NULL AUTO_INCREMENT,
`InsTs` datetime DEFAULT NULL,
`InsUser` varchar(256) DEFAULT NULL,
`Notice` varchar(1024) DEFAULT NULL,
`Tid` int DEFAULT NULL,
`UdpUser` varchar(256) DEFAULT NULL,
`Version` bigint DEFAULT NULL,
`IsActive` tinyint DEFAULT NULL,
`SystemEntryID` int DEFAULT NULL,
`CustomerOid` bigint NOT NULL,
`Displayname` varchar(256) DEFAULT NULL,
`Verbandszugehorigkeit` tinyint DEFAULT NULL,
`Geschlecht` tinyint DEFAULT NULL,
`AlterAmStichtag` int DEFAULT NULL,
`Haushaltsgrosse` int DEFAULT NULL,
`BerichtseinheitID` varchar(256),
`Unterbringungsart` tinyint DEFAULT NULL,
`OrtDerEinrichtung` int DEFAULT NULL,
`Angebot` tinyint DEFAULT NULL,
`BeginnEinkommenssituation` tinyint,
`EndeEinkommenssituation` tinyint,
`BeginnAufstockungEinkommen` tinyint,
`EndeAufstockungEinkommen` tinyint,
`BeginnEigenesBankkonto` tinyint,
`EndeEigenesBankkonto` tinyint,
`Uberschuldung` tinyint,
`Berufsabschluss` tinyint,
`ErwerbsfahigkeitSinnSGB` tinyint,
`BeginnBeschaftigungsstatus` tinyint,
`EndeBeschaftigungsstatus` tinyint,
`DauerArbeitslosigkeit` tinyint,
`BeginnSozialeKontakte` tinyint,
`BeginnKontaktPartner` tinyint,
`BeginnKontaktMindKinder` tinyint,
`BeginnKontaktVolljahrKinderElternVerwandten` tinyint,
`BeginnKontaktFreundenBekannten` tinyint,
`BeginnKontaktSelbsthilfe` tinyint,
`BeginnKontaktSonstige` tinyint,
`EndeSozialeKontakte` tinyint,
`EndeKontaktPartner` tinyint,
`EndeKontaktMindKinder` tinyint,
`EndeKontaktVolljahrKinderElternVerwandten` tinyint,
`EndeKontaktFreundenBekannten` tinyint,
`EndeKontaktSelbsthilfe` tinyint,
`EndeKontaktSonstige` tinyint,
`BeginnKrankenversicherung` tinyint,
`EndeKrankenversicherung` tinyint,
`BeginnKontaktArzt` tinyint,
`EndeKontaktArzt` tinyint,
`VorlageSchwerbehindertenausweises` tinyint,
`Bundesland` tinyint DEFAULT NULL,
`IsWohnungslosenhilfe` tinyint,
`ArtDesHilfeangebots` tinyint,
`Betreuungsbeginn` datetime DEFAULT NULL,
`Betreuungsende` datetime DEFAULT NULL,
`BetreuungsdauerInTagen` int DEFAULT NULL,
`ArtDerBeendigung` tinyint,
`Geburtsdatum` datetime DEFAULT NULL,
`Geschlechtidentitat` tinyint,
`Staatsangehorigkeit` SMALLINT DEFAULT NULL,
`Aufenthaltsstatus` tinyint,
`Migrationshintergrund` tinyint,
`HochsterSchulabschluss` tinyint,
`Familienstand` tinyint,
`Haushaltsstruktur` tinyint,
`EigeneMindKinderAuserhalbHaushaltsstruktur` tinyint,
PRIMARY KEY (`Oid`),
CONSTRAINT `FK_CUSTOMERWOHNHILFE_CUSTOMER` FOREIGN KEY (`CustomerOid`) REFERENCES `customer` (`Oid`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=latin1;