public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = Id;
         hashCode = (hashCode * 397) ^ (AdresAdresata != null ? AdresAdresata.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ PoczatekObslugi.GetHashCode();
         hashCode = (hashCode * 397) ^ KoniecObslugi.GetHashCode();
         hashCode = (hashCode * 397) ^ (Historia != null ? Historia.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Status != null ? Status.GetHashCode() : 0);
         return(hashCode);
     }
 }
 protected bool Equals(DanePaczki other)
 {
     return(Id == other.Id && Equals(Nadawca, other.Nadawca) && Equals(Adresat, other.Adresat) && Equals(AdresAdresata, other.AdresAdresata) && PoczatekObslugi.Equals(other.PoczatekObslugi) && KoniecObslugi.Equals(other.KoniecObslugi) && Equals(Historia, other.Historia) && Equals(Status, other.Status));
 }