Files
Finlytic/FinlyticSentiment/Entities/SentimentSettingsEntity.cs
T

24 lines
704 B
C#

using System;
namespace FinlyticSentiment.Entities;
/// <summary>
/// Entity representing runtime operational settings for FinlyticSentiment stored in PostgreSQL.
/// </summary>
public class SentimentSettingsEntity
{
public Guid Id { get; set; } = Guid.NewGuid();
public double MinConfidenceScore { get; set; } = 0.70;
public int MaxBatchSize { get; set; } = 10;
public int SweepIntervalMinutes { get; set; } = 2;
public string GermanWebhookUrl { get; set; } = "https://n8n.kleidukos.me/webhook/sentiment/de";
public string EnglishWebhookUrl { get; set; } = "https://n8n.kleidukos.me/webhook/sentiment/en";
public DateTime UpdatedAt { get; set; } = DateTime.UtcNow;
}