Files
BeWoPlaner/Data/Entities/ChatMessage.cs
staccatomamba d512a8f8e6 Merge branch 'master' of ssh://float.beyondsoft.de/git/beyondSoft/BeWo
# Conflicts:
#	BeWo/View/ChatView.xaml.cs
#	BeWoChatServer/Server.cs
#	BeWoOhneReports.v12.suo
#	BeWoPlanerMobil/logs/Traces.svclog
#	Service/DCEntityMapper/ChatMessageDC_ChatMessage.cs
#	Service/ServiceImplementations/OperationsServiceImp.cs
2016-09-13 11:42:30 +02:00

155 lines
3.4 KiB
C#

using BS.Shared;
using System;
namespace BeWo.Data.Entities
{
public class ChatMessage : BeWoEntityBase
{
public static string PropertyName_ChatText = "ChatText";
public static string PropertyName_Uhrzeit = "Uhrzeit";
public static string PropertyName_EmpfängerPersonOid = "EmpfängerPersonOid";
public static string PropertyName_SenderPersonOid = "SenderPersonOid";
public static string PropertyName_TeamOid = "TeamOid";
public static string PropertyName_IsDelivered = "IsDelivered";
public static string PropertyName_IstGelesen = "IstGelesen";
private byte[] _ChatText;
private DateTime _Uhrzeit;
private long? _EmpfängerPersonOid;
private long? _SenderPersonOid;
private bool _IsDelivered;
private int _IstGelesen;
private long? _TeamOid;
public ChatMessage()
{
_Tid = TableID.ChatMessage;
}
public virtual byte[] ChatText
{
get
{
return _ChatText;
}
set
{
if (this.AreDifferent(this._ChatText, value))
{
this._ChatText = value;
}
}
}
public virtual DateTime Uhrzeit
{
get
{
return this._Uhrzeit;
}
set
{
if (this.AreDifferent(this._Uhrzeit, value))
{
this._Uhrzeit = value;
}
}
}
public virtual long? EmpfängerPersonOid
{
get
{
return this._EmpfängerPersonOid;
}
set
{
if (this.AreDifferent(this._EmpfängerPersonOid, value))
{
this._EmpfängerPersonOid = value;
}
}
}
public virtual long? SenderPersonOid
{
get
{
return this._SenderPersonOid;
}
set
{
if (this.AreDifferent(this._SenderPersonOid, value))
{
this._SenderPersonOid = value;
}
}
}
public virtual bool IsDelivered
{
get
{
return _IsDelivered;
}
set
{
if (AreDifferent(_IsDelivered, value))
{
_IsDelivered = value;
}
}
}
public virtual int IstGelesen
{
get
{
return _IstGelesen;
}
set
{
if (AreDifferent(_IstGelesen, value))
{
_IstGelesen = value;
}
}
}
public virtual long? TeamOid
{
get
{
return _TeamOid;
}
set
{
if (this.AreDifferent(this._TeamOid, value))
{
this._TeamOid = value;
}
}
}
}
}