
//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated from a template.
//
//     Manual changes to this file may cause unexpected behavior in your application.
//     Manual changes to this file will be overwritten if the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------


namespace EHEC_Server
{

using System;
    using System.Collections.Generic;
    
public partial class Exam
{

    [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
    public Exam()
    {

        this.Origin_Exam = new HashSet<Origin_Exam>();

    }


    public int ExamId { get; set; }

    public int DoctorId { get; set; }

    public int PatientId { get; set; }

    public int ResultId { get; set; }



    public virtual Doctor Doctor { get; set; }

    public virtual Patient Patient { get; set; }

    public virtual Result Result { get; set; }

    [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]

    public virtual ICollection<Origin_Exam> Origin_Exam { get; set; }

}

}
