namespace NetAdmin.Domain.Dto.Sys.Dic.Content; /// /// 请求:创建字典内容 /// public record CreateDicContentReq : Sys_DicContent { /// [JsonIgnore(Condition = JsonIgnoreCondition.Never)] [Required(ErrorMessageResourceType = typeof(Ln), ErrorMessageResourceName = nameof(Ln.字典目录编号不能为空))] public override long CatalogId { get; init; } /// [JsonIgnore(Condition = JsonIgnoreCondition.Never)] [Required(ErrorMessageResourceType = typeof(Ln), ErrorMessageResourceName = nameof(Ln.键名称不能为空))] public override string Key { get; init; } /// [JsonIgnore(Condition = JsonIgnoreCondition.Never)] [Required(ErrorMessageResourceType = typeof(Ln), ErrorMessageResourceName = nameof(Ln.键值不能为空))] public override string Value { get; init; } }