From cece45c503c7d6e2ae6b5b57642f17ef66dd2518 Mon Sep 17 00:00:00 2001 From: he <10978375@qq.com> Date: Wed, 27 Apr 2022 13:17:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../BusinessFilter => IRaCIS.Core.Domain/Common}/NotDefault.cs | 0 IRaCIS.Core.Infra.EFCore/Dto/SetDictionaryValueDto.cs | 3 +++ 2 files changed, 3 insertions(+) rename {IRaCIS.Core.Application/BusinessFilter => IRaCIS.Core.Domain/Common}/NotDefault.cs (100%) diff --git a/IRaCIS.Core.Application/BusinessFilter/NotDefault.cs b/IRaCIS.Core.Domain/Common/NotDefault.cs similarity index 100% rename from IRaCIS.Core.Application/BusinessFilter/NotDefault.cs rename to IRaCIS.Core.Domain/Common/NotDefault.cs diff --git a/IRaCIS.Core.Infra.EFCore/Dto/SetDictionaryValueDto.cs b/IRaCIS.Core.Infra.EFCore/Dto/SetDictionaryValueDto.cs index 88cce23c7..d0bd9e02b 100644 --- a/IRaCIS.Core.Infra.EFCore/Dto/SetDictionaryValueDto.cs +++ b/IRaCIS.Core.Infra.EFCore/Dto/SetDictionaryValueDto.cs @@ -3,11 +3,14 @@ using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; +using System.ComponentModel.DataAnnotations; + namespace IRaCIS.Core.Infra.EFCore.Dto { public class SetInspectionEnumValueDto { + [NotDefault] public Guid TrialId { get; set; } public List Items { get; set; }