101 lines
2.3 KiB
C#
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; }
|
|
|
|
}
|
|
} |