359 lines
8.3 KiB
C#
359 lines
8.3 KiB
C#
|
|
using Ease.Core.Model;
|
|
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Data;
|
|
|
|
namespace HRM.BO
|
|
{
|
|
public class YearEndRecomendation : BasicBaseObject
|
|
{
|
|
#region Constructor
|
|
|
|
public YearEndRecomendation()
|
|
{
|
|
//this.OverallOBRating = 0.0;
|
|
//this.OverallValuesRating = 0.0;
|
|
}
|
|
|
|
#endregion
|
|
|
|
#region Properties
|
|
|
|
#region ObjectiveSetID : ID
|
|
|
|
private int _objectiveSetID;
|
|
|
|
public int ObjectiveSetID
|
|
{
|
|
get { return _objectiveSetID; }
|
|
set { _objectiveSetID = value; }
|
|
}
|
|
|
|
#endregion
|
|
|
|
#region TransferLocID : ID
|
|
|
|
private int _transferLocID;
|
|
|
|
public int TransferLocID
|
|
{
|
|
get { return _transferLocID; }
|
|
set { _transferLocID = value; }
|
|
}
|
|
|
|
#endregion
|
|
|
|
#region PromotionLevelID : ID
|
|
|
|
private int _promotionLevelID;
|
|
|
|
public int PromotionLevelID
|
|
{
|
|
get { return _promotionLevelID; }
|
|
set { _promotionLevelID = value; }
|
|
}
|
|
|
|
#endregion
|
|
|
|
#region PromotionLevelRemarks : string
|
|
private string _promotionLevelRemarks;
|
|
|
|
public string PromotionLevelRemarks
|
|
{
|
|
get { return _promotionLevelRemarks; }
|
|
set { _promotionLevelRemarks = value; }
|
|
}
|
|
|
|
#endregion
|
|
|
|
#region TechnicalAllowance : double
|
|
|
|
private double _technicalAllowance;
|
|
|
|
public double TechnicalAllowance
|
|
{
|
|
get { return _technicalAllowance; }
|
|
set { _technicalAllowance = value; }
|
|
}
|
|
|
|
#endregion
|
|
|
|
#region PerformanceAllowance : double
|
|
|
|
private double _performanceAllowance;
|
|
|
|
public double PerformanceAllowance
|
|
{
|
|
get { return _performanceAllowance; }
|
|
set { _performanceAllowance = value; }
|
|
}
|
|
|
|
#endregion
|
|
|
|
#region SpecialAllowance : double
|
|
|
|
private double _specialAllowance;
|
|
|
|
public double SpecialAllowance
|
|
{
|
|
get { return _specialAllowance; }
|
|
set { _specialAllowance = value; }
|
|
}
|
|
|
|
#endregion
|
|
|
|
#region OthersAllowance : double
|
|
|
|
private double _othersAllowance;
|
|
|
|
public double OthersAllowance
|
|
{
|
|
get { return _othersAllowance; }
|
|
set { _othersAllowance = value; }
|
|
}
|
|
|
|
#endregion
|
|
|
|
#region ContractRenewalDuration : string
|
|
private string _contractRenewalDuration;
|
|
|
|
public string ContractRenewalDuration
|
|
{
|
|
get { return _contractRenewalDuration; }
|
|
set { _contractRenewalDuration = value; }
|
|
}
|
|
|
|
#endregion
|
|
|
|
#region OthersDetail : string
|
|
private string _othersDetail;
|
|
|
|
public string OthersDetail
|
|
{
|
|
get { return _othersDetail; }
|
|
set { _othersDetail = value; }
|
|
}
|
|
|
|
#endregion
|
|
|
|
#region ConfirmationLevelID : ID
|
|
|
|
private int _confirmationLevelID;
|
|
|
|
public int ConfirmationLevelID
|
|
{
|
|
get { return _confirmationLevelID; }
|
|
set { _confirmationLevelID = value; }
|
|
}
|
|
|
|
#endregion
|
|
|
|
#region Confirmation : bool
|
|
|
|
private bool _confirmation;
|
|
|
|
public bool Confirmation
|
|
{
|
|
get { return _confirmation; }
|
|
set { _confirmation = value; }
|
|
}
|
|
|
|
#endregion
|
|
|
|
#region RecomendationBy : ID
|
|
|
|
private int _recomendationBy;
|
|
|
|
public int RecomendationBy
|
|
{
|
|
get { return _recomendationBy; }
|
|
set { _recomendationBy = value; }
|
|
}
|
|
|
|
#endregion
|
|
|
|
#region RecomendationByNodeID : ID
|
|
|
|
private int _recomendationByNodeID;
|
|
|
|
public int RecomendationByNodeID
|
|
{
|
|
get { return _recomendationByNodeID; }
|
|
set { _recomendationByNodeID = value; }
|
|
}
|
|
|
|
#endregion
|
|
|
|
//#region RecomendationLevel : int
|
|
|
|
//private int _recomendationLevel;
|
|
|
|
//public int RecomendationLevel
|
|
//{
|
|
// get { return _recomendationLevel; }
|
|
// set { _recomendationLevel = value; }
|
|
//}
|
|
|
|
//#endregion
|
|
|
|
#region RecomendationDate : DateTime
|
|
|
|
private DateTime _recomendationDate;
|
|
|
|
public DateTime RecomendationDate
|
|
{
|
|
get { return _recomendationDate; }
|
|
set { _recomendationDate = value; }
|
|
}
|
|
|
|
#endregion
|
|
|
|
#region RecomendationType : EnumRecomendationType
|
|
|
|
private EnumRecommendationType _recomendationType;
|
|
|
|
public EnumRecommendationType RecomendationType
|
|
{
|
|
get { return _recomendationType; }
|
|
set { _recomendationType = value; }
|
|
}
|
|
|
|
#endregion
|
|
|
|
#region TransferLocation : string
|
|
private string _transferLocation;
|
|
|
|
public string TransferLocation
|
|
{
|
|
get { return _transferLocation; }
|
|
set { _transferLocation = value; }
|
|
}
|
|
|
|
#endregion
|
|
|
|
#region PromotionDesignationID : ID
|
|
|
|
private int _promotionDesignationID;
|
|
|
|
public int PromotionDesignationID
|
|
{
|
|
get { return _promotionDesignationID; }
|
|
set { _promotionDesignationID = value; }
|
|
}
|
|
|
|
#endregion
|
|
|
|
#region ConfirmationDesignationID : ID
|
|
|
|
private int _confirmationDesignationID;
|
|
|
|
public int ConfirmationDesignationID
|
|
{
|
|
get { return _confirmationDesignationID; }
|
|
set { _confirmationDesignationID = value; }
|
|
}
|
|
|
|
#endregion
|
|
|
|
#region RecomendationLevel : EnumRecomendationLevel
|
|
|
|
private EnumRecomendationLevel _recomendationLevel;
|
|
|
|
public EnumRecomendationLevel RecomendationLevel
|
|
{
|
|
get { return _recomendationLevel; }
|
|
set { _recomendationLevel = value; }
|
|
}
|
|
|
|
#endregion
|
|
|
|
#endregion
|
|
|
|
//#region Function
|
|
|
|
//#region Get All
|
|
|
|
//public static List<YearEndRecomendation> Get()
|
|
//{
|
|
// return YearEndRecomendation.Service.Get();
|
|
//}
|
|
|
|
//public static List<YearEndRecomendation> Get(int PMPID, EnumRecomendationLevel recomLevel)
|
|
//{
|
|
// return YearEndRecomendation.Service.Get(PMPID, recomLevel);
|
|
//}
|
|
//#endregion
|
|
|
|
//#region Get By ID
|
|
|
|
//public static YearEndRecomendation Get(int id)
|
|
//{
|
|
// return YearEndRecomendation.Service.Get(id);
|
|
//}
|
|
//public static List<YearEndRecomendation> GetByObjectiveSetID(int ObjectiveSetID)
|
|
//{
|
|
// return YearEndRecomendation.Service.GetByObjectiveSetID(ObjectiveSetID);
|
|
//}
|
|
|
|
//#endregion
|
|
|
|
//#region Save
|
|
|
|
//public int Save()
|
|
//{
|
|
// this.SetAuditTrailProperties();
|
|
// return YearEndRecomendation.Service.Save(this);
|
|
//}
|
|
//public int Save(ObjectiveSet oObjectveSet)
|
|
//{
|
|
// this.SetAuditTrailProperties();
|
|
// return YearEndRecomendation.Service.Save(this, oObjectveSet);
|
|
//}
|
|
//public static void Save(List<YearEndRecomendation> oItems)
|
|
//{
|
|
// YearEndRecomendation.Service.Save(oItems);
|
|
//}
|
|
//#endregion
|
|
|
|
//#region Delete
|
|
|
|
//public static void Delete(int id)
|
|
//{
|
|
// YearEndRecomendation.Service.Delete(id);
|
|
//}
|
|
|
|
//#endregion
|
|
|
|
//#endregion
|
|
|
|
//#region Service Factory IYearEndRecomendation : IYearEndRecomendation
|
|
|
|
//internal static IYearEndRecomendationService Service
|
|
//{
|
|
// get { return Services.Factory.CreateService<IYearEndRecomendationService>(typeof(IYearEndRecomendationService)); }
|
|
//}
|
|
|
|
//#endregion
|
|
}
|
|
|
|
#region IYearEndRecomendationService Service
|
|
|
|
public interface IYearEndRecomendationService
|
|
{
|
|
List<YearEndRecomendation> Get();
|
|
YearEndRecomendation Get(int id);
|
|
int Save(YearEndRecomendation item);
|
|
void Save(List<YearEndRecomendation> oItems);
|
|
void Delete(int id);
|
|
List<YearEndRecomendation> Get(int PMPID, EnumRecomendationLevel recomLevel);
|
|
List<YearEndRecomendation> GetByObjectiveSetID(int ObjectiveSetID);
|
|
|
|
int Save(YearEndRecomendation yearEndRecomendation, ObjectiveSet oObjectveSet);
|
|
}
|
|
|
|
#endregion
|
|
}
|