using BS.Shared; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BeWo.Data.Entities { public class ContactHistory : BeWoEntityBase { private StatementType _ChangeType; private long? _Contact_Oid; private long? _Contact_Organisation2PersonOid; private long? _Contact_PersonOid; private long? _Contact_InvoiceBaseSenderOid; private long? _Contact_OrganisationOid; private long? _Contact_InvoiceBaseRecipientOid; private TableID _Contact_Tid; private ContactType _Contact_Type; private string _Contact_Value; private string _Contact_Notice; private DateTime? _Contact_InsTs; private string _Contact_InsUser; private long? _Contact_Version; private string _Contact_UdpUser; private ActivationTypeId _Contact_IsActive; private SystemEntryID? _Contact_SystemEntryID; public ContactHistory() { _Tid = TableID.ContactHistory; } public virtual StatementType ChangeType { get { return _ChangeType; } set { if (AreDifferent(_ChangeType, value)) { _ChangeType = value; } } } public virtual long? Contact_Oid { get { return _Contact_Oid; } set { if (AreDifferent(_Contact_Oid, value)) { _Contact_Oid = value; } } } public virtual long? Contact_Organisation2PersonOid { get { return _Contact_Organisation2PersonOid; } set { if (AreDifferent(_Contact_Organisation2PersonOid, value)) { _Contact_Organisation2PersonOid = value; } } } public virtual long? Contact_PersonOid { get { return _Contact_PersonOid; } set { if (AreDifferent(_Contact_PersonOid, value)) { _Contact_PersonOid = value; } } } public virtual long? Contact_InvoiceBaseSenderOid { get { return _Contact_InvoiceBaseSenderOid; } set { if (AreDifferent(_Contact_InvoiceBaseSenderOid, value)) { _Contact_InvoiceBaseSenderOid = value; } } } public virtual long? Contact_OrganisationOid { get { return _Contact_OrganisationOid; } set { if (AreDifferent(_Contact_OrganisationOid, value)) { _Contact_OrganisationOid = value; } } } public virtual long? Contact_InvoiceBaseRecipientOid { get { return _Contact_InvoiceBaseRecipientOid; } set { if (AreDifferent(_Contact_InvoiceBaseRecipientOid, value)) { _Contact_InvoiceBaseRecipientOid = value; } } } public virtual TableID Contact_Tid { get { return _Contact_Tid; } set { if (AreDifferent(_Contact_Tid, value)) { _Contact_Tid = value; } } } public virtual ContactType Contact_Type { get { return _Contact_Type; } set { if (AreDifferent(_Contact_Type, value)) { _Contact_Type = value; } } } public virtual string Contact_Value { get { return _Contact_Value; } set { if (AreDifferent(_Contact_Value, value)) { _Contact_Value = value; } } } public virtual string Contact_Notice { get { return _Contact_Notice; } set { if (AreDifferent(_Contact_Notice, value)) { _Contact_Notice = value; } } } public virtual DateTime? Contact_InsTs { get { return _Contact_InsTs; } set { if (AreDifferent(_Contact_InsTs, value)) { _Contact_InsTs = value; } } } public virtual string Contact_InsUser { get { return _Contact_InsUser; } set { if (AreDifferent(_Contact_InsUser, value)) { _Contact_InsUser = value; } } } public virtual long? Contact_Version { get { return _Contact_Version; } set { if (AreDifferent(_Contact_Version, value)) { _Contact_Version = value; } } } public virtual string Contact_UdpUser { get { return _Contact_UdpUser; } set { if (AreDifferent(_Contact_UdpUser, value)) { _Contact_UdpUser = value; } } } public virtual ActivationTypeId Contact_IsActive { get { return _Contact_IsActive; } set { if (AreDifferent(_Contact_IsActive, value)) { _Contact_IsActive = value; } } } public virtual SystemEntryID? Contact_SystemEntryID { get { return _Contact_SystemEntryID; } set { if (AreDifferent(_Contact_SystemEntryID, value)) { _Contact_SystemEntryID = value; } } } } }