//-------------------------------------------------------------------- // 此代码由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; using Microsoft.EntityFrameworkCore; namespace IRaCIS.Core.Domain.Models; [Comment("项目阅片 - 分配规则")] [Table("TaskAllocationRule")] public class TaskAllocationRule : BaseFullAuditEntity { #region 导航属性 [ForeignKey("DoctorUserId")] [JsonIgnore] public User DoctorUser { get; set; } [JsonIgnore] public Enroll Enroll { get; set; } [JsonIgnore] public Trial Trial { get; set; } #endregion public Guid TrialId { get; set; } public Guid DoctorUserId { get; set; } [Comment(" 入组表Id 可以去掉 TrialId DoctorUserId")] public Guid EnrollId { get; set; } public bool IsEnable { get; set; } public bool IsJudgeDoctor { get; set; } public string Note { get; set; } = null!; [Comment(" 计划比率")] public int PlanReadingRatio { get; set; } public int PlanSubjectCount { get; set; } }