//---------------------------------------------------------------------------------------------
// 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>
    /// Sales performance tracking.
    ///</summary>
    public partial class SalesPersonQuotaHistory
    {
        public SalesPersonQuotaHistory()
        {
        }

        #region Properties

        ///<summary>
        /// Sales person identification number. Foreign key to SalesPerson.BusinessEntityID.
        ///</summary>
        public int BusinessEntityId  { get; set; }

        ///<summary>
        /// Sales quota date.
        ///</summary>
        public DateTime QuotaDate  { get; set; }

        ///<summary>
        /// Sales quota amount.
        ///</summary>
        public decimal SalesQuota  { get; set; }

        ///<summary>
        /// ROWGUIDCOL number uniquely identifying the record. Used to support a merge replication sample.
        ///</summary>
        public Guid Rowguid  { get; set; }

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

        #endregion

        #region Navigation Properties

        ///<summary>
        /// SalesPerson object referenced by the field BusinessEntityId.
        ///</summary>
        public virtual SalesPerson BusinessEntityObject { get; set; }

        #endregion
    }
}