Ticket.cs 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. namespace Models
  6. {
  7. public class Ticket
  8. {
  9. int id;
  10. public int Id
  11. {
  12. get { return id; }
  13. set { id = value; }
  14. }
  15. string country;
  16. public string Country
  17. {
  18. get { return country; }
  19. set { country = value; }
  20. }
  21. string area;
  22. /// <summary>
  23. /// 地区
  24. /// </summary>
  25. public string Area
  26. {
  27. get { return area; }
  28. set { area = value; }
  29. }
  30. string scenicSpot;
  31. /// <summary>
  32. /// 风景区
  33. /// </summary>
  34. public string ScenicSpot
  35. {
  36. get { return scenicSpot; }
  37. set { scenicSpot = value; }
  38. }
  39. string address;
  40. public string Address
  41. {
  42. get { return address; }
  43. set { address = value; }
  44. }
  45. string contact;
  46. public string Contact
  47. {
  48. get { return contact; }
  49. set { contact = value; }
  50. }
  51. float price;
  52. /// <summary>
  53. /// 参考价格
  54. /// </summary>
  55. public float Price
  56. {
  57. get { return price; }
  58. set { price = value; }
  59. }
  60. int currency;
  61. /// <summary>
  62. /// 币种
  63. /// </summary>
  64. public int Currency
  65. {
  66. get { return currency; }
  67. set { currency = value; }
  68. }
  69. int star;
  70. /// <summary>
  71. /// 星级
  72. /// </summary>
  73. public int Star
  74. {
  75. get { return star; }
  76. set { star = value; }
  77. }
  78. string startDate;
  79. /// <summary>
  80. /// 消费日期
  81. /// </summary>
  82. public string StartDate
  83. {
  84. get { return startDate; }
  85. set { startDate = value; }
  86. }
  87. string remark;
  88. public string Remark
  89. {
  90. get { return remark; }
  91. set { remark = value; }
  92. }
  93. int isDel;
  94. public int IsDel
  95. {
  96. get { return isDel; }
  97. set { isDel = value; }
  98. }
  99. }
  100. }