initial commit post spostamento

This commit is contained in:
Samuele Locatelli
2024-10-02 16:14:15 +02:00
parent bf870f8720
commit 5aa18e4805
119 changed files with 33183 additions and 0 deletions
@@ -0,0 +1,33 @@
using Newtonsoft.Json.Converters;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
namespace EgwControlCenter.Core.Models
{
public class ControlTarget
{
[Key]
public int Idx { get; set; } = 0;
/// <summary>
/// Tipo applicazione da monitorare
/// </summary>
[JsonConverter(typeof(StringEnumConverter))]
public CoreEnum.AppType ApplicationType{ get; set; } = CoreEnum.AppType.None;
/// <summary>
/// Path di base da monitorare
/// </summary>
public string BasePath { get; set; } = "";
/// <summary>
/// Indica se il path sia abilitato
/// </summary>
public bool IsEnabled { get; set; } = true;
}
}