Files

59 lines
1.7 KiB
C#
Raw Permalink Normal View History

2023-04-15 22:44:33 +08:00
using SqlSugar;
2023-12-11 09:55:12 +08:00
using Volo.Abp;
using Volo.Abp.Auditing;
using Volo.Abp.Domain.Entities;
2023-12-11 18:43:36 +08:00
using Yi.Framework.Core.Data;
2023-04-15 22:44:33 +08:00
2023-12-11 09:55:12 +08:00
namespace Yi.Framework.Rbac.Domain.Entities
2023-04-15 22:44:33 +08:00
{
/// <summary>
/// 配置表
/// </summary>
[SugarTable("Config")]
2024-08-03 11:47:32 +08:00
public class ConfigAggregateRoot : AggregateRoot<Guid>, IAuditedObject, IOrderNum, ISoftDelete
2023-04-15 22:44:33 +08:00
{
[SugarColumn(ColumnName = "Id", IsPrimaryKey = true)]
2023-12-11 09:55:12 +08:00
public override Guid Id { get; protected set; }
2023-04-15 22:44:33 +08:00
/// <summary>
/// 配置名称
///</summary>
[SugarColumn(ColumnName = "ConfigName")]
public string ConfigName { get; set; } = string.Empty;
/// <summary>
/// 配置键
///</summary>
[SugarColumn(ColumnName = "ConfigKey")]
public string ConfigKey { get; set; } = string.Empty;
/// <summary>
/// 配置值
///</summary>
[SugarColumn(ColumnName = "ConfigValue")]
public string ConfigValue { get; set; } = string.Empty;
/// <summary>
/// 配置类别
///</summary>
[SugarColumn(ColumnName = "ConfigType")]
2023-04-20 23:08:21 +08:00
public string? ConfigType { get; set; }
2023-04-15 22:44:33 +08:00
/// <summary>
/// 排序字段
///</summary>
[SugarColumn(ColumnName = "OrderNum")]
public int OrderNum { get; set; }
/// <summary>
/// 描述
///</summary>
[SugarColumn(ColumnName = "Remark")]
2023-04-20 23:08:21 +08:00
public string? Remark { get; set; }
2023-04-15 22:44:33 +08:00
public bool IsDeleted { get; set; }
public DateTime CreationTime { get; set; }
2023-12-11 09:55:12 +08:00
public Guid? CreatorId { get; set; }
2023-04-15 22:44:33 +08:00
2023-12-11 09:55:12 +08:00
public Guid? LastModifierId { get; set; }
2023-04-15 22:44:33 +08:00
public DateTime? LastModificationTime { get; set; }
}
}