using System; using System.Collections.Generic; using System.Data; using System; using System.Collections.Generic; using System.Linq; using System.Text; using Ease.Core; using Ease.Core.Model; using System.Data; namespace HRM.BO { public class AdvanceIncomeTax : BasicBaseObject { #region constructor public AdvanceIncomeTax() { } #endregion #region Properties #region EmployeeID private int employeeID; public int EmployeeID { get { return employeeID; } set { employeeID = value; } } #endregion #region MyRegion private int taxParameterID; public int TaxParameterID { get { return taxParameterID; } set { taxParameterID = value; } } #endregion #region Amount private double amount; public double Amount { get { return amount; } set { amount = value; } } #endregion #region Remarks private string remarks; public string Remarks { get { return remarks; } set { remarks = value; } } #endregion //#region Service Factory //internal static IAdvanceIncomeTaxService Service //{ // get { return Services.Factory.CreateService(typeof(IAdvanceIncomeTaxService)); } //} //#endregion #endregion //#region Methods //public static AdvanceIncomeTax Get(int iD) //{ // return AdvanceIncomeTax.Service.Get(iD); //} //public static List Get() //{ // return AdvanceIncomeTax.Service.Get(); //} //public int Save() //{ // this.SetAuditTrailProperties(); // return AdvanceIncomeTax.Service.Save(this); //} //public void Delete(int iD) //{ // AdvanceIncomeTax.Service.Delete(iD); //} //#endregion } public interface IAdvanceIncomeTaxService { AdvanceIncomeTax Get(int iD); List Get(); int Save(AdvanceIncomeTax advanceIncomeTax); void Delete(int iD); } }