//---------------------------------------------------------------------------------------------
// 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>
    /// Employee pay history.
    ///</summary>
    public partial class EmployeePayHistory
    {
        public EmployeePayHistory()
        {
        }

        #region Properties

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

        ///<summary>
        /// Date the change in pay is effective
        ///</summary>
        public DateTime RateChangeDate  { get; set; }

        ///<summary>
        /// Salary hourly rate.
        ///</summary>
        public decimal Rate  { get; set; }

        ///<summary>
        /// 1 = Salary received monthly, 2 = Salary received biweekly
        ///</summary>
        public byte PayFrequency  { get; set; }

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

        #endregion

        #region Navigation Properties

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

        #endregion
    }
}