using Ease.Core.Model; using System; using System.Collections.Generic; using System.Data; namespace HRM.BO { public class ErCV : AuditTrailBase { #region Constructor public ErCV() { } #endregion #region Properties public string Name { get; set; } public string FirstName { get; set; } public string LastName { get; set; } public string Email { get; set; } public string Mobile { get; set; } public string Designation { get; set; } public string PresentAddress { get; set; } public string PermanentAddress { get; set; } public EnumGender Gender { get; set; } public EnumMaritalStatus MaritalStatus { get; set; } public string SortStatus { get; set; } public int ReligionID { get; set; } public List AllExperiences { get; set; } public List AllEduQualifications { get; set; } public List CVReferences { get; set; } public List CVTrainings { get; set; } public List IRFileAttacments { get; set; } public FileAttachment ProfilePhotoAttachment { get; set; } public int PositionID { get; set; } public EnumOnBoradStatus? PositionStatus { get; set; } public int CandidateID { get; set; } public int UserID { get; set; } public FileAttachment ErCVProfilePhoto { get; set; } #endregion } #region IErCVService Service public interface IErCVService { void Save(ErCV obCV,string connectionString); void SaveCVSort(List Items); List SaveCVs(List cvs, string connectionString); ErCV Get(int cVID); List Get(); List getAllOnlyCV(); List GetByCvSearch(string name, string email, string mobile); List GetAllAttachments(int refID, EnumFileType type); List GetExperiences(int cVID); void Delete(ErCV obCv); void DeleteCVRecuirtmemt(ErCV obCv); int GenerateTrackNo(); DataTable dtGetCVByID(int cvID); List GetCVs(); List GetCVByIDs(string cVIDs); List GetCVAttachmentbyID(int cvId); List dtGetRecruitmentbyCVSort(int employeeID); List dtCVSortDetails(int positionID); void SaveUserCVSort(ErUserCvSort obCv); List GetPreviousCVbyRequisitionID(int requisitionID); void UpdateCompleteStatus(int positionID, int employeeID); void DeleteUserCvsort(ErUserCvSort obCv); bool IsRequisitionComplete(int requisitionID); ErCV GetErCvByUserID(int userId); List GetErCvByRequisitionId(int requisitionId); List GetErCvByCvids(string cvIds); } #endregion }