49 lines
1.1 KiB
C#
49 lines
1.1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace HRM.BO
|
|
{
|
|
public class EmployeeNotification : AuditTrailBase
|
|
{
|
|
public EmployeeNotification()
|
|
{
|
|
|
|
}
|
|
public EmployeeNotification(int employeeid, string header, string description, DateTime crdate, int createdby)
|
|
{
|
|
this.EmployeeID = employeeid;
|
|
this.Header = header;
|
|
this.Description = description;
|
|
this.CreatedBy = createdby;
|
|
this.CreatedDate = crdate;
|
|
}
|
|
|
|
public int EmployeeID { get; set; }
|
|
|
|
public string Header { get; set; }
|
|
|
|
public string Description { get; set; }
|
|
|
|
public string Link { get; set; }
|
|
|
|
public int? ReferenceID { get; set; }
|
|
|
|
public int? IsRead { get; set; }
|
|
|
|
public DateTime? ReadDate { get; set; }
|
|
|
|
public int? ReadBy { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
public interface IEmployeeNotification
|
|
{
|
|
int Insert(EmployeeNotification item);
|
|
|
|
void ReadUpdate(EmployeeNotification item);
|
|
List<EmployeeNotification> Get(int employeeID);
|
|
}
|
|
|
|
} |