32 lines
803 B
C#
32 lines
803 B
C#
using System.Diagnostics;
|
|
using System.Runtime.Serialization;
|
|
|
|
namespace BS.Shared.DataContracts
|
|
{
|
|
[DataContract]
|
|
[DebuggerDisplay("{ContactType}: {ContactValue}")]
|
|
|
|
public partial class ContactDC : IDataContract
|
|
{
|
|
[DataMember]
|
|
public long? ContactOID { get; set; }
|
|
|
|
[DataMember]
|
|
public ContactType ContactType { get; set; }
|
|
|
|
[DataMember]
|
|
public string ContactValue { get; set; }
|
|
|
|
[DataMember]
|
|
public long? ContactVersion { get; set; }
|
|
|
|
internal ContactDC CopyToNew()
|
|
{
|
|
return new ContactDC
|
|
{
|
|
ContactOID = this.ContactOID,
|
|
ContactValue = this.ContactValue
|
|
};
|
|
}
|
|
}
|
|
} |