22 lines
522 B
C#

using System.Data;
using System.Text.Json.Serialization;
namespace AAIntegration.SimmonsBank.API.Entities;
public class EnvelopeFundingMethod
{
public int Id { get; set; }
public Envelope Envelope { get; set; }
public int Order { get; set; }
public EnvelopeFundingMethodModes Mode { get; set; }
public string Value { get; set; }
public int PeriodsToLookback { get; set; } = 0;
}
public enum EnvelopeFundingMethodModes
{
ABSOLUTE,
PERCENTAGE,
HISTORICAL_MEDIAN,
HISTORICAL_MEAN,
}