
//--------------------------------------------------------------------
//     此代码由T4模板自动生成  byzhouhang 20210918
//	   生成时间 2022-07-08 10:43:53 
//     对此文件的更改可能会导致不正确的行为，并且如果重新生成代码，这些更改将会丢失。
using System;
using IRaCIS.Core.Domain.Share;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models
{
    ///<summary>
    ///EnrollReadingCategory
    ///</summary>
    [Table("EnrollReadingCategory")]
    public class EnrollReadingCategory : Entity, IAuditAdd
    {
        /// <summary>
        /// EnrollId
        /// </summary>
        public Guid EnrollId { get; set; }

        /// <summary>
        /// ReadingCategory
        /// </summary>
        public ReadingCategory ReadingCategory { get; set; }


        public Guid TrialReadingCriterionId { get; set; }

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

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

        [JsonIgnore]
        [ForeignKey("EnrollId")]
        public Enroll Enroll { get; set; }
    }

}
