Dis_City.cs 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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.District
  7. {
  8. /// <summary>
  9. /// 地区 城市
  10. /// </summary>
  11. [SugarTable("Dis_City")]
  12. public class Dis_City : EntityBase
  13. {
  14. /// <summary>
  15. /// 国家表Id
  16. /// </summary>
  17. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  18. public int CountryId { get; set; }
  19. /// <summary>
  20. /// 城市名称 中文
  21. /// </summary>
  22. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(50)")]
  23. public string? CnName { get; set; }
  24. /// <summary>
  25. /// 城市名称 英文
  26. /// </summary>
  27. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(50)")]
  28. public string? EnName { get; set; }
  29. /// <summary>
  30. /// 城市三字码 机场三字码
  31. /// </summary>
  32. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(20)")]
  33. public string? ThreeCharacterCode { get; set; }
  34. /// <summary>
  35. /// 城市四字码
  36. /// </summary>
  37. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(20)")]
  38. public string? FourCharacterCode { get; set; }
  39. /// <summary>
  40. /// 城市机场中文名称
  41. /// </summary>
  42. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(50)")]
  43. public string? CnAirportName { get; set; }
  44. /// <summary>
  45. /// 城市机场英名称
  46. /// </summary>
  47. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(100)")]
  48. public string? EnAirportName { get; set; }
  49. }
  50. }