86 lines
2.9 KiB
C#
86 lines
2.9 KiB
C#
namespace IntegryControlPanel.Client.Models;
|
|
|
|
public class Customer
|
|
{
|
|
public int Id { get; set; }
|
|
public string Name { get; set; } = null!;
|
|
public string Slug { get; set; } = null!;
|
|
public bool? Active { get; set; }
|
|
public string? PartitaIva { get; set; }
|
|
public List<ApplicationInfo> ApplicationInfos { get; set; } = new List<ApplicationInfo>();
|
|
public List<Device> Devices { get; set; } = new List<Device>();
|
|
public List<PvmsInfo> PvmsInfos { get; set; } = new List<PvmsInfo>();
|
|
public List<Server> Servers { get; set; } = new List<Server>();
|
|
}
|
|
|
|
public class Server
|
|
{
|
|
public int Id { get; set; }
|
|
public int? CustomerId { get; set; }
|
|
public string? Ip { get; set; }
|
|
public int? Port { get; set; }
|
|
public string? Info { get; set; }
|
|
public string? JavaVersion { get; set; }
|
|
public string? OsArch { get; set; }
|
|
public string? OsName { get; set; }
|
|
public string? Xmx { get; set; }
|
|
public string? Xms { get; set; }
|
|
public string? MaxPermSize { get; set; }
|
|
public DateTime? LastUpdate { get; set; }
|
|
public string? RemoteAddr { get; set; }
|
|
public DateTime? CreatedAt { get; set; }
|
|
public DateTime? UpdatedAt { get; set; }
|
|
}
|
|
|
|
public class Device
|
|
{
|
|
public int Id { get; set; }
|
|
public int? CustomerId { get; set; }
|
|
public string Ip { get; set; } = null!;
|
|
public int Port { get; set; }
|
|
public string Info { get; set; } = null!;
|
|
}
|
|
|
|
public class ApplicationInfo
|
|
{
|
|
public int Id { get; set; }
|
|
public int? CustomerId { get; set; }
|
|
public string Name { get; set; } = null!;
|
|
public bool NewUpdProgMaga { get; set; }
|
|
public string? MenuPersonalizzato { get; set; }
|
|
public int? AnnoMagaz { get; set; }
|
|
public int? AnnoContab { get; set; }
|
|
public bool? AnsiPadding { get; set; }
|
|
public bool? DelimitedIdentifier { get; set; }
|
|
public bool? ConcatNullYieldsNull { get; set; }
|
|
}
|
|
|
|
public class PvmsInfo
|
|
{
|
|
public int Id { get; set; }
|
|
public int? CustomerId { get; set; }
|
|
public string PhpVersion { get; set; } = null!;
|
|
public string Timezone { get; set; } = null!;
|
|
public string Imagick { get; set; } = null!;
|
|
public string MemoryLimit { get; set; } = null!;
|
|
public int MaxExecutionTime { get; set; }
|
|
public int MaxInputVars { get; set; }
|
|
public string PostMaxSize { get; set; } = null!;
|
|
public string UploadMaxSize { get; set; } = null!;
|
|
public string DefaultCharset { get; set; } = null!;
|
|
public bool MagicQuotesGpc { get; set; }
|
|
public bool SodiumMissing { get; set; }
|
|
}
|
|
|
|
public class CustomerServerInfo
|
|
{
|
|
public string Name { get; set; } = null!;
|
|
public string? PartitaIva { get; set; }
|
|
public string? OsName { get; set; }
|
|
public string? OsArch { get; set; }
|
|
public string? JavaVersion { get; set; }
|
|
public string? RemoteAddr { get; set; }
|
|
public DateTime? UpdatedAt { get; set; }
|
|
public string SimpleName { get; set; } = null!;
|
|
public string? RagSoc { get; set; }
|
|
} |