24 lines
701 B
C#
24 lines
701 B
C#
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);
|
|
}
|
|
}
|
|
}
|