feat: 实现字典管理后端
This commit is contained in:
@@ -19,14 +19,14 @@ public sealed class CreateDictionaryItemRequest
|
||||
/// <summary>
|
||||
/// 字典项键。
|
||||
/// </summary>
|
||||
[Required, MaxLength(64)]
|
||||
[Required, MaxLength(128)]
|
||||
public string Key { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 字典项值。
|
||||
/// </summary>
|
||||
[Required, MaxLength(256)]
|
||||
public string Value { get; set; } = string.Empty;
|
||||
[Required]
|
||||
public Dictionary<string, string> Value { get; set; } = new(StringComparer.OrdinalIgnoreCase);
|
||||
|
||||
/// <summary>
|
||||
/// 是否默认项。
|
||||
|
||||
Reference in New Issue
Block a user