//------------------------------------------------------------------------------
// <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(@"RETOURE")]
    public partial class Retoure : BewegungBase
    {
        string fRetournr;
        [Indexed(Name = @"Retoure_Retournr", Unique = true)]
        [Persistent(@"RETOURNR")]
        public string Retournr
        {
            get { return fRetournr; }
            set { SetPropertyValue<string>(nameof(Retournr), ref fRetournr, value); }
        }
        Kunde fKundennr;
        [Persistent(@"KUNDENNR")]
        [Association(@"RetoureReferencesKunde")]
        public Kunde Kundennr
        {
            get { return fKundennr; }
            set { SetPropertyValue<Kunde>(nameof(Kundennr), ref fKundennr, value); }
        }
    }

}
