//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated from a template.
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using System.ComponentModel.DataAnnotations;

namespace de.WWWings.CodeOnly
{
    public partial class Mitarbeiter
    {
        #region Primitive Properties

       [System.ComponentModel.DataAnnotations.Key]
        public virtual int PersonId
        {
         get;
         set;
        }
    
        public virtual Nullable<int> MitarbeiterNr
        {
            get;
            set;
        }
    
        public virtual Nullable<System.DateTime> Einstellungsdatum
        {
            get;
            set;
        }
    
        //public virtual Nullable<int> VorgesetzterPersonID
        //{
        // get;
        // set;
        //}
 

        #endregion
        #region Navigation Properties

     [InverseProperty("Mitarbeiter")]
        public virtual Person Person
        {
         get;
         set;
        }
       
    
        //public virtual ICollection<Mitarbeiter> Mitarbeiter1
        //{
        // get;
        // set;
        //}
  
        public virtual Mitarbeiter Vorgesetzter
        {
         get;
         set;
        }
      
        public virtual Pilot Pilot
        {
         get;
         set;
        }


        #endregion
       
    }
}
