57 lines
1.3 KiB
C#
57 lines
1.3 KiB
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
|
|||
|
namespace HRM.BO
|
|||
|
{
|
|||
|
#region GradeSegment
|
|||
|
|
|||
|
public class GradeSegment : BasicBaseObject
|
|||
|
{
|
|||
|
#region Constructor
|
|||
|
|
|||
|
public GradeSegment()
|
|||
|
{
|
|||
|
Code = string.Empty;
|
|||
|
Name = string.Empty;
|
|||
|
BasicPer = 0;
|
|||
|
_status = EnumStatus.Active;
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
#region Properties
|
|||
|
|
|||
|
public string Code { get; set; }
|
|||
|
public string Name { get; set; }
|
|||
|
|
|||
|
public double BasicPer { get; set; }
|
|||
|
|
|||
|
//#region Service Factory IGradeSegmentService : IGradeSegmentService
|
|||
|
|
|||
|
//internal static IGradeSegmentService Service
|
|||
|
//{
|
|||
|
// get { return Services.Factory.CreateService<IGradeSegmentService>(typeof(IGradeSegmentService)); }
|
|||
|
//}
|
|||
|
|
|||
|
//#endregion
|
|||
|
|
|||
|
#endregion
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
#region IGradeSegment Service
|
|||
|
|
|||
|
public interface IGradeSegmentService
|
|||
|
{
|
|||
|
GradeSegment Get(int id);
|
|||
|
List<GradeSegment> Get(EnumStatus status);
|
|||
|
int Save(GradeSegment item);
|
|||
|
void Delete(int id);
|
|||
|
GradeSegment Get(string sCode);
|
|||
|
string GetNextCode();
|
|||
|
List<GradeSegment> GetAllGradeSegment(int payrollTypeID, EnumStatus status, string code, string name);
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
}
|