PriceMoveModel.cs 616 B

1234567891011121314151617181920212223
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. namespace Muchinfo.MTPClient.Data.Model
  6. {
  7. public class PriceMoveModel:IEqualityComparer<PriceMoveModel>
  8. {
  9. public uint PriceMoveType { get; set; }
  10. public ulong PriceMoveID { get; set; }
  11. public string PriceMoveDesc { get; set; }
  12. public bool Equals(PriceMoveModel x, PriceMoveModel y)
  13. {
  14. return x.PriceMoveType == y.PriceMoveType;
  15. }
  16. public int GetHashCode(PriceMoveModel obj)
  17. {
  18. return obj.ToString().GetHashCode();
  19. }
  20. }
  21. }