29 lines
530 B
C#
29 lines
530 B
C#
namespace Application.Dto;
|
|
|
|
/// <summary>
|
|
/// 获取配置请求
|
|
/// </summary>
|
|
public record GetConfigRequest
|
|
{
|
|
/// <summary>
|
|
/// 配置键
|
|
/// </summary>
|
|
public string Key { get; init; } = string.Empty;
|
|
}
|
|
|
|
/// <summary>
|
|
/// 设置配置请求
|
|
/// </summary>
|
|
public record SetConfigRequest
|
|
{
|
|
/// <summary>
|
|
/// 配置键
|
|
/// </summary>
|
|
public string Key { get; init; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// 配置值
|
|
/// </summary>
|
|
public string Value { get; init; } = string.Empty;
|
|
}
|