EchoTex_Payroll/HRM.BO/Claim/ClaimBasicItem.cs

54 lines
1.4 KiB
C#
Raw Permalink Normal View History

2024-10-14 10:01:49 +06:00
using System;
using System.Collections.Generic;
using System.Data;
namespace HRM.BO
{
#region ClaimBasicItem
public class ClaimBasicItem : BasicBaseObject
{
#region Constructor
public ClaimBasicItem()
{
Name = string.Empty;
Serial = 0;
GlCode = string.Empty;
GlSide = string.Empty;
GlSideCode = string.Empty;
IsFamilyMemberNeeded = false;
}
#endregion
public int ClaimBasicID { get; set; }
public string Name { get; set; }
public bool IsFamilyMemberNeeded { get; set; }
public int Serial { get; set; }
public double FixedAmount { get; set; }
public bool MonthlyOnce { get; set; }
public string GlCode { get; set; }
public string GlSide { get; set; }
public string GlSideCode { get; set; }
public double Latitude { get; set; }
public double Longitude { get; set; }
public bool IsAttachment { get; set; }
}
#endregion
#region IClaimBasicItem Service
public interface IClaimBasicItemService
{
ClaimBasicItem Get(int id);
List<ClaimBasicItem> Get();
List<ClaimBasicItem> GetByClaimBasicID(int claimBasicID);
int Save(ClaimBasicItem item);
void Save(List<ClaimBasicItem> _claimBasicItems);
void Delete(int id);
void DeleteByClaimBasicID(int id);
}
#endregion
}