修改枚举值
parent
43a720e09e
commit
d3c0e5979a
|
@ -46,7 +46,9 @@
|
|||
US=1,
|
||||
|
||||
CN=0,
|
||||
|
||||
EU=2,
|
||||
|
||||
JP=4
|
||||
}
|
||||
}
|
|
@ -156,7 +156,7 @@ namespace IRaCIS.Core.Domain.Models
|
|||
public string DeclarationTypes { get; set; } = string.Empty;
|
||||
|
||||
[NotMapped]
|
||||
public List<DeclarationType> DeclarationTypeEnumList => AttendedReviewerTypes.Split('|', StringSplitOptions.RemoveEmptyEntries)
|
||||
public List<DeclarationType> DeclarationTypeEnumList => DeclarationTypes.Split('|', StringSplitOptions.RemoveEmptyEntries)
|
||||
.Select(s => Enum.Parse(typeof(DeclarationType), s)).Cast<DeclarationType>().ToList();
|
||||
|
||||
[NotMapped]
|
||||
|
|
Loading…
Reference in New Issue