/// <summary> /// Returns true if InventoryOrderStatistic instances are equal /// </summary> /// <param name="other">Instance of InventoryOrderStatistic to be compared</param> /// <returns>Boolean</returns> public bool Equals(InventoryOrderStatistic other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( Id == other.Id || Id != null && Id.Equals(other.Id) ) && ( Total == other.Total || Total != null && Total.Equals(other.Total) ) && ( Default == other.Default || Default != null && Default.Equals(other.Default) ) && ( Missed == other.Missed || Missed != null && Missed.Equals(other.Missed) ) && ( Broken == other.Broken || Broken != null && Broken.Equals(other.Broken) ) && ( Active == other.Active || Active != null && Active.Equals(other.Active) ) && ( Remaining == other.Remaining || Remaining != null && Remaining.Equals(other.Remaining) ) && ( Research == other.Research || Research != null && Research.Equals(other.Research) ) && ( Transferred == other.Transferred || Transferred != null && Transferred.Equals(other.Transferred) )); }