89 lines
2.9 KiB
C#
89 lines
2.9 KiB
C#
//--------------------------------------------------------------------
|
|
// 此代码由T4模板自动生成 byzhouhang 20210918
|
|
// 生成时间 2022-06-29 13:36:46
|
|
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
|
|
//--------------------------------------------------------------------
|
|
using System;
|
|
using IRaCIS.Core.Domain.Share;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace IRaCIS.Core.Application.ViewModel
|
|
{
|
|
/// <summary> TaskTaskMedicalReviewRuleView 列表视图模型 </summary>
|
|
public class TaskMedicalReviewRuleView : TaskMedicalReviewRuleAddOrEdit
|
|
{
|
|
public Guid CreateUserId { get; set; }
|
|
public DateTime CreateTime { get; set; }
|
|
public DateTime UpdateTime { get; set; }
|
|
public Guid UpdateUserId { get; set; }
|
|
|
|
public UserSimpleInfo DoctorUser { get; set; }
|
|
|
|
|
|
|
|
[JsonIgnore]
|
|
public List<Guid> ActualVisitTaskIdList { get; set; }
|
|
[JsonIgnore]
|
|
public List<Guid> ActualJudgeTaskIdList { get; set; }
|
|
[JsonIgnore]
|
|
public List<Guid> ActualGlobalTaskIdList { get; set; }
|
|
[JsonIgnore]
|
|
public List<Guid> ActualTumorTaskIdList { get; set; }
|
|
|
|
|
|
|
|
|
|
[JsonIgnore]
|
|
public List<Guid> GeneratedVisitTaskIdList { get; set; }
|
|
[JsonIgnore]
|
|
public List<Guid> GeneratedJudgeTaskIdList { get; set; }
|
|
[JsonIgnore]
|
|
public List<Guid> GeneratedGlobalTaskIdList { get; set; }
|
|
[JsonIgnore]
|
|
public List<Guid> GeneratedTumorTaskIdList { get; set; }
|
|
|
|
|
|
public int GeneratedVisitCount => GeneratedVisitTaskIdList.Count;
|
|
public int GeneratedJudgeCount => GeneratedJudgeTaskIdList.Count;
|
|
public int GeneratedGlobalCount => GeneratedGlobalTaskIdList.Count;
|
|
public int GeneratedTumorCount => GeneratedTumorTaskIdList.Count;
|
|
|
|
|
|
|
|
|
|
public int ActualVisitCount => ActualVisitTaskIdList.Count;
|
|
public int ActualJudgeCount => ActualJudgeTaskIdList.Count;
|
|
public int ActualGlobalCount => ActualGlobalTaskIdList.Count;
|
|
public int ActualTumorCount => ActualTumorTaskIdList.Count;
|
|
|
|
}
|
|
|
|
///<summary>TaskTaskMedicalReviewRuleQuery 列表查询参数模型</summary>
|
|
public class TaskMedicalReviewRuleQuery
|
|
{
|
|
[NotDefault]
|
|
public Guid TrialId { get; set; }
|
|
|
|
}
|
|
|
|
///<summary> TaskTaskMedicalReviewRuleAddOrEdit 列表查询参数模型</summary>
|
|
public class TaskMedicalReviewRuleAddOrEdit
|
|
{
|
|
public Guid? Id { get; set; }
|
|
public Guid DoctorUserId { get; set; }
|
|
public bool IsEnable { get; set; }
|
|
public string Note { get; set; }
|
|
public Guid TrialId { get; set; }
|
|
public int PlanVisitCount { get; set; }
|
|
public int PlanJudgeCount { get; set; }
|
|
public int PlanGlobalCount { get; set; }
|
|
public int PlanTumorCount { get; set; }
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|