//------------------------------------------------------------------------------
// <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>
//------------------------------------------------------------------------------

// This code was generated by XmlSchemaClassGenerator version 3.0.1270.0 using the following command:
// xscgen --namespace http://schemas.nav.gov.hu/EKAER/1.0/ekaermanagement=AyCode.Services.Nav.Ekaer.Models --namespace http://schemas.nav.gov.hu/EKAER/1.0/common=AyCode.Services.Nav.Ekaer.Models.Common --nullable --separateFiles --output C:/Users/Fullepi/Downloads/ekaer/Generated2 C:/Users/Fullepi/Downloads/ekaer/ekaermanagement.xsd
namespace AyCode.Services.Nav.Ekaer.Models
{
    
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "3.0.1270.0")]
    [System.SerializableAttribute()]
    [System.Xml.Serialization.XmlTypeAttribute("TradeCardType", Namespace="http://schemas.nav.gov.hu/EKAER/1.0/ekaermanagement")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlRootAttribute("TradeCardType", Namespace="http://schemas.nav.gov.hu/EKAER/1.0/ekaermanagement")]
    [System.Xml.Serialization.XmlIncludeAttribute(typeof(TradeCardInfoType))]
    public partial class TradeCardType : BasicTradeCardType
    {
        
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        private System.Collections.ObjectModel.Collection<TradeCardItemType> _items;
        
        [System.Xml.Serialization.XmlArrayAttribute("items")]
        [System.Xml.Serialization.XmlArrayItemAttribute("tradeCardItem", Namespace="http://schemas.nav.gov.hu/EKAER/1.0/ekaermanagement")]
        public System.Collections.ObjectModel.Collection<TradeCardItemType> Items
        {
            get
            {
                return _items;
            }
            private set
            {
                _items = value;
            }
        }
        
        /// <summary>
        /// <para xml:lang="en">Gets a value indicating whether the Items collection is empty.</para>
        /// </summary>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool ItemsSpecified
        {
            get
            {
                return (this.Items.Count != 0);
            }
        }
        
        /// <summary>
        /// <para xml:lang="en">Initializes a new instance of the <see cref="TradeCardType" /> class.</para>
        /// </summary>
        public TradeCardType()
        {
            this._items = new System.Collections.ObjectModel.Collection<TradeCardItemType>();
            this._deliveryPlans = new System.Collections.ObjectModel.Collection<DeliveryPlanType>();
        }
        
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        private System.Collections.ObjectModel.Collection<DeliveryPlanType> _deliveryPlans;
        
        [System.Xml.Serialization.XmlArrayAttribute("deliveryPlans")]
        [System.Xml.Serialization.XmlArrayItemAttribute("deliveryPlan", Namespace="http://schemas.nav.gov.hu/EKAER/1.0/ekaermanagement")]
        public System.Collections.ObjectModel.Collection<DeliveryPlanType> DeliveryPlans
        {
            get
            {
                return _deliveryPlans;
            }
            private set
            {
                _deliveryPlans = value;
            }
        }
        
        /// <summary>
        /// <para xml:lang="en">Gets a value indicating whether the DeliveryPlans collection is empty.</para>
        /// </summary>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool DeliveryPlansSpecified
        {
            get
            {
                return (this.DeliveryPlans.Count != 0);
            }
        }
    }
}
