public override bool Equals(object obj)
        {
            DanePaczki danePaczkiObj = obj as DanePaczki;

            if (danePaczkiObj != null)
            {
                return(Equals(danePaczkiObj));
            }
            return(base.Equals(obj));
        }
 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));
 }