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 { /// ///阅片期设置 只会设计到所有人 或者某个Site 针对全局 /// [Table("ReadingPeriodSet")] public class ReadingPeriodSet : Entity, IAuditAdd { /// /// 项目ID /// public Guid TrialId { get; set; } /// /// 阅片期名称 /// public string ReadingPeriodName { get; set; } /// /// 阅片范围 /// public ReadingScopeEnum ReadingScope { get; set; } /// /// 截止日期 /// public DateTime? ExpirationDate { get; set; } /// /// 截止访视 /// public decimal? ExpirationVisitNum { get; set; } /// /// 访视计划ID /// public Guid? VisitStageId { get; set; } [JsonIgnore] /// /// 访视模板 /// [ForeignKey("VisitStageId")] public VisitStage VisitStage { get; set; } /// /// 是否生效 /// public ReadingPeriodStatus IsTakeEffect { get; set; } /// /// 生效时间 /// public DateTime? EffectOfTime { get; set; } /// /// 创建时间 /// public DateTime CreateTime { get; set; } /// /// 创建人 /// public Guid CreateUserId { get; set; } /// /// 是否为全局阅片 /// public bool IsGlobal { get; set; } /// /// 阅片配置的类型 /// public ReadingSetType ReadingSetType { get; set; } [JsonIgnore] public List ReadingPeriodSites { get; set; } = new List(); /// /// 阅片期计划 /// [JsonIgnore] public List ReadingPeriodPlanList { get; set; } = new List(); } }