using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Muchinfo.MTPClient.Data.Model { public class PriceMoveModel:IEqualityComparer { public uint PriceMoveType { get; set; } public ulong PriceMoveID { get; set; } public string PriceMoveDesc { get; set; } public bool Equals(PriceMoveModel x, PriceMoveModel y) { return x.PriceMoveType == y.PriceMoveType; } public int GetHashCode(PriceMoveModel obj) { return obj.ToString().GetHashCode(); } } }