This commit is contained in:
skidoodle 2024-03-13 00:33:46 +01:00
commit e124a47765
19374 changed files with 9806149 additions and 0 deletions
Kreta.BusinessLogic/HelperClasses

View file

@ -0,0 +1,51 @@
using System;
namespace Kreta.BusinessLogic.HelperClasses
{
public class SAPTavolletCo
{
public DateTime TavolletKezdete { get; set; }
public int /* DictionaryItem */ TavolletTipusId { get; set; }
public DateTime TavolletVege { get; set; }
public int? TavolletIdotartamNap { get; set; }
public int? TavolletIdotartamOra { get; set; }
public int AlkalmazottId { get; set; }
public int? ElozoTaneviAlkalmazottId { get; set; }
public int IntezmenyId { get; set; }
public int TanevId { get; set; }
public override bool Equals(object obj)
{
var co = obj as SAPTavolletCo;
return co != null &&
TavolletKezdete == co.TavolletKezdete &&
TavolletTipusId == co.TavolletTipusId &&
TavolletVege == co.TavolletVege &&
TavolletIdotartamNap == co.TavolletIdotartamNap &&
TavolletIdotartamOra == co.TavolletIdotartamOra &&
AlkalmazottId == co.AlkalmazottId &&
IntezmenyId == co.IntezmenyId;
}
public override int GetHashCode()
{
var hashCode = 365368652;
hashCode = hashCode * -1521134295 + TavolletKezdete.GetHashCode();
hashCode = hashCode * -1521134295 + TavolletTipusId.GetHashCode();
hashCode = hashCode * -1521134295 + TavolletVege.GetHashCode();
hashCode = hashCode * -1521134295 + TavolletIdotartamNap.GetHashCode();
hashCode = hashCode * -1521134295 + TavolletIdotartamOra.GetHashCode();
hashCode = hashCode * -1521134295 + AlkalmazottId.GetHashCode();
hashCode = hashCode * -1521134295 + IntezmenyId.GetHashCode();
return hashCode;
}
}
}