HRM-10/HRM.BO/TrainingBOs/Trainer.cs
Mohaimen Hasan 838b8d4480 first commit
2026-11-03 13:06:00 +06:00

57 lines
1.4 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HRM.BO
{
#region Trainer
public class Trainer : BasicBaseObject
{
#region Constructor
public Trainer()
{
Code = string.Empty;
Name = string.Empty;
ContactNo = string.Empty;
EmailAddress = string.Empty;
Institute = string.Empty;
Description = string.Empty;
EnrollDate = DateTime.Now;
}
#endregion
#region Properties
public string Code { get; set; }
public string Name { get; set; }
public string ContactNo { get; set; }
public string EmailAddress { get; set; }
public string Institute { get; set; }
public string Description { get; set; }
public EnumTrainerType TrainerType { get; set; }
public int? EmployeeID { get; set; }
public Employee Employee { get; set; }
public double? Rating { get; set; }
public DateTime EnrollDate { get; set; }
#endregion
}
#endregion
#region ITrainer Service
public interface ITrainerService
{
Trainer Get(int id);
List<Trainer> GetAll();
List<Trainer> Get(EnumStatus status, int payrollTypeID);
int Save(Trainer item);
void Delete(int id);
string GetNextCode();
}
#endregion
}