//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using DevExpress.Xpo;
using DevExpress.Data.Filtering;
using System.Collections.Generic;
using System.ComponentModel;
namespace Siegelportal.Module.BusinessObjects.Siegelportal
{

    [Persistent(@"BOGEN")]
    public partial class Bogen : RolleBase
    {
        Kunde fKundennr;
        [Persistent(@"KUNDENNR")]
        public Kunde Kundennr
        {
            get { return fKundennr; }
            set { SetPropertyValue<Kunde>(nameof(Kundennr), ref fKundennr, value); }
        }
        Lieferscheinkopf fLieferdatum;
        [Persistent(@"LIEFERDATUM")]
        public Lieferscheinkopf Lieferdatum
        {
            get { return fLieferdatum; }
            set { SetPropertyValue<Lieferscheinkopf>(nameof(Lieferdatum), ref fLieferdatum, value); }
        }
        int fSiegelmenge;
        [Persistent(@"SIEGELMENGE")]
        public int Siegelmenge
        {
            get { return fSiegelmenge; }
            set { SetPropertyValue<int>(nameof(Siegelmenge), ref fSiegelmenge, value); }
        }
        string fBogennr;
        [Indexed(Name = @"Bogen_Bogennr", Unique = true)]
        [Persistent(@"BOGENNR")]
        public string Bogennr
        {
            get { return fBogennr; }
            set { SetPropertyValue<string>(nameof(Bogennr), ref fBogennr, value); }
        }
    }

}
