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

271 lines
5.8 KiB
C#

using Ease.Core;
using Ease.Core.Model;
using System;
using System.Collections.Generic;
using System.Data;
namespace HRM.BO
{
public class YearEndValuesRating : BasicBaseObject
{
#region Constructor
public YearEndValuesRating()
{
this._objectiveSetID = 0;
this._empComments = string.Empty;
this._lMComments = string.Empty;
this._EmpCommentsDate = DateTime.MinValue;
this._lMCommentDate = DateTime.MinValue;
this._valueID = 0;
}
#endregion
#region Properties
#region ObjectiveSetID : ID
private int _objectiveSetID;
public int ObjectiveSetID
{
get { return _objectiveSetID; }
set { _objectiveSetID = value; }
}
#endregion
#region ValueID : ID
private int _valueID;
public int ValueID
{
get { return _valueID; }
set { _valueID = value; }
}
#endregion
#region EmpComments : string
private string _empComments;
public string EmpComments
{
get { return _empComments; }
set { _empComments = value; }
}
#endregion
#region LMComments : string
private string _lMComments;
public string LMComments
{
get { return _lMComments; }
set { _lMComments = value; }
}
#endregion
#region EmpCommentsDate : DateTime
private DateTime _EmpCommentsDate;
public DateTime EmpCommentsDate
{
get { return _EmpCommentsDate; }
set { _EmpCommentsDate = value; }
}
#endregion
#region LMCommentDate : DateTime
private DateTime _lMCommentDate;
public DateTime LMCommentDate
{
get { return _lMCommentDate; }
set { _lMCommentDate = value; }
}
#endregion
#region Weightage : double
private double _weightage;
public double Weightage
{
get { return _weightage; }
set { _weightage = value; }
}
#endregion
#region ItemType : EnumPFMembershipType
public enumCompetency ItemType { get; set; }
#endregion
#region CompetencyLevel : int
private int _competencyLevel;
public int CompetencyLevel
{
get { return _competencyLevel; }
set { _competencyLevel = value; }
}
#endregion
#region YEEmpRating : int
private int _yEEmpRating;
public int YEEmpRating
{
get { return _yEEmpRating; }
set { _yEEmpRating = value; }
}
#endregion
#region YELMRating
public EnumObjectiveRating YELMRating { get; set; }
#endregion
#region MYEmpComments : string
private string _MYempComments;
public string MYEmpComments
{
get { return _MYempComments; }
set { _MYempComments = value; }
}
#endregion
#region MYLMComments : string
private string _MYlMComments;
public string MYLMComments
{
get { return _MYlMComments; }
set { _MYlMComments = value; }
}
#endregion
#region YEEmpMark : double
private double _yEEmpMark;
public double YEEmpMark
{
get { return _yEEmpMark; }
set { _yEEmpMark = value; }
}
#endregion
#region MYEmpCommentsDate : DateTime
private DateTime _MYEmpCommentsDate;
public DateTime MYEmpCommentsDate
{
get { return _MYEmpCommentsDate; }
set { _MYEmpCommentsDate = value; }
}
#endregion
#region MYLMCommentDate : DateTime
private DateTime _MYlMCommentDate;
public DateTime MYLMCommentDate
{
get { return _MYlMCommentDate; }
set { _MYlMCommentDate = value; }
}
#endregion
#region YEEmpComments : string
private string _YEEmpComments;
public string YEEmpComments
{
get { return _YEEmpComments; }
set { _YEEmpComments = value; }
}
#endregion
#region YELMComments : string
private string _YELMComments;
public string YELMComments
{
get { return _YELMComments; }
set { _YELMComments = value; }
}
#endregion
#region YEEmpCommentsDate : DateTime
private DateTime _YEEmpCommentsDate;
public DateTime YEEmpCommentsDate
{
get { return _YEEmpCommentsDate; }
set { _YEEmpCommentsDate = value; }
}
#endregion
#region YELMCommentDate : DateTime
private DateTime _YELMCommentDate;
public DateTime YELMCommentDate
{
get { return _YELMCommentDate; }
set { _YELMCommentDate = value; }
}
#endregion
#endregion
}
#region IYearEndValuesRatingService Service
public interface IYearEndValuesRatingService
{
List<YearEndValuesRating> Get();
List<YearEndValuesRating> GetByObjectiveSetID(int ObjectiveSetID);
List<YearEndValuesRating> GetByPMPYear(int nPMPYearID);
YearEndValuesRating Get(int id);
int Save(YearEndValuesRating item);
void Delete(int id);
void Save(List<YearEndValuesRating> oYearEndValuesRatings, List<YearEndValueDetailsRating> oYearEndValueDetailsRatings, ObjectiveSetRemarks oObjectiveSetRemark, List<Objective> oObjective,List<DevelopmentPlan> oDevelopmentPlan, YearEndRecomendation oRecomendation,ObjectiveSet oObjectiveSet);
}
#endregion
}