using System.Collections.Generic;
using System.Text.Json.Serialization;
using MarcusLaw.OutlookAddin.Core.Models;

namespace MarcusLaw.OutlookAddin.Core.Configuration
{
    public sealed class AppSettings
    {
        [JsonPropertyName("espoCrmUrl")]
        public string EspoCrmUrl { get; set; } = "https://crm.prod.marcus-law.co.il";

        [JsonPropertyName("locale")]
        public string Locale { get; set; } = "he-IL";

        [JsonPropertyName("recentEntities")]
        public List<EspoEntityRef> RecentEntities { get; set; } = new List<EspoEntityRef>();

        [JsonPropertyName("watchedFolders")]
        public List<WatchedFolder> WatchedFolders { get; set; } = new List<WatchedFolder>();
    }
}
