Files
2024-12-24 18:04:58 +01:00

71 lines
1.9 KiB
C#

using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Threading.Tasks;
namespace EgwControlCenter.Core.DTO
{
public class VersStatusDTO
{
#region Public Properties
/// <summary>
/// Nome applicazione
/// </summary>
public string CodApp { get; set; } = "";
/// <summary>
/// Path applicazione locale
/// </summary>
public string LocalPath { get; set; } = "";
/// <summary>
/// URL remoto x download
/// </summary>
public string UrlDownload { get; set; } = "";
/// <summary>
/// Tipo applicazione da monitorare
/// </summary>
[JsonConverter(typeof(StringEnumConverter))]
public CoreEnum.AppType ApplicationType { get; set; } = CoreEnum.AppType.None;
/// <summary>
/// Versione applicativo corrente
/// </summary>
public string VersNumCurr { get; set; } = "0.0.0.0";
/// <summary>
/// Versione applicativo LAST disponibile
/// </summary>
public string VersNumLast { get; set; } = "0.0.0.0";
/// <summary>
/// Tag associati a ultima versione disponibile, comma separated
/// </summary>
public string RelTagsLast { get; set; } = "";
/// <summary>
/// Indica se esista un update alla versione
/// </summary>
public bool HasUpdate { get; set; } = false;
/// <summary>
/// Indica se si possa installare update
/// </summary>
public bool CanInstall { get; set; } = false;
/// <summary>
/// Indica se non si siano trovate versioni
/// </summary>
public bool NotFound { get; set; } = false;
#endregion Public Properties
}
}