添加项目文件。
This commit is contained in:
@@ -0,0 +1,64 @@
|
||||
//--------------------------------------------------------------------
|
||||
// 此代码由T4模板自动生成 byzhouhang 20210918
|
||||
// 生成时间 2021-12-23 13:21:04
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
|
||||
//--------------------------------------------------------------------
|
||||
namespace IRaCIS.Core.Application.Contracts
|
||||
{
|
||||
/// <summary> TrialSiteEquipmentSurveyView 列表视图模型 </summary>
|
||||
public class TrialSiteEquipmentSurveyView
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public Guid TrialSiteSurveyId { get; set; }
|
||||
public string EquipmentType { get; set; } = string.Empty;
|
||||
public Guid? EquipmentTypeId { get; set; }
|
||||
|
||||
public string Parameters { get; set; } = string.Empty;
|
||||
public string ManufacturerName { get; set; } = string.Empty;
|
||||
public string ScannerType { get; set; } = string.Empty;
|
||||
public string Note { get; set; } = string.Empty;
|
||||
public DateTime CreateTime { get; set; }
|
||||
public Guid CreateUserId { get; set; }
|
||||
public DateTime UpdateTime { get; set; }
|
||||
public Guid UpdateUserId { get; set; }
|
||||
}
|
||||
|
||||
///<summary>TrialSiteEquipmentSurveyQuery 列表查询参数模型</summary>
|
||||
public class TrialSiteEquipmentSurveyQuery
|
||||
{
|
||||
|
||||
public Guid TrialSiteSurveyId { get; set; }
|
||||
|
||||
public string ScannerType { get; set; } = string.Empty;
|
||||
|
||||
/////<summary> Parameters</summary>
|
||||
//public string Parameters { get; set; }
|
||||
|
||||
/////<summary> ManufacturerName</summary>
|
||||
//public string ManufacturerName { get; set; }
|
||||
|
||||
/////<summary> ScannerType</summary>
|
||||
//public string ScannerType { get; set; }
|
||||
|
||||
/////<summary> Note</summary>
|
||||
//public string Note { get; set; }
|
||||
|
||||
}
|
||||
|
||||
///<summary> TrialSiteEquipmentSurveyAddOrEdit 列表查询参数模型</summary>
|
||||
public class TrialSiteEquipmentSurveyAddOrEdit
|
||||
{
|
||||
public Guid? Id { get; set; }
|
||||
public Guid TrialSiteSurveyId { get; set; }
|
||||
|
||||
public Guid? EquipmentTypeId { get; set; }
|
||||
public string Parameters { get; set; } = string.Empty;
|
||||
public string ManufacturerName { get; set; } = string.Empty;
|
||||
public string ScannerType { get; set; } = string.Empty;
|
||||
public string Note { get; set; } = string.Empty;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,193 @@
|
||||
//--------------------------------------------------------------------
|
||||
// 此代码由T4模板自动生成 byzhouhang 20210918
|
||||
// 生成时间 2021-12-23 13:21:04
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
|
||||
//--------------------------------------------------------------------
|
||||
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using IRaCIS.Core.Domain.Share;
|
||||
namespace IRaCIS.Core.Application.Contracts
|
||||
{
|
||||
|
||||
public class TrialSurveyInitInfo
|
||||
{
|
||||
public Guid TrialId { get; set; }
|
||||
public string Sponsor { get; set; } = string.Empty;
|
||||
|
||||
//研究方案号
|
||||
public string ResearchProgramNo { get; set; } = string.Empty;
|
||||
|
||||
//实验名称
|
||||
public string ExperimentName { get; set; } = string.Empty;
|
||||
|
||||
public string TrialCode { get; set; } = string.Empty;
|
||||
|
||||
public Guid IndicationTypeId { get; set; }
|
||||
|
||||
public string IndicationType { get; set; } = string.Empty;
|
||||
|
||||
public string TrialSiteSurveyUserRoles { get; set; } = string.Empty;
|
||||
|
||||
public string TrialSiteSurveyEquipmentType { get; set; } = string.Empty;
|
||||
|
||||
public List<TrialSiteForSelect> TrialSiteSelectList { get; set; }=new List<TrialSiteForSelect>();
|
||||
|
||||
}
|
||||
|
||||
public class TrialSiteForSelect
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public Guid TrialId { get; set; }
|
||||
|
||||
public Guid SiteId { get; set; }
|
||||
|
||||
public string TrialSiteCode { get; set; } = string.Empty;
|
||||
|
||||
public string TrialSiteAliasName { get; set; } = string.Empty;
|
||||
}
|
||||
|
||||
public class LoginReturnDTO
|
||||
{
|
||||
public TrialSurveyInitInfo TrialInfo { get; set; } = new TrialSurveyInitInfo();
|
||||
|
||||
public TrialSiteSurveyView TrialSiteSurvey { get; set; } = new TrialSiteSurveyView();
|
||||
|
||||
public List<TrialSiteEquipmentSurveyView> TrialSiteEquipmentSurveyList { get; set; } = new List<TrialSiteEquipmentSurveyView>();
|
||||
|
||||
public List<TrialSiteUserSurveyView> TrialSiteUserSurveyList { get; set; } = new List<TrialSiteUserSurveyView>();
|
||||
}
|
||||
|
||||
|
||||
/// <summary> TrialSiteSurveyView 列表视图模型 </summary>
|
||||
public class TrialSiteSurveyView
|
||||
{
|
||||
|
||||
public string TrialSiteCode { get; set; } = String.Empty;
|
||||
public string TrialSiteAliasName { get; set; } = String.Empty;
|
||||
|
||||
public string SiteName { get; set; } = string.Empty;
|
||||
public bool IsAbandon { get; set; }
|
||||
public Guid Id { get; set; }
|
||||
public Guid TrialId { get; set; }
|
||||
public Guid SiteId { get; set; }
|
||||
public DateTime CreateTime { get; set; }
|
||||
public Guid CreateUserId { get; set; }
|
||||
public DateTime UpdateTime { get; set; }
|
||||
public Guid UpdateUserId { get; set; }
|
||||
public string UserName { get; set; } = string.Empty;
|
||||
public string Phone { get; set; } = string.Empty;
|
||||
public string Email { get; set; } = string.Empty;
|
||||
public int AverageEngravingCycle { get; set; }
|
||||
public bool IsConfirmImagingTechnologist { get; set; }
|
||||
public string NotConfirmReson { get; set; } = string.Empty;
|
||||
public int EfficacyEvaluatorType { get; set; }
|
||||
public bool IsFollowStudyParameters { get; set; }
|
||||
public string NotFollowReson { get; set; } = string.Empty;
|
||||
//public bool IsLocked { get; set; } = false;
|
||||
public TrialSiteSurveyEnum State { get; set; }
|
||||
}
|
||||
|
||||
///<summary>TrialSiteSurveyQuery 列表查询参数模型</summary>
|
||||
public class TrialSiteSurveyQuery
|
||||
{
|
||||
public Guid TrialId { get; set; }
|
||||
|
||||
public Guid SiteId { get; set; }
|
||||
|
||||
/////<summary> UserName</summary>
|
||||
//public string UserName { get; set; }
|
||||
|
||||
/////<summary> Phone</summary>
|
||||
//public string Phone { get; set; }
|
||||
|
||||
/////<summary> Email</summary>
|
||||
//public string Email { get; set; }
|
||||
|
||||
/////<summary> NotConfirmReson</summary>
|
||||
//public string NotConfirmReson { get; set; }
|
||||
|
||||
/////<summary> NotFollowReson</summary>
|
||||
//public string NotFollowReson { get; set; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
public class SiteSurveySendVerifyCode
|
||||
{
|
||||
public VerifyType verificationType { get; set; }
|
||||
public string EmailOrPhone { get; set; } = string.Empty;
|
||||
|
||||
}
|
||||
|
||||
public class LoginDto
|
||||
{
|
||||
public Guid TrialId { get; set; }
|
||||
|
||||
public Guid SiteId { get; set; }
|
||||
|
||||
|
||||
public bool IsUpdate { get; set; }
|
||||
|
||||
|
||||
public string ReplaceUserEmailOrPhone { get; set; } = string.Empty;
|
||||
|
||||
public VerifyType verificationType { get; set; }
|
||||
public string EmailOrPhone { get; set; } = string.Empty;
|
||||
|
||||
public string verificationCode { get; set; } = string.Empty;
|
||||
}
|
||||
|
||||
|
||||
///<summary> TrialSiteSurveyAddOrEdit 列表查询参数模型</summary>
|
||||
public class TrialSiteSurveyAddOrEdit
|
||||
{
|
||||
public Guid? Id { get; set; }
|
||||
public Guid TrialId { get; set; }
|
||||
public Guid SiteId { get; set; }
|
||||
public string UserName { get; set; } = string.Empty;
|
||||
public string Phone { get; set; } = string.Empty;
|
||||
public string Email { get; set; } = string.Empty;
|
||||
public int AverageEngravingCycle { get; set; }
|
||||
public bool IsConfirmImagingTechnologist { get; set; }
|
||||
public string NotConfirmReson { get; set; } = string.Empty;
|
||||
public int EfficacyEvaluatorType { get; set; }
|
||||
public bool IsFollowStudyParameters { get; set; }
|
||||
public string NotFollowReson { get; set; } = string.Empty;
|
||||
|
||||
|
||||
}
|
||||
|
||||
public class TrialSiteSurvyeSubmitDTO
|
||||
{
|
||||
[NotDefault]
|
||||
public Guid TrialId { get; set; }
|
||||
[NotDefault]
|
||||
public Guid TrialSiteSurveyId { get; set; }
|
||||
|
||||
public string? LoginUrl { get; set; }
|
||||
|
||||
public string? RouteUrl { get; set; }
|
||||
}
|
||||
|
||||
public class TrialSiteSurveyQueryDTO
|
||||
{
|
||||
//public Guid? SiteId { get; set; }
|
||||
|
||||
public string SiteName { get; set; } = String.Empty;
|
||||
public string TrialSiteCode { get; set; } = String.Empty;
|
||||
public string TrialSiteAliasName { get; set; } = String.Empty;
|
||||
}
|
||||
|
||||
public class CopyTrialSiteSurveyDTO
|
||||
{
|
||||
public Guid TrialSiteSurveyId { get; set; }
|
||||
public string UserName { get; set; } = string.Empty;
|
||||
public string Phone { get; set; } = string.Empty;
|
||||
public string Email { get; set; } = string.Empty;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,70 @@
|
||||
//--------------------------------------------------------------------
|
||||
// 此代码由T4模板自动生成 byzhouhang 20210918
|
||||
// 生成时间 2021-12-23 13:21:04
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
|
||||
//--------------------------------------------------------------------
|
||||
using IRaCIS.Core.Domain.Share;
|
||||
namespace IRaCIS.Core.Application.Contracts
|
||||
{
|
||||
/// <summary> TrialSiteUserSurveyView 列表视图模型 </summary>
|
||||
public class TrialSiteUserSurveyView: TrialSiteUserSurveyAddOrEdit
|
||||
{
|
||||
public bool IsGenerateSuccess { get; set; }
|
||||
public DateTime CreateTime { get; set; }
|
||||
public Guid CreateUserId { get; set; }
|
||||
public DateTime UpdateTime { get; set; }
|
||||
public Guid UpdateUserId { get; set; }
|
||||
|
||||
public string UserType { get; set; } = string.Empty;
|
||||
public TrialSiteSurveyEnum State { get; set; }
|
||||
|
||||
public string TrialRoleName { get; set; }
|
||||
|
||||
public Guid? SystemUserId { get; set; }
|
||||
}
|
||||
|
||||
///<summary>TrialSiteUserSurveyQuery 列表查询参数模型</summary>
|
||||
public class TrialSiteUserSurveyQuery
|
||||
{
|
||||
|
||||
public Guid TrialSiteSurveyId { get; set; }
|
||||
|
||||
/////<summary> UserName</summary>
|
||||
//public string Name { get; set; }
|
||||
|
||||
/////<summary> Phone</summary>
|
||||
//public string Phone { get; set; }
|
||||
|
||||
/////<summary> Email</summary>
|
||||
//public string Email { get; set; }
|
||||
|
||||
}
|
||||
|
||||
///<summary> TrialSiteUserSurveyAddOrEdit 列表查询参数模型</summary>
|
||||
public class TrialSiteUserSurveyAddOrEdit
|
||||
{
|
||||
public Guid? Id { get; set; }
|
||||
public Guid TrialRoleNameId { get; set; }
|
||||
public Guid TrialSiteSurveyId { get; set; }
|
||||
public Guid? UserTypeId { get; set; }
|
||||
public string FirstName { get; set; } = string.Empty;
|
||||
public string LastName { get; set; } = string.Empty;
|
||||
public string Phone { get; set; } = string.Empty;
|
||||
public string Email { get; set; } = string.Empty;
|
||||
public bool IsCorrect { get; set; }
|
||||
public bool IsGenerateAccount { get; set; }
|
||||
|
||||
public string OrganizationName { get; set; } = string.Empty;
|
||||
}
|
||||
|
||||
|
||||
public class TrialSiteUserSurveyVerfyResult
|
||||
{
|
||||
public Guid TrialSiteUserSurveyId { get; set; }
|
||||
|
||||
public List<string> ErroMsgList { get; set; } = new List<string>();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user