public bool Equals(Cargo other) { return(other != null && Code.Equals(other.Code) && Volume.Equals(other.Volume) && Count.Equals(other.Count) && DispatchDate.Equals(other.DispatchDate) && CargoType.Equals(other.CargoType) && Sender.Equals(other.Sender) && Recipient.Equals(other.Recipient) && ShipmentStation.Equals(other.ShipmentStation) && DestinationStation.Equals(other.DestinationStation)); }
public bool Equals(Entry other) { return(other != null && Code.Equals(other.Code) && Volume.Equals(other.Volume) && Count.Equals(other.Count) && Date.Equals(other.Date) && Type.Equals(other.Type) && Sender.Equals(other.Sender) && Recipient.Equals(other.Recipient) && ShipmentCountry.Equals(other.ShipmentCountry) && ShipmentState.Equals(other.ShipmentState) && ShipmentRailRoad.Equals(other.ShipmentRailRoad) && ShipmentStation.Equals(other.ShipmentStation) && DestinationCountry.Equals(other.DestinationCountry) && DestinationState.Equals(other.DestinationState) && DestinationRailRoad.Equals(other.DestinationRailRoad) && DestinationStation.Equals(other.DestinationStation)); }