From 5241be7aa154513f4164a401d8c3df0161e69fe9 Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Tue, 31 May 2022 16:05:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AD=97=E5=85=B8=E6=95=B0?= =?UTF-8?q?=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Service/Common/DTO/DictionaryModel.cs | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/IRaCIS.Core.Application/Service/Common/DTO/DictionaryModel.cs b/IRaCIS.Core.Application/Service/Common/DTO/DictionaryModel.cs index 1574dd2e9..303514828 100644 --- a/IRaCIS.Core.Application/Service/Common/DTO/DictionaryModel.cs +++ b/IRaCIS.Core.Application/Service/Common/DTO/DictionaryModel.cs @@ -55,24 +55,27 @@ namespace IRaCIS.Application.Contracts } - public class BasicDicSelect + public class BasicDicSelectxiu { public Guid Id { get; set; } public string Code { get; set; } = string.Empty; - public string ValueCN { get; set; } = string.Empty; public string Value { get; set; } = string.Empty; - public int ShowOrder { get; set; } public Guid? ParentId { get; set; } public string ParentCode { get; set; } = string.Empty; + public int? ParentChildCodeEnum { get; set; } + public string ChildGroup { get; set; } = string.Empty; - public int? ParentChildCodeEnum { get; set; } + public DicDataTypeEnum DataTypeEnum { get; set; } + + public bool IsEnumInt => System.Text.RegularExpressions.Regex.IsMatch(Code, @"^\d*$"); + }