//---------------------------------------------------------------------------------------------
// 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>
    /// Changes in the list price of a product over time.
    ///</summary>
    public partial class ProductListPriceHistory
    {
        public ProductListPriceHistory()
        {
        }

        #region Properties

        ///<summary>
        /// Product identification number. Foreign key to Product.ProductID
        ///</summary>
        public int ProductId  { get; set; }

        ///<summary>
        /// List price start date.
        ///</summary>
        public DateTime StartDate  { get; set; }

        ///<summary>
        /// List price end date
        ///</summary>
        public DateTime? EndDate  { get; set; }

        ///<summary>
        /// Product list price.
        ///</summary>
        public decimal ListPrice  { get; set; }

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

        #endregion

        #region Navigation Properties

        ///<summary>
        /// Product object referenced by the field ProductId.
        ///</summary>
        public virtual Product ProductObject { get; set; }

        #endregion
    }
}