oop_II-6/Web_Server_EHEC/Web_Server_EHEC/Model/Doctor.cs

35 lines
1.2 KiB
C#

//------------------------------------------------------------------------------
// <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 Web_Server_EHEC.Model
{
using System;
using System.Collections.Generic;
using Web_Server_EHEC.DAL;
using Web_Server_EHEC.ISL;
public partial class Doctor : Person
{
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
public Doctor()
{
this.Exam = new HashSet<Exam>();
}
public int DoctorId { get; set; }
public int DoctortypeId { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection<Exam> Exam { get; set; }
public virtual Doctortype Doctortype { get; set; }
}
}