35 lines
888 B
C#
35 lines
888 B
C#
using BS.Shared.DataContracts.Compact;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Runtime.Serialization;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace BS.Shared.DataContracts
|
|
{
|
|
[DataContract]
|
|
public class FlexibleReportResultDC : IDataContract
|
|
{
|
|
[DataMember]
|
|
public DateTime StartDatum { get; set; }
|
|
|
|
[DataMember]
|
|
public DateTime EndDatum { get; set; }
|
|
|
|
[DataMember]
|
|
public Dictionary<long, string> Employees { get; set; }
|
|
|
|
[DataMember]
|
|
public Dictionary<long, string> Customers { get; set; }
|
|
|
|
[DataMember]
|
|
public IList<FlexibleReportDummyDC> Dummies { get; set; }
|
|
|
|
[DataMember]
|
|
public IList<FlexibleReportEntryDC> Entries { get; set; }
|
|
|
|
public int Length => Employees?.Count + Customers?.Count + Dummies?.Count + Entries?.Count ?? 0;
|
|
}
|
|
}
|