This commit is contained in:
he
2022-12-08 15:59:29 +08:00
parent bea0811eb8
commit 422dadad36
8 changed files with 152 additions and 20 deletions
@@ -13,8 +13,8 @@ namespace IRaCIS.Core.Domain.Models
///ReadingTableQuestionAnswer
///</summary>
[Table("ReadingTableQuestionAnswer")]
public class ReadingTableQuestionAnswer : Entity, IAuditAdd
{
public class ReadingTableQuestionAnswer : Entity, IAuditAdd, IAuditUpdate, ISoftDelete
{
/// <summary>
/// 问题Id
/// </summary>
@@ -63,7 +63,18 @@ namespace IRaCIS.Core.Domain.Models
public Guid RowId { get; set; }
[JsonIgnore]
public Guid UpdateUserId { get; set; }
//string UpdateUserName { get; set; }
public DateTime UpdateTime { get; set; }
public bool IsDeleted { get; set; }
public DateTime? DeletedTime { get; set; }
public Guid? DeleteUserId { get; set; }
[JsonIgnore]
[ForeignKey("QuestionId")]
public ReadingQuestionTrial ReadingQuestionTrial { get; set; }