//------------------------------------------------------------------------------
// <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;

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

  [System.ComponentModel.DataAnnotations.Key]
  public virtual int FlugNr
  {
   get;
   set;
  }

  public virtual string Abflugort
  {
   get;
   set;
  }

  public virtual string Zielort
  {
   get;
   set;
  }

  public virtual System.DateTime Datum
  {
   get;
   set;
  }

  public virtual bool NichtRaucherFlug
  {
   get;
   set;
  }

  public virtual short Plaetze
  {
   get;
   set;
  }

  public virtual Nullable<short> FreiePlaetze
  {
   get;
   set;
  }

  public virtual Nullable<System.DateTime> Ankunft
  {
   get;
   set;
  }

  public virtual string Memo
  {
   get;
   set;
  }

  #endregion
  #region Navigation Properties

  public virtual Pilot Pilot
  {
   get;
   set;
  }

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

  #endregion

 }
}