60 lines
1.4 KiB
C#
Raw Normal View History

using YD_Event.Core.Enum;
namespace YD_Event.Core.Entities;
/// <summary>
/// 城市表
/// </summary>
[SugarTable("Sys_City")]
2026-03-14 09:30:01 +08:00
public class SysCity : Entity<long>, ISoftDelete, ICreatedUserId, ICreatedTime, IUpdatedUserId, IUpdatedTime
{
/// <summary>
/// 城市Id
/// </summary>
[SugarColumn(ColumnName = "CityId", IsPrimaryKey = true, IsIdentity = true)]
public int CityId { get; set; }
/// <summary>
/// 省份Code
/// </summary>
[SugarColumn(ColumnName = "ProvinceCode", Length = 50)]
public string ProvinceCode { get; set; }
/// <summary>
/// 城市名称
/// </summary>
[SugarColumn(ColumnName = "CityName", Length = 50)]
public string CityName { get; set; }
/// <summary>
/// 城市Code
/// </summary>
[SugarColumn(ColumnName = "CityCode", Length = 50)]
public string CityCode { get; set; }
2026-02-26 18:29:08 +08:00
/// <summary>
/// 标记删除
/// </summary>
public bool DeleteMark { get; set; }
/// <summary>
/// 创建人
/// </summary>
public long CreatedUserId { get; set; }
/// <summary>
/// 创建时间
/// </summary>
public DateTime CreatedTime { get; set; }
/// <summary>
/// 更新人
/// </summary>
public long? UpdatedUserId { get; set; }
/// <summary>
/// 更新时间
/// </summary>
public DateTime? UpdatedTime { get; set; }
}