//------------------------------------------------------------------------------
// <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(@"LIEFERSCHEINPOSITION")]
    public partial class Lieferscheinposition : BewegungBase
    {
        Lieferscheinkopf fLiefernr;
        [Persistent(@"LIEFERNR")]
        [Association(@"LieferscheinpositionReferencesLieferscheinkopf")]
        public Lieferscheinkopf Liefernr
        {
            get { return fLiefernr; }
            set { SetPropertyValue<Lieferscheinkopf>(nameof(Liefernr), ref fLiefernr, value); }
        }
        [Association(@"RechnungspositionReferencesLieferscheinposition")]
        public XPCollection<Rechnungsposition> Rechnungspositions { get { return GetCollection<Rechnungsposition>(nameof(Rechnungspositions)); } }
    }

}
