//------------------------------------------------------------------------------
// <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(@"VERPACKUNG")]
    public partial class Verpackung : SiegelBase
    {
        int fID;
        [Key(true)]
        public int ID
        {
            get { return fID; }
            set { SetPropertyValue<int>(nameof(ID), ref fID, value); }
        }
        string fVP_ID;
        [Indexed(Name = @"Verpackung_VP_ID", Unique = true)]
        public string VP_ID
        {
            get { return fVP_ID; }
            set { SetPropertyValue<string>(nameof(VP_ID), ref fVP_ID, value); }
        }
        string fVP_Bezeichnung;
        [Persistent(@"VP_BEZEICHNUNG")]
        public string VP_Bezeichnung
        {
            get { return fVP_Bezeichnung; }
            set { SetPropertyValue<string>(nameof(VP_Bezeichnung), ref fVP_Bezeichnung, value); }
        }
        [Association(@"ArtikelReferencesVerpackung"), Aggregated]
        public XPCollection<Artikel> Artikels { get { return GetCollection<Artikel>(nameof(Artikels)); } }
        [Association(@"RolleReferencesVerpackung"), Aggregated]
        public XPCollection<Rolle> Rolles { get { return GetCollection<Rolle>(nameof(Rolles)); } }
    }

}
