修改一版

This commit is contained in:
he
2022-11-28 16:31:31 +08:00
parent b5109896c2
commit a25e9692e1
5 changed files with 41 additions and 28 deletions
@@ -8,6 +8,7 @@ using IRaCIS.Core.Domain.Share;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Collections.Generic;
using System.Linq;
namespace IRaCIS.Core.Domain.Models
{
@@ -169,6 +170,12 @@ namespace IRaCIS.Core.Domain.Models
/// 无效的 为True无效
/// </summary>
public bool IsInvalid { get; set; }
[NotMapped]
public List<string> FileNameList => this.FileName.Split(',').ToList();
[NotMapped]
public List<string> ImagePathList => this.ImagePath.Split(',').ToList();
}
}