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
///
/// Nome applicazione
///
public string CodApp { get; set; } = "";
///
/// Path applicazione locale
///
public string LocalPath { get; set; } = "";
///
/// URL remoto x download
///
public string UrlDownload { get; set; } = "";
///
/// Tipo applicazione da monitorare
///
[JsonConverter(typeof(StringEnumConverter))]
public CoreEnum.AppType ApplicationType { get; set; } = CoreEnum.AppType.None;
///
/// Versione applicativo corrente
///
public string VersNumCurr { get; set; } = "0.0.0.0";
///
/// Versione applicativo LAST disponibile
///
public string VersNumLast { get; set; } = "0.0.0.0";
///
/// Tag associati a ultima versione disponibile, comma separated
///
public string RelTagsLast { get; set; } = "";
///
/// Indica se esista un update alla versione
///
public bool HasUpdate { get; set; } = false;
///
/// Indica se si possa installare update
///
public bool CanInstall { get; set; } = false;
///
/// Indica se non si siano trovate versioni
///
public bool NotFound { get; set; } = false;
#endregion Public Properties
}
}