EchoTex_Payroll/HRM.BO/ERecruitment/ErCV.cs

93 lines
2.9 KiB
C#
Raw Normal View History

2024-10-14 10:01:49 +06:00

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<ErCVExperience> AllExperiences { get; set; }
public List<ErCVEducation> AllEduQualifications { get; set; }
public List<ErCVReference> CVReferences { get; set; }
public List<ErCVTraining> CVTrainings { get; set; }
public List<FileAttachment> 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<ErCVSort> Items);
List<ErCV> SaveCVs(List<ErCV> cvs, string connectionString);
ErCV Get(int cVID);
List<ErCV> Get();
List<ErCV> getAllOnlyCV();
List<ErCV> GetByCvSearch(string name, string email, string mobile);
List<FileAttachment> GetAllAttachments(int refID, EnumFileType type);
List<ErCVExperience> GetExperiences(int cVID);
void Delete(ErCV obCv);
void DeleteCVRecuirtmemt(ErCV obCv);
int GenerateTrackNo();
DataTable dtGetCVByID(int cvID);
List<ErCV> GetCVs();
List<ErCV> GetCVByIDs(string cVIDs);
List<FileAttachment> GetCVAttachmentbyID(int cvId);
List<ErRecruitmentByCVSort> dtGetRecruitmentbyCVSort(int employeeID);
List<ErCVSortDetails> dtCVSortDetails(int positionID);
void SaveUserCVSort(ErUserCvSort obCv);
List<ErCV> GetPreviousCVbyRequisitionID(int requisitionID);
void UpdateCompleteStatus(int positionID, int employeeID);
void DeleteUserCvsort(ErUserCvSort obCv);
bool IsRequisitionComplete(int requisitionID);
ErCV GetErCvByUserID(int userId);
List<ErCV> GetErCvByRequisitionId(int requisitionId);
List<ErCV> GetErCvByCvids(string cvIds);
}
#endregion
}