feat(core): update DTOs, Trade Republic client, Yahoo scrapers, and dynamic settings

This commit is contained in:
2026-08-14 23:55:02 +02:00
parent 3d8af3940b
commit 4f733bf8c3
511 changed files with 1990 additions and 1080548 deletions
@@ -0,0 +1,34 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace FinlyticCore.Entities.Settings;
public class SettingEntity
{
[Key]
public Guid Id { get; set; } = Guid.NewGuid();
/// <summary>
/// Der eindeutige Schlüssel der Einstellung (z.B. "EnableTickerLog" oder "YahooClient.Timeout").
/// </summary>
[Required]
[MaxLength(150)]
public string Key { get; set; } = string.Empty;
/// <summary>
/// Der Wert als JSON-String serialisiert.
/// Erlaubt bool, int, string, Enums oder komplexe Objekte.
/// </summary>
[Required]
[Column(TypeName = "text")]
public string ValueJson { get; set; } = string.Empty;
/// <summary>
/// Optional: Ermöglicht instanz- oder servicespezifische Settings.
/// "Global" = gilt für alle, "FundamentalService_Inst1" = spezifisch.
/// </summary>
[MaxLength(100)]
public string ServiceIdentifier { get; set; } = "Global";
public DateTime LastUpdatedUtc { get; set; } = DateTime.UtcNow;
}