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

namespace de.WWWings.CodeOnly
{

 public partial class Passagier : Person
 {
  // Primärschlüssel wird geerbt!
  // --- Weitere Eigenschaften
  public virtual Nullable<System.DateTime> KundeSeit { get; set; }
 [StringLength(1), MinLength(1), RegularExpression("[ABC]")]
  public virtual string KundenStatus { get; set; }

 // --- Beziehungen zu anderen Entitäten
  public virtual ICollection<Flug> Flug { get; set; }
 }
}
