91 lines
1.7 KiB
C#
91 lines
1.7 KiB
C#
|
|
using Ease.Core.Model;
|
|
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Data;
|
|
|
|
namespace HRM.BO
|
|
{
|
|
public class LMObjective : BasicBaseObject
|
|
{
|
|
#region Constructor
|
|
|
|
public LMObjective()
|
|
{
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
#region Properties
|
|
public int ParentID { get; set; }
|
|
public int ObjectiveID { get; set; }
|
|
|
|
#endregion
|
|
|
|
//#region Function
|
|
|
|
//#region Get All
|
|
|
|
//public static List<LMObjective> Get()
|
|
//{
|
|
// return LMObjective.Service.Get();
|
|
//}
|
|
|
|
//#endregion
|
|
|
|
//#region Get By ID
|
|
|
|
//public static LMObjective Get(int id)
|
|
//{
|
|
// return LMObjective.Service.Get(id);
|
|
//}
|
|
|
|
//#endregion
|
|
|
|
//#region Save
|
|
|
|
//public int Save()
|
|
//{
|
|
// this.SetAuditTrailProperties();
|
|
// return LMObjective.Service.Save(this);
|
|
//}
|
|
|
|
//#endregion
|
|
|
|
//#region Delete
|
|
|
|
//public static void Delete(int id)
|
|
//{
|
|
// LMObjective.Service.Delete(id);
|
|
//}
|
|
|
|
//#endregion
|
|
|
|
//#endregion
|
|
|
|
//#region Service Factory ILMObjective : ILMObjective
|
|
|
|
//internal static ILMObjectiveService Service
|
|
//{
|
|
// get { return Services.Factory.CreateService<ILMObjectiveService>(typeof(ILMObjectiveService)); }
|
|
//}
|
|
|
|
//#endregion
|
|
}
|
|
|
|
#region ILMObjectiveService Service
|
|
|
|
public interface ILMObjectiveService
|
|
{
|
|
List<LMObjective> Get();
|
|
LMObjective Get(int id);
|
|
int Save(LMObjective item);
|
|
void Delete(int id);
|
|
}
|
|
|
|
#endregion
|
|
}
|