using System.Data; using System.Text.Json.Serialization; using AAIntegration.SimmonsBank.API.Enums; namespace AAIntegration.SimmonsBank.API.Entities; public class Operation { public int Id { get; set; } public int Order { get; set; } public bool Enabled { get; set; } public bool Negative { get; set; } public OperationMode Mode { get; set; } public TimeSpan HistoricPeriod { get; set; } public int HistoricLookbackDepth { get; set; } public HistoricStatistic HistoricStatistic { get; set; } public decimal AbsoluteValue { get; set; } public decimal Percentage { get; set; } }