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

        public Guid TrialSiteSurveyId { get; set; }

        [JsonIgnore]
        [ForeignKey("EquipmentTypeId")]
        public  Dictionary EquipmentType { get; set; }

        public Guid EquipmentTypeId { get; set; }


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

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

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

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

        /// <summary>
        /// Parameters
        /// </summary>
        [Required]
        public string Parameters { get; set; } = string.Empty;

        /// <summary>
        /// ManufacturerName
        /// </summary>
        [Required]
        public string ManufacturerName { get; set; } = string.Empty;

        /// <summary>
        /// ScannerType
        /// </summary>
        [Required]
        public string ScannerType { get; set; } = string.Empty;

        /// <summary>
        /// Note
        /// </summary>
        [Required]
        public string Note { get; set; } = string.Empty;



    }

}
