using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OASystem.Domain.Entities.System { /// /// 城市 /// public class Sys_Cities:EntityBase { /// /// 国家Id /// [SugarColumn(IsNullable = true, ColumnDataType = "int")] public int CountriesId { get; set; } /// /// 城市名称 CN /// [SugarColumn(IsNullable = true, ColumnDataType = "varchar(50)")] public string Name_CN { get; set; } /// /// 城市名称 EN /// [SugarColumn(IsNullable = true, ColumnDataType = "nvarchar(100)")] public string Name_EN { get; set; } /// /// 父级Id /// [SugarColumn(IsNullable = true, ColumnDataType = "int")] public int ParentId { get; set; } /// /// 城市等级 /// 1 省份 2 城市 3 区县 /// [SugarColumn(IsNullable = true, ColumnDataType = "int")] public int Level { get; set; } /// /// 城市三字码 /// [SugarColumn(IsNullable = true, ColumnDataType = "varchar(10)")] public string ThreeCode { get; set; } /// /// 是否为省会城市/首都 /// 0 是 1 否 /// [SugarColumn(IsNullable = true, ColumnDataType = "int")] public int IsCapital { get; set; } } }