
//--------------------------------------------------------------------
//     此代码由T4模板自动生成  byzhouhang 20210918
//	   生成时间 2021-12-06 10:49:39 
//     对此文件的更改可能会导致不正确的行为，并且如果重新生成代码，这些更改将会丢失。
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models
{
	 ///<summary>
	 ///NoneDicomStudy
	 ///</summary>
	 [Table("NoneDicomStudy")]	
	 public class NoneDicomStudy : Entity, IAuditUpdate, IAuditAdd
	 {
        [JsonIgnore]
		public List<NoneDicomStudyFile> NoneDicomFileList { get; set; }
		[JsonIgnore]
		public SubjectVisit SubjectVisit { get; set; }
		[JsonIgnore]
		public TrialSite TrialSite { get; set; }
		[JsonIgnore]
		public Subject Subject { get; set; }

        public string StudyCode { get; set; } = string.Empty;

		public int FileCount { get; set; }

		public int Code { get; set; }
		
		/// <summary>
        /// TrialId
        /// </summary>
		[Required]
		public Guid TrialId { get; set; }
	
		/// <summary>
        /// SiteId
        /// </summary>
		[Required]
		public Guid SiteId { get; set; }
	
		/// <summary>
        /// SubjectId
        /// </summary>
		[Required]
		public Guid SubjectId { get; set; }
	
		/// <summary>
        /// SubjectVisitId
        /// </summary>
		[Required]
		public Guid SubjectVisitId { get; set; }
	
		/// <summary>
        /// BodyPart
        /// </summary>
		[Required]
		public string BodyPart { get; set; }
	
		/// <summary>
        /// Modality
        /// </summary>
		[Required]
		public string Modality { get; set; }
	
		/// <summary>
        /// ImageDate
        /// </summary>
		[Required]
		public DateTime ImageDate { get; set; }
	
		/// <summary>
        /// UpdateTime
        /// </summary>
		[Required]
		public DateTime UpdateTime { get; set; }
	
		/// <summary>
        /// UpdateUserId
        /// </summary>
		[Required]
		public Guid UpdateUserId { get; set; }

		/// <summary>
		/// CreateTime
		/// </summary>
		[Required]
		public DateTime CreateTime { get; set; }

		/// <summary>
		/// CreateUserId
		/// </summary>
		[Required]
		public Guid CreateUserId { get; set; }

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


		/// <summary>
		/// Description
		/// </summary>
		public string Description { get; set; } = string.Empty;


		public string VideoName { get; set; } = string.Empty;

		public string VideoObjectName { get; set; } = string.Empty;

		public DateTime? UploadVideoTime { get; set; }

		public string VideoUrl { get; set; } = string.Empty;

	}

}	 
