60 lines
1.4 KiB
C#
Raw Normal View History

using YD_Event.Core.Enum;
namespace YD_Event.Core.Entities;
/// <summary>
/// 省份表
/// </summary>
[SugarTable("Sys_Province")]
2026-02-26 18:29:08 +08:00
public class Sys_Province : Entity<long>, ISoftDelete, ICreatedUserId, ICreatedTime, IUpdatedUserId, IUpdatedTime
{
/// <summary>
/// 省份Id
/// </summary>
[SugarColumn(ColumnName = "ProvinceId", IsPrimaryKey = true, IsIdentity = true)]
public int ProvinceId { get; set; }
/// <summary>
/// 省份Code
/// </summary>
[SugarColumn(ColumnName = "ProvinceCode", Length = 50)]
public string ProvinceCode { get; set; }
/// <summary>
/// 省份名称
/// </summary>
[SugarColumn(ColumnName = "ProvinceName", Length = 50)]
public string ProvinceName { get; set; }
/// <summary>
/// 大区Code
/// </summary>
[SugarColumn(ColumnName = "RegionCode", Length = 50)]
public string RegionCode { 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; }
}