完善系统参数配置和数据字典管理模块

This commit is contained in:
2026-09-18 17:22:56 +08:00
parent 6aca0297bb
commit 60fac00887
30 changed files with 2510 additions and 24 deletions
+35
View File
@@ -0,0 +1,35 @@
namespace Model.Dto.System
{
/// <summary>
/// 系统参数 DTO
/// </summary>
public class SystemParamDto
{
public string Id { get; set; }
public string ParamKey { get; set; }
public string ParamName { get; set; }
public string? ParamValue { get; set; }
/// <summary>值类型(0=int, 1=text, 2=enum, 3=json</summary>
public byte ParamType { get; set; }
/// <summary>枚举选项(原始 JSON 字符串,由前端解析;仅 ParamType=enum 有值)</summary>
public string? ParamOptions { get; set; }
public string? Unit { get; set; }
public string? Group { get; set; }
public int Sort { get; set; }
public string? Remark { get; set; }
/// <summary>是否系统内置(1=不可删,仅允许改 Value</summary>
public byte IsSystem { get; set; }
public string? LastUpdateUser { get; set; }
public DateTime? LastUpdateTime { get; set; }
public DateTime? CreateTime { get; set; }
}
/// <summary>
/// 业务侧批量取值返回项
/// </summary>
public class SystemParamValueDto
{
public string Key { get; set; }
public string? Value { get; set; }
}
}