Res_HotelData.cs 2.0 KB

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