using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace HRM.BO { //public enum EnumSalaryComponent //{ // Basic = 1, // Allowance = 2, // Bonus=3 //} public class SalaryComponent : BasicBaseObject { public SalaryComponent() { } public int ObjectID { get; set; } public string Description { get; set; } public EnumSalaryComponent Type { get; set; } } public interface ISalaryComponent { List Benefits(int payrolltypeid); List Components(int payrolltypeid); } }