//-------------------------------------------------------------------- // 此代码由T4模板自动生成 byzhouhang 20210918 // 生成时间 2022-06-07 13:16:33 // 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。 //-------------------------------------------------------------------- using System; using IRaCIS.Core.Domain.Share; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace IRaCIS.Core.Application.ViewModel { /// TaskAllocationRuleView 列表视图模型 public class TaskAllocationRuleView : TaskAllocationRuleAddOrEdit { public string UserCode { get; set; } public string UserName { get; set; } public string FullName { get; set; } public string UserTypeShortName { get; set; } public Guid CreateUserId { get; set; } public DateTime CreateTime { get; set; } public DateTime UpdateTime { get; set; } public Guid UpdateUserId { get; set; } public int? TotalTaskCount { get; set; } public int? SelfTaskCount { get; set; } public int? SelfSubjectCount { get; set; } public int? TotalSubjectCount { get; set; } public List ArmList { get; set; } } public class AllocateInfo { public int? TotalTaskCount { get; set; } public int? SelfTaskCount { get; set; } public int PlanReadingRatio { get; set; } public Guid DoctorUserId { get; set; } public List ArmList { get; set; } = new List(); //public double? TargetCount => TotalTaskCount * PlanReadingRatio * 0.01; //public double? Diff => TargetCount - SelfTaskCount; } ///TaskAllocationRuleQuery 列表查询参数模型 public class TaskAllocationRuleQuery { [NotDefault] public Guid TrialId { get; set; } } /// TaskAllocationRuleAddOrEdit 列表查询参数模型 public class TaskAllocationRuleAddOrEdit { public Guid? Id { get; set; } public Guid TrialId { get; set; } public int PlanReadingRatio { get; set; } public Guid DoctorUserId { get; set; } public bool IsEnable { get; set; } public string Note { get; set; } = string.Empty; } public class TrialDoctorUserSelectView { public Guid TrialId { get; set; } public ReadingMethod ReadingType { get; set; } public Guid? DoctorUserId { get; set; } public string UserCode { get; set; } public string UserName { get; set; } public string FullName { get; set; } public UserTypeEnum UserTypeEnum { get; set; } } }