Files
monorepo/LCU.API.Operations.IncentiveAPI/LCU.Library.Internal.IncentiveApiModels/Entities/GoalChange.cs
T
2026-03-17 09:53:09 -05:00

26 lines
775 B
C#

using System;
using System.ComponentModel.DataAnnotations;
using LCU.Library.Internal.IncentiveApiModels.Enums;
using LCU.Library.Internal.IncentiveApiModels.Common;
namespace LCU.Library.Internal.IncentiveApiModels.Entities
{
public class GoalChange : AuditCreate
{
public int Id { get; set; }
[Required]
public Guid AppUserId { get; set; }
public int DepartmentId { get; set; }
public DateTime EndDate { set; get; }
public string? PersonId { get; set; }
public Product Product { get; set; }
public DateTime StartDate { get; set; }
public int Value { get; set; }
public bool IsDepartmentGoalChange()
{
return string.IsNullOrWhiteSpace(PersonId);
}
}
}