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

24 lines
705 B
C#

using LCU.Library.Internal.ApiResponse.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
namespace LCU.Library.Internal.IncentiveApiModels.Requests
{
public class GoalDispersalRequest : ReturnResponse
{
public int MonthsBack { get; set; } = -1;
public List<string> GoalDispersalNotification { get; set; }
[NotMapped]
public DateTime StartDate
{
get
{
var datePeriod = new DateTime(DateTime.Today.Year, DateTime.Today.Month, 1);
datePeriod = datePeriod.AddMonths(MonthsBack);
return datePeriod;
}
}
}
}