357 lines
8.6 KiB
C#
357 lines
8.6 KiB
C#
using System.Collections.Generic;
|
|
|
|
using BS.Shared;
|
|
|
|
namespace BeWo.Data.Entities
|
|
{
|
|
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<Contact> _Contacts;
|
|
|
|
private CostBearer _CostBearer;
|
|
|
|
private Address _InvoiceAddress;
|
|
|
|
private ValueListEntry _Function;
|
|
|
|
private string _Name;
|
|
|
|
private string _Name2;
|
|
|
|
private string _DebitorNumber;
|
|
|
|
private IList<Organisation2Person> _Organisation2PersonList;
|
|
|
|
private IList<VarFieldValue> _VarFieldValueList;
|
|
|
|
private IList<Arbeitszeit> _Arbeitszeiten;
|
|
|
|
private IList<Feiertag> _Feiertage;
|
|
|
|
private string _IKKrankenkasse;
|
|
|
|
private string _IKKostentrager;
|
|
|
|
private string _IKDatenannahmestelle;
|
|
|
|
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<Contact> Contacts
|
|
{
|
|
get
|
|
{
|
|
return this._Contacts ?? (this._Contacts = new List<Contact>());
|
|
}
|
|
|
|
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<Organisation2Person> Organisation2PersonList
|
|
{
|
|
get { return this._Organisation2PersonList ?? (this._Organisation2PersonList = new List<Organisation2Person>()); }
|
|
|
|
set
|
|
{
|
|
if (this.AreDifferent(this._Organisation2PersonList, value))
|
|
{
|
|
this._Organisation2PersonList = value;
|
|
}
|
|
}
|
|
}
|
|
public virtual IList<VarFieldValue> VarFieldValueList
|
|
{
|
|
get
|
|
{
|
|
return this._VarFieldValueList ?? (this._VarFieldValueList = new List<VarFieldValue>());
|
|
}
|
|
|
|
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<Arbeitszeit> Arbeitszeiten
|
|
{
|
|
get { return _Arbeitszeiten ?? (_Arbeitszeiten = new List<Arbeitszeit>()); }
|
|
|
|
set
|
|
{
|
|
if (AreDifferent(_Arbeitszeiten, value))
|
|
{
|
|
_Arbeitszeiten = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
public virtual IList<Feiertag> Feiertage
|
|
{
|
|
get { return _Feiertage ?? (_Feiertage = new List<Feiertag>()); }
|
|
|
|
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 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; }
|
|
}
|
|
} |