Res_HotelData.cs 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. using OASystem.Domain.Attributes;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace OASystem.Domain.Entities.Resource
  8. {
  9. /// <summary>
  10. /// 酒店数据表
  11. /// </summary>
  12. [SugarTable("Res_HotelData")]
  13. public class Res_HotelData:EntityBase
  14. {
  15. /// <summary>
  16. /// 所在城市
  17. /// </summary>
  18. [Encrypted]
  19. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(100)")]
  20. public string City { get; set; }
  21. /// <summary>
  22. /// 酒店名称
  23. /// </summary>
  24. [Encrypted]
  25. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(100)")]
  26. public string Name { get; set; }
  27. /// <summary>
  28. /// 酒店星级
  29. /// </summary>
  30. [Encrypted]
  31. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(100)")]
  32. public string Level { get; set; }
  33. /// <summary>
  34. /// 酒店地址
  35. /// </summary>
  36. [Encrypted]
  37. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(225)")]
  38. public string Address { get; set; }
  39. /// <summary>
  40. /// 酒店电话
  41. /// </summary>
  42. [Encrypted]
  43. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(50)")]
  44. public string Tel { get; set; }
  45. /// <summary>
  46. /// 酒店传真
  47. /// </summary>
  48. [Encrypted]
  49. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(50)")]
  50. public string Fax { get; set; }
  51. /// <summary>
  52. /// 联系人
  53. /// </summary>
  54. [Encrypted]
  55. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(100)")]
  56. public string Contact { get; set; }
  57. /// <summary>
  58. /// 联系方式
  59. /// </summary>
  60. [Encrypted]
  61. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(50)")]
  62. public string ContactPhone { get; set; }
  63. /// <summary>
  64. /// 酒店其他信息
  65. /// </summary>
  66. [Encrypted]
  67. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(500)")]
  68. public string OtherInformation { get; set; }
  69. }
  70. }