105 lines
2.2 KiB
C#
105 lines
2.2 KiB
C#
using System.Collections.Generic;
|
|
using BS.Shared;
|
|
|
|
namespace BeWo.Data.Entities
|
|
{
|
|
public class ConfirmationReceiptSignature : BeWoEntityBase
|
|
{
|
|
private long? _CustomerOid;
|
|
|
|
private Employee _Employee;
|
|
|
|
private IList<ServiceRecord> _ServiceRecords;
|
|
|
|
private string _SignatureImage;
|
|
|
|
private string _TimeSpanString;
|
|
|
|
|
|
public virtual Employee Employee
|
|
{
|
|
get => _Employee;
|
|
|
|
set
|
|
{
|
|
if(AreDifferent(_Employee, value))
|
|
{
|
|
_Employee = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
public virtual long? CustomerOid
|
|
{
|
|
get => _CustomerOid;
|
|
|
|
set
|
|
{
|
|
if(AreDifferent(_CustomerOid, value))
|
|
{
|
|
_CustomerOid = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
public virtual IList<ServiceRecord> ServiceRecords
|
|
{
|
|
get => _ServiceRecords;
|
|
|
|
set
|
|
{
|
|
if(AreDifferent(_ServiceRecords, value))
|
|
{
|
|
_ServiceRecords = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
public virtual string SignatureImage
|
|
{
|
|
get => _SignatureImage;
|
|
|
|
set
|
|
{
|
|
if(AreDifferent(_SignatureImage, value))
|
|
{
|
|
_SignatureImage = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
public ConfirmationReceiptSignature()
|
|
{
|
|
_Tid = TableID.ConfirmationReceiptSignature;
|
|
}
|
|
|
|
private SignatureType _SignatureType;
|
|
|
|
public virtual SignatureType SignatureType
|
|
{
|
|
get => _SignatureType;
|
|
|
|
set
|
|
{
|
|
if(AreDifferent(_SignatureType, value))
|
|
{
|
|
_SignatureType = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
public virtual string TimeSpanString
|
|
{
|
|
get => _TimeSpanString;
|
|
|
|
set
|
|
{
|
|
if(AreDifferent(_TimeSpanString, value))
|
|
{
|
|
_TimeSpanString = value;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|