//---------------------------------------------------------------------------------------------
// 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>
    /// Résumés submitted to Human Resources by job applicants.
    ///</summary>
    public partial class JobCandidate
    {
        public JobCandidate()
        {
        }

        #region Properties

        public int JobCandidateId  { get; set; }

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

        ///<summary>
        /// Résumé in XML format.
        ///</summary>
        public string Resume  { 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
    }
}