YD_Event.Admin/YD_Event.Core/Entities/CustomConfigItem.cs
2026-02-26 18:29:08 +08:00

49 lines
1.1 KiB
C#

using YD_Event.Core.Enum;
namespace YD_Event.Core.Entities;
/// <summary>
/// 自定义配置子项
/// </summary>
public class CustomConfigItem : Entity<long>, ISoftDelete, ICreatedUserId, ICreatedTime, IUpdatedUserId, IUpdatedTime, IAvailability
{
/// <summary>
/// 自定义配置Id
/// </summary>
public long ConfigId { get; set; }
/// <summary>
/// 配置
/// </summary>
[SugarColumn(ColumnDataType = "text")]
public string Json { get; set; }
/// <summary>
/// 可用状态
/// </summary>
public AvailabilityStatus Status { get; set; }
/// <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; }
}