48 lines
1.1 KiB
C#
48 lines
1.1 KiB
C#
using DataCheck;
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace WcsMain.ApiServe.Controllers.Dto.WcsDto.Config;
|
|
|
|
public class EditeConfigRequest
|
|
{
|
|
/// <summary>
|
|
/// 配置键
|
|
/// </summary>
|
|
[DataRules]
|
|
[JsonPropertyName("configKey")]
|
|
public string? ConfigKey { get; set; }
|
|
|
|
/// <summary>
|
|
/// 配置名称
|
|
/// </summary>
|
|
[JsonPropertyName("configName")]
|
|
public string? ConfigName { get; set; }
|
|
|
|
/// <summary>
|
|
/// 配置值
|
|
/// </summary>
|
|
[JsonPropertyName("configValue")]
|
|
public string? ConfigValue { get; set; }
|
|
|
|
/// <summary>
|
|
/// 配置类型
|
|
/// </summary>
|
|
[JsonPropertyName("configType")]
|
|
public string? ConfigType { get; set; }
|
|
|
|
/// <summary>
|
|
/// 备注信息
|
|
/// </summary>
|
|
[JsonPropertyName("remark")]
|
|
public string? Remark { get; set; }
|
|
|
|
/// <summary>
|
|
/// 是否是编辑模式,、
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// 编辑模式表示更新数据,
|
|
/// </remarks>
|
|
[JsonPropertyName("isEdite")]
|
|
public bool IsEdite { get; set; }
|
|
|
|
} |