67 lines
1.9 KiB
C#
67 lines
1.9 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace HRM.BO
|
|
{
|
|
#region Designation
|
|
|
|
public class Designation : BasicBaseObject
|
|
{
|
|
#region Constructor
|
|
|
|
public Designation()
|
|
{
|
|
GradeID = 0;
|
|
Code = string.Empty;
|
|
Name = string.Empty;
|
|
Status = EnumStatus.Active;
|
|
NameInBangla = string.Empty;
|
|
}
|
|
|
|
#endregion
|
|
|
|
#region Properties
|
|
|
|
public int GradeID { get; set; }
|
|
public string Code { get; set; }
|
|
public string Name { get; set; }
|
|
public int PayrollTypeID { get; set; }
|
|
public string MyProperty { get; set; }
|
|
public string NameInBangla { get; set; }
|
|
|
|
|
|
//#region Service Factory IDesignationService : IDesignationService
|
|
|
|
//internal static IDesignationService Service
|
|
//{
|
|
// get { return Services.Factory.CreateService<IDesignationService>(typeof(IDesignationService)); }
|
|
//}
|
|
|
|
//#endregion
|
|
|
|
#endregion
|
|
}
|
|
|
|
#endregion
|
|
|
|
#region IDesignation Service
|
|
|
|
public interface IDesignationService
|
|
{
|
|
Designation Get(int id);
|
|
List<Designation> Get(EnumStatus status, int payrollTypeID);
|
|
List<Designation> GetRelateWithEmpolyee(EnumStatus status, int payrollTypeID);
|
|
List<Designation> GetByDesignationIDs(string designationIds);
|
|
int GetMaxID();
|
|
List<Designation> Get(EnumStatus status, string sIDs, string sTargetPropertyName, int payrollTypeID);
|
|
int Save(Designation item);
|
|
void Delete(int id);
|
|
Designation Get(string sCode, int payrollTypeID);
|
|
string GetNextCode();
|
|
List<Designation> GetWithSapCodes(EnumStatus status);
|
|
List<Designation> GetAllDesignation(int payrollTypeID, EnumStatus status, string code, string name);
|
|
List<Designation> GetAll(int payrollTypeID);
|
|
}
|
|
|
|
#endregion
|
|
} |