88 lines
2.0 KiB
C#
88 lines
2.0 KiB
C#
using IRaCIS.Core.Domain.Share;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace IRaCIS.Core.Domain.Models
|
|
{
|
|
public class QCChallenge : BaseAddAuditEntity
|
|
{
|
|
#region 导航属性
|
|
[JsonIgnore]
|
|
[ForeignKey("CreateUserId")]
|
|
public User CreateUser { get; set; }
|
|
[JsonIgnore]
|
|
[ForeignKey("LatestReplyUserId")]
|
|
public User LatestReplyUser { get; set; }
|
|
[JsonIgnore]
|
|
//导航属性
|
|
[ForeignKey("SubjectVisitId")]
|
|
public SubjectVisit SubjectVisit { get; set; }
|
|
|
|
[JsonIgnore]
|
|
public List<QCChallengeDialog> DialogList { get; set; } = new List<QCChallengeDialog>();
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
public Guid TrialId { get; set; }
|
|
public Guid SubjectVisitId { get; set; }
|
|
|
|
public DateTime? DeadlineTime { get; set; }
|
|
|
|
public string Note { get; set; } = string.Empty;
|
|
|
|
public QCChanllengeReuploadEnum ReuploadEnum { get; set; }
|
|
|
|
|
|
public DateTime? ReUploadedTime { get; set; }
|
|
|
|
public string ReUploader { get; set; } = string.Empty;
|
|
|
|
public Guid? ReUploadUserId { get; set; }
|
|
|
|
public TrialQCProcess QCProcessEnum { get; set; }
|
|
|
|
public CurrentQC CurrentQCEnum { get; set; }
|
|
|
|
public DateTime? LatestMsgTime { get; set; }
|
|
|
|
|
|
public Guid? LatestReplyUserId { get; set; }
|
|
|
|
|
|
public string ChallengeCode { get; set; }
|
|
|
|
public int Code { get; set; }
|
|
|
|
|
|
|
|
public bool IsClosed { get; set; }
|
|
|
|
public DateTime? ClosedTime { get; set; }
|
|
|
|
public string ClosedUser { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
public QCChallengeCloseEnum CloseResonEnum { get; set;}
|
|
|
|
public string Content { get; set; } = string.Empty;
|
|
|
|
public string ActionContent { get; set; } = string.Empty;
|
|
|
|
public UserTypeEnum UserTypeEnum { get; set; }
|
|
|
|
|
|
public string ChallengeType { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
} |