Entity List null

This commit is contained in:
2024-09-25 11:02:02 +02:00
parent 5ce2cf425c
commit b9ac06c0ce

View File

@@ -8,115 +8,117 @@ namespace BeWo.Data.Entities
{
public class Customer : BeWoEntityBase
{
public static string PropertyName_AbsenceTimes = "AbsenceTimes";
public static string PropertyName_Ansprechpartner = "Ansprechpartner";
public static string PropertyName_AssessmentSheetCategoryList = "AssessmentSheetCategoryList";
public static string PropertyName_Childs = "Childs";
public static string PropertyName_Customer2CostBearerList = "Customer2CostBearerList";
public static string PropertyName_Customer2PersonList = "Customer2PersonList";
public static string PropertyName_Customer2OrganisationList = "Customer2OrganisationList";
public static string PropertyName_DebitorNumber = "DebitorNumber";
public static string PropertyName_CostCenter = "CostCenter";
public static string PropertyName_Diagnosis = "Diagnosis";
public static string PropertyName_Diagnosis2CustomerList = "Diagnosis2CustomerList";
public static string PropertyName_Employee2CustomerList = "Employee2CustomerList";
public static string PropertyName_FamilyData = "FamilyData";
public static string PropertyName_Team2CustomerList = "Team2CustomerList";
public static string PropertyName_EquityContribution = "EquityContribution";
public static string PropertyName_ICD10Diagnosis = "ICD10Diagnosis";
public static string PropertyName_IsAdvisedOrAttended = "IsAdvisedOrAttended";
public static string PropertyName_Medication = "Medication";
public static string PropertyName_Jugendamt = "Jugendamt";
public static string PropertyName_Person = "Person";
public static string PropertyName_PlacementList = "PlacementList";
public static string PropertyName_ReferenceNumber = "ReferenceNumber";
public static string PropertyName_ServiceRecordList = "ServiceRecordList";
public static string PropertyName_SupportConcepts = "SupportConcepts";
public static string PropertyName_TerminationDate = "TerminationDate";
public static string PropertyName_TerminationReason = "TerminationReason";
public static string PropertyName_ValueList = "ValueList";
public static string PropertyName_VarFieldValueList = "VarFieldValueList";
public static string PropertyName_Medikamentenverordnungslisten = "Medikamentenverordnungslisten";
public static string PropertyName_AssistanceBegin = "AssistanceBegin";
public static string PropertyName_AusstVersAmt = "AusstVersAmt";
public static string PropertyName_AusweisGueltigVon = "AusweisGueltigVon";
public static string PropertyName_AusweisGueltigBis = "AusweisGueltigBis";
public static string PropertyName_AusweisUnbefristetGueltig = "AusweisUnbefristetGueltig";
public static string PropertyName_AusweisAktenzeichen = "AusweisAktenzeichen";
public static string PropertyName_BeiblattGueltigBis = "BeiblattGueltigBis";
public static string PropertyName_GradDerBehinderung = "GradDerBehinderung";
public static string PropertyName_MerkzeichenListe = "MerkzeichenListe";
public static string PropertyName_BehinderungsartenListe = "BehinderungsartenListe";
public static string PropertyName_CustomerAlias = "CustomerAlias";
public static string PropertyName_Pflegegrad = "Pflegegrad";
public static string PropertyName_IsMigrant = "IsMigrant";
public static string PropertyName_Nationalitaet = "Nationalitaet";
public static string PropertyName_AufenthaltsStatus = "AufenthaltsStatus";
public static string PropertyName_VertretungGewuenscht = "VertretungGewuenscht";
public static string PropertyName_AbWelchemKrankheitsTag = "AbWelchemKrankheitsTag ";
public static string PropertyName_VertretungDringendErforderlich = "VertretungGewuenscht";
public static string PropertyName_Arbeitszeit = "Arbeitszeit";
public static string PropertyName_HealthInsurance = "Krankenkasse";
public static string PropertyName_InsuranceNumber = "InsuranceNumber";
public static string PropertyName_VersichertenStatus = "Versichertenstatus";
public static string PropertyName_AbsenceTimes = "AbsenceTimes";
public static string PropertyName_Ansprechpartner = "Ansprechpartner";
public static string PropertyName_AssessmentSheetCategoryList = "AssessmentSheetCategoryList";
public static string PropertyName_Childs = "Childs";
public static string PropertyName_Customer2CostBearerList = "Customer2CostBearerList";
public static string PropertyName_Customer2PersonList = "Customer2PersonList";
public static string PropertyName_Customer2OrganisationList = "Customer2OrganisationList";
public static string PropertyName_DebitorNumber = "DebitorNumber";
public static string PropertyName_CostCenter = "CostCenter";
public static string PropertyName_Diagnosis = "Diagnosis";
public static string PropertyName_Diagnosis2CustomerList = "Diagnosis2CustomerList";
public static string PropertyName_Employee2CustomerList = "Employee2CustomerList";
public static string PropertyName_FamilyData = "FamilyData";
public static string PropertyName_Team2CustomerList = "Team2CustomerList";
public static string PropertyName_EquityContribution = "EquityContribution";
public static string PropertyName_ICD10Diagnosis = "ICD10Diagnosis";
public static string PropertyName_IsAdvisedOrAttended = "IsAdvisedOrAttended";
public static string PropertyName_Medication = "Medication";
public static string PropertyName_Jugendamt = "Jugendamt";
public static string PropertyName_Person = "Person";
public static string PropertyName_PlacementList = "PlacementList";
public static string PropertyName_ReferenceNumber = "ReferenceNumber";
public static string PropertyName_ServiceRecordList = "ServiceRecordList";
public static string PropertyName_SupportConcepts = "SupportConcepts";
public static string PropertyName_TerminationDate = "TerminationDate";
public static string PropertyName_TerminationReason = "TerminationReason";
public static string PropertyName_ValueList = "ValueList";
public static string PropertyName_VarFieldValueList = "VarFieldValueList";
public static string PropertyName_Medikamentenverordnungslisten = "Medikamentenverordnungslisten";
public static string PropertyName_AssistanceBegin = "AssistanceBegin";
public static string PropertyName_AusstVersAmt = "AusstVersAmt";
public static string PropertyName_AusweisGueltigVon = "AusweisGueltigVon";
public static string PropertyName_AusweisGueltigBis = "AusweisGueltigBis";
public static string PropertyName_AusweisUnbefristetGueltig = "AusweisUnbefristetGueltig";
public static string PropertyName_AusweisAktenzeichen = "AusweisAktenzeichen";
public static string PropertyName_BeiblattGueltigBis = "BeiblattGueltigBis";
public static string PropertyName_GradDerBehinderung = "GradDerBehinderung";
public static string PropertyName_MerkzeichenListe = "MerkzeichenListe";
public static string PropertyName_BehinderungsartenListe = "BehinderungsartenListe";
public static string PropertyName_CustomerAlias = "CustomerAlias";
public static string PropertyName_Pflegegrad = "Pflegegrad";
public static string PropertyName_IsMigrant = "IsMigrant";
public static string PropertyName_Nationalitaet = "Nationalitaet";
public static string PropertyName_AufenthaltsStatus = "AufenthaltsStatus";
public static string PropertyName_VertretungGewuenscht = "VertretungGewuenscht";
public static string PropertyName_AbWelchemKrankheitsTag = "AbWelchemKrankheitsTag ";
public static string PropertyName_VertretungDringendErforderlich = "VertretungGewuenscht";
public static string PropertyName_Arbeitszeit = "Arbeitszeit";
public static string PropertyName_HealthInsurance = "Krankenkasse";
public static string PropertyName_InsuranceNumber = "InsuranceNumber";
public static string PropertyName_VersichertenStatus = "Versichertenstatus";
private IList<AbsenceTime> _AbsenceTimes;
private Person _Ansprechpartner;
private IList<AssessmentSheetCategory> _AssessmentSheetCategoryList;
private string _Childs;
private string _CostCenter;
private IList<Customer2CostBearer> _Customer2CostBearerList;
private IList<Customer2Organisation> _Customer2OrganisationList;
private IList<Customer2Person> _Customer2PersonList;
private string _DebitorNumber;
private string _Diagnosis;
private IList<Diagnosis2Customer> _Diagnosis2CustomerList;
private IList<Employee2Customer> _Employee2CustomerList;
private string _Environment;
private decimal? _EquityContribution;
private FamilyData _FamilyData;
private string _ICD10Diagnosis;
private bool? _IsAdvisedOrAttended;
private Organisation _Jugendamt;
private string _Medication;
private IList<AbsenceTime> _AbsenceTimes;
private Person _Ansprechpartner;
private IList<AssessmentSheetCategory> _AssessmentSheetCategoryList;
private string _Childs;
private string _CostCenter;
private IList<Customer2CostBearer> _Customer2CostBearerList;
private IList<Customer2Organisation> _Customer2OrganisationList;
private IList<Customer2Person> _Customer2PersonList;
private string _DebitorNumber;
private string _Diagnosis;
private IList<Diagnosis2Customer> _Diagnosis2CustomerList;
private IList<Employee2Customer> _Employee2CustomerList;
private string _Environment;
private decimal? _EquityContribution;
private FamilyData _FamilyData;
private string _ICD10Diagnosis;
private bool? _IsAdvisedOrAttended;
private Organisation _Jugendamt;
private string _Medication;
private IList<Medikamentenverordnungsliste> _Medikamentenverordnungslisten;
private Person _Person;
private IList<Placement> _PlacementList;
private string _ReferenceNumber;
private IList<ServiceRecord> _ServiceRecordList;
private IList<SupportConcept> _SupportConcepts;
private IList<Team2Customer> _Team2CustomerList;
private DateTime? _TerminationDate;
private ValueListEntry _TerminationReason;
private IList<ValueListEntry2Object> _ValueList;
private IList<VarFieldValue> _VarFieldValueList;
private DateTime? _AssistanceBegin;
private string _AusstVersAmt;
private DateTime? _AusweisGueltigVon;
private DateTime? _AusweisGueltigBis;
private bool? _AusweisUnbefristetGueltig;
private string _AusweisAktenzeichen;
private DateTime? _BeiblattGueltigBis;
private string _GradDerBehinderung;
private IList<Merkzeichen> _MerkzeichenListe;
private IList<Behinderungsart> _BehinderungsartenListe;
private string _CustomerAlias;
private Pflegegrad? _Pflegegrad;
private bool _VertretungGewuenscht;
private int _AbWelchemKrankheitsTag;
private bool _VertretungDringendErforderlich;
private IList<Arbeitszeit> _Arbeitszeit;
private SubstitutionNeed _SubstitutionNeed;
private string _HealthInsurance;
private string _InsuranceNumber;
private string _VersichertenStatus;
private Person _Person;
private IList<Placement> _PlacementList;
private string _ReferenceNumber;
private IList<ServiceRecord> _ServiceRecordList;
private IList<SupportConcept> _SupportConcepts;
private IList<Team2Customer> _Team2CustomerList;
private DateTime? _TerminationDate;
private ValueListEntry _TerminationReason;
private IList<ValueListEntry2Object> _ValueList;
private IList<VarFieldValue> _VarFieldValueList;
private DateTime? _AssistanceBegin;
private string _AusstVersAmt;
private DateTime? _AusweisGueltigVon;
private DateTime? _AusweisGueltigBis;
private bool? _AusweisUnbefristetGueltig;
private string _AusweisAktenzeichen;
private DateTime? _BeiblattGueltigBis;
private string _GradDerBehinderung;
private IList<Merkzeichen> _MerkzeichenListe;
private IList<Behinderungsart> _BehinderungsartenListe;
private string _CustomerAlias;
private Pflegegrad? _Pflegegrad;
private bool _VertretungGewuenscht;
private int _AbWelchemKrankheitsTag;
private bool _VertretungDringendErforderlich;
private IList<Arbeitszeit> _Arbeitszeit;
private SubstitutionNeed _SubstitutionNeed;
private string _HealthInsurance;
private string _InsuranceNumber;
private string _VersichertenStatus;
private IList<CustomerVermittlungArbeit> _CustomerVermittlungArbeiten;
private IList<CustomerWohnhilfe> _CustomerWohnhilfen;
public Customer()
public Customer()
{
_Tid = TableID.Customer;
}
public virtual int? DistanceInMeter { get; set; }
public virtual IList<AbsenceTime> AbsenceTimes
@@ -284,16 +286,16 @@ namespace BeWo.Data.Entities
}
}
public virtual Pflegegrad? Pflegegrad
{
get { return _Pflegegrad; }
public virtual Pflegegrad? Pflegegrad
{
get { return _Pflegegrad; }
set
{
if (AreDifferent(_Pflegegrad, value))
_Pflegegrad = value;
}
}
set
{
if (AreDifferent(_Pflegegrad, value))
_Pflegegrad = value;
}
}
public virtual IList<Team2Customer> Team2CustomerList
{
@@ -317,7 +319,7 @@ namespace BeWo.Data.Entities
}
}
}
public virtual string ICD10Diagnosis
{
get { return _ICD10Diagnosis; }
@@ -470,18 +472,18 @@ namespace BeWo.Data.Entities
}
}
public virtual DateTime? AssistanceBegin
{
get { return _AssistanceBegin; }
public virtual DateTime? AssistanceBegin
{
get { return _AssistanceBegin; }
set
{
if (AreDifferent(_AssistanceBegin, value))
{
_AssistanceBegin = value;
}
}
}
set
{
if (AreDifferent(_AssistanceBegin, value))
{
_AssistanceBegin = value;
}
}
}
public virtual ValueListEntry TerminationReason
{
@@ -541,58 +543,58 @@ namespace BeWo.Data.Entities
return lResult;
}
public virtual string AusstVersAmt
{
get { return _AusstVersAmt; }
set
{
if (AreDifferent(_AusstVersAmt, value))
{
_AusstVersAmt = value;
}
}
}
public virtual string AusstVersAmt
{
get { return _AusstVersAmt; }
public virtual DateTime? AusweisGueltigVon
{
get { return _AusweisGueltigVon; }
set
{
if (AreDifferent(_AusstVersAmt, value))
{
_AusstVersAmt = value;
}
}
}
set
{
if (AreDifferent(_AusweisGueltigVon, value))
{
_AusweisGueltigVon = value;
}
}
}
public virtual DateTime? AusweisGueltigVon
{
get { return _AusweisGueltigVon; }
public virtual DateTime? AusweisGueltigBis
{
get { return _AusweisGueltigBis; }
set
{
if (AreDifferent(_AusweisGueltigVon, value))
{
_AusweisGueltigVon = value;
}
}
}
set
{
if (AreDifferent(_AusweisGueltigBis, value))
{
_AusweisGueltigBis = value;
}
}
}
public virtual DateTime? AusweisGueltigBis
{
get { return _AusweisGueltigBis; }
public virtual bool? AusweisUnbefristetGueltig
{
get { return _AusweisUnbefristetGueltig; }
set
{
if (AreDifferent(_AusweisGueltigBis, value))
{
_AusweisGueltigBis = value;
}
}
}
set
{
if (AreDifferent(_AusweisUnbefristetGueltig, value))
{
_AusweisUnbefristetGueltig = value;
}
}
}
public virtual bool? AusweisUnbefristetGueltig
{
get { return _AusweisUnbefristetGueltig; }
set
{
if (AreDifferent(_AusweisUnbefristetGueltig, value))
{
_AusweisUnbefristetGueltig = value;
}
}
}
public virtual string AusweisAktenzeichen
{
@@ -608,134 +610,134 @@ namespace BeWo.Data.Entities
}
public virtual DateTime? BeiblattGueltigBis
{
get { return _BeiblattGueltigBis; }
{
get { return _BeiblattGueltigBis; }
set
{
if (AreDifferent(_BeiblattGueltigBis, value))
{
_BeiblattGueltigBis = value;
}
}
}
set
{
if (AreDifferent(_BeiblattGueltigBis, value))
{
_BeiblattGueltigBis = value;
}
}
}
public virtual string GradDerBehinderung
{
get { return _GradDerBehinderung; }
public virtual string GradDerBehinderung
{
get { return _GradDerBehinderung; }
set
{
if (AreDifferent(_GradDerBehinderung, value))
{
_GradDerBehinderung = value;
}
}
}
set
{
if (AreDifferent(_GradDerBehinderung, value))
{
_GradDerBehinderung = value;
}
}
}
public virtual IList<Behinderungsart> BehinderungsartenListe
{
get { return _BehinderungsartenListe; }
public virtual IList<Behinderungsart> BehinderungsartenListe
{
get { return _BehinderungsartenListe; }
set
{
if (AreDifferent(_BehinderungsartenListe, value))
{
_BehinderungsartenListe = value;
}
}
}
set
{
if (AreDifferent(_BehinderungsartenListe, value))
{
_BehinderungsartenListe = value;
}
}
}
public virtual IList<Merkzeichen> MerkzeichenListe
{
get { return _MerkzeichenListe; }
public virtual IList<Merkzeichen> MerkzeichenListe
{
get { return _MerkzeichenListe; }
set
{
if (AreDifferent(_MerkzeichenListe, value))
{
_MerkzeichenListe = value;
}
}
}
set
{
if (AreDifferent(_MerkzeichenListe, value))
{
_MerkzeichenListe = value;
}
}
}
public virtual string CustomerAlias
{
get { return _CustomerAlias; }
public virtual string CustomerAlias
{
get { return _CustomerAlias; }
set
{
if (AreDifferent(_CustomerAlias, value))
{
_CustomerAlias = value;
}
}
}
set
{
if (AreDifferent(_CustomerAlias, value))
{
_CustomerAlias = value;
}
}
}
public virtual bool VertretungGewuenscht
{
get { return _VertretungGewuenscht; }
public virtual bool VertretungGewuenscht
{
get { return _VertretungGewuenscht; }
set
{
if (AreDifferent(_VertretungGewuenscht, value))
{
_VertretungGewuenscht = value;
}
}
}
set
{
if (AreDifferent(_VertretungGewuenscht, value))
{
_VertretungGewuenscht = value;
}
}
}
public virtual bool VertretungDringendErforderlich
{
get { return _VertretungDringendErforderlich; }
public virtual bool VertretungDringendErforderlich
{
get { return _VertretungDringendErforderlich; }
set
{
if (AreDifferent(_VertretungDringendErforderlich, value))
{
_VertretungDringendErforderlich = value;
}
}
}
set
{
if (AreDifferent(_VertretungDringendErforderlich, value))
{
_VertretungDringendErforderlich = value;
}
}
}
public virtual int AbWelchemKrankheitsTag
{
get { return _AbWelchemKrankheitsTag;}
public virtual int AbWelchemKrankheitsTag
{
get { return _AbWelchemKrankheitsTag; }
set
{
if (AreDifferent(_AbWelchemKrankheitsTag, value))
{
_AbWelchemKrankheitsTag = value;
}
}
}
set
{
if (AreDifferent(_AbWelchemKrankheitsTag, value))
{
_AbWelchemKrankheitsTag = value;
}
}
}
public virtual SubstitutionNeed SubstitutionNeed
{
get => _SubstitutionNeed;
public virtual SubstitutionNeed SubstitutionNeed
{
get => _SubstitutionNeed;
set
{
if(AreDifferent(_SubstitutionNeed, value))
{
_SubstitutionNeed = value;
}
}
}
set
{
if (AreDifferent(_SubstitutionNeed, value))
{
_SubstitutionNeed = value;
}
}
}
public virtual IList<Arbeitszeit> Arbeitszeiten
{
get { return _Arbeitszeit ?? (_Arbeitszeit = new List<Arbeitszeit>()); }
public virtual IList<Arbeitszeit> Arbeitszeiten
{
get { return _Arbeitszeit ?? (_Arbeitszeit = new List<Arbeitszeit>()); }
set
{
if (AreDifferent(_Arbeitszeit, value))
{
_Arbeitszeit = value;
}
}
}
set
{
if (AreDifferent(_Arbeitszeit, value))
{
_Arbeitszeit = value;
}
}
}
public virtual string HealthInsurance
{
@@ -777,36 +779,44 @@ namespace BeWo.Data.Entities
}
public virtual bool Pflege { get; set; }
public virtual bool Toilettengang { get; set; }
public virtual bool Aggressiv { get; set; }
public virtual bool Hygienebelehrung { get; set; }
public virtual string Schutzstufe { get; set; }
public virtual bool Toilettengang { get; set; }
public virtual bool Aggressiv { get; set; }
public virtual bool Hygienebelehrung { get; set; }
public virtual string Schutzstufe { get; set; }
public virtual string Uebernahmeort { get; set; }
public virtual string Verhalten { get; set; }
public virtual string Betreuungsbedarf { get; set; }
public virtual string BemerkungenSbd { get; set; }
public virtual string TeamSimpleString
{
get
{
if (Team2CustomerList == null)
return null;
{
get
{
if (Team2CustomerList == null)
return null;
string name = "";
string name = "";
foreach (var t2c in Team2CustomerList)
{
if (name.Length > 0)
name += ", ";
name = t2c.Team.Name;
}
foreach (var t2c in Team2CustomerList)
{
if (name.Length > 0)
name += ", ";
name = t2c.Team.Name;
}
return name;
}
}
return name;
}
}
public virtual IList<CustomerVermittlungArbeit> CustomerVermittlungArbeiten { get; set; }
public virtual IList<CustomerWohnhilfe> CustomerWohnhilfen { get; set; }
public virtual IList<CustomerVermittlungArbeit> CustomerVermittlungArbeiten
{
get => _CustomerVermittlungArbeiten ?? (_CustomerVermittlungArbeiten = new List<CustomerVermittlungArbeit>());
set => _CustomerVermittlungArbeiten = value;
}
public virtual IList<CustomerWohnhilfe> CustomerWohnhilfen
{
get => _CustomerWohnhilfen ?? (_CustomerWohnhilfen = new List<CustomerWohnhilfe>());
set => _CustomerWohnhilfen = value;
}
}
}