EchoTex_Payroll/HRM.BO/PMP/PMPValueBehaviorRating.cs

208 lines
4.1 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 PMPValueBehaviorRating : BasicBaseObject
{
#region Constructor
public PMPValueBehaviorRating()
{
this._pmpEmployeeRatingID = 0;
this._pmpValueBehaviorId = 0;
this._employeeID = 0;
this._selfComments = String.Empty;
this._selfRatingID = 0;
this._approvarRatingID = 0;
this._approvarComments = string.Empty;
this.Status = EnumStatus.Active;
}
#endregion
#region Properties
#region PMPEmployeeRatingID : ID
private int _pmpEmployeeRatingID;
public int PmpEmployeeRatingID
{
get { return _pmpEmployeeRatingID; }
set { _pmpEmployeeRatingID = value; }
}
#endregion
#region ValueBehavior : ID
private int _pmpValueBehaviorId;
public int PMPValueBehaviorID
{
get { return _pmpValueBehaviorId; }
set { _pmpValueBehaviorId = value; }
}
#endregion
#region EmployeeID : ID
private int _employeeID;
public int EmployeeID
{
get { return _employeeID; }
set { _employeeID = value; }
}
#endregion
#region SelfComments : String
private string _selfComments;
public string SelfComments
{
get { return _selfComments; }
set { _selfComments = value; }
}
#endregion
#region SelfRatingID : ID
private int _selfRatingID;
public int SelfRatingID
{
get { return _selfRatingID; }
set { _selfRatingID = value; }
}
#endregion
#region ApprovarComments : string
private string _approvarComments;
public string ApprovarComments
{
get { return _approvarComments; }
set { _approvarComments = value; }
}
#endregion
#region ApprovarRatingID: ID
private int _approvarRatingID;
public int ApprovarRatingID
{
get { return _approvarRatingID; }
set { _approvarRatingID = value; }
}
#endregion
#region PmpProcessId
private int _pmpProcessId;
public int PmpProcessId
{
get { return _pmpProcessId; }
set { _pmpProcessId = value; }
}
#endregion
#region ObjectId
public string ObjectId
{
get
{
if (ID == 0) return ID.ToString();
return String.Empty;
}
}
#endregion
public string SelfRatingDes { get; set; }
public string AppRatingDes { get; set; }
public string PMPValuBehaviorDes { get; set; }
//#region SelfRatingDes
//public string SelfRatingDes
//{
// get
// {
// if (SelfRatingID!=null && !SelfRatingID.IsUnassigned)
// {
// return PMPRating.GetById(SelfRatingID).Name;
// }
// return string.Empty;
// }
//}
//#endregion
//#region AppRatingDes
//public string AppRatingDes
//{
// get
// {
// if (ApprovarRatingID!=null && !ApprovarRatingID.IsUnassigned)
// {
// return PMPRating.GetById(ApprovarRatingID).Name;
// }
// return string.Empty;
// }
//}
//#endregion
//#region PMPValuBehaviorDes
//public string PMPValuBehaviorDes
//{
// get
// {
// if(!PMPValueBehaviorID.IsUnassigned)
// {
// return PMPValueBehavior.Get(PMPValueBehaviorID).Name;
// }
// return string.Empty;
// }
//}
//#endregion
#endregion
}
}