52 lines
1.9 KiB
C#
52 lines
1.9 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using BeWoPlanerMobil.Util.ReportUtils;
|
|
|
|
namespace BeWoPlanerMobil.Util
|
|
{
|
|
[Serializable]
|
|
public class QuittierungsbelegResult
|
|
{
|
|
public String Identifier { get; }
|
|
|
|
public string CustomerName { get; }
|
|
|
|
// Die Liste mit den Zeiterfassungseinträgen
|
|
public List<QuittierungsbelegItem> Items { get; }
|
|
|
|
public long CustomerOid { get; }
|
|
|
|
public bool HasCustomerSignature { get; }
|
|
|
|
public long? CustomerSignatureOid { get; }
|
|
|
|
public SignatureState CustomerSignatureState { get; }
|
|
|
|
public SignatureState EmployeeSignatureState { get; }
|
|
|
|
public List<long> CustomerSignatureOids { get; }
|
|
|
|
public List<long> EmployeeSignatureOids { get; }
|
|
|
|
public int EmployeeCount { get; }
|
|
|
|
public bool FristAbgelaufen { get; }
|
|
|
|
public QuittierungsbelegResult(string customerName, List<QuittierungsbelegItem> items, long customerOid, bool hasCustomerSignature, long? customerSignatureOid, SignatureState customerSignatureStatus, List<long> customerSignatureOids, SignatureState employeeSignatureState, List<long> employeeSignatureOids, int employeeCount, bool fristAbgelaufen)
|
|
{
|
|
CustomerName = customerName;
|
|
Items = items;
|
|
Identifier = Guid.NewGuid().ToString();
|
|
CustomerOid = customerOid;
|
|
HasCustomerSignature = hasCustomerSignature;
|
|
CustomerSignatureOid = customerSignatureOid;
|
|
CustomerSignatureState = customerSignatureStatus;
|
|
CustomerSignatureOids = customerSignatureOids;
|
|
EmployeeSignatureState = employeeSignatureState;
|
|
EmployeeSignatureOids = employeeSignatureOids;
|
|
EmployeeCount = employeeCount;
|
|
FristAbgelaufen = fristAbgelaufen;
|
|
}
|
|
|
|
}
|
|
} |