115 lines
2.8 KiB
C#
115 lines
2.8 KiB
C#
|
|
|||
|
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<ISurveyEmployeeService>(typeof(ISurveyEmployeeService)); }
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
}
|
|||
|
#region ISurveyEmployee Service
|
|||
|
|
|||
|
public interface ISurveyEmployeeService
|
|||
|
{
|
|||
|
List<SurveyEmployee> GetSurveyEmployee(int surveyId);
|
|||
|
List<SurveyEmployee> GetSurveyEmployee();
|
|||
|
List<SurveyEmployee> GetSurveyEmployeeByCandidateId(int surveyId, int candidateId);
|
|||
|
List<SurveyEmployee> GetSurveyEmployeeByCandidateId(int surveyId, int candidateId,int erCircularId);
|
|||
|
int Save(SurveyEmployee item);
|
|||
|
void Delete(int id);
|
|||
|
void DeleteByCandidateID(int surveyId, int candidateId, int erCircularId);
|
|||
|
List<SurveyEmployee> GetSurveyEmployeebyJobId(int candidateId, int erCircularId);
|
|||
|
List<SurveyEmployee> GetCompleteExamByCandidate(int candidateId, int erCircularId);
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
}
|