mirror of
https://github.com/nsnail/NetAdmin.git
synced 2025-12-30 01:15:49 +08:00
19 lines
705 B
C#
19 lines
705 B
C#
using NetAdmin.Domain.DbMaps.Sys;
|
|
|
|
namespace NetAdmin.Domain.Dto.Sys.Dic.Content;
|
|
|
|
/// <summary>
|
|
/// 请求:获取字典值
|
|
/// </summary>
|
|
public sealed record GetDicValueReq : Sys_DicContent
|
|
{
|
|
/// <inheritdoc />
|
|
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
|
|
[Required(ErrorMessageResourceType = typeof(Ln), ErrorMessageResourceName = nameof(Ln.字典目录编号不能为空))]
|
|
public override long CatalogId { get; init; }
|
|
|
|
/// <inheritdoc />
|
|
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
|
|
[Required(ErrorMessageResourceType = typeof(Ln), ErrorMessageResourceName = nameof(Ln.键名称不能为空))]
|
|
public override string Key { get; init; }
|
|
} |