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

56 lines
1.2 KiB
C#

using System;
using System.Collections.Generic;
namespace HRM.BO
{
#region Religion
public class Religion : BasicBaseObject
{
#region Constructor
public Religion()
{
Code = string.Empty;
Name = string.Empty;
NameInBangla = string.Empty;
_status = EnumStatus.Active;
}
#endregion
#region Properties
public string Code { get; set; }
public string Name { get; set; }
public string NameInBangla { get; set; }
//#region Service Factory IReligionService : IReligionService
//internal static IReligionService Service
//{
// get { return Services.Factory.CreateService<IReligionService>(typeof(IReligionService)); }
//}
//#endregion
#endregion
}
#endregion
#region IReligion Service
public interface IReligionService
{
Religion Get(int id);
List<Religion> Get();
List<Religion> Get(EnumStatus status);
int Save(Religion item);
void Delete(int id);
Religion Get(string sCode);
string GetNextCode();
}
#endregion
}