Files
BeWoPlaner/Data/Entities/Customer2Person.cs
Christian 710e647671 Merge branch 'master' of ssh://float.beyondsoft.de/git/beyondSoft/BeWo
# Conflicts:
#	BeWo/View/Navigation/SupportConceptNavigationView.xaml.cs
2017-11-23 10:58:07 +01:00

101 lines
2.3 KiB
C#

using System.Collections.Generic;
using BS.Shared;
namespace BeWo.Data.Entities
{
public class Customer2Person : BeWoEntityBase
{
public static string PropertyName_Person = "Person";
public static string PropertyName_Organisation = "Organisation";
public static string PropertyName_Type = "Type";
public static string PropertyName_ValueList = "ValueList";
public static string PropertyName_IstFamilie = "IstFamilie";
private Person _Person;
private Organisation _Organisation;
private IList<ValueListEntry2Object> _ValueList;
private bool _IstFamilie;
public Customer2Person()
{
this._Tid = TableID.Customer2Person;
}
public virtual Person Person
{
get
{
return this._Person;
}
set
{
if (this.AreDifferent(this._Person, value))
{
this._Person = value;
}
}
}
public virtual Organisation Organisation
{
get
{
return this._Organisation;
}
set
{
if (this.AreDifferent(this._Organisation, value))
{
this._Organisation = value;
}
}
}
public virtual IList<ValueListEntry2Object> ValueList
{
get
{
return this._ValueList ?? (this._ValueList = new List<ValueListEntry2Object>());
}
set
{
if (this.AreDifferent(this._ValueList, value))
{
this._ValueList = value;
}
}
}
public virtual bool IstFamilie
{
get
{
return this._IstFamilie;
}
set
{
if (this.AreDifferent(this._IstFamilie, value))
{
this._IstFamilie = value;
}
}
}
public virtual long CustomerOid { get; set; }
}
}