Files
2026-03-17 09:53:09 -05:00

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);
}
}
}