using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace HRM.BO { public class PMSObjectiveProgress : BasicBaseObject { #region Constructor public PMSObjectiveProgress() { IsRead = false; IsLmAchknowldged = false; } #endregion #region Properties public int ObjectiveID { get; set; } public int EmployeeID { get; set; } public string Description { get; set; } public DateTime UpdateTime { get; set; } public double? AchivePercent { get; set; } public bool IsRead { get; set; } public DateTime? ReadTime { get; set; } public bool IsEmployee { get; set; } public int? RatingStart { get; set; } public bool IsLmAchknowldged { get; set; } public Objective Objective { get; set; } public Employee Employee { get; set; } public int fromEmpID { get; set; } public PMSObjectiveProgressAttachment PMSObjectiveProgressAttachment { get; set; } #endregion } #region IPMSObjectiveProgress Service public interface IPMSObjectiveProgressService { int Save(PMSObjectiveProgress item); void Save(List items); List Get(); PMSObjectiveProgress Get(int id); List GetByObjectiveID(int objectiveId); void UpdateReadTime(List items); List GetUnreadMessage(string objectiveIDs); int GetUnreadEmployeeMessageCountByObjectiveSetID(int objectiveSetID); void SendMail(PMSObjectiveProgress pmsObjectiveProgress); } #endregion }