项目结构修改
This commit is contained in:
@@ -1,75 +1,27 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using IRaCIS.Application.Contracts;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace IRaCIS.Core.Application.Contracts;
|
||||
|
||||
public class SignDTO
|
||||
{
|
||||
public string UserName { get; set; } = String.Empty;
|
||||
public string UserName { get; set; } = string.Empty;
|
||||
|
||||
public string PassWord { get; set; } = String.Empty;
|
||||
public string PassWord { get; set; } = string.Empty;
|
||||
|
||||
public string SignText { get; set; } = String.Empty;
|
||||
public string SignText { get; set; } = string.Empty;
|
||||
|
||||
|
||||
|
||||
[NotDefault]
|
||||
public Guid TrialId { get; set; }
|
||||
|
||||
[NotDefault]
|
||||
public Guid SignCodeId { get; set; }
|
||||
public Guid? TrialId { get; set; }
|
||||
|
||||
[NotDefault]
|
||||
public string SignCode { get; set; } = String.Empty;
|
||||
public Guid? SignCodeId { get; set; }
|
||||
|
||||
|
||||
public string SignCode { get; set; } = string.Empty;
|
||||
|
||||
public Guid? SubjectVisitId { get; set; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
public class DataInspectionAddDTO
|
||||
{
|
||||
|
||||
public Guid TrialId { get; set; }
|
||||
public Guid SiteId { get; set; }
|
||||
public Guid SubjectId { get; set; }
|
||||
public Guid SubjectVisitId { get; set; }
|
||||
public int ModuleEnum { get; set; }
|
||||
public int OptEnum { get; set; }
|
||||
|
||||
|
||||
|
||||
public string BlindName { get; set; } = string.Empty;
|
||||
public string Reason { get; set; } = string.Empty;
|
||||
public bool IsSign { get; set; }
|
||||
public string JsonDetail { get; set; } = string.Empty;
|
||||
|
||||
|
||||
|
||||
|
||||
////需要单独处理
|
||||
//public string IP { get; set; }
|
||||
|
||||
//public Guid? SignId { get; set; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
public interface IInspectionDTO
|
||||
{
|
||||
public DataInspectionAddDTO AuditInfo { get; set; }
|
||||
}
|
||||
|
||||
public interface ISignDTO
|
||||
{
|
||||
public SignDTO SignInfo { get; set; }
|
||||
|
||||
}
|
||||
|
||||
public class TrialDocumentConfirmDTO : IInspectionDTO, ISignDTO
|
||||
{
|
||||
public UserConfirmCommand OptCommand { get; set; }
|
||||
|
||||
public DataInspectionAddDTO AuditInfo { get; set; }
|
||||
|
||||
public SignDTO SignInfo { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user