43 lines
1.1 KiB
C#
43 lines
1.1 KiB
C#
|
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<IComponentUploadSetupService>(typeof(IComponentUploadSetupService)); }
|
|||
|
//}
|
|||
|
//#endregion
|
|||
|
}
|
|||
|
|
|||
|
public interface IComponentUploadSetupService
|
|||
|
{
|
|||
|
List<ComponentUploadSetup> Get();
|
|||
|
List<ComponentUploadSetup> Get(int empId);
|
|||
|
int Save(ComponentUploadSetup componentSetup);
|
|||
|
void Delete(int id);
|
|||
|
bool IsExist(int empId, EnumComponentType ComponentType, int itemId);
|
|||
|
}
|
|||
|
}
|