EchoTex_Payroll/HRM.BO/Salary/ApprenticeSalary.cs

114 lines
3.0 KiB
C#
Raw Normal View History

2024-10-14 10:01:49 +06:00

using Ease.Core.Model;
using System;
using System.Collections.Generic;
using System.Data;
namespace HRM.BO
{
public class ApprenticeSalary : BasicBaseObject
{
#region Constructor
public ApprenticeSalary()
{
_firstYear = 0;
_secondYear = 0;
_thirdYear = 0;
}
#endregion
#region Properties
#region FirstYear
private double _firstYear;
public double FirstYear
{
get { return _firstYear; }
set { _firstYear = value; }
}
#endregion
#region SecondYear
private double _secondYear;
public double SecondYear
{
get { return _secondYear; }
set { _secondYear = value; }
}
#endregion
#region ThirdYear
private double _thirdYear;
public double ThirdYear
{
get { return _thirdYear; }
set { _thirdYear = value; }
}
#endregion
#endregion
//#region Functions
////public static List<ApprenticeSalary> Get()
////{
//// List<ApprenticeSalary> medicalBenifitSetups = null;
//// #region Cache Header
//// medicalBenifitSetups = (List<ApprenticeSalary>)_cache["Get"];
//// if (medicalBenifitSetups != null)
//// return medicalBenifitSetups;
//// #endregion
//// medicalBenifitSetups = ApprenticeSalary.Service.Get();
//// #region Cache Footer
//// _cache.Add(medicalBenifitSetups, "Get");
//// #endregion
//// return medicalBenifitSetups;
////}
//public static ApprenticeSalary Get()
//{
// ApprenticeSalary medicalBenifitSetup = null;
// #region Cache Header
// medicalBenifitSetup = (ApprenticeSalary)_cache["Get"];
// if (medicalBenifitSetup != null)
// return medicalBenifitSetup;
// #endregion
// medicalBenifitSetup = ApprenticeSalary.Service.Get();
// #region Cache Footer
// _cache.Add(medicalBenifitSetup, "Get");
// #endregion
// return medicalBenifitSetup;
//}
//public void Save(ApprenticeSalary apprenticeSalarys)
//{
// apprenticeSalarys.SetAuditTrailProperties();
// ApprenticeSalary.Service.Save(apprenticeSalarys);
//}
////public void Delete(int id)
////{
//// MedicalBenifitSetup.Service.Delete(id);
////}
//#endregion
//#region Service Factory
//internal static IApprenticeSalaryService Service
//{
// get { return Services.Factory.CreateService<IApprenticeSalaryService>(typeof(IApprenticeSalaryService)); }
//}
//#endregion
}
public interface IApprenticeSalaryService
{
//List<ApprenticeSalary> Get();
ApprenticeSalary Get();
void Save(ApprenticeSalary apprenticeSalarys);
}
}