using System.Collections.Generic; using System.Diagnostics; using BS.Shared; namespace BeWo.Data.Entities { [DebuggerDisplay("{Name}")] public class Organisation : BeWoEntityBase { public static string PropertyName_Address = "Address"; public static string PropertyName_BankAccount = "BankAccount"; public static string PropertyName_Contacts = "Contacts"; public static string PropertyName_CostBearer = "CostBearer"; public static string PropertyName_InvoiceAddress = "InvoiceAddress"; public static string PropertyName_Name = "Name"; public static string PropertyName_Name2 = "Name2"; public static string PropertyName_DebitorNumber = "DebitorNumber"; public static string PropertyName_Organisation2PersonList = "Organisation2PersonList"; public static string PropertyName_Function = "OrganisationsFunction"; public static string PropertyName_Arbeitszeiten = "Arbeitszeiten"; public static string PropertyName_Feiertage = "Feiertage"; public static string PropertyName_Leistungserbringergruppe = nameof(Leistungserbringergruppe); public static string PropertyName_BusinessPartnerId = nameof(BusinessPartnerId); private Address _Address; private BankAccount _BankAccount; private IList _Contacts; private CostBearer _CostBearer; private Address _InvoiceAddress; private ValueListEntry _Function; private string _Name; private string _Name2; private string _DebitorNumber; private IList _Organisation2PersonList; private IList _VarFieldValueList; private IList _Arbeitszeiten; private IList _Feiertage; private string _IKKrankenkasse; private string _IKKostentrager; private string _IKDatenannahmestelle; private string _BezDatenannahmestelle; private string _Leistungserbringergruppe; private string _BusinessPartnerId; public Organisation() { this._Tid = TableID.Organisation; } public virtual Address Address { get { return this._Address; } set { if (this.AreDifferent(this._Address, value)) { this._Address = value; } } } public virtual BankAccount BankAccount { get { return this._BankAccount; } set { if (this.AreDifferent(this._BankAccount, value)) { this._BankAccount = value; } } } public virtual IList Contacts { get { return this._Contacts ?? (this._Contacts = new List()); } set { if (this.AreDifferent(this._Contacts, value)) { this._Contacts = value; } } } public virtual CostBearer CostBearer { get { return this._CostBearer; } set { if (this.AreDifferent(this._CostBearer, value)) { this._CostBearer = value; } } } public virtual Address InvoiceAddress { get { return this._InvoiceAddress; } set { if (this.AreDifferent(this._InvoiceAddress, value)) { this._InvoiceAddress = value; } } } public virtual string Name { get { return this._Name; } set { if (this.AreDifferent(this._Name, value)) { this._Name = value; } } } public virtual string Name2 { get { return this._Name2; } set { if (this.AreDifferent(this._Name2, value)) { this._Name2 = value; } } } public virtual string DebitorNumber { get { return this._DebitorNumber; } set { if (this.AreDifferent(this._DebitorNumber, value)) { this._DebitorNumber = value; } } } public virtual IList Organisation2PersonList { get { return this._Organisation2PersonList ?? (this._Organisation2PersonList = new List()); } set { if (this.AreDifferent(this._Organisation2PersonList, value)) { this._Organisation2PersonList = value; } } } public virtual IList VarFieldValueList { get { return this._VarFieldValueList ?? (this._VarFieldValueList = new List()); } set { if (this.AreDifferent(this._VarFieldValueList, value)) { this._VarFieldValueList = value; } } } public virtual ValueListEntry Function { get { return this._Function; } set { if (this.AreDifferent(this._Function, value)) { this._Function = value; } } } public virtual IList Arbeitszeiten { get { return _Arbeitszeiten ?? (_Arbeitszeiten = new List()); } set { if (AreDifferent(_Arbeitszeiten, value)) { _Arbeitszeiten = value; } } } public virtual IList Feiertage { get { return _Feiertage ?? (_Feiertage = new List()); } set { if (AreDifferent(_Feiertage, value)) { _Feiertage = value; } } } public virtual string IKKrankenkasse { get { return this._IKKrankenkasse; } set { if (this.AreDifferent(this._IKKrankenkasse, value)) { this._IKKrankenkasse = value; } } } public virtual string IKKostentrager { get { return this._IKKostentrager; } set { if (this.AreDifferent(this._IKKostentrager, value)) { this._IKKostentrager = value; } } } public virtual string IKDatenannahmestelle { get { return this._IKDatenannahmestelle; } set { if (this.AreDifferent(this._IKDatenannahmestelle, value)) { this._IKDatenannahmestelle = value; } } } public virtual string BezDatenannahmestelle { get { return this._BezDatenannahmestelle; } set { if (this.AreDifferent(this._BezDatenannahmestelle, value)) { this._BezDatenannahmestelle = value; } } } public virtual string Leistungserbringergruppe { get { return this._Leistungserbringergruppe; } set { if (this.AreDifferent(this._Leistungserbringergruppe, value)) { this._Leistungserbringergruppe = value; } } } public virtual string BusinessPartnerId { get { return this._BusinessPartnerId; } set { if (this.AreDifferent(this._BusinessPartnerId, value)) { this._BusinessPartnerId = value; } } } public virtual GkvVerfahrensstufe Verfahrensstufe { get; set; } public virtual bool GkvAusblenden { get; set; } } }