//---------------------------------------------------------------------------------------------
// This file was AUTO-GENERATED by "EF Domain Objects" Xomega.Net generator.
//
// Manual CHANGES to this file WILL BE LOST when the code is regenerated.
//---------------------------------------------------------------------------------------------

using System;

namespace AdventureWorks.Services.Entities
{
    ///<summary>
    /// Cross-reference table mapping product models and illustrations.
    ///</summary>
    public partial class ProductModelIllustration
    {
        public ProductModelIllustration()
        {
        }

        #region Properties

        ///<summary>
        /// Primary key. Foreign key to ProductModel.ProductModelID.
        ///</summary>
        public int ProductModelId  { get; set; }

        ///<summary>
        /// Primary key. Foreign key to Illustration.IllustrationID.
        ///</summary>
        public int IllustrationId  { get; set; }

        ///<summary>
        /// Date and time the record was last updated.
        ///</summary>
        public DateTime ModifiedDate  { get; set; }

        #endregion

        #region Navigation Properties

        ///<summary>
        /// ProductModel object referenced by the field ProductModelId.
        ///</summary>
        public virtual ProductModel ProductModelObject { get; set; }

        ///<summary>
        /// Illustration object referenced by the field IllustrationId.
        ///</summary>
        public virtual Illustration IllustrationObject { get; set; }

        #endregion
    }
}