//-------------------------------------------------------------------- // 此代码由T4模板自动生成 byzhouhang 20210918 // 生成时间 2022-06-29 13:36:46 // 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。 //-------------------------------------------------------------------- using Newtonsoft.Json; using System.ComponentModel.DataAnnotations; namespace IRaCIS.Core.Application.ViewModel { /// TaskTaskMedicalReviewRuleView 列表视图模型 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 ActualVisitTaskList { get; set; } [JsonIgnore] public List ActualJudgeTaskList { get; set; } [JsonIgnore] public List ActualGlobalTaskList { get; set; } [JsonIgnore] public List ActualTumorTaskList { get; set; } [JsonIgnore] public List GeneratedVisitTaskList { get; set; } [JsonIgnore] public List GeneratedJudgeTaskList { get; set; } [JsonIgnore] public List GeneratedGlobalTaskList { get; set; } [JsonIgnore] public List GeneratedTumorTaskList { get; set; } public int GeneratedVisitCount => GeneratedVisitTaskList.Count; public int GeneratedJudgeCount => GeneratedJudgeTaskList.Count; public int GeneratedGlobalCount => GeneratedGlobalTaskList.Count; public int GeneratedTumorCount => GeneratedTumorTaskList.Count; public int ActualVisitCount => ActualVisitTaskList.Count; public int ActualJudgeCount => ActualJudgeTaskList.Count; public int ActualGlobalCount => ActualGlobalTaskList.Count; public int ActualTumorCount => ActualTumorTaskList.Count; } public class TaskBasicIdView { public Guid TaskId { get; set; } public Guid TrialId { get; set; } public Guid? DoctorUserId { get; set; } } ///TaskTaskMedicalReviewRuleQuery 列表查询参数模型 public class TaskMedicalReviewRuleQuery { [NotDefault] public Guid TrialId { get; set; } } /// TaskTaskMedicalReviewRuleAddOrEdit 列表查询参数模型 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; } } }