EchoTex_Payroll/HRM.BO/PMP/ObjectiveSetRemarks.cs

276 lines
6.8 KiB
C#
Raw 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
{
public class ObjectiveSetRemarks : BasicBaseObject
{
#region Constructor
public ObjectiveSetRemarks()
{
this._midYearEmpReviewOne = string.Empty;
this._midYearEmpReviewTwo = string.Empty;
this._midYearLMReviewOne = string.Empty;
this._midYearLMReviewTwo = string.Empty;
this._midYearEmpReviewDate = DateTime.MinValue;
this._midYearLMReviewDate = DateTime.MinValue;
this._yearEndEmpReviewDate = DateTime.MinValue;
this._yearEndLMReviewDate = DateTime.MinValue;
this._yearEndEmpReviewOne = string.Empty;
this._yearEndEmpReviewTwo = string.Empty;
this._yearEndLMReviewOne = string.Empty;
this._yearEndLMReviewTwo = string.Empty;
}
#endregion
#region Properties
#region ObjectiveSetID : ID
private int _objectiveSetID;
public int ObjectiveSetID
{
get { return _objectiveSetID; }
set { _objectiveSetID = value; }
}
#endregion
#region MidYearEmpReviewOne : string
private string _midYearEmpReviewOne;
public string MidYearEmpReviewOne
{
get { return _midYearEmpReviewOne; }
set { _midYearEmpReviewOne = value; }
}
#endregion
#region MidYearEmpReviewTwo : string
private string _midYearEmpReviewTwo;
public string MidYearEmpReviewTwo
{
get { return _midYearEmpReviewTwo; }
set { _midYearEmpReviewTwo = value; }
}
#endregion
#region MidYearLMReviewOne : string
private string _midYearLMReviewOne;
public string MidYearLMReviewOne
{
get { return _midYearLMReviewOne; }
set { _midYearLMReviewOne = value; }
}
#endregion
#region MidYearLMReviewTwo : string
private string _midYearLMReviewTwo;
public string MidYearLMReviewTwo
{
get { return _midYearLMReviewTwo; }
set { _midYearLMReviewTwo = value; }
}
#endregion
#region MidYearLMReviewDate : DateTime
private DateTime _midYearLMReviewDate;
public DateTime MidYearLMReviewDate
{
get { return _midYearLMReviewDate; }
set { _midYearLMReviewDate = value; }
}
#endregion
#region MidYearEmpReviewDate : DateTime
private DateTime _midYearEmpReviewDate;
public DateTime MidYearEmpReviewDate
{
get { return _midYearEmpReviewDate; }
set { _midYearEmpReviewDate = value; }
}
#endregion
#region YearEndEmpReviewDate : DateTime
private DateTime _yearEndEmpReviewDate;
public DateTime YearEndEmpReviewDate
{
get { return _yearEndEmpReviewDate; }
set { _yearEndEmpReviewDate = value; }
}
#endregion
#region YearEndLMReviewDate : DateTime
private DateTime _yearEndLMReviewDate;
public DateTime YearEndLMReviewDate
{
get { return _yearEndLMReviewDate; }
set { _yearEndLMReviewDate = value; }
}
#endregion
#region YearEndEmpReviewOne : string
private string _yearEndEmpReviewOne;
public string YearEndEmpReviewOne
{
get { return _yearEndEmpReviewOne; }
set { _yearEndEmpReviewOne = value; }
}
#endregion
#region YearEndEmpReviewTwo : string
private string _yearEndEmpReviewTwo;
public string YearEndEmpReviewTwo
{
get { return _yearEndEmpReviewTwo; }
set { _yearEndEmpReviewTwo = value; }
}
#endregion
#region YearEndLMReviewOne : string
private string _yearEndLMReviewOne;
public string YearEndLMReviewOne
{
get { return _yearEndLMReviewOne; }
set { _yearEndLMReviewOne = value; }
}
#endregion
#region YearEndLMReviewTwo : string
private string _yearEndLMReviewTwo;
public string YearEndLMReviewTwo
{
get { return _yearEndLMReviewTwo; }
set { _yearEndLMReviewTwo = value; }
}
#endregion
#endregion
//#region Function
//#region Get All
//public static List<ObjectiveSetRemarks> Get()
//{
// return ObjectiveSetRemarks.Service.Get();
//}
//public static List<ObjectiveSetRemarks> GetByPMPYear(int nPMPYearID,string sEmpIDs)
//{
// return ObjectiveSetRemarks.Service.GetByPMPYear(nPMPYearID, sEmpIDs);
//}
//#endregion
//#region Get By ID
//public static ObjectiveSetRemarks Get(int id)
//{
// return ObjectiveSetRemarks.Service.Get(id);
//}
//#endregion
//#region Get By ObjectiveSetID
//public static ObjectiveSetRemarks GetByObjectiveSetID(int id)
//{
// return ObjectiveSetRemarks.Service.GetByObjectiveSetID(id);
//}
//#endregion
//#region Insert
//public int Save()
//{
// this.SetAuditTrailProperties();
// return ObjectiveSetRemarks.Service.Save(this);
//}
////public int Save(List<Objective> oObjectives,List<YearEndValuesRating> oYearEndValuesRatings,ObjectiveSet oObjectiveSet)
////{
//// this.SetAuditTrailProperties();
//// return ObjectiveSetRemarks.Service.Save(this, oObjectives, oYearEndValuesRatings, oObjectiveSet);
////}
//#endregion
//#region Delete
//public static void Delete(int id)
//{
// ObjectiveSetRemarks.Service.Delete(id);
//}
//#endregion
//#endregion
//#region Service Factory IObjectiveSet : IObjectiveSet
//internal static IObjectiveSetRemarksService Service
//{
// get { return Services.Factory.CreateService<IObjectiveSetRemarksService>(typeof(IObjectiveSetRemarksService)); }
//}
//#endregion
}
#region IObjectiveReviewService Service
public interface IObjectiveSetRemarksService
{
List<ObjectiveSetRemarks> Get();
List<ObjectiveSetRemarks> GetByPMPYear(int nPMPYearID, string sEmpIDs);
ObjectiveSetRemarks Get(int id);
ObjectiveSetRemarks GetByObjectiveSetID(int sID);
int Save(ObjectiveSetRemarks item);
// int Save(ObjectiveSetRemarks item, List<Objective> Objectives, List<YearEndValuesRating> oYearEndValuesRatings, ObjectiveSet oObjectiveSet);
void Delete(int id);
}
#endregion
}