using YD_Event.Core.Enum; namespace YD_Event.Core.Entities; /// /// 区县表 /// [SugarTable("Sys_District")] public class Sys_District : Entity { /// /// 区县Id /// [SugarColumn(ColumnName = "DistrictId", IsPrimaryKey = true, IsIdentity = true)] public int DistrictId { get; set; } /// /// 城市Code /// [SugarColumn(ColumnName = "CityCode", Length = 50)] public string CityCode { get; set; } /// /// 区县Code /// [SugarColumn(ColumnName = "DistrictCode", Length = 50)] public string DistrictCode { get; set; } /// /// 区县名称 /// [SugarColumn(ColumnName = "DistrictName", Length = 50)] public string DistrictName { get; set; } }