using System; using System.Collections.Generic; namespace HRM.BO { #region SuccessionRole public class SuccessionRole : BasicBaseObject { #region Constructor public SuccessionRole() { Code = string.Empty; Name = string.Empty; Status = EnumStatus.Active; } #endregion #region Properties public string Code { get; set; } public string Name { get; set; } public int PayrollTypeID { get; set; } #endregion } #endregion #region ISuccessionRole Service public interface ISuccessionRoleService { SuccessionRole Get(int id); int GetMaxID(); int Save(SuccessionRole item); void Delete(int id); string GetNextCode(); List GetAll(); List Get(EnumStatus status, int payrollTypeID); } #endregion }