using System.Collections.Generic; namespace HRM.BO { public class ComponentUploadSetup : BasicBaseObject { #region Constructor public ComponentUploadSetup() { EmployeeID = 0; ItemID = 0; Description = string.Empty; } #endregion #region Properties public int EmployeeID { get; set; } public EnumComponentType ComponentType { get; set; } public int ItemID { get; set; } public string Description { get; set; } #endregion //#region Service Factory //internal static IComponentUploadSetupService Service //{ // get { return Services.Factory.CreateService(typeof(IComponentUploadSetupService)); } //} //#endregion } public interface IComponentUploadSetupService { List Get(); List Get(int empId); int Save(ComponentUploadSetup componentSetup); void Delete(int id); bool IsExist(int empId, EnumComponentType ComponentType, int itemId); } }