57 lines
1.3 KiB
C#
57 lines
1.3 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace HRM.BO
|
|
{
|
|
#region ProcessItem
|
|
|
|
public class ProcessItem : AuditTrailBase
|
|
{
|
|
#region Constructor
|
|
|
|
public ProcessItem()
|
|
{
|
|
ItemCode = 0;
|
|
DefaultDescription = string.Empty;
|
|
UserDescription = string.Empty;
|
|
Position = 0;
|
|
ItemGroup = 0;
|
|
}
|
|
|
|
#endregion
|
|
|
|
#region Properties
|
|
|
|
public int ItemCode { get; set; }
|
|
public string DefaultDescription { get; set; }
|
|
public string UserDescription { get; set; }
|
|
public int Position { get; set; }
|
|
public int ItemGroup { get; set; }
|
|
|
|
//#region Service Factory IProcessItemService : IProcessItemService
|
|
|
|
//internal static IProcessItemService Service
|
|
//{
|
|
// get { return Services.Factory.CreateService<IProcessItemService>(typeof(IProcessItemService)); }
|
|
//}
|
|
|
|
//#endregion
|
|
|
|
#endregion
|
|
}
|
|
|
|
#endregion
|
|
|
|
#region IProcessItem Service
|
|
|
|
public interface IProcessItemService
|
|
{
|
|
ProcessItem Get(int id);
|
|
List<ProcessItem> Get();
|
|
List<ProcessItem> GetForTHeadGroup();
|
|
int Save(ProcessItem item);
|
|
void Delete(int id);
|
|
}
|
|
|
|
#endregion
|
|
} |