using Ease.Core.Model; using System; using System.Collections.Generic; using System.Data; using System.IO; using System.Reflection; namespace HRM.BO { public class SurveyEmployee:AuditTrailBase { #region Constructor public SurveyEmployee() { _surveyID = 0; _employeeID = 0; } #endregion #region Properties #region SurveyID : ID private int _surveyID; public int SurveyID { get { return _surveyID; } set { _surveyID = value; } } #endregion #region QuestionID : int private int? _employeeID; public int? EmployeeID { get { return _employeeID; } set { _employeeID = value; } } #endregion #region CandidateID : int private int _candidateID; public int CandidateID { get { return _candidateID; } set { _candidateID = value; } } #endregion public DateTime? StartTime { get; set; } public double CurrentTime { get; set; } public int CurrentQuestionID { get; set; } public int ErCircularID { get; set; } public double SurveyMark { get; set; } public double SurveyTime { get; set; } public bool? IsCompleted { get; set; } public DateTime? CompleteTime { get; set; } public DateTime? SurveyParticipantDate { get; set; } public bool? IsDisconnected { get; set; } #region Service Factory IPFTransactionService : IPFTransactionService internal static ISurveyEmployeeService Service { get { return Services.Factory.CreateService(typeof(ISurveyEmployeeService)); } } #endregion #endregion } #region ISurveyEmployee Service public interface ISurveyEmployeeService { List GetSurveyEmployee(int surveyId); List GetSurveyEmployee(); List GetSurveyEmployeeByCandidateId(int surveyId, int candidateId); List GetSurveyEmployeeByCandidateId(int surveyId, int candidateId,int erCircularId); int Save(SurveyEmployee item); void Delete(int id); void DeleteByCandidateID(int surveyId, int candidateId, int erCircularId); List GetSurveyEmployeebyJobId(int candidateId, int erCircularId); List GetCompleteExamByCandidate(int candidateId, int erCircularId); } #endregion }