IpInfo.cs 1008 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. namespace Models
  6. {
  7. public class IpInfo
  8. {
  9. private int id; //编号
  10. public int Id
  11. {
  12. get { return id; }
  13. set { id = value; }
  14. }
  15. private decimal startIp; //起始ip段
  16. public decimal StartIp
  17. {
  18. get { return startIp; }
  19. set { startIp = value; }
  20. }
  21. private decimal endIp; //结束ip段
  22. public decimal EndIp
  23. {
  24. get { return endIp; }
  25. set { endIp = value; }
  26. }
  27. private string country; //地址-省份
  28. public string Country
  29. {
  30. get { return country; }
  31. set { country = value; }
  32. }
  33. private string city; //备注
  34. public string City
  35. {
  36. get { return city; }
  37. set { city = value; }
  38. }
  39. }
  40. }