EchoTex_Payroll/HRM.BO/Recruitement/RecruitmentLetters.cs

596 lines
13 KiB
C#
Raw Permalink 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
{
#region RecruitmentLetters
public class RecruitmentLetters : BasicBaseObject
{
public delegate void ItemChanged();
#region Constructor
public RecruitmentLetters()
{
_dacceptOfferBefore = null;
_dIssueOfferDate = null;
_dAcceptOfferDate = null;
_dRejectOfferDate = null;
_sRejectOfferReason = string.Empty;
_nOfferLetterCount = 0;
_nOfferCreatedBy = 0;
_nOfferCreatedDate = null;
_nGradeID = (0);
_dBasicSalary = 0;
_nDepartmentID = (0);
_nLocationID = (0);
_nNoticePeriod = 0;
_dAppAcceptBefore = null;
_dIssueAppLetterDate = null;
_dRejectAppLetterDate = null;
_sRejectAppLetterReason = string.Empty;
_bCarEligible = false;
_nAppCreatedBy = (0);
_dAppCreatedDate = DateTime.MinValue;
_nAppLetterCount = 0;
_bJoiningLetter = false;
_bVendorMail = false;
_bWelcomeMail = false;
_bInductionRequest = false;
_bAnnouncement = false;
_bOtherLetters = false;
_nOthersCount = 0;
_nOtherCreatedBy = (0);
_dOtherCreatedDate = null;
_dJoiningBeforeDate = null;
_dConfirmJoiningDate = null;
}
#endregion
#region Properties
public int RequisitionID { get; set; }
#region CandidateID : ID
private int _nCandidateID;
public int CandidateID
{
get { return _nCandidateID; }
set
{
_nCandidateID = value;
}
}
#endregion
#region ProcessID : ID
private int _nProcessID;
public int ProcessID
{
get { return _nProcessID; }
set
{
_nProcessID = value;
}
}
#endregion
#region EmployeeID : ID
//private int _nEmployeeID;
//public int EmployeeID
//{
// get { return _nEmployeeID; }
// set
// {
//
// _nEmployeeID = value;
// }
//}
#endregion
#region AcceptOfferBefore : DateTime
private DateTime? _dacceptOfferBefore;
public DateTime? AcceptOfferBefore
{
get { return _dacceptOfferBefore; }
set
{
_dacceptOfferBefore = value;
}
}
#endregion
#region IssueOfferDate : DateTime
private DateTime? _dIssueOfferDate;
public DateTime? IssueOfferDate
{
get { return _dIssueOfferDate; }
set
{
_dIssueOfferDate = value;
}
}
#endregion
#region AcceptOfferDate : DateTime
private DateTime? _dAcceptOfferDate;
public DateTime? AcceptOfferDate
{
get { return _dAcceptOfferDate; }
set
{
_dAcceptOfferDate = value;
}
}
#endregion
#region RejectOfferDate : DateTime
private DateTime? _dRejectOfferDate;
public DateTime? RejectOfferDate
{
get { return _dRejectOfferDate; }
set
{
_dRejectOfferDate = value;
}
}
#endregion
#region RejectOfferReason : string
private string _sRejectOfferReason;
public string RejectOfferReason
{
get { return _sRejectOfferReason; }
set
{
_sRejectOfferReason = value;
}
}
#endregion
#region OfferLetterCount : int
private int _nOfferLetterCount;
public int OfferLetterCount
{
get { return _nOfferLetterCount; }
set
{
_nOfferLetterCount = value;
}
}
#endregion
#region OfferCreatedBy : ID
private int _nOfferCreatedBy;
public int OfferCreatedBy
{
get { return _nOfferCreatedBy; }
set
{
_nOfferCreatedBy = value;
}
}
#endregion
#region OfferCreatedDate : DateTime
private DateTime? _nOfferCreatedDate;
public DateTime? OfferCreatedDate
{
get { return _nOfferCreatedDate; }
set
{
_nOfferCreatedDate = value;
}
}
#endregion
#region GradeID
private int _nGradeID;
public int GradeID
{
get { return _nGradeID; }
set
{
_nGradeID = value;
}
}
#endregion
#region BasicSalary : double
private double _dBasicSalary;
public double BasicSalary
{
get { return _dBasicSalary; }
set
{
_dBasicSalary = value;
}
}
#endregion
#region DepartmentID : ID
private int _nDepartmentID;
public int DepartmentID
{
get { return _nDepartmentID; }
set
{
_nDepartmentID = value;
}
}
#endregion
#region LocationID : ID
private int _nLocationID;
public int LocationID
{
get { return _nLocationID; }
set
{
_nLocationID = value;
}
}
#endregion
#region NoticePeriod: int
private double _nNoticePeriod;
public double NoticePeriod
{
get { return _nNoticePeriod; }
set
{
_nNoticePeriod = value;
}
}
#endregion
#region AppAcceptBefore : DateTime
private DateTime? _dAppAcceptBefore;
public DateTime? AppAcceptBefore
{
get { return _dAppAcceptBefore; }
set
{
_dAppAcceptBefore = value;
}
}
#endregion
#region IssueAppLetterDate : Date
private DateTime? _dIssueAppLetterDate;
public DateTime? IssueAppLetterDate
{
get { return _dIssueAppLetterDate; }
set
{
_dIssueAppLetterDate = value;
}
}
#endregion
#region RejectAppLetterDate : DateTime
private DateTime? _dRejectAppLetterDate;
public DateTime? RejectAppLetterDate
{
get { return _dRejectAppLetterDate; }
set
{
_dRejectAppLetterDate = value;
}
}
#endregion
#region RejectAppLetterReason : string
private string _sRejectAppLetterReason;
public string RejectAppLetterReason
{
get { return _sRejectAppLetterReason; }
set
{
_sRejectAppLetterReason = value;
}
}
#endregion
#region CarEligible : Boolean
private bool _bCarEligible;
public bool CarEligible
{
get { return _bCarEligible; }
set
{
_bCarEligible = value;
}
}
#endregion
#region AppCreatedBy : ID
private int _nAppCreatedBy;
public int AppCreatedBy
{
get { return _nAppCreatedBy; }
set
{
_nAppCreatedBy = value;
}
}
#endregion
#region AppCreatedDate : DateTime
private DateTime _dAppCreatedDate;
public DateTime AppCreatedDate
{
get { return _dAppCreatedDate; }
set
{
_dAppCreatedDate = value;
}
}
#endregion
#region AppLetterCount : int
private int _nAppLetterCount;
public int AppLetterCount
{
get { return _nAppLetterCount; }
set
{
_nAppLetterCount = value;
}
}
#endregion
#region JoiningLetter : Boolean
private bool _bJoiningLetter;
public bool JoiningLetter
{
get { return _bJoiningLetter; }
set
{
_bJoiningLetter = value;
}
}
#endregion
#region VendorMail : Boolean
private bool _bVendorMail;
public bool VendorMail
{
get { return _bVendorMail; }
set
{
_bVendorMail = value;
}
}
#endregion
#region WelcomeMail : Boolean
private bool _bWelcomeMail;
public bool WelcomeMail
{
get { return _bWelcomeMail; }
set
{
_bWelcomeMail = value;
}
}
#endregion
#region InductionRequest : Boolean
private bool _bInductionRequest;
public bool InductionRequest
{
get { return _bInductionRequest; }
set
{
_bInductionRequest = value;
}
}
#endregion
#region Announcement : Boolean
private bool _bAnnouncement;
public bool Announcement
{
get { return _bAnnouncement; }
set
{
_bAnnouncement = value;
}
}
#endregion
#region OtherLetters : Boolean
private bool _bOtherLetters;
public bool OtherLetters
{
get { return _bOtherLetters; }
set
{
_bOtherLetters = value;
}
}
#endregion
#region OthersCount : int
private int _nOthersCount;
public int OthersCount
{
get { return _nOthersCount; }
set
{
_nOthersCount = value;
}
}
#endregion
#region OtherCreatedBy : ID
private int _nOtherCreatedBy;
public int OtherCreatedBy
{
get { return _nOtherCreatedBy; }
set
{
_nOtherCreatedBy = value;
}
}
#endregion
#region OtherCreateddate : DateTime
private DateTime? _dOtherCreatedDate;
public DateTime? OtherCreateddate
{
get { return _dOtherCreatedDate; }
set
{
_dOtherCreatedDate = value;
}
}
#endregion
#region JoiningBeforeDate : DateTime
private DateTime? _dJoiningBeforeDate;
public DateTime? JoiningBeforeDate
{
get { return _dJoiningBeforeDate; }
set
{
_dJoiningBeforeDate = value;
}
}
#endregion
#region ConfirmJoiningDate : DateTime
private DateTime? _dConfirmJoiningDate;
public DateTime? ConfirmJoiningDate
{
get { return _dConfirmJoiningDate; }
set
{
_dConfirmJoiningDate = value;
}
}
#endregion
#region JoiningDate : DateTime
private DateTime? _joiningDate;
public DateTime? JoiningDate
{
get { return _joiningDate; }
set
{
_joiningDate = value;
}
}
#endregion
#region JobLocation : string
private string _jobLocation;
public string JobLocation
{
get { return _jobLocation; }
set
{
_jobLocation = value;
}
}
#endregion
#region FathersName : string
private string _fathersName;
public string FathersName
{
get { return _fathersName; }
set
{
_fathersName = value;
}
}
#endregion
#region LineManer : string
private string _mothersName;
public string MothersName
{
get { return _mothersName; }
set
{
_mothersName = value;
}
}
#endregion
#region LineManagerDesignation : string
private string _lineManagerDesignation;
public string LineManagerDesignation
{
get { return _lineManagerDesignation; }
set
{
_lineManagerDesignation = value;
}
}
#endregion
#endregion
}
#endregion
#region IRecruitmentLettersService
public interface IRecruitmentLettersService
{
RecruitmentLetters Get(int id);
RecruitmentLetters GetByCandidateID(int nCandidateID);
List<RecruitmentLetters> Get();
List<RecruitmentLetters> GetbyRequisitionID(int requisitionID);
List<RecruitmentLetters> GetByProcessID(int nProcessID);
int Save(RecruitmentLetters item, int checkValue);
void Save(List<RecruitmentLetters> letters);
void Delete(int id);
}
#endregion
}