添加系统配置类

This commit is contained in:
ldh
2026-11-13 10:17:17 +08:00
parent 52753b4b0a
commit ba22189a46
2 changed files with 33 additions and 0 deletions
@@ -8,6 +8,7 @@
<ItemGroup>
<PackageReference Include="FlashCap" Version="1.12.0" />
<PackageReference Include="LiteDB" Version="5.0.21" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="10.0.14" />
<PackageReference Include="Microsoft.Extensions.Options" Version="10.0.14" />
</ItemGroup>
@@ -0,0 +1,32 @@
using LiteDB;
namespace HardwareControl.Core.SystemSetting
{
public class SystemConfig
{
/// <summary>
/// 主键
/// </summary>
[BsonId]
public int ConfigId { get; set; }
/// <summary>
/// 配置分类
/// </summary>
public string ConfigClass { get; set; }
/// <summary>
/// 配置名称
/// </summary>
public string ConfigName { get; set; }
/// <summary>
/// 配置值
/// </summary>
public string ConfigValue { get; set; }
/// <summary>
/// 配置描述
/// </summary>
public string ConfigDescript { get; set; }
}
}