Files
BeWoPlaner/BeWoPlanerMobil/Util/MokServiceRecord.cs
2025-06-17 13:06:29 +02:00

78 lines
1.9 KiB
C#

using BS.Shared.DataContracts.Compact;
using BS.Shared.DataContracts.Invoicing;
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Windows.Media;
namespace BeWoPlanerMobil.Util
{
[Serializable]
public class MokServiceRecord
{
public long Oid { get; set; }
public DateTime? Start { get; set; }
public DateTime? End { get; set; }
public String EmployeeName { get; set; }
public String ServiceCategoryName { get; set; }
public String ServiceDescriptionName { get; set; }
public long? SignatureOid { get; set; }
public string Notice { get; set; }
public string Notice2 { get; set; }
public string Notice3 { get; set; }
public string Notice4 { get; set; }
public string Notice5 { get; set; }
public decimal RoundedDuration { get; set; }
public String DurationString { get; set; }
public decimal? DistanceInMeterDecimal { get; set; }
public decimal? Betrag { get; set; }
public List<String> Goals { get; set; }
public String ZieleString { get; set; }
public String MassnahmenString { get; set; }
public String HasSignatureString { get; set; }
public DateTime? InsertedOn { get; set; }
public string InsUser { get; set; }
public long? GroupOid { get; set; }
public int? GroupPersonCount { get; set; }
public int? GroupEmployeeCount { get; set; }
public List<string> NoticeList =>
new List<string>
{
Notice,
Notice2,
Notice3,
Notice4,
Notice5
};
public override bool Equals(object obj)
{
if (obj is MokServiceRecord serviceRecord)
{
return Oid == serviceRecord.Oid;
}
return false;
}
}
}