修改一版
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user