Sys_Countries.cs 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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.System
  7. {
  8. /// <summary>
  9. /// 国家
  10. /// </summary>
  11. [SugarTable("Sys_Countries")]
  12. public class Sys_Countries: EntityBase
  13. {
  14. /// <summary>
  15. /// 洲 Id
  16. /// </summary>
  17. [SugarColumn(IsNullable = true,ColumnDataType = "int")]
  18. public int ContinentId { get; set; }
  19. /// <summary>
  20. /// 三字码
  21. /// </summary>
  22. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(10)")]
  23. public string ThreeCode { get; set; }
  24. /// <summary>
  25. /// 国家名称 CN 简称
  26. /// </summary>
  27. [SugarColumn(IsNullable = true,ColumnDataType = "varchar(50)")]
  28. public string Name_CN { get; set; }
  29. /// <summary>
  30. /// 国家名称 CN 全称
  31. /// </summary>
  32. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(100)")]
  33. public string Name_CN_Full { get; set; }
  34. /// <summary>
  35. /// 国家名称 EN 简称
  36. /// </summary>
  37. [SugarColumn(IsNullable = true, ColumnDataType = "nvarchar(50)")]
  38. public string Name_EN { get; set; }
  39. /// <summary>
  40. /// 国家名称 EN 全称
  41. /// </summary>
  42. [SugarColumn(IsNullable = true, ColumnDataType = "nvarchar(100)")]
  43. public string Name_EN_Full { get; set; }
  44. }
  45. }