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

209 lines
4.6 KiB
C#

using Ease.Core.Model;
using System;
using System.Collections.Generic;
using System.Data;
namespace HRM.BO
{
public class YearEndValueDetailsRating : BasicBaseObject
{
#region Constructor
public YearEndValueDetailsRating()
{
this._objectiveSetID = 0;
this._empComments = string.Empty;
this._lMComments = string.Empty;
this._EmpCommentsDate = DateTime.MinValue;
this._lMRatingDate = DateTime.MinValue;
}
#endregion
#region Properties
#region ObjectiveSetID : ID
private int _objectiveSetID;
public int ObjectiveSetID
{
get { return _objectiveSetID; }
set { _objectiveSetID = value; }
}
#endregion
#region ValueDetailID : ID
private int _valueDetailID;
public int ValueDetailID
{
get { return _valueDetailID; }
set { _valueDetailID = value; }
}
#endregion
#region RatingID : int
private int _ratingID;
public int RatingID
{
get { return _ratingID; }
set { _ratingID = 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 LMRatingDate : DateTime
private DateTime _lMRatingDate;
public DateTime LMRatingDate
{
get { return _lMRatingDate; }
set { _lMRatingDate = value; }
}
#endregion
#region YEEmpMark : double
private double _yEEmpMark;
public double YEEmpMark
{
get { return _yEEmpMark; }
set { _yEEmpMark = value; }
}
#endregion
#region YELMMark: double
private double _yELMMark;
public double YELMMark
{
get { return _yELMMark; }
set { _yELMMark = value; }
}
#endregion
#endregion
//#region Function
//#region Get All
//public static List<YearEndValueDetailsRating> Get()
//{
// return YearEndValueDetailsRating.Service.Get();
//}
//public static List<YearEndValueDetailsRating> GetByObjectiveSetID(int ObjectiveSetID)
//{
// return YearEndValueDetailsRating.Service.GetByObjectiveSetID(ObjectiveSetID);
//}
//public static List<YearEndValueDetailsRating> GetByPMPYear(int nPMPYearID)
//{
// return YearEndValueDetailsRating.Service.GetByPMPYear(nPMPYearID);
//}
//#endregion
//#region Get By ID
//public static YearEndValueDetailsRating Get(int id)
//{
// return YearEndValueDetailsRating.Service.Get(id);
//}
//#endregion
//#region Save
//public int Save()
//{
// this.SetAuditTrailProperties();
// return YearEndValueDetailsRating.Service.Save(this);
//}
//#endregion
//#region Delete
//public static void Delete(int id)
//{
// YearEndValueDetailsRating.Service.Delete(id);
//}
//#endregion
//#endregion
//#region Service Factory IYearEndValueDetailsRating : IYearEndValueDetailsRating
//internal static IYearEndValueDetailsRatingService Service
//{
// get { return Services.Factory.CreateService<IYearEndValueDetailsRatingService>(typeof(IYearEndValueDetailsRatingService)); }
//}
//#endregion
}
#region IYearEndValueDetailsRatingService Service
public interface IYearEndValueDetailsRatingService
{
List<YearEndValueDetailsRating> Get();
List<YearEndValueDetailsRating> GetByObjectiveSetID(int ObjectiveSetID);
List<YearEndValueDetailsRating> GetByPMPYear(int nPMPYearID);
YearEndValueDetailsRating Get(int id);
int Save(YearEndValueDetailsRating item);
void Delete(int id);
}
#endregion
}