Adding
This commit is contained in:
+23
@@ -0,0 +1,23 @@
|
||||
using System;
|
||||
using LCU.Library.Internal.IncentiveApiModels.Enums;
|
||||
using LCU.Library.Internal.IncentiveApiModels.Common;
|
||||
|
||||
namespace LCU.Library.Internal.IncentiveApiModels.Entities
|
||||
{
|
||||
public class Goal : Auditable
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public Guid AppUserId { get; set; }
|
||||
public int DepartmentId { get; set; }
|
||||
public string? EmployeeId { get; set; }
|
||||
public DateTime EndDate { get; set; }
|
||||
public Product Product { get; set; }
|
||||
public DateTime StartDate { get; set; }
|
||||
public int Value { get; set; }
|
||||
|
||||
public bool IsDepartmentGoal()
|
||||
{
|
||||
return string.IsNullOrWhiteSpace(EmployeeId);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user