using SqlSugar;
using Volo.Abp;
using Volo.Abp.Auditing;
using Volo.Abp.Domain.Entities;
using Yi.Framework.Core.Data;
namespace Yi.Framework.Rbac.Domain.Entities
{
///
/// 配置表
///
[SugarTable("Config")]
public class ConfigEntity : Entity, IAuditedObject, IOrderNum, ISoftDelete
{
[SugarColumn(ColumnName = "Id", IsPrimaryKey = true)]
public override Guid Id { get; protected set; }
///
/// 配置名称
///
[SugarColumn(ColumnName = "ConfigName")]
public string ConfigName { get; set; } = string.Empty;
///
/// 配置键
///
[SugarColumn(ColumnName = "ConfigKey")]
public string ConfigKey { get; set; } = string.Empty;
///
/// 配置值
///
[SugarColumn(ColumnName = "ConfigValue")]
public string ConfigValue { get; set; } = string.Empty;
///
/// 配置类别
///
[SugarColumn(ColumnName = "ConfigType")]
public string? ConfigType { get; set; }
///
/// 排序字段
///
[SugarColumn(ColumnName = "OrderNum")]
public int OrderNum { get; set; }
///
/// 描述
///
[SugarColumn(ColumnName = "Remark")]
public string? Remark { get; set; }
public bool IsDeleted { get; set; }
public DateTime CreationTime { get; set; }
public Guid? CreatorId { get; set; }
public Guid? LastModifierId { get; set; }
public DateTime? LastModificationTime { get; set; }
}
}