148 lines
3.6 KiB
C#
148 lines
3.6 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using BS.Shared;
|
|
|
|
namespace BeWo.Data.Entities
|
|
{
|
|
public class SignatureHistory : BeWoEntityBase
|
|
{
|
|
private long? _CustomerOid;
|
|
private long? _EmployeeOid;
|
|
private long? _SignatureOid;
|
|
private SignatureTable _SignatureType;
|
|
private long? _BargeldtransaktionsOid;
|
|
private IList<long> _ServiceRecordOidList;
|
|
private DateTime? _TimeSpanStart;
|
|
private DateTime? _TimeSpanEnd;
|
|
private DateTime? _SignatureInsTs;
|
|
private SignatureEventType _SignatureEventType;
|
|
|
|
public SignatureHistory()
|
|
{
|
|
_Tid = TableID.SignatureHistory;
|
|
}
|
|
|
|
public virtual long? CustomerOid
|
|
{
|
|
get => _CustomerOid;
|
|
set
|
|
{
|
|
if(AreDifferent(_CustomerOid, value))
|
|
{
|
|
_CustomerOid = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
public virtual long? EmployeeOid
|
|
{
|
|
get => _EmployeeOid;
|
|
set
|
|
{
|
|
if(AreDifferent(_EmployeeOid, value))
|
|
{
|
|
_EmployeeOid = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
public virtual long? SignatureOid
|
|
{
|
|
get => _SignatureOid;
|
|
set
|
|
{
|
|
if(AreDifferent(_SignatureOid, value))
|
|
{
|
|
_SignatureOid = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
public virtual SignatureTable SignatureType
|
|
{
|
|
get => _SignatureType;
|
|
set
|
|
{
|
|
if(AreDifferent(_SignatureType, value))
|
|
{
|
|
_SignatureType = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
public virtual long? BargeldtransaktionsOid
|
|
{
|
|
get => _BargeldtransaktionsOid;
|
|
set
|
|
{
|
|
if(AreDifferent(_BargeldtransaktionsOid, value))
|
|
{
|
|
_BargeldtransaktionsOid = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
public virtual IList<long> ServiceRecordOidList
|
|
{
|
|
get => _ServiceRecordOidList;
|
|
set
|
|
{
|
|
if(AreDifferent(_ServiceRecordOidList, value))
|
|
{
|
|
_ServiceRecordOidList = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
public virtual DateTime? TimeSpanStart
|
|
{
|
|
get => _TimeSpanStart;
|
|
set
|
|
{
|
|
if(AreDifferent(_TimeSpanStart, value))
|
|
{
|
|
_TimeSpanStart = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
public virtual DateTime? TimeSpanEnd
|
|
{
|
|
get => _TimeSpanEnd;
|
|
set
|
|
{
|
|
if(AreDifferent(_TimeSpanEnd, value))
|
|
{
|
|
_TimeSpanEnd = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
public virtual DateTime? SignatureInsTs
|
|
{
|
|
get => _SignatureInsTs;
|
|
set
|
|
{
|
|
if(AreDifferent(_SignatureInsTs, value))
|
|
{
|
|
_SignatureInsTs = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
public virtual SignatureEventType SignatureEventType
|
|
{
|
|
get => _SignatureEventType;
|
|
set
|
|
{
|
|
if(AreDifferent(_SignatureEventType, value))
|
|
{
|
|
_SignatureEventType = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
public virtual string DataBild { get; set; }
|
|
}
|
|
}
|