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(typeof(IProcessItemService)); } //} //#endregion #endregion } #endregion #region IProcessItem Service public interface IProcessItemService { ProcessItem Get(int id); List Get(); List GetForTHeadGroup(); int Save(ProcessItem item); void Delete(int id); } #endregion }