导航属性加注释

This commit is contained in:
2022-08-26 10:33:32 +08:00
parent 0342048a02
commit a8cd00b962
12 changed files with 71 additions and 34 deletions
@@ -6,6 +6,7 @@ namespace IRaCIS.Core.Domain.Models
{
public class QCChallengeDialog : Entity, IAuditAdd
{
[JsonIgnore]
public QCChallenge QCChallenge { get; set; }
public string TalkContent { get; set; } = string.Empty;
@@ -13,6 +14,7 @@ namespace IRaCIS.Core.Domain.Models
public Guid SubjectVisitId { get; set; }
[JsonIgnore]
[ForeignKey("CreateUserId")]
public User CreateUser { get; set; }