
//--------------------------------------------------------------------
//     此代码由T4模板自动生成  byzhouhang 20210918
//	   生成时间 2021-12-20 16:42:26 
//     对此文件的更改可能会导致不正确的行为，并且如果重新生成代码，这些更改将会丢失。
using System;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models
{
    ///<summary>
    ///VisitPlanInfluenceSubjectVisit
    ///</summary>
    [Table("VisitPlanInfluenceStudy")]
    public class VisitPlanInfluenceStudy : Entity, IAuditAdd
    {
        [JsonIgnore]
        public SubjectVisit SubjectVisit { get; set; }
        public Guid SubjectVisitId { get; set; }

        public Guid StudyId { get; set; }

        public Guid TrialId { get; set; }

        public bool IsDicomStudy { get; set; }

        public string Modality { get; set; }

        public bool IsOverWindowNowNotOverWindow { get; set; }

        public DateTime? StudyTime { get; set; }

        public string HistoryWindow { get; set; }

        public string NowWindow { get; set; }
        public DateTime CreateTime { get; set; }

        public Guid CreateUserId { get; set; }

        [JsonIgnore]
        [ForeignKey("CreateUserId")]
        public User CreateUser { get; set; }
        [JsonIgnore]
        [ForeignKey("VisitPlanInfluenceStatId")]
        public VisitPlanInfluenceStat VisitPlanInfluenceStat { get; set; }

        public Guid VisitPlanInfluenceStatId { get; set; }

    }

}
