导航属性加注释

This commit is contained in:
2022-08-26 10:21:11 +08:00
parent 22f04c82ba
commit 0342048a02
5 changed files with 108 additions and 89 deletions
@@ -15,15 +15,15 @@ namespace IRaCIS.Core.Domain.Models
[Table("SystemDocument")]
public class SystemDocument : Entity, IAuditUpdate, IAuditAdd,ISoftDelete
{
[JsonIgnore]
public List<SystemDocConfirmedUser> SystemDocConfirmedUserList { get; set; }
[JsonIgnore]
public List<SystemDocNeedConfirmedUserType> NeedConfirmedUserTypeList { get; set; }
[ForeignKey("FileTypeId")]
[JsonIgnore]
[ForeignKey("FileTypeId")]
public Dictionary FileType { get; set; }
@@ -17,7 +17,7 @@ namespace IRaCIS.Core.Domain.Models
//public Guid TrialId { get; set; }
//public TrialUser TrialUser { get; set; }
[JsonIgnore]
public TrialDocument TrialDocument { get; set; }
+6 -6
View File
@@ -16,15 +16,15 @@ namespace IRaCIS.Core.Domain.Models
public class TrialDocument : Entity, IAuditUpdate, IAuditAdd
{
//需要确认的项目用户 通过TrialId 关联 用中间表过滤
public List<TrialDocUserTypeConfirmedUser> TrialDocConfirmedUserList { get; set; }
//需要确认的项目用户 通过TrialId 关联 用中间表过滤
[JsonIgnore]
public List<TrialDocUserTypeConfirmedUser> TrialDocConfirmedUserList { get; set; }
[JsonIgnore]
public List<TrialDocNeedConfirmedUserType> NeedConfirmedUserTypeList { get; set; }
[JsonIgnore]
public Trial Trial { get; set; }
[JsonIgnore]
[ForeignKey("FileTypeId")]
public Dictionary FileType { get; set; }