EchoTex_Payroll/HRM.BO/Basic/PLDailyInterest.cs
2024-10-14 10:01:49 +06:00

53 lines
1.3 KiB
C#

using System;
using System.Collections.Generic;
namespace HRM.BO
{
#region PLDailyInterest
public class PLDailyInterest : AuditTrailBase
{
#region Constructor
public PLDailyInterest()
{
InterestDate = DateTime.Today;
;
DailyRate = 0;
AnnualRate = 0;
}
#endregion
#region Properties
public DateTime InterestDate { get; set; }
public double DailyRate { get; set; }
public double AnnualRate { get; set; }
#endregion
//#region Service Factory IPLDailyInterestService : IPLDailyInterestService
//internal static IPLDailyInterestService Service
//{
// get { return Services.Factory.CreateService<IPLDailyInterestService>(typeof(IPLDailyInterestService)); }
//}
//#endregion
}
#endregion
#region IPLDailyInterest Service
public interface IPLDailyInterestService
{
List<PLDailyInterest> Get(DateTime FrominterestDate, DateTime ToIntDate);
PLDailyInterest Get(DateTime issueDate);
int Save(DateTime FrominterestDate, DateTime ToIntDate, List<PLDailyInterest> oItems);
void Delete(DateTime FrominterestDate, DateTime ToIntDate);
}
#endregion
}