99 lines
3.1 KiB
C#
99 lines
3.1 KiB
C#
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using System.Linq;
|
|||
|
|
using System.Text;
|
|||
|
|
using System.Threading.Tasks;
|
|||
|
|
|
|||
|
|
namespace HRM.BO
|
|||
|
|
{
|
|||
|
|
#region ExitInterview
|
|||
|
|
public class ExitInterview : BasicBaseObject
|
|||
|
|
{
|
|||
|
|
#region Constructor
|
|||
|
|
|
|||
|
|
public ExitInterview()
|
|||
|
|
{
|
|||
|
|
EmployeeID = 0;
|
|||
|
|
Name = string.Empty;
|
|||
|
|
JobTitle = string.Empty;
|
|||
|
|
DepartmentName = string.Empty;
|
|||
|
|
ManagerName = string.Empty;
|
|||
|
|
SourceofHire = string.Empty;
|
|||
|
|
HireDate = null;
|
|||
|
|
TermDate = null;
|
|||
|
|
ExitInteviewDate = DateTime.Today;
|
|||
|
|
//_ReasonsforLeaving = string.Empty;
|
|||
|
|
CultureandClimate = string.Empty;
|
|||
|
|
CareerDevelopment = string.Empty;
|
|||
|
|
Settingobjectives = string.Empty;
|
|||
|
|
Providingfeedbackonperformance = string.Empty;
|
|||
|
|
Facilitatingteamwork = string.Empty;
|
|||
|
|
Communicatinginformationaffects = string.Empty;
|
|||
|
|
Relationshipwithemployees = string.Empty;
|
|||
|
|
Other = string.Empty;
|
|||
|
|
AdditionalComments = string.Empty;
|
|||
|
|
CommentForCompany = string.Empty;
|
|||
|
|
//ReasonID = null;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
#endregion
|
|||
|
|
|
|||
|
|
#region Properties
|
|||
|
|
public int EmployeeID { get; set; }
|
|||
|
|
|
|||
|
|
public DateTime ExitInteviewDate { get; set; }
|
|||
|
|
public DateTime? TermDate { get; set; }
|
|||
|
|
public DateTime? HireDate { get; set; }
|
|||
|
|
public string CommentForCompany { get; set; }
|
|||
|
|
public string AdditionalComments { get; set; }
|
|||
|
|
public string Other { get; set; }
|
|||
|
|
public string Relationshipwithemployees { get; set; }
|
|||
|
|
public string Communicatinginformationaffects { get; set; }
|
|||
|
|
public string Facilitatingteamwork { get; set; }
|
|||
|
|
public string Settingobjectives { get; set; }
|
|||
|
|
public string Providingfeedbackonperformance { get; set; }
|
|||
|
|
public string SourceofHire { get; set; }
|
|||
|
|
public string CultureandClimate { get; set; }
|
|||
|
|
public string CareerDevelopment { get; set; }
|
|||
|
|
public string Name { get; set; }
|
|||
|
|
public string JobTitle { get; set; }
|
|||
|
|
public string DepartmentName { get; set; }
|
|||
|
|
public string ManagerName { get; set; }
|
|||
|
|
public EnumReasonForLeaveing ReasonID { get; set; }
|
|||
|
|
//public List<ReasonsForLeaving> ReasonsForLeavingCol { get; set; }
|
|||
|
|
#endregion
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
#endregion
|
|||
|
|
|
|||
|
|
#region ReasonsForLeaving
|
|||
|
|
//public class ReasonsForLeaving : BasicBaseObject
|
|||
|
|
//{
|
|||
|
|
|
|||
|
|
// #region Constructor
|
|||
|
|
|
|||
|
|
// public ReasonsForLeaving()
|
|||
|
|
// {
|
|||
|
|
// }
|
|||
|
|
|
|||
|
|
// #endregion
|
|||
|
|
|
|||
|
|
// #region Properties
|
|||
|
|
// public int ExitInterviewID { get; set; }
|
|||
|
|
// public EnumReasonForLeaveing ReasonID { get; set; }
|
|||
|
|
|
|||
|
|
// #endregion
|
|||
|
|
//}
|
|||
|
|
#endregion
|
|||
|
|
public interface IExitInterviewService
|
|||
|
|
{
|
|||
|
|
ExitInterview Get(int id);
|
|||
|
|
ExitInterview GetByEmployeeID(int nID);
|
|||
|
|
List<ExitInterview> Get();
|
|||
|
|
int Save(ExitInterview item);
|
|||
|
|
void Delete(int id);
|
|||
|
|
//List<ReasonsForLeaving> GetReasonsForLeaving(int nExitInterviewID);
|
|||
|
|
List<ExitInterview> Get(DateTime dtFrom, DateTime dtTo, int nReasonID);
|
|||
|
|
}
|
|||
|
|
}
|