using YD_Event.Core.Enum;
namespace YD_Event.Core.Entities;
///
/// 区县表
///
[SugarTable("Sys_District")]
public class Sys_District : Entity, ISoftDelete, ICreatedUserId, ICreatedTime, IUpdatedUserId, IUpdatedTime
{
///
/// 区县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; }
///
/// 标记删除
///
public bool DeleteMark { get; set; }
///
/// 创建人
///
public long CreatedUserId { get; set; }
///
/// 创建时间
///
public DateTime CreatedTime { get; set; }
///
/// 更新人
///
public long? UpdatedUserId { get; set; }
///
/// 更新时间
///
public DateTime? UpdatedTime { get; set; }
}