//--------------------------------------------------------------------
// 此代码由T4模板自动生成 byzhouhang 20210918
// 生成时间 2022-06-07 13:13:13
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
using System;
using IRaCIS.Core.Domain.Share;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Collections.Generic;
namespace IRaCIS.Core.Domain.Models
{
///
///TaskAllocationRule
///
[Table("TaskAllocationRule")]
public class TaskAllocationRule : Entity, IAuditUpdate, IAuditAdd
{
public Trial Trial { get; set; }
public Guid TrialId { get; set; }
///
/// CreateUserId
///
[Required]
public Guid CreateUserId { get; set; }
///
/// CreateTime
///
[Required]
public DateTime CreateTime { get; set; }
///
/// UpdateTime
///
[Required]
public DateTime UpdateTime { get; set; }
///
/// UpdateUserId
///
[Required]
public Guid UpdateUserId { get; set; }
///
/// 计划比率
///
[Required]
public int PlanReadingRatio { get; set; }
public Guid DoctorUserId { get; set; }
[ForeignKey("DoctorUserId")]
public User DoctorUser { get; set; }
///
/// IsEnable
///
[Required]
public bool IsEnable { get; set; }
public string Note { get; set; } = string.Empty;
//是否是裁判医生 裁判医生单独加入
public bool IsJudgeDoctor {get;set;}
public List DoctorVisitTaskList { get; set; } = new List();
/////
///// Arm 组
/////
//[Required]
//public int GroupEnum { get; set; }
/////
///// 分配类型
/////
//[Required]
//public int AllocationObjectEnum { get; set; }
}
}