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

50 lines
1.3 KiB
C#

using Ease.Core.Model;
using System;
using System.Collections.Generic;
using System.Data;
namespace HRM.BO
{
public class AppraisalPointRating : BasicBaseObject
{
public delegate void ItemChanged();
public AppraisalPointRating()
{
this.AppraisalPointID = 0;
this.Parcent = double.MinValue;
this.MinParcent = double.MinValue;
this.MaxParcent = double.MinValue;
}
#region properties
public int AppraisalPointID { get; set; }
public DateTime? AppraisalYear { get; set; }
public EnumAppraisalPointType Type { get; set; }
public double? MaxParcent { get; set; }
public double? MinParcent { get; set; }
public double Parcent { get; set; }
public AppraisalPoint AppraisalPoint { get; set; }
#endregion
}
#region IAppraisalPointRatingService
public interface IAppraisalPointRatingService
{
List<AppraisalPointRating> Get(DateTime apprisalYear);
List<AppraisalPointRating> Get(EnumAppraisalPointType type, DateTime? Appyear);
List<AppraisalPointRating> Get();
int Save(AppraisalPointRating item);
void Update(AppraisalPointRating item);
void Delete(int id);
bool CheckAppraisalPointRating(int id, DateTime year);
}
#endregion
}