修改参与类型

This commit is contained in:
2023-06-06 11:54:20 +08:00
parent 0c228fab1f
commit 01018737fd
3 changed files with 8 additions and 4 deletions
+2 -2
View File
@@ -153,7 +153,7 @@ namespace IRaCIS.Core.Domain.Models
public string DeclarationTypes { get; set; }
public string DeclarationTypes { get; set; } = string.Empty;
[NotMapped]
public List<DeclarationType> DeclarationTypeEnumList => AttendedReviewerTypes.Split('|', StringSplitOptions.RemoveEmptyEntries)
@@ -163,7 +163,7 @@ namespace IRaCIS.Core.Domain.Models
public List<AttendedReviewerType> AttendedReviewerTypeEnumList=> AttendedReviewerTypes.Split('|',StringSplitOptions.RemoveEmptyEntries)
.Select(s => Enum.Parse(typeof(AttendedReviewerType), s)).Cast<AttendedReviewerType>().ToList();
public string AttendedReviewerTypes { get; set; }
public string AttendedReviewerTypes { get; set; }=string.Empty;