87 lines
1.6 KiB
C#
87 lines
1.6 KiB
C#
using Ease.Core.Model;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Data;
|
|
|
|
namespace HRM.BO
|
|
{
|
|
#region Bonus
|
|
|
|
public class PRBKpi : BasicBaseObject
|
|
{
|
|
#region Constructor
|
|
|
|
public PRBKpi()
|
|
{
|
|
_serial = string.Empty;
|
|
_kpiName = string.Empty;
|
|
}
|
|
|
|
#endregion
|
|
|
|
#region Propertiesyee
|
|
|
|
#region Serial : string
|
|
|
|
private string _serial;
|
|
|
|
public string Serial
|
|
{
|
|
get { return _serial; }
|
|
set { _serial = value; }
|
|
}
|
|
|
|
#endregion
|
|
|
|
#region KpiName : string
|
|
|
|
private string _kpiName;
|
|
|
|
public string KpiName
|
|
{
|
|
get { return _kpiName; }
|
|
set { _kpiName = value; }
|
|
}
|
|
|
|
#endregion
|
|
|
|
#region PRBMonth : string
|
|
|
|
private DateTime _prbMonth;
|
|
public DateTime PRBMonth
|
|
{
|
|
get { return _prbMonth; }
|
|
set { _prbMonth = value; }
|
|
}
|
|
|
|
#endregion
|
|
|
|
|
|
#region Description : string
|
|
|
|
private string _description;
|
|
|
|
public string Description
|
|
{
|
|
get { return _description; }
|
|
set { _description = value; }
|
|
}
|
|
|
|
#endregion
|
|
}
|
|
|
|
#endregion
|
|
|
|
public interface IPRBKpiService
|
|
{
|
|
void Save(PRBKpi item);
|
|
List<PRBKpi> GetAll();
|
|
void Delete(int id);
|
|
List<PRBKpi> GetKpiByPrbMonth(DateTime prbmonth);
|
|
void Save(List<PRBKpi> prbKpiList);
|
|
bool IsKpiByPrbMonth(DateTime prbmonth);
|
|
}
|
|
|
|
#endregion
|
|
|
|
} |