public override int GetHashCode() { int hash = 1; if (Id != 0) { hash ^= Id.GetHashCode(); } if (AgeMin != 0) { hash ^= AgeMin.GetHashCode(); } if (AgeMax != 0) { hash ^= AgeMax.GetHashCode(); } if (Distance != 0) { hash ^= Distance.GetHashCode(); } if (No != 0) { hash ^= No.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override string ToString() { return(Name + " !price: " + Price.ToString() + " " + AgeMin.ToString() + "-" + AgeMax.ToString()); }