namespace Model.Dto.System
{
///
/// 系统参数 DTO
///
public class SystemParamDto
{
public string Id { get; set; }
public string ParamKey { get; set; }
public string ParamName { get; set; }
public string? ParamValue { get; set; }
/// 值类型(0=int, 1=text, 2=enum, 3=json)
public byte ParamType { get; set; }
/// 枚举选项(原始 JSON 字符串,由前端解析;仅 ParamType=enum 有值)
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; }
/// 是否系统内置(1=不可删,仅允许改 Value)
public byte IsSystem { get; set; }
public string? LastUpdateUser { get; set; }
public DateTime? LastUpdateTime { get; set; }
public DateTime? CreateTime { get; set; }
}
///
/// 业务侧批量取值返回项
///
public class SystemParamValueDto
{
public string Key { get; set; }
public string? Value { get; set; }
}
}