EchoTex_Payroll/HRM.BO/ess/ProfileUpdateRequest.cs
2024-10-14 10:01:49 +06:00

137 lines
6.2 KiB
C#

using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Linq;
using HRM.BO;
using HRM.BO.ess;
namespace HRM.BO.ess
{
public class ProfileUpdateRequest: BasicBaseObject
{
public ProfileUpdateRequest()
{
}
public DateTime RequestDate { get; set; }
public EnumPURequestType PURequestType { get; set; }
public EnumPURequestStatus? PURequestStatus { get; set; }
public int RequestEmpID { get; set; }
public string RequestRemarks { get; set; }
public string RequestDescription { get; set; }
public DateTime? ApproveDate { get; set; }
public int? ApproveBy { get; set; }
public string ApproveRemarks { get; set; }
public string PastInfo { get; set; }
public string MobileNo { get; set; }
public string NationalID { get; set; }
public EnumBloodGroup? BloodGroup { get; set; }
public string TIN { get; set; }
public string PassportNo { get; set; }
public string PassportIssuePlace { get; set; }
public DateTime? PassportIssueDate { get; set; }
public DateTime? PassportExpiryDate { get; set; }
public string FatherName { get; set; }
public int? FatherOccupationID { get; set; }
public string MotherName { get; set; }
public int? MotherOccupationID { get; set; }
public string PermanentAddress { get; set; }
public int? PermanentDistrictID { get; set; }
public int? PermanentThanaID { get; set; }
public string PermanentLandPhone { get; set; }
public string PermanentMobile { get; set; }
public string PresentAddress { get; set; }
public int? PresentDistrictID { get; set; }
public int? PresentThanaID { get; set; }
public string PresentLandPhone { get; set; }
public string PresentMobile { get; set; }
public string EmergencyContactPerson { get; set; }
public string EmergencyAddress { get; set; }
public string EmergencyLandPhone { get; set; }
public string EmergencyMobileNo { get; set; }
public int? EmergencyRelationID { get; set; }
public string SpouseName { get; set; }
public int? SpouseEducationLevelID { get; set; }
public int? SpouseOccupationID { get; set; }
public DateTime? SpouseMarriageDate { get; set; }
public string ChildName { get; set; }
public EnumGender? ChildGender { get; set; }
public DateTime? ChildBirthDate { get; set; }
public int? ChildOccupationID { get; set; }
public EnumMaritalStatus? ChildMaritalStatus { get; set; }
public string ChildPassportNo { get; set; }
public string ChildPassportIssuePlace { get; set; }
public DateTime? ChildPassportIssueDate { get; set; }
public DateTime? ChildPassportExpiryDate { get; set; }
//Academic
public int? AcademicEducationTypeID { get; set; }
public int? AcademicDegreeID { get; set; }
public int? AcademicDisciplineID { get; set; }
public int? AcademicUniversityBoardID { get; set; }
public string AcademicInstitute { get; set; }
public string AcademicExamHeldOn { get; set; }
public int? AcademicPassingYear { get; set; }
public int? AcademicResultID { get; set; }
public double? AcademicGPA { get; set; }
public double? AcademicOutOf { get; set; }
public bool? AcademicHeightsEducation { get; set; }
//Nominee
public int? NomineeTypeID { get; set; }
public DateTime? NominationDate { get; set; }
public string NomineeName { get; set; }
public int? NomineeRelationID { get; set; }
public int? NomineePercent { get; set; }
public DateTime? NomineeDateOfBirth { get; set; }
public int? NomineeOccupationID { get; set; }
public int? NomineeNominationPurposeId { get; set; }
public string NomineeAddress { get; set; }
public string NomineeTelephone { get; set; }
public string NomineeEmail { get; set; }
public string EmployeeNo { get; set; }
public string EmployeeName { get; set; }
//Training
public int? TrainingTypeId { get; set; }
public int? NatureOfTrainingId { get; set; }
public string TrainingTitle { get; set; }
public string TrainingDescription { get; set; }
public int? TrainingInstitutionId { get; set; }
public string TrainingInstituteName { get; set; }
public DateTime? TrainingFromDate { get; set; }
public DateTime? TrainingToDate { get; set; }
public int? TrainingCountryId { get; set; }
public EnumSponsoredType TrainingSponsoredType { get; set; }
public string TrainingAchievement { get; set; }
public int? TrainingMonth { get; set; }
public int? TrainingDay { get; set; }
public int? TrainingHour { get; set; }
public double? Trainingfees { get; set; }
public double? TrainingOtherCost { get; set; }
//Experience
public string ExperienceEmployer { get; set; }
public string ExperienceBusinessType { get; set; }
public string ExperienceEmployerContactInfo { get; set; }
public string ExperienceDesignation { get; set; }
public string ExperienceAddress { get; set; }
public string ExperienceRole { get; set; }
public string ExperienceTelephone { get; set; }
public DateTime? ExperienceFrom { get; set; }
public DateTime? ExperienceTo { get; set; }
public string AdminRemarks { get; set; }
public int? currentUserId { get; set; }
}
}
public interface IProfileUpdateRequestService
{
public ProfileUpdateRequest GetProfileUpdateRequestById(int id);
public int Save(ProfileUpdateRequest item);
public List<ProfileUpdateRequest> GetAllByEmpId(int empId);
public int GetPURCountEmpIdAndStatus(int empId, EnumPURequestStatus status);
public int TotalProfileUpdateRequested();
public List<ProfileUpdateRequest> GetAll();
public void UpdateEmployee(ProfileUpdateRequest item);
public void UpdateStatusToRejected(ProfileUpdateRequest item);
public void RejectEmployeeRequestBulk(string ids,int rejectedby,DateTime RejectedTime);
}