commit e6381d23677df4729c0b9af9972d5ff756ede9fc Author: Marco Audiffredi Date: Tue Jan 23 11:59:33 2024 +0100 Commit iniziale diff --git a/.vs/ApiManutenzioni/v17/.wsuo b/.vs/ApiManutenzioni/v17/.wsuo new file mode 100644 index 0000000..b47a360 Binary files /dev/null and b/.vs/ApiManutenzioni/v17/.wsuo differ diff --git a/.vs/ApiPolo/DesignTimeBuild/.dtbcache.v2 b/.vs/ApiPolo/DesignTimeBuild/.dtbcache.v2 new file mode 100644 index 0000000..eac7894 Binary files /dev/null and b/.vs/ApiPolo/DesignTimeBuild/.dtbcache.v2 differ diff --git a/.vs/ApiPolo/FileContentIndex/5137eb61-b80f-4dbc-8df7-abca8791a72d.vsidx b/.vs/ApiPolo/FileContentIndex/5137eb61-b80f-4dbc-8df7-abca8791a72d.vsidx new file mode 100644 index 0000000..09ba809 Binary files /dev/null and b/.vs/ApiPolo/FileContentIndex/5137eb61-b80f-4dbc-8df7-abca8791a72d.vsidx differ diff --git a/.vs/ApiPolo/FileContentIndex/979c557d-b1c0-4316-919e-ba28aed0936b.vsidx b/.vs/ApiPolo/FileContentIndex/979c557d-b1c0-4316-919e-ba28aed0936b.vsidx new file mode 100644 index 0000000..cd45dd2 Binary files /dev/null and b/.vs/ApiPolo/FileContentIndex/979c557d-b1c0-4316-919e-ba28aed0936b.vsidx differ diff --git a/.vs/ApiPolo/FileContentIndex/b00a70e1-a773-432a-8d03-992c2d734d43.vsidx b/.vs/ApiPolo/FileContentIndex/b00a70e1-a773-432a-8d03-992c2d734d43.vsidx new file mode 100644 index 0000000..34c42ec Binary files /dev/null and b/.vs/ApiPolo/FileContentIndex/b00a70e1-a773-432a-8d03-992c2d734d43.vsidx differ diff --git a/.vs/ApiPolo/FileContentIndex/c645ad3e-95ae-4361-ba86-2048d1a3dd4e.vsidx b/.vs/ApiPolo/FileContentIndex/c645ad3e-95ae-4361-ba86-2048d1a3dd4e.vsidx new file mode 100644 index 0000000..167dfe8 Binary files /dev/null and b/.vs/ApiPolo/FileContentIndex/c645ad3e-95ae-4361-ba86-2048d1a3dd4e.vsidx differ diff --git a/.vs/ApiPolo/FileContentIndex/read.lock b/.vs/ApiPolo/FileContentIndex/read.lock new file mode 100644 index 0000000..e69de29 diff --git a/.vs/ApiPolo/config/applicationhost.config b/.vs/ApiPolo/config/applicationhost.config new file mode 100644 index 0000000..269dc55 --- /dev/null +++ b/.vs/ApiPolo/config/applicationhost.config @@ -0,0 +1,1021 @@ + + + + + + + + +
+
+
+
+
+
+
+
+ + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+ +
+
+ +
+
+ +
+
+
+ + +
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/.vs/ApiPolo/v16/.suo b/.vs/ApiPolo/v16/.suo new file mode 100644 index 0000000..db8b9bd Binary files /dev/null and b/.vs/ApiPolo/v16/.suo differ diff --git a/.vs/ApiPolo/v17/.futdcache.v1 b/.vs/ApiPolo/v17/.futdcache.v1 new file mode 100644 index 0000000..5c4a9ea Binary files /dev/null and b/.vs/ApiPolo/v17/.futdcache.v1 differ diff --git a/.vs/ApiPolo/v17/.futdcache.v2 b/.vs/ApiPolo/v17/.futdcache.v2 new file mode 100644 index 0000000..74fcc4a Binary files /dev/null and b/.vs/ApiPolo/v17/.futdcache.v2 differ diff --git a/.vs/ApiPolo/v17/.suo b/.vs/ApiPolo/v17/.suo new file mode 100644 index 0000000..da9dbc4 Binary files /dev/null and b/.vs/ApiPolo/v17/.suo differ diff --git a/.vs/ProjectEvaluation/apipolo.metadata.v7.bin b/.vs/ProjectEvaluation/apipolo.metadata.v7.bin new file mode 100644 index 0000000..4a9d158 Binary files /dev/null and b/.vs/ProjectEvaluation/apipolo.metadata.v7.bin differ diff --git a/.vs/ProjectEvaluation/apipolo.projects.v7.bin b/.vs/ProjectEvaluation/apipolo.projects.v7.bin new file mode 100644 index 0000000..71c4b15 Binary files /dev/null and b/.vs/ProjectEvaluation/apipolo.projects.v7.bin differ diff --git a/.vs/VSWorkspaceState.json b/.vs/VSWorkspaceState.json new file mode 100644 index 0000000..6b61141 --- /dev/null +++ b/.vs/VSWorkspaceState.json @@ -0,0 +1,6 @@ +{ + "ExpandedNodes": [ + "" + ], + "PreviewInSolutionExplorer": false +} \ No newline at end of file diff --git a/ApiPolo.sln b/ApiPolo.sln new file mode 100644 index 0000000..fd7bfdd --- /dev/null +++ b/ApiPolo.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.1.32319.34 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ApiPolo", "ApiPolo\ApiPolo.csproj", "{FCB070A4-CB11-48F7-8245-A609151A95F7}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {FCB070A4-CB11-48F7-8245-A609151A95F7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {FCB070A4-CB11-48F7-8245-A609151A95F7}.Debug|Any CPU.Build.0 = Debug|Any CPU + {FCB070A4-CB11-48F7-8245-A609151A95F7}.Release|Any CPU.ActiveCfg = Release|Any CPU + {FCB070A4-CB11-48F7-8245-A609151A95F7}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {F4BB9AEC-7FFE-4101-8B36-F1CD5AF0DCDB} + EndGlobalSection +EndGlobal diff --git a/ApiPolo/.config/dotnet-tools.json b/ApiPolo/.config/dotnet-tools.json new file mode 100644 index 0000000..fccc806 --- /dev/null +++ b/ApiPolo/.config/dotnet-tools.json @@ -0,0 +1,12 @@ +{ + "version": 1, + "isRoot": true, + "tools": { + "dotnet-ef": { + "version": "7.0.0", + "commands": [ + "dotnet-ef" + ] + } + } +} \ No newline at end of file diff --git a/ApiPolo/ApiPolo.csproj b/ApiPolo/ApiPolo.csproj new file mode 100644 index 0000000..0a2fe43 --- /dev/null +++ b/ApiPolo/ApiPolo.csproj @@ -0,0 +1,31 @@ + + + + net6.0 + enable + enable + True + + + + + + + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + + + + + + + + + diff --git a/ApiPolo/ApiPolo.csproj.user b/ApiPolo/ApiPolo.csproj.user new file mode 100644 index 0000000..b7a1d6d --- /dev/null +++ b/ApiPolo/ApiPolo.csproj.user @@ -0,0 +1,8 @@ + + + + MvcControllerEmptyScaffolder + root/Common/MVC/Controller + C:\SORGENTI\ApiPolo\ApiPolo\Properties\PublishProfiles\FolderProfile.pubxml + + \ No newline at end of file diff --git a/ApiPolo/Controllers/PoloController.cs b/ApiPolo/Controllers/PoloController.cs new file mode 100644 index 0000000..ed8cd31 --- /dev/null +++ b/ApiPolo/Controllers/PoloController.cs @@ -0,0 +1,12306 @@ +using ApiPolo.Models; +using ApiPolo.Models.Discovery_dbcontext; +using ApiPolo.Models.Ferrari_dbcontext; +using ApiPolo.Models.Marrocco_dbcontext; +using ApiPolo.Models.Sicilia_dbcontext; +using ApiPolo.Models.Sarom_dbcontext; +using ApiPolo.Models.Gitoga_dbcontext; +using ApiPolo.Models.Lifta_dbcontext; +using ApiPolo.Models.Tedesco_dbcontext; +using Microsoft.AspNetCore.Mvc; +using Microsoft.EntityFrameworkCore; +using Microsoft.IdentityModel.Tokens; +using Renci.SshNet; +using System.IdentityModel.Tokens.Jwt; +using System.Net; +using System.Security.Claims; +using System.Text; +using static System.Net.WebRequestMethods; +using System.Xml.Linq; +using ApiPolo.Models.Sinergo_dbcontext; +using System.Collections.Generic; +using System.Drawing; +using FirebaseAdmin; +using FirebaseAdmin.Messaging; +using Google.Apis.Auth.OAuth2; +using Newtonsoft.Json; +using static ApiPolo.Controllers.PoloController; +using System.Net.Http.Headers; +using Newtonsoft.Json.Linq; +using System.Linq.Expressions; +using ApiPolo.Models.Siet_dbcontext; +using FirebaseAdmin.Auth.Multitenancy; +using System.Globalization; +using ApiPolo.Models.PMS_dbcontext; +using ApiPolo.Models.VT_dbcontext; +using System.Diagnostics.Contracts; +using Microsoft.EntityFrameworkCore.Storage; +using System.Diagnostics.Metrics; +using System.Transactions; +using System.Web.Razor.Parser; +using System; +using System.Collections; + +namespace ApiPolo.Controllers +{ + /// + /// Controller unico + /// + [Route("api/[controller]")] + [ApiController] + public class PoloController : Controller + { + private string _token = string.Empty; + private readonly ConfigurazioniDbContext? _config; + private readonly IConfiguration? _configuration; + + private readonly TokenDbContext? _tokens; + + #region TECNICI + private readonly FERRA_TECNICIDbContext _Ferra_tecnici; + private readonly MARRO_TECNICIDbContext _Marro_tecnici; + private readonly SICILIA_TECNICIDbContext _Sicilia_tecnici; + private readonly DISCO_TECNICIDbContext _Disco_tecnici; + private readonly SAROM_TECNICIDbContext _Sarom_tecnici; + private readonly SINERGO_TECNICIDbContext _Sinergo_tecnici; + private readonly GITSR_TECNICI_Dbcontext _Gitoga_tecnici; + private readonly LIFTA_TECNICI_Dbcontext _Lifta_tecnici; + private readonly SIET_TECNICI_DbContext _Siet_tecnici; + private readonly PMS_TECNICI_DbContext _Pms_tecnici; + private readonly VT_TECNICI_DbContext _VT_tecnici; + #endregion + + #region RAPP_NEW + private readonly FERRA_RAPP_NEWDbContext _Ferra_rapp; + private readonly MARRO_RAPP_NEWDbContext _Marro_rapp; + private readonly SICILIA_RAPP_NEWDbContext _Sicilia_rapp; + private readonly DISCO_RAPP_NEWDbContext _Disco_rapp; + private readonly SAROM_RAPP_NEWDbContext _Sarom_rapp; + private readonly GITSR_RAPP_NEW_Dbcontext _Gitoga_rapp; + private readonly LIFTA_RAPP_NEW_Dbcontext _Lifta_rapp; + private readonly SIET_RAPP_NEW_DbContext _Siet_rapp; + private readonly PMS_RAPP_NEW_DbContext _Pms_rapp; + #endregion + + #region CHIAMATE-TECNICI + private readonly FERRA_CHIAMATEDbContext _Ferra_calltec; + private readonly MARRO_CHIAMATEDbContext _Marro_calltec; + private readonly SICILIA_CHIAMATEDbContext _Sicilia_calltec; + private readonly DISCO_CHIAMATEDbContext _Disco_calltec; + private readonly SAROM_CHIAMATEDbContext _Sarom_calltec; + private readonly GITSR_CHIAMATE_Dbcontext _Gitoga_calltec; + private readonly LIFTA_CHIAMATE_Dbcontext _Lifta_calltec; + private readonly SIET_CHIAMATE_DbContext _Siet_calltec; + private readonly PMS_CHIAMATE_DbContext _Pms_calltec; + #endregion + + #region CHIUSURE + private readonly FERRA_CHIUSUREDbContext _Ferra_chiu; + private readonly MARRO_CHIUSUREDbContext _Marro_chiu; + private readonly SICILIA_CHIUSUREDbContext _Sicilia_chiu; + private readonly DISCO_CHIUSUREDbContext _Disco_chiu; + private readonly SAROM_CHIUSUREDbContext _Sarom_chiu; + private readonly GITSR_CHIUSURE_Dbcontext _Gitoga_chiu; + private readonly LIFTA_CHIUSURE_Dbcontext _Lifta_chiu; + private readonly SIET_CHIUSURE_DbContext _Siet_chiu; + private readonly PMS_CHIUSURE_DbContext _Pms_chiu; + #endregion + + #region PRESE + private readonly FERRA_PRESEDbContext _Ferra_prese; + private readonly MARRO_PRESEDbContext _Marro_prese; + private readonly SICILIA_PRESEDbContext _Sicilia_prese; + private readonly DISCO_PRESEDbContext _Disco_prese; + private readonly SAROM_PRESEDbContext _Sarom_prese; + private readonly GITSR_PRESE_Dbcontext _Gitoga_prese; + private readonly LIFTA_PRESE_Dbcontext _Lifta_prese; + private readonly SIET_PRESE_DbContext _Siet_prese; + private readonly PMS_PRESE_DbContext _PMS_prese; + #endregion + + #region MANUTENZIONI PROGRAMMATE + private readonly FERRA_MANPROG_TECDbContext _Ferra_mp; + private readonly MARRO_MANPROG_TECDbContext _Marro_mp; + private readonly SICILIA_MANPROG_TECDbContext _Sicilia_mp; + private readonly DISCO_MANPROG_TECDbContext _Disco_mp; + private readonly SAROM_MANPROG_TECDbContext _Sarom_mp; + private readonly GITSR_MANPROG_TEC_Dbcontext _Gitoga_mp; + private readonly LIFTA_MANPROG_TEC_Dbcontext _Lifta_mp; + private readonly SIET_MANPROG_TEC_DbContext _Siet_mp; + private readonly PMS_MANPROG_TEC_DbContext _PMS_mp; + #endregion + + #region Componenti Impianti + private readonly SICILIA_COMPO_IMPIADbContext _Sicilia_comp; + private readonly DISCO_COMPO_IMPIADbContext _Disco_comp; + private readonly SIET_COMPO_IMPIA_DbContext _Siet_comp; + private readonly PMS_COMPO_IMPIA_DbContext _PMS_comp; + #endregion + + #region Componenti impianti TABELLA + private readonly SICILIA_COMPO_IMPIA_TABLEDbContext _Sicilia_compTable; + private readonly DISCO_COMPO_IMPIA_TABLEDbContext _Disco_compTable; + private readonly SIET_COMPO_IMPIA_TABLE_DbContext _Siet_compTable; + private readonly PMS_COMPO_IMPIA_TABLE_DbContext _PMS_compTable; + #endregion + + + #region SaLDI ARTICOLI + private readonly SICILIA_SALDIARTDbContext _Sicilia_saldi; + private readonly DISCO_SALDIARTDbContext _Disco_saldi; + private readonly SIET_SALDIART_DbContext _Siet_saldi; + private readonly PMS_SALDIART_DbContext _PMS_saldi; + #endregion + + #region Magazzino articoli MAGNEW + private readonly SICILIA_MAG_NEWDbContext _Sicilia_mag; + private readonly DISCO_MAG_NEWDbContext _Disco_mag; + private readonly SIET_MAG_NEW_DbContext _Siet_mag; + private readonly PMS_MAG_NEW_DbContext _PMS_mag; + #endregion + + #region Magazzini + private readonly SICILIA_MAGAZZINIDbContext _Sicilia_magazzini; + private readonly DISCO_MAGAZZINIDbContext _Disco_magazzini; + + private readonly SIET_MAGAZZINI_DbContext _Siet_magazzini; + private readonly PMS_MAGAZZINI_DbContext _PMS_magazzini; + #endregion + + #region Storico rapportini + private readonly SICILIA_STO_RAPPDbContext _Sicilia_sto_rapp; + private readonly DISCO_STO_RAPPDbContext _Disco_sto_rapp; + private readonly FERRA_STO_RAPPDbContext _Ferra_sto_rapp; + private readonly MARRO_STO_RAPPDbContext _Marro_sto_rapp; + private readonly SAROM_STO_RAPPDbContext _Sarom_sto_rapp; + private readonly GITSR_STO_RAPP_Dbcontext _Gitoga_sto_rapp; + private readonly LIFTA_STO_RAPP_Dbcontext _Lifta_sto_rapp; + private readonly SIET_STO_RAPP_DbContext _Siet_sto_rapp; + private readonly PMS_STO_RAPP_DbContext _PMS_sto_rapp; + #endregion + + #region anagrafica clienti + private readonly SICILIA_CLIENTIDbContext _Sicilia_clienti; + private readonly DISCO_CLIENTIDbContext _Disco_clienti; + private readonly FERRA_CLIENTIDbContext _Ferra_clienti; + private readonly MARRO_CLIENTIDbContext _Marro_clienti; + private readonly SAROM_CLIENTIDbContext _Sarom_clienti; + private readonly GITSR_CLIENTI_Dbcontext _Gitoga_clienti; + private readonly LIFTA_CLIENTI_Dbcontext _Lifta_clienti; + private readonly SIET_CLIENTI_DbContext _Siet_clienti; + private readonly PMS_CLIENTI_DbContext _PMS_clienti; + #endregion + + #region causali rapportino + private readonly SICILIA_CAUS_RAPPDbContext _Sicilia_caus_rapp; + private readonly DISCO_CAUS_RAPPDbContext _Disco_caus_rapp; + private readonly FERRA_CAUS_RAPPDbContext _Ferra_caus_rapp; + private readonly MARRO_CAUS_RAPPDbcontext _Marro_caus_rapp; + private readonly SAROM_CAUS_RAPPDbcontext _Sarom_caus_rapp; + private readonly GITSR_CAUS_RAPP_Dbcontext _Gitoga_caus_rapp; + private readonly LIFTA_CAUS_RAPP_Dbcontext _Lifta_caus_rapp; + private readonly SIET_CAUS_RAPP_DbContext _Siet_caus_rapp; + private readonly PMS_CAUS_RAPP_DbContext _PMS_caus_rapp; + #endregion + + #region causali pagamenti + private readonly SICILIA_PAGAMDbContext _Sicilia_pagam; + private readonly DISCO_PAGAMDbContext _Disco_pagam; + private readonly FERRA_PAGAMDbContext _Ferra_pagam; + private readonly MARRO_PAGAMDbContext _Marro_pagam; + private readonly SAROM_PAGAMDbContext _Sarom_pagam; + private readonly GITSR_PAGAM_Dbcontext _Gitoga_pagam; + private readonly LIFTA_PAGAM_Dbcontext _Lifta_pagam; + private readonly SIET_PAGAM_DbContext _Siet_pagam; + private readonly PMS_PAGAM_DbContext _PMS_pagam; + #endregion + + #region commesse + private readonly FERRA_COMMESSEDbContext _Ferra_comm; + private readonly SICILIA_COMMESSEDbContext _Sicilia_comm; + private readonly SINERGO_COMMESSEDbContext _Sinergo_comm; + private readonly MARRO_COMMESSEDbContext _Marro_comm; + private readonly SIET_COMMESSE_DbContext _Siet_comm; + private readonly PMS_COMMESSE_DbContext _PMS_comm; + #endregion + + #region timbrature + private readonly SICILIA_TIMBRATUREDbContext _Sicilia_timbr; + private readonly SINERGO_TIMBRATUREDbContext _Sinergo_timbr; + private readonly SIET_TIMBRATURE_DbContext _Siet_timbr; + private readonly PMS_TIMBRATURE_DbContext _PMS_timbr; + #endregion + + #region rapportini tecnico + //private readonly FERRA_RAPPORTINIDbContext _Ferra_rapportini; + //private readonly SIET_RAPPORTINI_DbContext _Siet_rapportini; + #endregion + + #region storico impianto + private readonly SICILIA_STO_IMPDbContext _Sicilia_sto_imp; + private readonly SIET_STO_IMP_DbContext _Siet_sto_imp; + private readonly PMS_STO_IMP_DbContext _PMS_sto_imp; + #endregion + + #region aziende collegate + private readonly DISCO_AziendaRifDbContext _Disco_azi_coll; + private readonly SIET_AZIENDA_RIF_DbContext _Siet_azi_coll; + private readonly PMS_AZIENDA_RIF_DbContext _PMS_azi_coll; + #endregion + + #region Impianti + private readonly MARRO_IMPIANTIDbContext _Marro_impianti; + private readonly GITSR_IMPIANTI_Dbcontext _Gitoga_impianti; + private readonly LIFTA_IMPIANTI_Dbcontext _Lifta_impianti; + private readonly DISCO_IMPIANTIDbContext _Disco_impianti; + private readonly SICILIA_IMPIANTIDbContext _Sicilia_impianti; + private readonly SIET_IMPIANTI_DbContext _Siet_impianti; + private readonly PMS_IMPIANTI_DbContext _PMS_impianti; + #endregion + + #region Sostituzioni + private readonly MARRO_SOSTITUZIONIDbContext _Marro_sostituzioni; + private readonly GITSR_SOSTITUZIONIDbContext _Gitoga_sostituzioni; + private readonly LIFTA_SOSTITUZIONIDbcontext _Lifta_sostituzioni; + private readonly DISCO_SOSTITUZIONIDbcontext _Disco_sostituzioni; + private readonly SIET_SOSTITUZIONI_DbContext _Siet_sostituzioni; + private readonly SICILIA_SOSTITUZIONI_DbContext _Sicilia_sostituzioni; + private readonly PMS_SOSTITUZIONI_DbContext _PMS_sostituzioni; + #endregion + + #region ChiamateTable + private readonly MARRO_CHIAMATE_TABLE_DbContext _Marro_chiatable; + private readonly SIET_CHIAMATE_TABLE_DbContext _Siet_chiatable; + private readonly SICILIA_CHIAMATE_TABLE_DbContext _Sicilia_chiatable; + private readonly PMS_CHIAMATE_TABLE_DbContext _Pms_chiatable; + #endregion + + #region ChiamateSeriale + private readonly MARRO_CHIAMATA_SERIALE_DbContext _Marro_chiaser; + private readonly SIET_CHIAMATA_SERIALE_DbContext _Siet_chiaser; + private readonly SICILIA_CHIAMATA_SERIALE_DbContext _Sicilia_chiaser; + private readonly PMS_CHIAMATA_SERIALE_DbContext _PMS_chiaser; + #endregion + + #region ChiamateProgressivi + private readonly MARRO_CHIAMATA_PROG_DbContext _Marro_chiaprog; + private readonly SIET_CHIAMATA_PROG_DbContext _Siet_chiaprog; + private readonly SIET_CPWARN_DbContext _Siet_cpwarn; + private readonly SICILIA_CHIAMATA_PROG_DbContext _Sicilia_chiaprog; + private readonly SICILIA_CPWARN_DbContext _Sicilia_cpwarn; + private readonly PMS_CPWARN_DbContext _PMS_cpwarn; + #endregion + + #region VT - Chiusure + private readonly VT_CHIUSURE_TABLE_DbContext _VT_chiutable; + private readonly VT_CHIUSURE_DbContext _VT_chiu; + #endregion + + #region VT - Tecnici + private readonly VT_TECNICI_TABLE_DbContext _VT_tectable; + private readonly VT_TECNICI_DbContext _VT_tec; + #endregion + + #region VT - anagrafiche + private readonly VT_CONTI_TABLE_DbContext _VT_anagtable; + private readonly VT_CONTI_DbContext _VT_anag; + #endregion + + #region VT - Impianti + private readonly VT_IMPIANTI_TABLE_DbContext _VT_impiatable; + private readonly VT_IMPIANTI_DbContext _VT_impia; + private readonly VT_IMPIANTI_MANAGER_DbContext _VT_impiaMngr; + #endregion + + #region VT-RAPP NEW + private readonly VT_RAPP_NEW_TABLE_DbContext _VT_rapptable; + private readonly VT_RAPP_NEW_DbContext _VT_rapp; + #endregion + + #region VT-CHIAMATE + private readonly VT_CHIAMATE_TABLE_DbContext _VT_chiatable; + private readonly VT_CHIAMATE_DbContext _VT_chia; + private readonly VT_CHIAMATE_MANAGER_DbContext _VT_chiaMngr; + #endregion + + #region VT-Progressivi + private readonly VT_PROGRESSIVI_DbContext _VT_progtable; + #endregion + + #region VT-aziende + private readonly VT_AZIENDA_RIF_DbContext _VT_azi; + #endregion + + #region VT-registrazioni + private readonly VT_REGISTRAZIONE_DbContext _VT_reg; + #endregion + + #region VT-aziendePresenti + private readonly VT_AZIENDE_PRESENTI_DbContext _VT_AziPres; + #endregion + + #region VT-commesse + private readonly VT_COMMESSE_DbContext _VT_Comm; + private readonly VT_COMMESSE_TABLE_DbContext _VT_CommTable; + #endregion + + #region VT-rapportini excel + private readonly VT_RAPPORTINI_DbContext _VT_Rapportini; + + #endregion + + #region VT-Buoni + private readonly VT_Buoni_DbContext _VT_Buoni; + #endregion + + #region VT - Dati azienda + private readonly VT_DATI_AZIENDA_DbContext _VT_DatiAzienda; + #endregion + + private DbSet? _tecnici; + private DbSet? _rapp_new; + private DbSet? _chiamate; + private DbSet? _chiusure; + private DbSet? _manutprog; + private DbSet? _prese; + private DbSet? _compo; + private DbSet? _compoTable; + private DbSet? _saldi; + private DbSet? _mag; + private DbSet? _magazzini; + private DbSet? _sto_rapp; + private DbSet? _clienti; + private DbSet? _cau_rapp; + private DbSet? _pagam; + private DbSet? _comm; + private DbSet? _timbr; + private DbSet? _sto_imp; + private DbSet? _azi_coll; + private DbSet? _impianto; + private DbSet? _sostituzione; + private DbSet? _chiatable; + private DbSet? _chiamateser; + private DbSet? _chiamateprogr; + private DbSet? _cpwarns; + + private DbSet? _chiuTable; + private DbSet? _tecTable; + private DbSet? _anagTable; + private DbSet? _impiaTable; + private DbSet? _clientiVT; + private DbSet? _VT_prog; + private DbSet? _VT_regi; + private DbSet? _VT_AziPresenti; + private DbSet? _VT_Commesse; + private DbSet? _VT_CommesseTable; + private DbSet? _VT_DatiAzi; + private DbSet? _VT_rapport; + private DbSet? _VT_buo; + private DbSet? _rapp_new_view; + + private Configurazioni? _confLette; + + /// polocontroller + public PoloController( + IConfiguration configuration, + ConfigurazioniDbContext config, + TokenDbContext tokens, + + #region tecnici + FERRA_TECNICIDbContext Ferra_tecnici, + MARRO_TECNICIDbContext Marro_tecnici, + SICILIA_TECNICIDbContext Sicilia_tecnici, + DISCO_TECNICIDbContext Disco_tecnici, + SAROM_TECNICIDbContext Sarom_tecnici, + SINERGO_TECNICIDbContext Sinergo_tecnici, + GITSR_TECNICI_Dbcontext Gitoga_tecnici, + LIFTA_TECNICI_Dbcontext Lifta_tecnici, + SIET_TECNICI_DbContext Siet_tecnici, + PMS_TECNICI_DbContext Pms_tecnici, + VT_TECNICI_DbContext VT_tecnici, + #endregion + + #region CHIAMATE + FERRA_CHIAMATEDbContext Ferra_calltec, + MARRO_CHIAMATEDbContext Marro_calltec, + SICILIA_CHIAMATEDbContext Sicilia_calltec, + DISCO_CHIAMATEDbContext Disco_calltec, + SAROM_CHIAMATEDbContext Sarom_calltec, + GITSR_CHIAMATE_Dbcontext Gitoga_calltec, + LIFTA_CHIAMATE_Dbcontext Lifta_calltec, + SIET_CHIAMATE_DbContext Siet_calltec, + PMS_CHIAMATE_DbContext Pms_calltec, + #endregion + + #region RAPPNEW + FERRA_RAPP_NEWDbContext Ferra_rapp, + MARRO_RAPP_NEWDbContext Marro_rapp, + SICILIA_RAPP_NEWDbContext Sicilia_rapp, + DISCO_RAPP_NEWDbContext Disco_rapp, + SAROM_RAPP_NEWDbContext Sarom_rapp, + GITSR_RAPP_NEW_Dbcontext Gitoga_rapp, + LIFTA_RAPP_NEW_Dbcontext Lifta_rapp, + SIET_RAPP_NEW_DbContext Siet_rapp, + PMS_RAPP_NEW_DbContext Pms_rapp, + #endregion + + #region chiusure + FERRA_CHIUSUREDbContext Ferra_chiusure, + MARRO_CHIUSUREDbContext Marro_chiusure, + SICILIA_CHIUSUREDbContext Sicilia_chiusure, + DISCO_CHIUSUREDbContext Disco_chiusure, + SAROM_CHIUSUREDbContext Sarom_chiusure, + GITSR_CHIUSURE_Dbcontext Gitoga_chiusure, + LIFTA_CHIUSURE_Dbcontext Lifta_chiusure, + SIET_CHIUSURE_DbContext Siet_chiusure, + PMS_CHIUSURE_DbContext Pms_chiusure, + #endregion + + #region manutenzioni + FERRA_MANPROG_TECDbContext Ferra_manut, + MARRO_MANPROG_TECDbContext Marro_manut, + SICILIA_MANPROG_TECDbContext Sicilia_manut, + DISCO_MANPROG_TECDbContext Disco_manut, + SAROM_MANPROG_TECDbContext Sarom_manut, + GITSR_MANPROG_TEC_Dbcontext Gitoga_manut, + LIFTA_MANPROG_TEC_Dbcontext Lifta_manut, + SIET_MANPROG_TEC_DbContext Siet_manut, + PMS_MANPROG_TEC_DbContext PMS_manut, + #endregion + + #region PRESE + FERRA_PRESEDbContext Ferra_prese, + MARRO_PRESEDbContext Marro_prese, + SICILIA_PRESEDbContext Sicilia_prese, + DISCO_PRESEDbContext Disco_prese, + SAROM_PRESEDbContext Sarom_prese, + GITSR_PRESE_Dbcontext Gitoga_prese, + LIFTA_PRESE_Dbcontext Lifta_prese, + SIET_PRESE_DbContext Siet_prese, + PMS_PRESE_DbContext PMS_prese, + #endregion + + #region componenti impianto + SICILIA_COMPO_IMPIADbContext Sicilia_comp, + DISCO_COMPO_IMPIADbContext Disco_comp, + SIET_COMPO_IMPIA_DbContext Siet_comp, + PMS_COMPO_IMPIA_DbContext PMS_comp, + #endregion + + #region componenti impianto TABLE + SICILIA_COMPO_IMPIA_TABLEDbContext Sicilia_compTable, + DISCO_COMPO_IMPIA_TABLEDbContext Disco_compTable, + SIET_COMPO_IMPIA_TABLE_DbContext Siet_compTable, + PMS_COMPO_IMPIA_TABLE_DbContext PMS_compTable, + #endregion + + #region saldi + SICILIA_SALDIARTDbContext Sicilia_saldi, + DISCO_SALDIARTDbContext Disco_saldi, + SIET_SALDIART_DbContext Siet_saldi, + PMS_SALDIART_DbContext PMS_saldi, + #endregion + + #region MAGNEW + SICILIA_MAG_NEWDbContext Sicilia_mag, + DISCO_MAG_NEWDbContext Disco_mag, + SIET_MAG_NEW_DbContext Siet_mag, + PMS_MAG_NEW_DbContext PMS_mag, + #endregion + + #region magazzini + SICILIA_MAGAZZINIDbContext Sicilia_magazzini, + DISCO_MAGAZZINIDbContext Disco_magazzini, + PMS_MAGAZZINI_DbContext PMS_magazzini, + SIET_MAGAZZINI_DbContext Siet_magazzini, + #endregion + + #region storico rapportini + SICILIA_STO_RAPPDbContext Sicilia_sto_rapp, + DISCO_STO_RAPPDbContext Disco_sto_rapp, + FERRA_STO_RAPPDbContext Ferra_sto_rapp, + MARRO_STO_RAPPDbContext Marro_sto_rapp, + SAROM_STO_RAPPDbContext Sarom_sto_rapp, + GITSR_STO_RAPP_Dbcontext Gitoga_sto_rapp, + LIFTA_STO_RAPP_Dbcontext Lifta_sto_rapp, + SIET_STO_RAPP_DbContext Siet_sto_rapp, + PMS_STO_RAPP_DbContext PMS_sto_rapp, + #endregion + + #region anagrafica clienti + SICILIA_CLIENTIDbContext Sicilia_Clienti, + DISCO_CLIENTIDbContext Disco_Clienti, + FERRA_CLIENTIDbContext Ferra_Clienti, + MARRO_CLIENTIDbContext Marro_Clienti, + SAROM_CLIENTIDbContext Sarom_Clienti, + GITSR_CLIENTI_Dbcontext Gitoga_Clienti, + LIFTA_CLIENTI_Dbcontext Lifta_Clienti, + SIET_CLIENTI_DbContext Siet_Clienti, + PMS_CLIENTI_DbContext PMS_Clienti, + #endregion + + #region RAPPNEW + SICILIA_CAUS_RAPPDbContext Sicilia_caus_rapp, + DISCO_CAUS_RAPPDbContext Disco_caus_rapp, + FERRA_CAUS_RAPPDbContext Ferra_caus_rapp, + MARRO_CAUS_RAPPDbcontext Marro_caus_rapp, + SAROM_CAUS_RAPPDbcontext Sarom_caus_rapp, + GITSR_CAUS_RAPP_Dbcontext Gitoga_caus_rapp, + LIFTA_CAUS_RAPP_Dbcontext Lifta_caus_rapp, + SIET_CAUS_RAPP_DbContext Siet_caus_rapp, + PMS_CAUS_RAPP_DbContext PMS_caus_rapp, + #endregion + + #region pagamenti + SICILIA_PAGAMDbContext Sicilia_pagam, + DISCO_PAGAMDbContext Disco_pagam, + FERRA_PAGAMDbContext Ferra_pagam, + MARRO_PAGAMDbContext Marro_pagam, + SAROM_PAGAMDbContext Sarom_pagam, + GITSR_PAGAM_Dbcontext Gitoga_pagam, + LIFTA_PAGAM_Dbcontext Lifta_pagam, + SIET_PAGAM_DbContext Siet_pagam, + PMS_PAGAM_DbContext PMS_pagam, + #endregion + + #region Commesse + FERRA_COMMESSEDbContext Ferra_comm, + SICILIA_COMMESSEDbContext Sicilia_comm, + SINERGO_COMMESSEDbContext Sinergo_comm, + MARRO_COMMESSEDbContext Marro_comm, + SIET_COMMESSE_DbContext Siet_comm, + PMS_COMMESSE_DbContext PMS_comm, + #endregion + + #region timbrature + SICILIA_TIMBRATUREDbContext Sicilia_timbr, + SINERGO_TIMBRATUREDbContext Sinergo_timbr, + SIET_TIMBRATURE_DbContext Siet_timbr, + PMS_TIMBRATURE_DbContext PMS_timbr, + #endregion + + #region rapportini + //FERRA_RAPPORTINIDbContext Ferra_rapportini, + //SIET_RAPPORTINI_DbContext Siet_rapportini, + #endregion + + + #region storico impianti + SICILIA_STO_IMPDbContext Sicilia_sto_imp, + SIET_STO_IMP_DbContext Siet_sto_imp, + PMS_STO_IMP_DbContext PMS_sto_imp, + #endregion + + #region azienda collegata + DISCO_AziendaRifDbContext Disco_azi_coll, + SIET_AZIENDA_RIF_DbContext Siet_azi_coll, + PMS_AZIENDA_RIF_DbContext PMS_azi_coll, + #endregion + + #region impianti + MARRO_IMPIANTIDbContext Marro_impianti, + GITSR_IMPIANTI_Dbcontext Gitoga_impianti, + LIFTA_IMPIANTI_Dbcontext Lifta_impianti, + DISCO_IMPIANTIDbContext Disco_impianti, + SICILIA_IMPIANTIDbContext Sicilia_impianti, + SIET_IMPIANTI_DbContext Siet_impianti, + PMS_IMPIANTI_DbContext PMS_impianti, + #endregion + + #region sostituzioni + MARRO_SOSTITUZIONIDbContext Marro_sostituzioni, + GITSR_SOSTITUZIONIDbContext Gitoga_sostituzioni, + LIFTA_SOSTITUZIONIDbcontext Lifta_sostituzioni, + DISCO_SOSTITUZIONIDbcontext Disco_sostituzioni, + SIET_SOSTITUZIONI_DbContext Siet_sostituzioni, + SICILIA_SOSTITUZIONI_DbContext Sicilia_sostituzioni, + PMS_SOSTITUZIONI_DbContext PMS_sostituzioni, + #endregion + + #region chiamate table + MARRO_CHIAMATE_TABLE_DbContext Marro_chiatable, + SIET_CHIAMATE_TABLE_DbContext Siet_chiatable, + SICILIA_CHIAMATE_TABLE_DbContext Sicilia_chiatable, + PMS_CHIAMATE_TABLE_DbContext Pms_chiatable, + #endregion + + + #region chiamate seriale + MARRO_CHIAMATA_SERIALE_DbContext Marro_chiaser, + SIET_CHIAMATA_SERIALE_DbContext Siet_chiaser, + SICILIA_CHIAMATA_SERIALE_DbContext Sicilia_chiaser, + PMS_CHIAMATA_SERIALE_DbContext PMS_chiaser, + #endregion + + #region chiamate progressivo + MARRO_CHIAMATA_PROG_DbContext Marro_chiaprog, + SIET_CHIAMATA_PROG_DbContext Siet_chiaprog, + SICILIA_CHIAMATA_PROG_DbContext Sicilia_chiaprog, + #endregion + + + #region cpwarn + SICILIA_CPWARN_DbContext Sicilia_cpwarn, + SIET_CPWARN_DbContext Siet_cpwarn, + PMS_CPWARN_DbContext PMS_cpwarn, + #endregion + + #region Virtual task + VT_TECNICI_TABLE_DbContext VT_tectable, + VT_TECNICI_DbContext VT_tec, + VT_CHIUSURE_TABLE_DbContext VT_chiutable, + VT_CHIUSURE_DbContext VT_chiu, + VT_CONTI_TABLE_DbContext VT_anagtable, + VT_CONTI_DbContext VT_anag, + VT_RAPP_NEW_TABLE_DbContext VT_rapptable, + VT_RAPP_NEW_DbContext VT_rapp, + VT_IMPIANTI_TABLE_DbContext VT_impiatable, + VT_IMPIANTI_DbContext VT_impia, + VT_IMPIANTI_MANAGER_DbContext VT_impiaMngr, + VT_CHIAMATE_TABLE_DbContext VT_chiatable, + VT_CHIAMATE_DbContext VT_chia, + VT_PROGRESSIVI_DbContext VT_progtable, + VT_CHIAMATE_MANAGER_DbContext VT_chiaMngr, + VT_AZIENDA_RIF_DbContext VT_azi, + VT_REGISTRAZIONE_DbContext VT_reg, + VT_AZIENDE_PRESENTI_DbContext VT_AziPres, + VT_COMMESSE_DbContext VT_Comm, + VT_COMMESSE_TABLE_DbContext VT_CommTable, + VT_DATI_AZIENDA_DbContext VT_DatiAzienda, + VT_RAPPORTINI_DbContext VT_Rapportini, + VT_Buoni_DbContext VT_Buoni + + #endregion + + + ) + { + _configuration = configuration; + _config = config; + _tokens = tokens; + + #region TECNICI + _Ferra_tecnici = Ferra_tecnici; + _Marro_tecnici = Marro_tecnici; + _Sicilia_tecnici = Sicilia_tecnici; + _Disco_tecnici = Disco_tecnici; + _Sarom_tecnici = Sarom_tecnici; + _Sinergo_tecnici = Sinergo_tecnici; + _Gitoga_tecnici = Gitoga_tecnici; + _Lifta_tecnici = Lifta_tecnici; + _Siet_tecnici = Siet_tecnici; + _Pms_tecnici = Pms_tecnici; + _VT_tecnici = VT_tecnici; + #endregion + + #region CHIAMATE-TECNICI + _Ferra_calltec = Ferra_calltec; + _Marro_calltec = Marro_calltec; + _Sicilia_calltec = Sicilia_calltec; + _Disco_calltec = Disco_calltec; + _Sarom_calltec = Sarom_calltec; + _Gitoga_calltec = Gitoga_calltec; + _Lifta_calltec = Lifta_calltec; + _Siet_calltec = Siet_calltec; + _Pms_calltec = Pms_calltec; + #endregion + + #region CHIUSURE + _Ferra_chiu = Ferra_chiusure; + _Marro_chiu = Marro_chiusure; + _Sicilia_chiu = Sicilia_chiusure; + _Disco_chiu = Disco_chiusure; + _Sarom_chiu = Sarom_chiusure; + _Gitoga_chiu = Gitoga_chiusure; + _Lifta_chiu = Lifta_chiusure; + _Siet_chiu = Siet_chiusure; + _Pms_chiu = Pms_chiusure; + #endregion + + #region RAPP_NEW + _Ferra_rapp = Ferra_rapp; + _Marro_rapp = Marro_rapp; + _Sicilia_rapp = Sicilia_rapp; + _Disco_rapp = Disco_rapp; + _Sarom_rapp = Sarom_rapp; + _Gitoga_rapp = Gitoga_rapp; + _Lifta_rapp = Lifta_rapp; + _Siet_rapp = Siet_rapp; + _Pms_rapp = Pms_rapp; + #endregion + + #region MANUTENZIONI PROGRAMMATE + _Ferra_mp = Ferra_manut; + _Marro_mp = Marro_manut; + _Sicilia_mp = Sicilia_manut; + _Disco_mp = Disco_manut; + _Sarom_mp = Sarom_manut; + _Gitoga_mp = Gitoga_manut; + _Lifta_mp = Lifta_manut; + _Siet_mp = Siet_manut; + _PMS_mp = PMS_manut; + #endregion + + #region PRESE + _Ferra_prese = Ferra_prese; + _Marro_prese = Marro_prese; + _Sicilia_prese = Sicilia_prese; + _Disco_prese = Disco_prese; + _Sarom_prese = Sarom_prese; + _Gitoga_prese = Gitoga_prese; + _Lifta_prese = Lifta_prese; + _Siet_prese = Siet_prese; + _PMS_prese = PMS_prese; + #endregion + + #region Componenti impianto + _Sicilia_comp = Sicilia_comp; + _Disco_comp = Disco_comp; + _Siet_comp = Siet_comp; + _PMS_comp = PMS_comp; + + _Sicilia_compTable = Sicilia_compTable; + _Disco_compTable = Disco_compTable; + _Siet_compTable = Siet_compTable; + _PMS_compTable = PMS_compTable; + #endregion + + #region Saldi articoli + _Sicilia_saldi = Sicilia_saldi; + _Disco_saldi = Disco_saldi; + _Siet_saldi = Siet_saldi; + _PMS_saldi = PMS_saldi; + #endregion + + #region magazzino articoli + _Sicilia_mag = Sicilia_mag; + _Disco_mag = Disco_mag; + _Siet_mag = Siet_mag; + _PMS_mag = PMS_mag; + #endregion + + #region magazzini + _Sicilia_magazzini = Sicilia_magazzini; + _Disco_magazzini = Disco_magazzini; + _Siet_magazzini = Siet_magazzini; + _PMS_magazzini = PMS_magazzini; + #endregion + + #region storico rapportini + _Sicilia_sto_rapp = Sicilia_sto_rapp; + _Disco_sto_rapp = Disco_sto_rapp; + _Ferra_sto_rapp = Ferra_sto_rapp; + _Marro_sto_rapp = Marro_sto_rapp; + _Sarom_sto_rapp = Sarom_sto_rapp; + _Gitoga_sto_rapp = Gitoga_sto_rapp; + _Lifta_sto_rapp = Lifta_sto_rapp; + _Siet_sto_rapp = Siet_sto_rapp; + _PMS_sto_rapp = PMS_sto_rapp; + #endregion + + #region anagrafica clienti + _Sicilia_clienti = Sicilia_Clienti; + _Disco_clienti = Disco_Clienti; + _Ferra_clienti = Ferra_Clienti; + _Marro_clienti = Marro_Clienti; + _Sarom_clienti = Sarom_Clienti; + _Gitoga_clienti = Gitoga_Clienti; + _Lifta_clienti = Lifta_Clienti; + _Siet_clienti = Siet_Clienti; + _PMS_clienti = PMS_Clienti; + #endregion + + #region causali rapportino + _Sicilia_caus_rapp = Sicilia_caus_rapp; + _Disco_caus_rapp = Disco_caus_rapp; + _Ferra_caus_rapp = Ferra_caus_rapp; + _Marro_caus_rapp = Marro_caus_rapp; + _Sarom_caus_rapp = Sarom_caus_rapp; + _Gitoga_caus_rapp = Gitoga_caus_rapp; + _Lifta_caus_rapp = Lifta_caus_rapp; + _Siet_caus_rapp = Siet_caus_rapp; + _PMS_caus_rapp = PMS_caus_rapp; + #endregion + + #region causali pagamenti + _Sicilia_pagam = Sicilia_pagam; + _Disco_pagam = Disco_pagam; + _Ferra_pagam = Ferra_pagam; + _Marro_pagam = Marro_pagam; + _Sarom_pagam = Sarom_pagam; + _Gitoga_pagam = Gitoga_pagam; + _Lifta_pagam = Lifta_pagam; + _Siet_pagam = Siet_pagam; + _PMS_pagam = PMS_pagam; + #endregion + + #region commesse + _Ferra_comm = Ferra_comm; + _Sicilia_comm = Sicilia_comm; + _Sinergo_comm = Sinergo_comm; + _Marro_comm = Marro_comm; + _Siet_comm = Siet_comm; + _PMS_comm = PMS_comm; + #endregion + + #region timbrature + _Sicilia_timbr = Sicilia_timbr; + _Sinergo_timbr = Sinergo_timbr; + _Siet_timbr = Siet_timbr; + _PMS_timbr = PMS_timbr; + #endregion + + #region rapportini + //_Ferra_rapportini = Ferra_rapportini; + //_Siet_rapportini = Siet_rapportini; + #endregion + + #region storico impianto + _Sicilia_sto_imp = Sicilia_sto_imp; + _Siet_sto_imp = Siet_sto_imp; + _PMS_sto_imp = PMS_sto_imp; + #endregion + + #region aziende collegate + _Disco_azi_coll = Disco_azi_coll; + _Siet_azi_coll = Siet_azi_coll; + _PMS_azi_coll = PMS_azi_coll; + #endregion + + #region Impianti + _Marro_impianti = Marro_impianti; + _Gitoga_impianti = Gitoga_impianti; + _Lifta_impianti = Lifta_impianti; + _Disco_impianti = Disco_impianti; + _Sicilia_impianti = Sicilia_impianti; + _Siet_impianti = Siet_impianti; + _PMS_impianti = PMS_impianti; + #endregion + + #region sostituzioni + _Marro_sostituzioni = Marro_sostituzioni; + _Gitoga_sostituzioni = Gitoga_sostituzioni; + _Lifta_sostituzioni = Lifta_sostituzioni; + _Disco_sostituzioni = Disco_sostituzioni; + _Siet_sostituzioni = Siet_sostituzioni; + _Sicilia_sostituzioni = Sicilia_sostituzioni; + _PMS_sostituzioni = PMS_sostituzioni; + #endregion + + #region ChiamateTable + _Marro_chiatable = Marro_chiatable; + _Siet_chiatable = Siet_chiatable; + _Sicilia_chiatable = Sicilia_chiatable; + _Pms_chiatable = Pms_chiatable; + #endregion + + #region ChiamateSeriale + _Marro_chiaser = Marro_chiaser; + _Siet_chiaser = Siet_chiaser; + _Sicilia_chiaser = Sicilia_chiaser; + _PMS_chiaser = PMS_chiaser; + #endregion + + #region ChiamateProgressivi + _Marro_chiaprog = Marro_chiaprog; + _Siet_chiaprog = Siet_chiaprog; + _Sicilia_chiaprog = Sicilia_chiaprog; + #endregion + + #region cpwarn + _Sicilia_cpwarn = Sicilia_cpwarn; + _Siet_cpwarn = Siet_cpwarn; + _PMS_cpwarn = PMS_cpwarn; + #endregion + + #region VIRTUAL TASK + _VT_tectable = VT_tectable; + _VT_tec = VT_tec; + _VT_chiutable = VT_chiutable; + _VT_chiu = VT_chiu; + _VT_anagtable = VT_anagtable; + _VT_anag = VT_anag; + _VT_rapptable = VT_rapptable; + _VT_rapp = VT_rapp; + _VT_impiatable = VT_impiatable; + _VT_impia = VT_impia; + _VT_impiaMngr = VT_impiaMngr; + _VT_chiatable = VT_chiatable; + _VT_chia = VT_chia; + _VT_progtable = VT_progtable; + _VT_chiaMngr = VT_chiaMngr; + _VT_azi = VT_azi; + _VT_reg = VT_reg; + _VT_AziPres = VT_AziPres; + _VT_Comm = VT_Comm; + _VT_CommTable = VT_CommTable; + _VT_DatiAzienda = VT_DatiAzienda; + _VT_Rapportini = VT_Rapportini; + _VT_Buoni = VT_Buoni; + #endregion + + } + #region Utility + private async Task readConf(string ten) + { + Configurazioni c=new Configurazioni(); + List co =new List(); + if(_config is not null && _config.conf is not null) + co = await _config.conf.Where(t => t.azienda == ten).ToListAsync(); + //var co = await _config.conf.Where(t => t.azienda == ten).ToListAsync(); + + foreach (var a in co) + { + c.azienda = a.azienda != null ? a.azienda.Trim() : string.Empty; ; + c.prefisso_buoni_chia = a.prefisso_buoni_chia!=null ?a.prefisso_buoni_chia.Trim():string.Empty; + c.prefisso_buoni_man = a.prefisso_buoni_man !=null ? a.prefisso_buoni_man.Trim():string.Empty; + c.path_buoni = a.path_buoni != null ? a.path_buoni.Trim() : string.Empty; + c.ftp_url = a.ftp_url != null ? a.ftp_url.Trim() : string.Empty; + c.ftp_usr = a.ftp_usr != null ? a.ftp_usr.Trim() : string.Empty; + c.ftp_pwd = a.ftp_pwd != null ? a.ftp_pwd.Trim() : string.Empty; + c.listino=a.listino!=null? a.listino.Trim() : string.Empty; + + + c.abilita_naviga = a.abilita_naviga != null ? a.abilita_naviga : true; + c.abilita_telefona = a.abilita_telefona != null ? a.abilita_telefona : true; + c.abilita_chiamate = a.abilita_chiamate != null ? a.abilita_chiamate : true; + c.abilita_manutenzioni = a.abilita_manutenzioni != null ? a.abilita_manutenzioni : true; + c.abilita_barcode = a.abilita_barcode != null ? a.abilita_barcode : true; + c.chiamate_accetta = a.chiamate_accetta != null ? a.chiamate_accetta : true; + c.chiamate_accetta_barcode = a.chiamate_accetta_barcode != null ? a.chiamate_accetta_barcode : true; + c.chiamate_accetta_offline = a.chiamate_accetta_offline != null ? a.chiamate_accetta_offline : true; + c.chiamate_rifiuta = a.chiamate_rifiuta != null ? a.chiamate_rifiuta : true; + c.chiamate_rifiuta_barcode = a.chiamate_rifiuta_barcode != null ? a.chiamate_rifiuta_barcode : true; + c.chiamate_rifiuta_offline = a.chiamate_rifiuta_offline != null ? a.chiamate_rifiuta_offline : true; + c.chiamate_chiudi_barcode = a.chiamate_chiudi_barcode != null ? a.chiamate_chiudi_barcode : true; + c.chiamate_firma_barcode = a.chiamate_firma_barcode != null ? a.chiamate_firma_barcode : true; + c.chiamate_chiudi_salva_barcode = a.chiamate_chiudi_salva_barcode != null ? a.chiamate_chiudi_salva_barcode : true; + c.chiamate_chiudi_salva_offline = a.chiamate_chiudi_salva_offline != null ? a.chiamate_chiudi_salva_offline : true; + + c.manutenzioni_accetta = a.manutenzioni_accetta != null ? a.manutenzioni_accetta : true; + c.manutenzioni_rifiuta = a.manutenzioni_rifiuta != null ? a.manutenzioni_rifiuta : true; + c.manutenzioni_accetta_barcode = a.manutenzioni_accetta_barcode != null ? a.manutenzioni_accetta_barcode : true; + c.manutenzioni_accetta_offline = a.manutenzioni_accetta_offline != null ? a.manutenzioni_accetta_offline : true; + c.manutenzioni_chiudi_barcode = a.manutenzioni_chiudi_barcode != null ? a.manutenzioni_chiudi_barcode : true; + c.manutenzioni_firma_barcode = a.manutenzioni_firma_barcode != null ? a.manutenzioni_firma_barcode : true; + c.manutenzioni_chiudi_salva_barcode = a.manutenzioni_chiudi_salva_barcode != null ? a.manutenzioni_chiudi_salva_barcode : true; + c.manutenzioni_chiudi_salva_offline = a.manutenzioni_chiudi_salva_offline != null ? a.manutenzioni_chiudi_salva_offline : true; + c.manutenzioni_rifiuta_barcode = a.manutenzioni_rifiuta_barcode != null ? a.manutenzioni_rifiuta_barcode : true; + + c.dpi_checkbox = a.dpi_checkbox != null ? a.dpi_checkbox : true; + + c.anagrafica = a.anagrafica != null ? a.anagrafica : true; + c.stato_finale = a.stato_finale != null ? a.stato_finale : true; + c.descrizione_intervento = a.descrizione_intervento != null ? a.descrizione_intervento : true; + c.composizione_impianto = a.composizione_impianto != null ? a.composizione_impianto : true; + c.note_intervento = a.note_intervento != null ? a.note_intervento : true; + c.esito_intervento = a.esito_intervento != null ? a.esito_intervento : true; + c.ora_inizio_fine = a.ora_inizio_fine != null ? a.ora_inizio_fine : true; + c.materiali = a.materiali != null ? a.materiali : true; + c.diritto_chiamata = a.diritto_chiamata != null ? a.diritto_chiamata : true; + c.manodopera = a.manodopera != null ? a.manodopera : true; + c.spese_viaggio = a.spese_viaggio != null ? a.spese_viaggio : true; + c.tipo_pagamento = a.tipo_pagamento != null ? a.tipo_pagamento : true; + c.note_pagamento = a.note_pagamento != null ? a.note_pagamento : true; + c.causale = a.causale != null ? a.causale : true; + + c.time_sheet=a.time_sheet!= null ? a.time_sheet : true; + c.time_sheet_offline = a.time_sheet_offline != null ? a.time_sheet_offline : true; + c.costo_orario = a.costo_orario != null ? a.costo_orario : 0; + c.ftp_port = a.ftp_port != null ? a.ftp_port : 0; + + c.storico=a.storico != null ? a.storico : true; + c.storico_tecnico = a.storico_tecnico != null ? a.storico_tecnico : true; + + c.storico_interventi = a.storico_interventi != null ? a.storico_interventi : true; + c.storico_impianto = a.storico_impianto != null ? a.storico_impianto : true; + c.ricerca_impianti = a.ricerca_impianti != null ? a.ricerca_impianti : true; + c.ora_inizio_fine_automatica = a.ora_inizio_fine_automatica != null ? a.ora_inizio_fine_automatica : true; + c.stampa_orario = a.stampa_orario != null ? a.stampa_orario : true; + c.intestazione_stampa = a.intestazione_stampa != null ? a.intestazione_stampa.Trim() : string.Empty; + c.abilita_inserimento_chiamate = a.abilita_inserimento_chiamate != null ? a.abilita_inserimento_chiamate : 0; + c.seriale_template_chi = a.seriale_template_chi != null ? a.seriale_template_chi : string.Empty; + c.abilita_data_rapp_edit = a.abilita_data_rapp_edit != null ? a.abilita_data_rapp_edit : false; + c.numeri_decimali = a.numeri_decimali != null ? a.numeri_decimali : 0; + c.max_record = a.max_record != null ? a.max_record : 100; + c.prezzi_visibili = a.prezzi_visibili != null ? a.prezzi_visibili : true; + c.desc_supp_prodotti_visibile=a.desc_supp_prodotti_visibile!=null?a.desc_supp_prodotti_visibile:false; + + } + return c; + } + private string getClaimValueByToken(string token, string claimName) + { + string t = string.Empty; + + var handler = new JwtSecurityTokenHandler(); + var jwtSecurityToken = handler.ReadJwtToken(token); + if (jwtSecurityToken != null) + { + var id = jwtSecurityToken.Claims.First(claim => claim.Type == claimName).Value; + t = id; + } + return t; + } + private DbSet getTecniciByTenant(string tenant) + { + DbSet? _tecs; + switch (tenant) + { + case Clienti.Ferrari: + _tecs = _Ferra_tecnici.Tecnici; + break; + case Clienti.Marrocco: + _tecs = _Marro_tecnici.Tecnici; + break; + case Clienti.Sicilia: + _tecs = _Sicilia_tecnici.Tecnici; + break; + case Clienti.Discovery: + _tecs = _Disco_tecnici.Tecnici; + break; + case Clienti.Sarom: + _tecs = _Sarom_tecnici.Tecnici; + break; + case Clienti.Sinergo: + _tecs = _Sinergo_tecnici.Tecnici; + break; + case Clienti.Gitoga: + _tecs = _Gitoga_tecnici.Tecnici; + break; + case Clienti.Lifta: + _tecs = _Lifta_tecnici.Tecnici; + break; + case Clienti.Siet: + _tecs = _Siet_tecnici.Tecnici; + break; + case Clienti.PMS: + _tecs = _Pms_tecnici.Tecnici; + break; + case Clienti.VT: + _tecs = _VT_tec.Tecnici; + break; + + default: + _tecs = null; + break; + } + + return _tecs; + } + private DbSet getRappNewByTenant(string tenant) + { + DbSet? _rapps; + + switch (tenant) + { + case Clienti.Ferrari: + _rapps = _Ferra_rapp.Rapps; + break; + case Clienti.Marrocco: + _rapps = _Marro_rapp.Rapps; + break; + case Clienti.Sicilia: + _rapps = _Sicilia_rapp.Rapps; + break; + case Clienti.Discovery: + _rapps = _Disco_rapp.Rapps; + break; + case Clienti.Sarom: + _rapps = _Sarom_rapp.Rapps; + break; + case Clienti.Gitoga: + _rapps = _Gitoga_rapp.Rapps; + break; + case Clienti.Lifta: + _rapps = _Lifta_rapp.Rapps; + break; + case Clienti.Siet: + _rapps = _Siet_rapp.Rapps; + break; + case Clienti.PMS: + _rapps = _Pms_rapp.Rapps; + break; + + default: + _rapps = null; + break; + } + + return _rapps; + } + private DbSet getChiamateByTenant(string tenant) + { + DbSet? _calls; + switch (tenant) + { + case Clienti.Ferrari: + _calls = _Ferra_calltec.Chiamate; + break; + case Clienti.Marrocco: + _calls = _Marro_calltec.Chiamate; + break; + case Clienti.Sicilia: + _calls = _Sicilia_calltec.Chiamate; + break; + case Clienti.Discovery: + _calls = _Disco_calltec.Chiamate; + break; + case Clienti.Sarom: + _calls = _Sarom_calltec.Chiamate; + break; + case Clienti.Gitoga: + _calls = _Gitoga_calltec.Chiamate; + break; + case Clienti.Lifta: + _calls = _Lifta_calltec.Chiamate; + break; + case Clienti.Siet: + _calls = _Siet_calltec.Chiamate; + break; + case Clienti.PMS: + _calls = _Pms_calltec.Chiamate; + break; + case Clienti.VT: + _calls = _VT_chia.Chiamate; + break; + + default: + _calls = null; + break; + } + + return _calls; + } + private DbSet getChiusureByTenant(string tenant) + { + DbSet? _chiu; + + switch (tenant) + { + case Clienti.Ferrari: + _chiu = _Ferra_chiu.Chiusure; + break; + case Clienti.Marrocco: + _chiu = _Marro_chiu.Chiusure; + break; + case Clienti.Sicilia: + _chiu = _Sicilia_chiu.Chiusure; + break; + case Clienti.Discovery: + _chiu = _Disco_chiu.Chiusure; + break; + case Clienti.Sarom: + _chiu = _Sarom_chiu.Chiusure; + break; + case Clienti.Gitoga: + _chiu = _Gitoga_chiu.Chiusure; + break; + case Clienti.Lifta: + _chiu = _Lifta_chiu.Chiusure; + break; + case Clienti.Siet: + _chiu = _Siet_chiu.Chiusure; + break; + case Clienti.PMS: + _chiu = _Pms_chiu.Chiusure; + break; + case Clienti.VT: + _chiu = _VT_chiu.Chiu; + break; + default: + _chiu = null; + break; + } + return _chiu; + } + private DbSet getManutenzioniByTenant(string tenant) + { + DbSet? _mans; + + switch (tenant) + { + case Clienti.Ferrari: + _mans = _Ferra_mp.Manutenzioni; + break; + case Clienti.Marrocco: + _mans = _Marro_mp.Manutenzioni; + break; + case Clienti.Sicilia: + _mans = _Sicilia_mp.Manutenzioni; + break; + case Clienti.Discovery: + _mans = _Disco_mp.Manutenzioni; + break; + case Clienti.Sarom: + _mans = _Sarom_mp.Manutenzioni; + break; + case Clienti.Gitoga: + _mans = _Gitoga_mp.Manutenzioni; + break; + case Clienti.Lifta: + _mans = _Lifta_mp.Manutenzioni; + break; + case Clienti.Siet: + _mans = _Siet_mp.Manutenzioni; + break; + case Clienti.PMS: + _mans = _PMS_mp.Manutenzioni; + break; + default: + _mans = null; + break; + } + return _mans; + } + private DbSet getPreseByTenant(string tenant) + { + DbSet? _pre; + + switch (tenant) + { + case Clienti.Ferrari: + _pre = _Ferra_prese.Prese; + break; + case Clienti.Marrocco: + _pre = _Marro_prese.Prese; + break; + case Clienti.Sicilia: + _pre = _Sicilia_prese.Prese; + break; + case Clienti.Discovery: + _pre = _Disco_prese.Prese; + break; + case Clienti.Sarom: + _pre = _Sarom_prese.Prese; + break; + case Clienti.Gitoga: + _pre = _Gitoga_prese.Prese; + break; + case Clienti.Lifta: + _pre = _Lifta_prese.Prese; + break; + case Clienti.Siet: + _pre = _Siet_prese.Prese; + break; + case Clienti.PMS: + _pre = _PMS_prese.Prese; + break; + default: + _pre = null; + break; + } + return _pre; + } + private DbSet getSto_RappByTenant(string tenant) + { + DbSet? _sto; + + switch (tenant) + { + case Clienti.Sicilia: + _sto = _Sicilia_sto_rapp.StoRapp; + break; + case Clienti.Discovery: + _sto = _Disco_sto_rapp.StoRapp; + break; + case Clienti.Marrocco: + _sto = _Marro_sto_rapp.StoRapp; + break; + case Clienti.Ferrari: + _sto = _Ferra_sto_rapp.StoRapp; + break; + case Clienti.Sarom: + _sto = _Sarom_sto_rapp.StoRapp; + break; + case Clienti.Gitoga: + _sto = _Gitoga_sto_rapp.StoRapp; + break; + case Clienti.Lifta: + _sto = _Lifta_sto_rapp.StoRapp; + break; + case Clienti.Siet: + _sto = _Siet_sto_rapp.StoRapp; + break; + case Clienti.PMS: + _sto = _PMS_sto_rapp.StoRapp; + break; + default: + _sto = null; + break; + } + return _sto; + } + private DbSet getClientiByTenant(string tenant) + { + DbSet? _cli; + + switch (tenant) + { + case Clienti.Sicilia: + _cli = _Sicilia_clienti.Clienti; + break; + case Clienti.Discovery: + _cli = _Disco_clienti.Clienti; + break; + case Clienti.Ferrari: + _cli = _Ferra_clienti.Clienti; + break; + case Clienti.Marrocco: + _cli = _Marro_clienti.Clienti; + break; + case Clienti.Sarom: + _cli = _Sarom_clienti.Clienti; + break; + case Clienti.Gitoga: + _cli = _Gitoga_clienti.Clienti; + break; + case Clienti.Lifta: + _cli = _Lifta_clienti.Clienti; + break; + case Clienti.Siet: + _cli = _Siet_clienti.Clienti; + break; + case Clienti.PMS: + _cli = _PMS_clienti.Clienti; + break; + default: + _cli = null; + break; + } + return _cli; + } + private DbSet getCausaliRappByTenant(string tenant) + { + DbSet? _cau; + + switch (tenant) + { + case Clienti.Sicilia: + _cau = _Sicilia_caus_rapp.Causali; + break; + case Clienti.Discovery: + _cau = _Disco_caus_rapp.Causali; + break; + case Clienti.Ferrari: + _cau = _Ferra_caus_rapp.Causali; + break; + case Clienti.Marrocco: + _cau = _Marro_caus_rapp.Causali; + break; + case Clienti.Sarom: + _cau = _Sarom_caus_rapp.Causali; + break; + case Clienti.Gitoga: + _cau = _Gitoga_caus_rapp.Causali; + break; + case Clienti.Lifta: + _cau = _Lifta_caus_rapp.Causali; + break; + case Clienti.Siet: + _cau = _Siet_caus_rapp.Causali; + break; + case Clienti.PMS: + _cau = _PMS_caus_rapp.Causali; + break; + default: + _cau = null; + break; + } + return _cau; + } + private DbSet getPagamentiByTenant(string tenant) + { + DbSet? _pag; + + switch (tenant) + { + case Clienti.Sicilia: + _pag = _Sicilia_pagam.Pagamenti; + break; + case Clienti.Discovery: + _pag = _Disco_pagam.Pagamenti; + break; + case Clienti.Ferrari: + _pag = _Ferra_pagam.Pagamenti; + break; + case Clienti.Marrocco: + _pag = _Marro_pagam.Pagamenti; + break; + case Clienti.Sarom: + _pag = _Sarom_pagam.Pagamenti; + break; + case Clienti.Gitoga: + _pag = _Gitoga_pagam.Pagamenti; + break; + case Clienti.Lifta: + _pag = _Lifta_pagam.Pagamenti; + break; + case Clienti.Siet: + _pag = _Siet_pagam.Pagamenti; + break; + case Clienti.PMS: + _pag = _PMS_pagam.Pagamenti; + break; + default: + _pag = null; + break; + } + return _pag; + } + private DbSet getSaldiartByTenant(string tenant) + { + DbSet? _sa; + + switch (tenant) + { + case Clienti.Sicilia: + _sa = _Sicilia_saldi.Saldi; + break; + case Clienti.Discovery: + _sa = _Disco_saldi.Saldi; + break; + case Clienti.Siet : + _sa = _Siet_saldi.Saldi; + break; + case Clienti.PMS: + _sa = _PMS_saldi.Saldi; + break; + default: + _sa = null; + break; + } + return _sa; + } + private DbSet getComponentiByTenant(string tenant) + { + DbSet? _compon; + + switch (tenant) + { + case Clienti.Sicilia: + _compon = _Sicilia_comp.Componen; + break; + case Clienti.Discovery: + _compon = _Disco_comp.Componen; + break; + case Clienti.Siet: + _compon = _Siet_comp.Componen; + break; + case Clienti.PMS: + _compon = _PMS_comp.Componen; + break; + default: + _compon = null; + break; + } + return _compon; + } + private DbSet getComponentiTableByTenant(string tenant) + { + DbSet? _compon; + + switch (tenant) + { + case Clienti.Sicilia: + _compon = _Sicilia_compTable.Componen; + break; + case Clienti.Discovery: + _compon = _Disco_compTable.Componen; + break; + case Clienti.Siet: + _compon = _Siet_compTable.Componen; + break; + case Clienti.PMS: + _compon = _PMS_compTable.Componen; + break; + default: + _compon = null; + break; + } + return _compon; + } + private DbSet getMagazziniByTenant(string tenant) + { + DbSet? _maga; + + switch (tenant) + { + case Clienti.Sicilia: + _maga = _Sicilia_magazzini.Magaz; + break; + case Clienti.Discovery: + _maga = _Disco_magazzini.Magaz; + break; + case Clienti.Siet: + _maga = _Siet_magazzini.Magaz; + break; + case Clienti.PMS: + _maga = _PMS_magazzini.Magaz; + break; + default: + _maga = null; + break; + } + return _maga; + } + private DbSet getMag_NewByTenant(string tenant) + { + DbSet? _ma; + + switch (tenant) + { + case Clienti.Sicilia: + _ma = _Sicilia_mag.Mag; + break; + case Clienti.Discovery: + _ma = _Disco_mag.Mag; + break; + case Clienti.Siet: + _ma = _Siet_mag.Mag; + break; + case Clienti.PMS: + _ma = _PMS_mag.Mag; + break; + default: + _ma = null; + break; + } + return _ma; + } + private DbSet getImpiantiByTenant(string tenant) + { + DbSet? _imp; + + switch (tenant) + { + case Clienti.Sicilia: + _imp = _Sicilia_impianti.Impia; + break; + case Clienti.Discovery: + _imp = _Disco_impianti.Impia; + break; + case Clienti.Marrocco: + _imp = _Marro_impianti.Impia; + break; + case Clienti.Ferrari: + _imp = null; + break; + case Clienti.Sarom: + _imp = null; + break; + case Clienti.Gitoga: + _imp = _Gitoga_impianti.Impia; + break; + case Clienti.Lifta: + _imp = _Lifta_impianti.Impia; + break; + case Clienti.Siet: + _imp = _Siet_impianti.Impia; + break; + case Clienti.PMS: + _imp = _PMS_impianti.Impia; + break; + default: + _imp = null; + break; + } + return _imp; + } + private DbSet getCommesseByTenant(string tenant) + { + DbSet? _commesse; + + switch (tenant) + { + case Clienti.Sicilia: + _commesse = _Sicilia_comm.Commesse; + break; + case Clienti.Discovery: + _commesse = null; + break; + case Clienti.Ferrari: + _commesse = _Ferra_comm.Commesse; + break; + case Clienti.Sinergo: + _commesse = _Sinergo_comm.Commesse; + break; + case Clienti.Marrocco: + _commesse = _Marro_comm.Commesse; + break; + case Clienti.Siet: + _commesse = _Siet_comm.Commesse; + break; + case Clienti.PMS: + _commesse = _PMS_comm.Commesse; + break; + default: + _commesse = null; + break; + } + return _commesse; + } + private DbSet getTimbratureByTenant(string tenant) + { + DbSet? _timbrature; + + switch (tenant) + { + case Clienti.Sicilia: + _timbrature = _Sicilia_timbr.Timbr; + break; + case Clienti.Discovery: + _timbrature = null; + break; + case Clienti.Ferrari: + _timbrature = null; + break; + case Clienti.Sinergo: + _timbrature = _Sinergo_timbr.Timbr; + break; + case Clienti.Siet: + _timbrature = _Siet_timbr.Timbr; + break; + case Clienti.PMS: + _timbrature = _PMS_timbr.Timbr; + break; + default: + _timbrature = null; + break; + } + return _timbrature; + } + private DbSet getStoricoImpiantoByTenant(string tenant) + { + DbSet? _sto; + + switch (tenant) + { + case Clienti.Sicilia: + _sto = _Sicilia_sto_imp.StoImp; + break; + case Clienti.Siet: + _sto = _Siet_sto_imp.StoImp; + break; + case Clienti.PMS : + _sto = _PMS_sto_imp.StoImp; + break; + default: + _sto = null; + break; + } + return _sto; + } + private DbSet getAziendeRifByTenant(string tenant) + { + DbSet? _azi; + + switch (tenant) + { + case Clienti.Discovery: + _azi = _Disco_azi_coll.Azi; + break; + case Clienti.Siet: + _azi = _Siet_azi_coll.Azi; + break; + case Clienti.PMS: + _azi = _PMS_azi_coll.Azi; + break; + default: + _azi = null; + break; + } + return _azi; + } + private DbSet getSostituzioneByTenant(string tenant) + { + DbSet? _sost; + + switch (tenant) + { + case Clienti.Marrocco: + _sost = _Marro_sostituzioni.Sost; + break; + case Clienti.Gitoga: + _sost = _Gitoga_sostituzioni.Sost; + break; + case Clienti.Lifta: + _sost = _Lifta_sostituzioni.Sost; + break; + case Clienti.Discovery: + _sost = _Disco_sostituzioni.Sost; + break; + case Clienti.Siet: + _sost = _Siet_sostituzioni.Sost; + break; + case Clienti.Sicilia: + _sost = _Sicilia_sostituzioni.Sost; + break; + case Clienti.PMS: + _sost = _PMS_sostituzioni.Sost; + break; + default: + _sost = null; + break; + } + return _sost; + } + private DbSet getChiamateTableByTenant(string tenant) + { + DbSet? _chia; + + switch (tenant) + { + case Clienti.Marrocco: + _chia = _Marro_chiatable.Chi; + break; + case Clienti.Siet: + _chia = _Siet_chiatable.Chi; + break; + case Clienti.Sicilia: + _chia = _Sicilia_chiatable.Chi; + break; + case Clienti.PMS: + _chia = _Pms_chiatable.Chi; + break; + case Clienti.VT: + _chia = _VT_chiatable.Chi; + break; + default: + _chia = null; + break; + } + return _chia; + } + private DbSet getChiamateSerialeByTenant(string tenant) + { + DbSet? _chiaser; + + switch (tenant) + { + case Clienti.Marrocco: + _chiaser = _Marro_chiaser.Seriali; + break; + case Clienti.Siet: + _chiaser = _Siet_chiaser.Seriali; + break; + case Clienti.Sicilia: + _chiaser = _Sicilia_chiaser.Seriali; + break; + case Clienti.PMS: + _chiaser = _PMS_chiaser.Seriali; + break; + default: + _chiaser = null; + break; + } + return _chiaser; + } + private DbSet getChiamateProgressiviByTenant(string tenant) + { + //gestione per cvpwarn con campo float + DbSet? _chiaprog; + + switch (tenant) + { + case Clienti.Marrocco: + _chiaprog = _Marro_chiaprog.Progressivi; + break; + case Clienti.Sicilia: + _chiaprog = _Sicilia_chiaprog.Progressivi; + break; + case Clienti.Siet: + _chiaprog = _Siet_chiaprog.Progressivi; + break; + default: + _chiaprog = null; + break; + } + return _chiaprog; + } + private DbSet getCpwarnByTenant(string tenant) + { + //gestione per cvpwarn con campo float + DbSet? _cpwarn; + + switch (tenant) + { + + case Clienti.Sicilia: + _cpwarn = _Sicilia_cpwarn.Progressivi; + break; + case Clienti.Siet: + _cpwarn = _Siet_cpwarn.Progressivi; + break; + case Clienti.PMS: + _cpwarn = _PMS_cpwarn.Progressivi; + break; + default: + _cpwarn = null; + break; + } + return _cpwarn; + } + + private bool checkSostituzioneAbilitata(string tenant) + { + bool abilitata; + switch (tenant) + { + case Clienti.Marrocco: + abilitata =true; + break; + case Clienti.Gitoga: + abilitata = true; + break; + case Clienti.Lifta: + abilitata = true; + break; + case Clienti.Discovery: + abilitata = true; + break; + case Clienti.Siet: + abilitata = true; + break; + case Clienti.Sicilia: + abilitata = true; + break; + default: + abilitata = false; + break; + } + return abilitata; + } + private async Task getSeriale(string token) + { + string seriale = string.Empty; + string ten = getClaimValueByToken(token, "tenant"); + string ten2 = getClaimValueByToken(token, "tenant2"); + + switch (ten) + { + case Clienti.VT: + _rapp_new = _VT_rapptable.Rapps; + //ten = ten2; + break; + default: + _rapp_new = getRappNewByTenant(ten); + break; + } + + + string suff_rapp = string.Empty; + string primo_seriale = string.Empty; + //D000000004 + switch (ten) + { + //Marrocco, Zucchetti sicilia,Ferrari -> prefisso rapportini E + //Discovery prefisso rapportini D + + case Clienti.Discovery: + suff_rapp = suffClienti.Discovery; + primo_seriale = suff_rapp+"000000000"; + break; + case Clienti.Marrocco: + suff_rapp = suffClienti.Marrocco; + primo_seriale = suff_rapp + "000000000"; + break; + case Clienti.Ferrari: + suff_rapp = suffClienti.Ferrari; + primo_seriale = suff_rapp + "000000000"; + break; + case Clienti.Sicilia: + suff_rapp = suffClienti.Sicilia; + primo_seriale = suff_rapp + "000000000"; + break; + case Clienti.Sarom: + suff_rapp = suffClienti.Sarom; + primo_seriale = suff_rapp + "000000000"; + break; + case Clienti.Sinergo: + suff_rapp = suffClienti.Sinergo; + primo_seriale = suff_rapp + "000000000"; + break; + case Clienti.Gitoga: + suff_rapp = suffClienti.Gitoga; + primo_seriale = suff_rapp + "000000000"; + break; + case Clienti.Lifta: + suff_rapp = suffClienti.Lifta; + primo_seriale = suff_rapp + "000000000"; + break; + case Clienti.Siet: + suff_rapp = suffClienti.Siet; + primo_seriale = suff_rapp + "000000000"; + break; + case Clienti.PMS: + suff_rapp = suffClienti.PMS; + primo_seriale = suff_rapp + "000000000"; + break; + case Clienti.VT: + suff_rapp = suffClienti.VT; + primo_seriale = suff_rapp + "000000000"; + break; + + } + + var rapp = await Task.WhenAll(_rapp_new.Where( + t => t.seriale_rapportino != null + && t.seriale_rapportino.Contains(suff_rapp)).OrderByDescending(t => t.seriale_rapportino).Take(1).ToListAsync()); + + + + string? ser=string.Empty; + if (rapp.Any()) + { + foreach(var i in rapp) + { + if(i.Count()>0) + { + ser = i.First().seriale_rapportino; + seriale = getNewSerialeRapportino(ser, ten); + } + else + { + seriale = primo_seriale; + } + } + } + return seriale; + } + private async Task getNewId(string token) + { + int newId =1; + string ten = getClaimValueByToken(token, "tenant"); + _timbr = getTimbratureByTenant(ten); + var t = await Task.WhenAll(_timbr.OrderByDescending(t => t.id).Take(1).ToListAsync()); + + if (t.Any() && t.First().Count()>0) + { + foreach (var i in t) + { + newId = i.First().id; + } + newId++; + } + return newId; + } + private string getNewSerialeRapportino(string? lastSerial, string tenant) + { + string new_serial = string.Empty; + + //lastSerial = lastSerial.Substring(1, lastSerial.Length-1); + lastSerial = lastSerial!=null? lastSerial.Substring(1, lastSerial.Length - 1):String.Empty; + + int ser = int.Parse(lastSerial); + ser++; + new_serial = ser.ToString(); + new_serial = new_serial.PadLeft(9, '0'); + + switch (tenant) + { + case Clienti.Discovery: + new_serial = suffClienti.Discovery + new_serial; + break; + case Clienti.Marrocco: + new_serial = suffClienti.Marrocco + new_serial; + break; + case Clienti.Ferrari: + new_serial = suffClienti.Ferrari + new_serial; + break; + case Clienti.Sicilia: + new_serial = suffClienti.Sicilia + new_serial; + break; + case Clienti.Sarom: + new_serial = suffClienti.Sarom + new_serial; + break; + case Clienti.Sinergo: + new_serial = suffClienti.Sinergo + new_serial; + break; + case Clienti.Gitoga: + new_serial = suffClienti.Gitoga + new_serial; + break; + case Clienti.Lifta: + new_serial = suffClienti.Lifta + new_serial; + break; + case Clienti.Siet: + new_serial = suffClienti.Siet + new_serial; + break; + case Clienti.PMS: + new_serial = suffClienti.PMS + new_serial; + break; + case Clienti.VT: + new_serial = suffClienti.VT + new_serial; + break; + } + return new_serial; + } + private string getNewSerialeBuono(string lastSerial, string suff) + { + //CAM00118 CA=chiamata M=Marrocco 00118=seriale + //MAM00254 MA=manutenzione M=Marrocco 00254=seriale + //lunghezza 8 fissa + string new_serial = string.Empty; + + string parteNum = lastSerial.Substring(3, 5); + int ser = int.Parse(parteNum); + ser++; + new_serial = ser.ToString(); + new_serial = new_serial.PadLeft(5, '0'); + new_serial = suff + new_serial; + + return new_serial; + } + private string getNewSerialeBuonoMan(string lastSerial, string suff) + { + //CAM00118 CA=chiamata M=Marrocco 00118=seriale + //MAM00254 MA=manutenzione M=Marrocco 00254=seriale + //lunghezza 8 fissa + string new_serial = string.Empty; + + + + string parteNum = lastSerial.Substring(3, 5); + int ser = int.Parse(parteNum); + ser++; + new_serial = ser.ToString(); + new_serial = new_serial.PadLeft(5, '0'); + new_serial = suff + new_serial; + + return new_serial; + } + private async Task getChiamataBySerial(string ser_chiamata, string token) + { + string new_serial = string.Empty; + string ten = string.Empty; + ten = getClaimValueByToken(token, "tenant"); + if(ten.Equals(Clienti.VT)) + { + ten = getClaimValueByToken(token, "tenant2"); + _chiamate= _VT_chia.Chiamate; + } + else + { + _chiamate = getChiamateByTenant(ten); + } + + var calltec = await _chiamate.Where( + t => t.chserial == ser_chiamata + && t.chcodazi == ten + ).OrderBy(t => t.chdtapp).ToListAsync(); + + return calltec.First(); + } + private async Task getManutenzioneByChiave(Input i, string token ) + { + string ten = getClaimValueByToken(token, "tenant"); + string tecnico= getClaimValueByToken(token, "tccodice"); + + _manutprog =getManutenzioniByTenant(ten); + var manutenz = await _manutprog.Where( + t => t.ctcodazi.Equals(ten) + && t.ctcodimp.Trim().Equals(i.pimpianto.Trim()) + && t.ctcodint.Trim().Equals(i.picodint.Trim()) + && t.ctdatpro==i.pidatman + //&& t.tccodice.Trim().Equals(tecnico.Trim() + //la devo ripescare solo per la chiave della tabella delle manutenzioni + ).ToListAsync(); + + Manprog risultato = manutenz.First(); + return risultato; + } + private async Task getManutenzioneByChiave2(Prese i, string token) + { + string ten = getClaimValueByToken(token, "tenant"); + string tecnico = getClaimValueByToken(token, "tccodice"); + + _manutprog = getManutenzioniByTenant(ten); + var manutenz = await _manutprog.Where( + t => t.ctcodazi.Equals(ten) + && t.ctcodimp.Trim().Equals(i.pimpianto.Trim()) + && t.ctcodint.Trim().Equals(i.picodint.Trim()) + && t.ctdatpro == i.pidatman + //&& t.tccodice.Trim().Equals(tecnico.Trim() + //la devo ripescare solo per la chiave della tabella delle manutenzioni + ).ToListAsync(); + + Manprog risultato = manutenz.First(); + return risultato; + } + private async Task getManutenzioneByChiaveOut(Input i, string token, Rapp_New ingresso) + { + string ten = getClaimValueByToken(token, "tenant"); + string tecnico = getClaimValueByToken(token, "tccodice"); + + _manutprog = getManutenzioniByTenant(ten); + var manutenz = await _manutprog.Where( + t => t.ctcodazi.Equals(ten) + && t.ctcodimp.Trim().Equals(i.pimpianto.Trim()) + && t.ctcodint.Trim().Equals(i.picodint.Trim()) + && t.ctdatpro == i.pidatman + //&& t.tccodice.Trim().Equals(tecnico.Trim() + //la devo ripescare solo per la chiave della tabella delle manutenzioni + ).ToListAsync(); + + Manprog risultato = manutenz.First(); + risultato.ser_buono = ingresso.ser_buono; + risultato.seriale_rapportino = ingresso.seriale_rapportino; + + return risultato; + } + + /// vuoto=chiamata presa in carico 3=chiamata chiusa 2=manutenzione chiusa + public static class TipoRapportino + { + /// + public const string PresaInCarico = ""; + + /// + public const string ManutenzioneChiusa = "2"; + + /// + public const string ChiamataChiusa = "3"; + + /// + public const string ChiamataDaCommessa = "4"; + } + private async Task checkChiamataPresa(string ten, string serChiamata,string tipo, string ten2) + { + //tipo rapportino ="" + int trovati = 0; + + switch (ten) + { + case Clienti.VT: + _rapp_new= _VT_rapptable.Rapps; + ten = ten2; + break; + default: + _rapp_new = getRappNewByTenant(ten); + break; + } + + var rapp = await _rapp_new.Where(t => t.azienda_impianto == ten + && t.seriale_chiamata !=null && t.seriale_chiamata.Equals(serChiamata) + && t.tipo_rapportino !=null && t.tipo_rapportino.Equals(tipo) + && t.incarico!=null && t.incarico.Equals("S")).ToListAsync(); + if(rapp.Any()) + { + trovati = rapp.Count(); + } + + return trovati; + } + private async Task checkChiamataDaRilasciare(string ten, string serRapportino, string tipo,string ten2) + { + //tipo rapportino ="" + Rapp_New trovati = null; + switch (ten) + { + case Clienti.VT: + _rapp_new = _VT_rapptable.Rapps; + ten = ten2; + break; + default: + _rapp_new = getRappNewByTenant(ten); + break; + } + + var rapp = await _rapp_new.Where(t => t.azienda_impianto == ten + && t.seriale_rapportino != null && t.seriale_rapportino.Equals(serRapportino) + && t.tipo_rapportino != null && t.tipo_rapportino.Equals(tipo) + && t.incarico != null && t.incarico.Equals("S")).ToListAsync(); + if (rapp.Any()) + { + trovati = rapp.First(); + } + + return trovati; + } + private async Task checkChiamataRifiutata(string ten, string serChiamata, string tipo,string ten2) + { + //tipo rapportino ="" + int trovati = 0; + switch (ten) + { + case Clienti.VT: + _rapp_new = _VT_rapptable.Rapps; + ten = ten2; + break; + default: + _rapp_new = getRappNewByTenant(ten); + break; + } + + var rapp = await _rapp_new.Where(t => t.azienda_impianto == ten + && t.seriale_chiamata != null && t.seriale_chiamata.Equals(serChiamata) + && t.tipo_rapportino != null && t.tipo_rapportino.Equals(tipo) + && t.incarico != null && t.rifiutata.Equals("S")).ToListAsync(); + if (rapp.Any()) + { + trovati = rapp.Count(); + } + + return trovati; + } + private async Task checkChiamataChiusa(string ten, string serChiamata, string tipo) + { + //tipo rapportino =3 o tipo rapportino=4 + int trovati = 0; + + if(ten.Equals(Clienti.VT)) + { + _rapp_new = _VT_rapptable.Rapps; + } + else + { + _rapp_new = getRappNewByTenant(ten); + } + + var rapp = await _rapp_new.Where(t => t.azienda_impianto == ten + && t.seriale_chiamata != null && t.seriale_chiamata.Equals(serChiamata) + && t.tipo_rapportino != null && (t.tipo_rapportino.Equals(TipoRapportino.ChiamataChiusa) || t.tipo_rapportino.Equals(TipoRapportino.ChiamataDaCommessa))).ToListAsync(); + + if (rapp.Any()) + { + trovati = rapp.Count(); + } + + return trovati; + } + private async Task checkTimbraturaPresente(string ten, Timbratura model) + { + int trovati = 0; + _timbr = getTimbratureByTenant(ten); + var ti = await _timbr.Where(t => t.azienda == ten && t.ora_ini== model.ora_ini && t.min_ini== model.min_ini && t.ora_fin==model.ora_fin && t.min_fin==model.min_fin + && t.commessa.Equals(model.commessa) && t.data_timbratura==model.data_timbratura && t.ore_viaggio==model.ore_viaggio + ).ToListAsync(); + if (ti.Any()) + { + trovati = ti.Count(); + } + + return trovati; + } + /// 200=Ok 500=ErroreInterno 400=OperazioneNonAmmessa + public static class StatiRisposta + { + /// + public const string Ok = "200"; + + /// + public const string ErroreInterno = "500"; + + /// + public const string OperazioneNonAmmessa = "400"; + } + private async Task checkManutenzionePresaInCarico(string ten, string impianto,string codint,DateTime? dataMan) + { + int trovati = 0; + _prese=getPreseByTenant(ten); + var pre =await _prese.Where(t => t.picodazi.Equals(ten) && t.pimpianto.Equals(impianto) && t.picodint.Equals(codint) && t.pidatman== dataMan).ToListAsync(); + if (pre.Any()) + { + trovati = pre.Count(); + } + return trovati; + } + private async Task checkManutenzioneDaRilasciare(string ten, string impianto, string codint, DateTime? dataMan) + { + Prese p = null; + _prese = getPreseByTenant(ten); + var pre = await _prese.Where(t => t.picodazi.Equals(ten) && t.pimpianto.Equals(impianto) && t.picodint.Equals(codint) && t.pidatman == dataMan).ToListAsync(); + if (pre.Any()) + { + p = pre.First(); + } + return p; + } + private async Task checkManutenzioneChiusa(string ten,string tipo,string codImp, DateTime? dataMan, string codInt) + { + int trovati = 0; + _rapp_new = getRappNewByTenant(ten); + var rapp = await _rapp_new.Where( + t => t.azienda_impianto == ten + && t.tipo_rapportino != null && t.tipo_rapportino.Equals(tipo) + && t.seriale_chiamata !=null && string.IsNullOrEmpty(t.seriale_chiamata.Trim()) + && t.codice_impianto !=null && t.codice_impianto.Equals(codImp) + && t.data_validita== dataMan + && t.codice_intervento !=null && t.codice_intervento.Equals(codInt) + ).ToListAsync(); + + if (rapp.Any()) + { + trovati = rapp.Count(); + } + return trovati; + } + /// + public static class Clienti + { + /// + public const string Marrocco = "MARRO"; + + /// + public const string Ferrari = "FERRA"; + + /// Zucchetti Sicilia + public const string Sicilia = "LABSE"; + + /// Discovery + public const string Discovery = "DISCO"; + + /// Sarom + public const string Sarom = "SAROM"; + + /// Sinergo + public const string Sinergo = "SINER"; + + /// Gitoga + public const string Gitoga = "GITSR"; + + /// Lifta + public const string Lifta = "LIFTA"; + + /// Siet + public const string Siet = "SIET2"; + + /// PMS + public const string PMS = "PMS00"; + + /// VT app + public const string VT = "VIRTU"; + + } + /// + public static class suffClienti + { + /// + public const string Marrocco = "K"; + + /// + public const string Ferrari = "Y"; + + /// Zucchetti Sicilia + public const string Sicilia = "J"; + + /// Discovery + public const string Discovery = "Z"; + + /// Sarom + public const string Sarom = "H"; + + /// Sinergo + public const string Sinergo = "Q"; + + /// Gitoga + public const string Gitoga = "G"; + + /// Lifta + public const string Lifta = "L"; + + /// Siet + public const string Siet = "S"; + + /// PMS + public const string PMS = "S"; + + /// Virtual task + public const string VT = "V"; + } + + /// trasforma un Saldiart in un Mag_New + private Mag_New saldiartToMag_New(Saldiart co, int riga,string newSerial, string tecnico) + { + + Mag_New mn = new Mag_New(); + mn.seriale_rapportino = newSerial; + mn.riga = riga; + mn.magazzino = co.slcodmag; + mn.articolo = co.slcodice; + mn.tipo_movimento = "A"; + mn.quantita = co.slqtaper; + mn.prezzo = co.liprezzo; + mn.codice_tecnico = tecnico; + mn.codlotto = co.locodice; + mn.matricola = co.amcodice; + mn.desc_art = co.ardesart; + mn.cpccchk = getCpccchk(10); + mn.desc_sup = co.desc_sup; + return mn; + } + /// trasforma un Compi_Impia in un Mag_New + private Mag_New compo_ImpiaToMag_New(Compo_Impia co, int riga, string newSerial, string tecnico) + { + + Mag_New mn = new Mag_New(); + mn.seriale_rapportino = newSerial; + mn.riga = riga; + mn.magazzino = "001"; + mn.articolo = co.cocodart; + mn.tipo_movimento = "E"; + mn.quantita = co.coqtaart; + mn.prezzo = 0; + mn.codice_tecnico = tecnico; + mn.codlotto = co.lotto; + mn.matricola = co.matricola; + mn.cprownum = co.cprownum; + mn.codimp = co.cocodimp; + mn.desc_art = co.ardesart; + mn.cpccchk = getCpccchk(10); + mn.desc_sup = co.desc_sup; + + + string appoNote = string.Empty; + appoNote = (co.co__note != null && co.co__note.Length>254) ? co.co__note.Substring(0, 254) : co.co__note; + mn.note = appoNote; + return mn; + } + + private static Random random = new Random(); + /// crea un cpccchk + public static string getCpccchk(int length) + { + const string chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; + return new string(Enumerable.Repeat(chars, length).Select(s => s[random.Next(s.Length)]).ToArray()); + } + + /// formatta l'indirizzo della lista chiamate + public static string formattaItemChiamateMarrocco(Chiamate i) + { + string formatst = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(!string.IsNullOrEmpty(i.imindiri1) ? i.imindiri1.Trim() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(i.imindiri2) ? i.imindiri2.Trim() + " " : string.Empty); + sb.Append(i.imindiri3 != null ? i.imindiri3.ToString() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(i.imindiri4) ? i.imindiri4.Trim() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(i.imindiri5) ? i.imindiri5.Trim() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(i.imcodcap) ? " " + i.imcodcap.Trim() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(i.imlocali) ? " " + i.imlocali.Trim() + " " : string.Empty); + + if (!string.IsNullOrEmpty(i.chcodimp)) + { + sb.Append("
"); + sb.Append("Impianto : " + i.chcodimp.Trim()); + } + + if (!string.IsNullOrEmpty(i.imrefref)) + { + sb.Append("
"); + sb.Append("Ref. : " + i.imrefref.Trim()); + } + formatst = sb.ToString(); + + return formatst; + } + + /// formatta l'indirizzo stampa chiamate + public static string formattaIndirizzoStampaMarrocco(Chiamate i) + { + string formatst = string.Empty; + StringBuilder sb = new StringBuilder(); + + sb.Append("SPETT. AMM. COND. : "); + sb.Append(!string.IsNullOrEmpty(i.imindiri1) ? i.imindiri1.Trim() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(i.imindiri2) ? i.imindiri2.Trim() + " " : string.Empty); + sb.Append(i.imindiri3 != null ? i.imindiri3.ToString() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(i.imindiri4) ? i.imindiri4.Trim() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(i.imindiri5) ? i.imindiri5.Trim() + " " : string.Empty); + if (!string.IsNullOrEmpty(i.imrefref)) + { + sb.Append("
"); + sb.Append("Numero Ref. : " + i.imrefref.Trim()); + } + formatst = sb.ToString(); + + return formatst; + } + + /// formatta l'indirizzo stampa chiamateper Discovery + public static string formattaIndirizzoStampaDiscovery(Chiamate i) + { + string formatst = string.Empty; + StringBuilder sb = new StringBuilder(); + + sb.Append("SPETT. AMM. COND. : "); + sb.Append(!string.IsNullOrEmpty(i.imindiri1) ? i.imindiri1.Trim() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(i.imindiri2) ? i.imindiri2.Trim() + " " : string.Empty); + sb.Append(i.imindiri3 != null ? i.imindiri3.ToString() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(i.imindiri4) ? i.imindiri4.Trim() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(i.imindiri5) ? i.imindiri5.Trim() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(i.imlocali) ? i.imlocali.Trim() + " " : string.Empty); + + formatst = sb.ToString(); + + return formatst; + } + + + /// formatta il riferimento impainto (html) + public static string formattaRiferimentoImpiantoMarrocco(Chiamate i) + { + string formatst = string.Empty; + StringBuilder sb = new StringBuilder(); + + sb.Append("N. Impianto : " + i.chcodimp.Trim()); + + if (!string.IsNullOrEmpty(i.imubicaz)) + { + sb.Append("
"); + sb.Append("Ubicazione : " + i.imubicaz.Trim()); + } + if (!string.IsNullOrEmpty(i.chcodimp)) + { + sb.Append("
"); + sb.Append("Matricola impianto : "); + sb.Append(!string.IsNullOrEmpty(i.immatric) ? i.immatric.Trim() + " " : string.Empty); + } + + formatst = sb.ToString(); + + return formatst; + } + + /// formatta il riferimento impianto Disco (html) + public static string formattaRiferimentoImpiantoDiscovery(Chiamate i) + { + string formatst = string.Empty; + StringBuilder sb = new StringBuilder(); + + sb.Append("N. Impianto : " + i.chcodimp.Trim()); + + if (!string.IsNullOrEmpty(i.imubicaz)) + { + sb.Append("
"); + sb.Append("Ubicazione : " + i.imubicaz.Trim()); + } + if (!string.IsNullOrEmpty(i.chcodimp)) + { + sb.Append("
"); + sb.Append("Matricola impianto : "); + sb.Append(!string.IsNullOrEmpty(i.immatric) ? i.immatric.Trim() + " " : string.Empty); + } + + formatst = sb.ToString(); + + return formatst; + } + + + /// formatta il riferimento impianto Ferrari (html) + public static string formattaRiferimentoImpiantoFerrari(Chiamate i) + { + string formatst = string.Empty; + StringBuilder sb = new StringBuilder(); + + sb.Append("N. Impianto : " + i.chcodimp.Trim()); + + if (!string.IsNullOrEmpty(i.imubicaz)) + { + sb.Append("
"); + sb.Append("Ubicazione : " + i.imubicaz.Trim()); + } + if (!string.IsNullOrEmpty(i.chcodimp)) + { + sb.Append("
"); + sb.Append("Matricola impianto : "); + sb.Append(!string.IsNullOrEmpty(i.immatric) ? i.immatric.Trim() + " " : string.Empty); + } + + formatst = sb.ToString(); + + return formatst; + } + + + /// formatta l'indirizzo stampa manutenzioni + public static string formattaIndirizzoStampaManutMarrocco(Manprog i) + { + string formatst = string.Empty; + StringBuilder sb = new StringBuilder(); + + sb.Append("SPETT. AMM. COND. :"); + sb.Append(!string.IsNullOrEmpty(i.imindiri1) ? i.imindiri1.Trim() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(i.imindiri2) ? i.imindiri2.Trim() + " " : string.Empty); + sb.Append(i.imindiri3 != null ? i.imindiri3.ToString() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(i.imindiri4) ? i.imindiri4.Trim() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(i.imindiri5) ? i.imindiri5.Trim() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(i.imlocali) ? i.imlocali.Trim() + " " : string.Empty); + + if (!string.IsNullOrEmpty(i.imrefref)) + { + sb.Append("
"); + sb.Append("Numero Ref. : " + i.imrefref.Trim()); + } + formatst = sb.ToString(); + + return formatst; + } + + /// formatta il riferimento impainto (html) + public static string formattaIndirizzoStampaManutDiscovery(Manprog i) + { + string formatst = string.Empty; + StringBuilder sb = new StringBuilder(); + + sb.Append("SPETT. AMM. COND. :"); + sb.Append(!string.IsNullOrEmpty(i.imindiri1) ? i.imindiri1.Trim() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(i.imindiri2) ? i.imindiri2.Trim() + " " : string.Empty); + sb.Append(i.imindiri3 != null ? i.imindiri3.ToString() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(i.imindiri4) ? i.imindiri4.Trim() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(i.imindiri5) ? i.imindiri5.Trim() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(i.imlocali) ? i.imlocali.Trim() + " " : string.Empty); + + if (!string.IsNullOrEmpty(i.imrefref)) + { + sb.Append("
"); + sb.Append("Numero Ref. : " + i.imrefref.Trim()); + } + + + formatst = sb.ToString(); + + return formatst; + } + + /// formatta l'indirizzo della lista manutenzioni + public static string formattaItemManutenzioniMarrocco(Manprog i) + { + string formatst = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(!string.IsNullOrEmpty(i.imindiri1) ? i.imindiri1.Trim() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(i.imindiri2) ? i.imindiri2.Trim() + " " : string.Empty); + sb.Append(i.imindiri3 != null ? i.imindiri3.ToString() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(i.imindiri4) ? i.imindiri4.Trim() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(i.imindiri5) ? i.imindiri5.Trim() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(i.imcodcap) ? " " + i.imcodcap.Trim() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(i.imlocali) ? " " + i.imlocali.Trim() + " " : string.Empty); + + if (!string.IsNullOrEmpty(i.ctcodimp)) + { + sb.Append("
"); + sb.Append("Impianto : " + i.ctcodimp.Trim()); + } + + if (!string.IsNullOrEmpty(i.imrefref)) + { + sb.Append("
"); + sb.Append("Ref. : " + i.imrefref.Trim()); + } + formatst = sb.ToString(); + + return formatst; + } + + /// formatta riferimwnto impianto su buono (html) + public static string formattaRifImpMarrocco(Manprog i) + { + string formatst = string.Empty; + StringBuilder sb = new StringBuilder(); + + + if (!string.IsNullOrEmpty(i.ctcodimp)) + { + sb.AppendLine("Impianto : " + i.ctcodimp.Trim()); + } + + if (!string.IsNullOrEmpty(i.imubicaz)) + { + + sb.Append("Ubicazione : " + i.imubicaz.Trim()); + } + formatst = sb.ToString(); + + return formatst; + } + + /// formatta riferimwnto impianto su buono (html) Disco + public static string formattaRifImpDiscovery(Manprog i) + { + string formatst = string.Empty; + StringBuilder sb = new StringBuilder(); + + if (!string.IsNullOrEmpty(i.ctcodimp)) + { + sb.Append("N. Impianto : " + i.ctcodimp.Trim()); + } + if (!string.IsNullOrEmpty(i.imubicaz)) + { + sb.Append("
"); + sb.Append("Ubicazione : " + i.imubicaz.Trim()); + } + if (!string.IsNullOrEmpty(i.immatric)) + { + sb.Append("
"); + sb.AppendLine("Matricola : " + i.immatric.Trim()); + } + formatst = sb.ToString(); + + return formatst; + } + + #endregion + + #region Configurazioni + private Configurazione_out fillConfigurazione(Configurazioni co) + { + Configurazione_out output = new Configurazione_out(); + + output.azienda = co.azienda; + output.path_buoni = co.path_buoni; + output.prefisso_buoni_chia = co.prefisso_buoni_chia; + output.prefisso_buoni_man = co.prefisso_buoni_man; + output.ftp_url = co.ftp_url; + output.ftp_usr = co.ftp_usr; + output.ftp_pwd = co.ftp_pwd; + output.ftp_port = co.ftp_port; + output.listino = co.listino; + + output.abilita_barcode = co.abilita_barcode; + output.abilita_naviga = co.abilita_naviga; + output.abilita_telefona = co.abilita_telefona; + output.abilita_chiamate = co.abilita_chiamate; + + output.abilita_manutenzioni = co.abilita_manutenzioni; + output.chiamate_accetta = co.chiamate_accetta; + output.chiamate_accetta_barcode = co.chiamate_accetta_barcode; + output.chiamate_accetta_offline = co.chiamate_accetta_offline; + output.chiamate_rifiuta = co.chiamate_rifiuta; + output.chiamate_rifiuta_barcode = co.chiamate_rifiuta_barcode; + output.chiamate_rifiuta_offline = co.chiamate_rifiuta_offline; + output.chiamate_chiudi_barcode = co.chiamate_chiudi_barcode; + output.chiamate_firma_barcode = co.chiamate_firma_barcode; + output.chiamate_chiudi_salva_barcode = co.chiamate_chiudi_salva_barcode; + output.chiamate_chiudi_salva_offline = co.chiamate_chiudi_salva_offline; + + output.manutenzioni_accetta = co.manutenzioni_accetta; + output.manutenzioni_rifiuta = co.manutenzioni_rifiuta; + output.manutenzioni_accetta_barcode = co.manutenzioni_accetta_barcode; + output.manutenzioni_accetta_offline = co.manutenzioni_accetta_offline; + output.manutenzioni_chiudi_barcode = co.manutenzioni_chiudi_barcode; + output.manutenzioni_firma_barcode = co.manutenzioni_firma_barcode; + output.manutenzioni_chiudi_salva_barcode = co.manutenzioni_chiudi_salva_barcode; + output.manutenzioni_chiudi_salva_offline = co.manutenzioni_chiudi_salva_offline; + + output.dpi_checkbox = co.dpi_checkbox; + + output.anagrafica = co.anagrafica; + output.stato_finale = co.stato_finale; + output.descrizione_intervento = co.descrizione_intervento; + output.composizione_impianto = co.composizione_impianto; + output.note_intervento = co.note_intervento; + output.esito_intervento = co.esito_intervento; + output.ora_inizio_fine = co.ora_inizio_fine; + output.materiali = co.materiali; + output.diritto_chiamata = co.diritto_chiamata; + output.manodopera = co.manodopera; + output.spese_viaggio = co.spese_viaggio; + output.tipo_pagamento = co.tipo_pagamento; + output.note_pagamento = co.note_pagamento; + output.causale = co.causale; + + output.time_sheet = co.time_sheet; + output.time_sheet_offline = co.time_sheet_offline; + output.costo_orario = co.costo_orario; + + output.manutenzioni_rifiuta_barcode = co.manutenzioni_rifiuta_barcode; + + //OBSOLETI + //output.storico = co.storico; + //output.storico_tecnico = co.storico_tecnico; + //FINE OBSOLETI + + output.storico_interventi = co.storico_interventi; + output.storico_impianto = co.storico_impianto; + output.ricerca_impianti = co.ricerca_impianti; + output.abilita_data_rapp_edit = co.abilita_data_rapp_edit; + + return output; + } + + /// Configurazioni per azienda return:ActionResult + [HttpGet("configurazioni")] + public async Task> configurazioni(string token) + { + string ten = getClaimValueByToken(token, "tenant"); + string tecnico = getClaimValueByToken(token, "tccodice"); + + Configurazione_out output = new Configurazione_out(); + try + { + var c = await _config.conf.Where(t => t.azienda == ten).ToListAsync(); + var cc = c.First(); + + if (cc == null) + { + return NotFound(); + } + + output = fillConfigurazione(cc); + + //cerco le aziende collegate + bool bCercaAzcoll = false; + List l = new List(); + switch (ten) + { + case Clienti.Discovery: + bCercaAzcoll = true; + break; + } + if(bCercaAzcoll) + { + _azi_coll = getAziendeRifByTenant(ten); + var a = await _azi_coll.Where(t => t.piazihoc != null && t.piazihoc.Equals(ten)).ToListAsync(); + if (a.Any()) + { + foreach (AziendaRif appo in a) + { + l.Add(appo); + } + } + } + output.aziende_coll = l; + + + return StatusCode(StatusCodes.Status200OK, output); + } + catch(Exception ex) + { + string err = "Errore: " + ex.Message; + output.err_detail = err; + output.err_title = err; + output.err_status_code = StatiRisposta.ErroreInterno; + return StatusCode(StatusCodes.Status500InternalServerError, output); + } + + } + #endregion + + #region Token + + /// token riewmpimento + private Token fillTokenByInput(string tokenDevice, string tokenLogin) + { + Token r = new Token(); + + string ten = getClaimValueByToken(tokenLogin, "tenant"); + string tecnico = getClaimValueByToken(tokenLogin, "tccodice"); + + r.tenant = ten; + r.usr = tecnico; + r.token = tokenDevice; + r.ts = DateTime.Now; + return r; + } + + /// elimina Token + private async void deleteToken(Token t) + { + using (var transaction = _tokens.Database.BeginTransaction()) + { + _tokens.tok.Remove(t); + await _tokens.SaveChangesAsync(); + transaction.Commit(); + } + } + + /// inserisce Token + private async void insertToken(Token t) + { + using (var transaction = _tokens.Database.BeginTransaction()) + { + await _tokens.tok.AddAsync(t); + await _tokens.SaveChangesAsync(); + transaction.Commit(); + } + } + + // token salvataggio + [HttpPost] + [Route("token/add")] + public async Task> addToken(string tokenDevice, string token) + { + Token_out t = new Token_out(); + bool da_inserire = false; + + try + { + List co = new List(); + if (_tokens is not null && _tokens.tok is not null) + { + co = await _tokens.tok.Where(c => c.token.Equals(tokenDevice)).ToListAsync(); + } + Token inp = fillTokenByInput(tokenDevice, token); + + if (co.Count== 0) + { + da_inserire = true; + } + else + { + //il token c'è. controllo che sia associato all'utente corretto + string ten = getClaimValueByToken(token, "tenant"); + string tecnico = getClaimValueByToken(token, "tccodice"); + + bool token_corretto_presente = false; + foreach(Token tt in co) + { + if (tt.usr is not null && tt.usr.Equals(tecnico) && tt.tenant is not null && tt.tenant.Equals(ten)) + { + token_corretto_presente = true; + } + else + { + using (var transaction = _tokens.Database.BeginTransaction()) + { + Token entitasViewModel = _tokens.tok.Where(p => p.Id == tt.Id).FirstOrDefault(); + _tokens.Entry(entitasViewModel).State = EntityState.Deleted; + await _tokens.SaveChangesAsync(); + transaction.Commit(); + } + } + } + if (!token_corretto_presente) + da_inserire = true; + } + if(da_inserire) + { + using (var transaction = _tokens.Database.BeginTransaction()) + { + await _tokens.tok.AddAsync(inp); + await _tokens.SaveChangesAsync(); + transaction.Commit(); + } + t.err_status_code = StatiRisposta.Ok; + } + return StatusCode(StatusCodes.Status200OK, t); + } + catch(Exception ex) + { + string errmsg = ex.InnerException != null ? ex.InnerException.Message : ex.Message; + t.err_title = ex.Message; + t.err_detail = errmsg; + t.err_status_code = StatiRisposta.ErroreInterno; + return StatusCode(StatusCodes.Status500InternalServerError, t); + } + + } + + [HttpPost] + // token salvataggio + [Route("token/sendMessage")] + public async Task> sendMessage(string tokenDevice,string _title, string _body) + { + Token_out t = new Token_out(); + //Token inp = fillTokenByInput(tokenDevice, tokenLogin); + + try + { + if (FirebaseApp.DefaultInstance == null) + { + FirebaseApp.Create(new AppOptions() + { + Credential = GoogleCredential.FromFile("private_key.json") + }); + } + //var registrationToken = "dDxUDIC3QcWytp6UeVMDyT:APA91bH9y0N7Iff39Ncv0m_EjJ-hv7YTWYaL_5P37-2dob2PRuArvpfl6kmrk10GO2eJiAQ2tVT3tZX9khUD-NPyfljGbpBn1iUyjbTpL6tDF-0IgJN960v95I4_2SWM_crtSH-ZrXAK"; + var registrationToken = tokenDevice; + var message = new Message() + { + Data = new Dictionary() + { + { "myData", "123457777" }, + }, + Token = registrationToken, + //Notification = new Notification() + //{ + // Title = _title+" "+getCpccchk(4), + // Body = _body + " "+ DateTime.Now.ToString("yyyyMMddHHmmss") + //} + }; + string response = FirebaseMessaging.DefaultInstance.SendAsync(message).Result; + t.response = response; + + //t.response= await SendNotificationAsync(tokenDevice,"titolo","corpo del messaggio"); + return StatusCode(StatusCodes.Status200OK, t); + } + catch (Exception ex) + { + string errmsg = ex.InnerException != null ? ex.InnerException.Message : ex.Message; + t.err_title = ex.Message; + t.err_detail = errmsg; + t.err_status_code = StatiRisposta.ErroreInterno; + return StatusCode(StatusCodes.Status500InternalServerError, t); + } + } + + //SendNotificationAsync + private async Task SendNotificationAsync(string token, string title, string body) + { + using (var client = new HttpClient()) + { + //var firebaseOptionsServerId = _firebaseOptions.ServerApiKey; + //var firebaseOptionsSenderId = _firebaseOptions.SenderId; + var firebaseOptionsServerId = "AAAAGBwLmNY:APA91bG5GmgYcaxsU8HrOqvZbb9r82tH9RAEifgKhwoj_zwBe7qei8u3BSxMzFl9Dwykd0TWRuM7ffNe6ehhDDRUqaRPj_vKM9KreJnNrqB6f2hxjPAxzk5De2Ys437-dnSAuS_8SVJV"; + var firebaseOptionsSenderId = "103549737174"; + + + + client.BaseAddress = new Uri("https://fcm.googleapis.com"); + client.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json")); + client.DefaultRequestHeaders.TryAddWithoutValidation("Authorization", + $"key={firebaseOptionsServerId}"); + client.DefaultRequestHeaders.TryAddWithoutValidation("Sender", $"id={firebaseOptionsSenderId}"); + + + var data = new + { + to = token, + + body = body, + title = title, + + priority = "high" + }; + + var json = JsonConvert.SerializeObject(data); + var httpContent = new StringContent(json, Encoding.UTF8, "application/json"); + + var result = await client.PostAsync("/fcm/send", httpContent); + return result.ToString(); + } + } + #endregion + + #region LOGIN + /// Magazzini per login return:ActionResult + [HttpGet("magazzini")] + public async Task>> magazzini(string token) + { + List < Magazzini > lst= new List(); + string ten = getClaimValueByToken(token, "tenant"); + if(ten.Equals(Clienti.VT)) + { + return lst; + } + else + { + _magazzini = getMagazziniByTenant(ten); + return await _magazzini.ToListAsync(); + } + + } + + /// Login iniziale return:ActionResult + [HttpPost("loginTechnical")] + public async Task< ActionResult> loginTechnical([FromBody] LoginModel model) + { + LoginOut o = new LoginOut(); + try + { + if (string.IsNullOrEmpty(model.Username) || string.IsNullOrEmpty(model.Password)) + { + o.err_detail = "Username e Password non possono essere vuoti."; + o.err_title = "Username e Password non possono essere vuoti."; + o.err_status_code = StatiRisposta.OperazioneNonAmmessa; + return StatusCode(StatusCodes.Status200OK, o); + } + else + { + var tecnico=new List(); + switch (model.Tenant) + { + case Clienti.VT: + _tecnici= _VT_tec.Tecnici; + tecnico = await _tecnici.Where(t => t.tcuser == model.Username && t.tcpwd == model.Password ).Take(1).ToListAsync(); + + break; + default: + _tecnici = getTecniciByTenant(model.Tenant); + tecnico = await _tecnici.Where(t => t.tcuser == model.Username && t.tcpwd == model.Password && t.tccodazi == model.Tenant).Take(1).ToListAsync(); + break; + } + + if (tecnico == null || (tecnico != null && tecnico.Count == 0)) + { + o.err_detail = "Username o Password non trovati."; + o.err_title = "Username o Password non trovati."; + o.err_status_code = StatiRisposta.OperazioneNonAmmessa; + return StatusCode(StatusCodes.Status404NotFound, o); + } + else + { + var authClaims = new List + { + //new Claim(ClaimTypes.Name, model.Username), + new Claim(ClaimTypes.Name,tecnico.First().tcuser), + new Claim(JwtRegisteredClaimNames.Jti, Guid.NewGuid().ToString()), + new Claim("tenant", model.Tenant), + new Claim("tenant2", tecnico.First().tccodazi), + new Claim("tccodice", tecnico.First().tccodice), + }; + var authSigningKey = new SymmetricSecurityKey(Encoding.UTF8.GetBytes(_configuration["JWT:Secret"])); + var token = new JwtSecurityToken( + issuer: _configuration["JWT:ValidIssuer"], + audience: _configuration["JWT:ValidAudience"], + expires: DateTime.Now.AddMonths(3), + claims: authClaims, + signingCredentials: new SigningCredentials(authSigningKey, SecurityAlgorithms.HmacSha256) + ); + string tok = new JwtSecurityTokenHandler().WriteToken(token); + _token = tok; + + + o.Tok = tok; + o.Tcdescri = tecnico.First().Tcdescri; + o.Tccodice = tecnico.First().tccodice; + Conf cc = new Conf(); + + if(model.Tenant.Equals(Clienti.VT)) + { + string ten2 = tecnico.First().tccodazi; + _confLette = await readConf(ten2); + } + else + { + _confLette = await readConf(model.Tenant); + } + + + cc.abilita_naviga = _confLette.abilita_naviga; + cc.abilita_telefona = _confLette.abilita_telefona; + cc.abilita_chiamate = _confLette.abilita_chiamate; + cc.abilita_barcode = _confLette.abilita_barcode; + + cc.abilita_manutenzioni = _confLette.abilita_manutenzioni; + cc.chiamate_accetta = _confLette.chiamate_accetta; + cc.chiamate_accetta_barcode = _confLette.chiamate_accetta_barcode; + cc.chiamate_accetta_offline = _confLette.chiamate_accetta_offline; + cc.chiamate_rifiuta = _confLette.chiamate_rifiuta; + cc.chiamate_rifiuta_barcode = _confLette.chiamate_rifiuta_barcode; + cc.chiamate_rifiuta_offline = _confLette.chiamate_rifiuta_offline; + cc.chiamate_chiudi_barcode = _confLette.chiamate_chiudi_barcode; + cc.chiamate_firma_barcode = _confLette.chiamate_firma_barcode; + cc.chiamate_chiudi_salva_barcode = _confLette.chiamate_chiudi_salva_barcode; + cc.chiamate_chiudi_salva_offline = _confLette.chiamate_chiudi_salva_offline; + + cc.manutenzioni_accetta = _confLette.manutenzioni_accetta; + cc.manutenzioni_rifiuta = _confLette.manutenzioni_rifiuta; + cc.manutenzioni_accetta_barcode = _confLette.manutenzioni_accetta_barcode; + cc.manutenzioni_accetta_offline = _confLette.manutenzioni_accetta_offline; + cc.manutenzioni_chiudi_barcode = _confLette.manutenzioni_chiudi_barcode; + cc.manutenzioni_firma_barcode = _confLette.manutenzioni_firma_barcode; + cc.manutenzioni_chiudi_salva_barcode = _confLette.manutenzioni_chiudi_salva_barcode; + cc.manutenzioni_chiudi_salva_offline = _confLette.manutenzioni_chiudi_salva_offline; + + cc.dpi_checkbox = _confLette.dpi_checkbox; + + cc.anagrafica = _confLette.anagrafica; + cc.stato_finale = _confLette.stato_finale; + cc.descrizione_intervento = _confLette.descrizione_intervento; + cc.composizione_impianto = _confLette.composizione_impianto; + cc.note_intervento = _confLette.note_intervento; + cc.esito_intervento = _confLette.esito_intervento; + cc.ora_inizio_fine = _confLette.ora_inizio_fine; + cc.materiali = _confLette.materiali; + cc.diritto_chiamata = _confLette.diritto_chiamata; + cc.manodopera = _confLette.manodopera; + cc.spese_viaggio = _confLette.spese_viaggio; + cc.tipo_pagamento = _confLette.tipo_pagamento; + cc.note_pagamento = _confLette.note_pagamento; + cc.causale = _confLette.causale; + + cc.time_sheet = _confLette.time_sheet; + cc.time_sheet_offline = _confLette.time_sheet_offline; + + //per VT il costo lo devo leggere dal profilo del tecnico + if (model.Tenant.Equals(Clienti.VT)) + { + string ten2 = tecnico.First().tccodazi; + string codTec = tecnico.First().tccodice; + _tecTable = _VT_tectable.Tectable; + var costo = _tecTable.Where(t => t.tccodazi.Equals(ten2) && t.tccodice.Equals(codTec)).First(); + cc.costo_orario = costo.tccoor; + } + else + { + cc.costo_orario = _confLette.costo_orario; + } + + + cc.ftp_port= _confLette.ftp_port; + cc.manutenzioni_rifiuta_barcode = _confLette.manutenzioni_rifiuta_barcode; + cc.storico = _confLette.storico; + cc.storico_tecnico = _confLette.storico_tecnico; + cc.storico_interventi = _confLette.storico_interventi; + cc.storico_impianto = _confLette.storico_impianto; + cc.ricerca_impianti = _confLette.ricerca_impianti; + + cc.ora_inizio_fine_automatica = _confLette.ora_inizio_fine_automatica; + cc.stampa_orario = _confLette.stampa_orario; + cc.intestazione_stampa = _confLette.intestazione_stampa; + cc.seriale_template_chi = _confLette.seriale_template_chi; + cc.abilita_inserimento_chiamate = _confLette.abilita_inserimento_chiamate; + cc.abilita_data_rapp_edit = _confLette.abilita_data_rapp_edit; + cc.numeri_decimali = _confLette.numeri_decimali; + cc.max_record = _confLette.max_record; + cc.prezzi_visibili = _confLette.prezzi_visibili; + cc.desc_supp_prodotti_visibile = _confLette.desc_supp_prodotti_visibile; + + + o.Config = cc; + + //cerco le aziende collegate + List l = new List(); + string ten = model.Tenant; + bool bCercaAzcoll = false; + bool bCercaAziVT = false; + switch (ten) + { + case Clienti.Discovery: + bCercaAzcoll = true; + break; + case Clienti.VT: + bCercaAziVT = true; + break; + + } + if (bCercaAzcoll) + { + _azi_coll = getAziendeRifByTenant(ten); + var a = await _azi_coll.Where(t => t.piazihoc != null && t.piazihoc.Equals(ten) && t.picodtec!=null && t.picodtec.Trim().Equals(o.Tccodice.Trim())).ToListAsync(); + if (a.Any()) + { + + foreach (AziendaRif appo in a) + { + string logo = !string.IsNullOrEmpty(appo.pilogurl) ? appo.pilogurl.Trim() : string.Empty; + //var uriBuilder = new UriBuilder(Request.Scheme, Request.Host.Host, Request.Host.Port ?? -1); + //logo = uriBuilder + logo; + appo.pilogurl = logo; + l.Add(appo); + } + + } + } + if(bCercaAziVT) + { + + ten = model.Tenant; + string ten2 = tecnico.First().tccodazi; + string tecn= tecnico.First().tccodice; + _VT_DatiAzi = _VT_DatiAzienda.Dati; + var t = await _VT_DatiAzi.Where(t => t.azienda.Equals(ten2) && t.tecnico.Equals(tecn)).ToListAsync(); + if (t.Any()) + { + foreach (DatiAzienda appo in t) + { + AziendaRif ar = new AziendaRif(); + + //https://localhost:7068/VIRTU/AZI01/AZI01_LOGO.jpg + string logo = !string.IsNullOrEmpty(appo.url_logo) ? appo.url_logo.Trim() : string.Empty; + //var uriBuilder = new UriBuilder(Request.Scheme, Request.Host.Host, Request.Host.Port ?? -1); + //logo = uriBuilder + logo; + ar.pilogurl = logo; + ar.picodtec = appo.tecnico; + ar.pinomede = appo.ragsoc; + ar.pitextin = appo.testo_buono; + ar.pirifazi = appo.azienda; + ar.piazihoc = model.Tenant; + + l.Add(ar); + } + } + /* + _azi_coll = _VT_azi.Azi; + var a= await _azi_coll.Where(t => t.piazihoc != null && t.piazihoc.Equals(ten) + && t.picodtec != null && t.picodtec.Trim().Equals(o.Tccodice.Trim()) + && t.pirifazi!=null && t.pirifazi.Equals(ten2) + ).ToListAsync(); + + if(a.Any()) + { + foreach (AziendaRif appo in a) + { + + //https://localhost:7068/VIRTU/AZI01/AZI01_LOGO.jpg + string logo = !string.IsNullOrEmpty(appo.pilogurl) ? appo.pilogurl.Trim() : string.Empty; + //var uriBuilder = new UriBuilder(Request.Scheme, Request.Host.Host, Request.Host.Port ?? -1); + //logo = uriBuilder + logo; + appo.pilogurl = logo; + l.Add(appo); + } + } + */ + + } + o.aziende_coll = l; + } + return StatusCode(StatusCodes.Status200OK, o); + } + } + catch (Exception ex) + { + string err = "Errore: " + ex.Message; + o.err_detail = err; + o.err_title = err; + o.err_status_code = StatiRisposta.ErroreInterno; + return StatusCode(StatusCodes.Status500InternalServerError, o); + } + + } + + #endregion + + #region CHIAMATE + private async Task getSerBuonoChiamata(string ten,string pref, string ten2) + { + //inizializzo il buono nel caso non lo trovi in tabella (per Sicilia è stato così) + string seriale = pref+"00000"; + + switch (ten) + { + case Clienti.VT: + _rapp_new = _VT_rapptable.Rapps; + ten = ten2; + + break; + default: + _rapp_new = getRappNewByTenant(ten); + break; + } + + + //var rapp = await _rapp_new.Where(t => t.azienda_impianto == ten && t.ser_buono!=null && t.tipo_rapportino== TipoRapportino.ChiamataChiusa).OrderByDescending(t => t.ser_buono).Take(1).ToListAsync(); + //var rapp = await _rapp_new.Where(t => t.azienda_impianto == ten && t.ser_buono != null && t.ser_buono.Trim().Contains(pref) && t.tipo_rapportino == TipoRapportino.ChiamataChiusa).OrderByDescending(t => t.ser_buono).Take(1).ToListAsync(); + //tolto filtro su tipo rapportino per gestire anche il tipo 4 =commessa + var rapp = await _rapp_new.Where(t => t.azienda_impianto == ten && t.ser_buono != null && t.ser_buono.Trim().Contains(pref)).OrderByDescending(t => t.ser_buono).Take(1).ToListAsync(); + //var rapp1 = await _rapp_new.Where(t => t.azienda_impianto.Equals(ten)).OrderByDescending(t => t.ser_buono).ToListAsync(); + //var rapp2 = await _rapp_new.Where(t => t.ser_buono != null ).OrderByDescending(t => t.ser_buono).ToListAsync(); + //var rapp3 = await _rapp_new.Where(t => t.ser_buono.Contains(pref)).OrderByDescending(t => t.ser_buono).ToListAsync(); + + + + if (rapp != null && rapp.Count() > 0) + { + seriale = getNewSerialeBuono(rapp.First().ser_buono, pref); + } + else + { + seriale = getNewSerialeBuono(seriale, pref); + } + + return seriale; + } + private async Task fillRappNewByInput(Input i, string token, string newSerial,Configurazioni co) + { + Rapp_New r = new Rapp_New(); + DateTime dateIni = new DateTime(1900, 1, 1); + DateTime adesso = DateTime.Now; + string ten = getClaimValueByToken(token, "tenant"); + string tecnico = getClaimValueByToken(token, "tccodice"); + + switch (ten) + { + case Clienti.VT: + _chiamate = _VT_chia.Chiamate; + ten = getClaimValueByToken(token, "tenant2"); + + break; + default: + _chiamate = getChiamateByTenant(ten); + break; + } + //i = fakeInput(i,ten); + + var chia = await _chiamate.Where(t => t.chserial.Trim().Equals(i.seriale_chiamata.Trim())).OrderBy(t => t.chdtapp).ToListAsync(); + + r.seriale_rapportino = newSerial; + r.tipo_rapportino = string.Empty; + r.azienda_impianto = ten; + r.codice_impianto = chia.First().chcodimp; + r.azienda_chiamata = ten; + r.seriale_chiamata = i.seriale_chiamata; + r.seriale_commessa = string.Empty; + r.data_rapportino = adesso; + //r.ora_ini_rapportino = adesso.Hour.ToString(); + r.ora_ini_rapportino = i.ora_ini_rapportino; + r.ora_fin_rapportino = "01"; + r.min_ini_rapportino = i.min_ini_rapportino; + r.min_fin_rapportino = "00"; + r.codice_chiusura_1 = string.Empty; + r.codice_chiusura_2 = string.Empty; + r.codice_chiusura_3 = string.Empty; + r.codice_chiusura_4 = string.Empty; + r.codice_chiusura_5 = string.Empty; + r.codice_chiusura_6 = string.Empty; + r.codice_chiusura_7 = string.Empty; + r.codice_chiusura_8 = string.Empty; + r.codice_chiusura_9 = string.Empty; + r.codice_chiusura_10 = string.Empty; + r.descrizione_intervento = "ACCETTAZIONE chiamata " + i.seriale_chiamata; + r.stato_finale = string.Empty; + r.azienda_tecnico = ten; + r.codice_tecnico = tecnico; + r.rifiutata = "N"; + r.firma = string.Empty; + r.incarico = "S"; + r.data_validita = dateIni; + r.immagine = i.immagine; + r.ser_buono = string.Empty; + + + return r; + } + private async Task fillRappNewRifiutoByInput(Input i, string token, string newSerial, Configurazioni co) + { + Rapp_New r = new Rapp_New(); + DateTime dateIni = new DateTime(1900, 1, 1); + DateTime adesso = DateTime.Now; + string ten = getClaimValueByToken(token, "tenant"); + string tecnico = getClaimValueByToken(token, "tccodice"); + + switch (ten) + { + case Clienti.VT: + _chiamate = _VT_chia.Chiamate; + ten = getClaimValueByToken(token, "tenant2"); + + break; + default: + _chiamate = getChiamateByTenant(ten); + break; + } + + var chia = await _chiamate.Where(t => t.chserial == i.seriale_chiamata).OrderBy(t => t.chdtapp).ToListAsync(); + + r.seriale_rapportino = newSerial; + r.tipo_rapportino = string.Empty; + r.azienda_impianto = ten; + r.codice_impianto = chia.First().chcodimp; + r.azienda_chiamata = ten; + r.seriale_chiamata = i.seriale_chiamata; + r.seriale_commessa = string.Empty; + r.data_rapportino = adesso; + r.ora_ini_rapportino = adesso.Hour.ToString(); + r.ora_fin_rapportino = "01"; + r.min_ini_rapportino = adesso.Minute.ToString(); + r.min_fin_rapportino = "00"; + r.codice_chiusura_1 = string.Empty; + r.codice_chiusura_2 = string.Empty; + r.codice_chiusura_3 = string.Empty; + r.codice_chiusura_4 = string.Empty; + r.codice_chiusura_5 = string.Empty; + r.codice_chiusura_6 = string.Empty; + r.codice_chiusura_7 = string.Empty; + r.codice_chiusura_8 = string.Empty; + r.codice_chiusura_9 = string.Empty; + r.codice_chiusura_10 = string.Empty; + r.descrizione_intervento = "RIFIUTO chiamata " + i.seriale_chiamata; + r.stato_finale = string.Empty; + r.azienda_tecnico = ten; + r.codice_tecnico = tecnico; + r.rifiutata = "S"; + r.firma = string.Empty; + r.incarico = "N"; + r.data_validita = dateIni; + r.immagine = i.immagine; + r.ser_buono = string.Empty; + + return r; + } + private async Task fillRappNewChiudiByInput(Input i, string token, string newSerial, Configurazioni co) + { + Rapp_New r = new Rapp_New(); + DateTime dateIni = new DateTime(1900, 1, 1); + DateTime adesso = DateTime.Now; + string ten = getClaimValueByToken(token, "tenant"); + string ten2 = getClaimValueByToken(token, "tenant2"); + string tecnico = getClaimValueByToken(token, "tccodice"); + var sBuono = await getSerBuonoChiamata(ten, co.prefisso_buoni_chia,ten2); + + + switch (ten) + { + case Clienti.VT: + _chiamate = _VT_chia.Chiamate; + ten = getClaimValueByToken(token, "tenant2"); + + break; + default: + _chiamate = getChiamateByTenant(ten); + break; + } + + + var chiam = await _chiamate.Where( + t => t.chserial.Equals(i.seriale_chiamata) + && t.chcodazi == ten && t.chtipo.Equals("X") + ).OrderByDescending(t => t.chdtapp).ToListAsync(); + if(chiam!=null && chiam.Count()>0) + { + r.tipo_rapportino = TipoRapportino.ChiamataDaCommessa; + r.seriale_commessa = chiam.FirstOrDefault().chrifer; + } + else + { + r.tipo_rapportino = TipoRapportino.ChiamataChiusa; + r.seriale_commessa = string.Empty; + } + + r.seriale_rapportino = newSerial; + + r.azienda_impianto = ten; + r.codice_impianto = i.codice_impianto; + r.azienda_chiamata = ten; + r.seriale_chiamata = i.seriale_chiamata; + + + //2023-11-23: gestione data retrodatata. Se l'input è valorizzato vuol dire che l'ho editato dal campo, altrimenti passo la data di sistema + if(i.data_rapportino!=null) + r.data_rapportino = i.data_rapportino; + else + r.data_rapportino = adesso; + + //r.ora_ini_rapportino = adesso.Hour.ToString(); + r.ora_ini_rapportino = i.ora_ini_rapportino; + r.ora_fin_rapportino = i.ora_fin_rapportino; + //r.min_ini_rapportino = adesso.Minute.ToString(); + r.min_ini_rapportino = i.min_ini_rapportino; + r.min_fin_rapportino = i.min_fin_rapportino; + r.codice_chiusura_1 = i.codice_chiusura_1; + r.codice_chiusura_2 = i.codice_chiusura_2; + r.codice_chiusura_3 = i.codice_chiusura_3; + r.codice_chiusura_4 = i.codice_chiusura_4; + r.codice_chiusura_5 = i.codice_chiusura_5; + r.codice_chiusura_6 = i.codice_chiusura_6; + r.codice_chiusura_7 = i.codice_chiusura_7; + r.codice_chiusura_8 = i.codice_chiusura_8; + r.codice_chiusura_9 = i.codice_chiusura_9; + r.codice_chiusura_10 = i.codice_chiusura_10; + r.descrizione_intervento = i.descrizione_intervento; + r.stato_finale = string.Empty; + r.azienda_tecnico = ten; + r.codice_tecnico = tecnico.Trim(); + r.rifiutata = string.Empty; + r.firma = i.firma; + r.incarico = string.Empty; + r.data_validita = adesso; + //r.immagine = co.path_buoni + sBuono.ToString(); + + r.esito_intervento = i.esito_intervento; + r.note_intervento = i.note_intervento; + r.note_esito = i.note_esito; + r.difetti_riscontrati = i.difetti_riscontrati; + r.lavoro_eseguito = i.lavoro_eseguito; + r.nuovo_contratto = i.nuovo_contratto; + r.ore_lavoro = i.ore_lavoro; + r.causale = i.causale; + r.materiale = i.materiale; + r.diritto_chiamata = i.diritto_chiamata; + r.manodopera = i.manodopera; + r.spese_viaggio = i.spese_viaggio; + r.pagamento = i.pagamento; + r.anticipo = i.anticipo; + r.totale = i.totale; + r.note_pagamento = i.note_pagamento; + r.tipo_intervento = i.tipo_intervento; + r.rafoto1 = i.rafoto1; + r.rafoto2 = i.rafoto2; + r.rafoto3 = i.rafoto3; + r.rafoto4 = i.rafoto4; + r.rafoto5 = i.rafoto5; + r.rafoto6 = i.rafoto6; + r.rafoto7 = i.rafoto7; + r.rafoto8 = i.rafoto8; + r.rafoto9 = i.rafoto9; + r.rafoto10 = i.rafoto10; + r.codice_intervento = i.codice_intervento; + r.data_effettiva = i.data_effettiva; + //manca codice giro ? + + //r.immagine = i.immagine; + r.immagine = string.Format(@"{0}\{1}.jpg", co.path_buoni, sBuono.ToString()); + r.ser_buono = sBuono.ToString(); + + + + + return r; + } + private Chiamate_out fillChiamateOut(Chiamate i, string tenant) + { + Chiamate_out o = new Chiamate_out(); + o.chcodazi = i.chcodazi; + o.chserial=i.chserial; + o.chstato = i.chstato; + o.chtchiam = i.chtchiam; + + o.chdtapp = i.chdtapp; + o.choraaPI = i.choraaPI; + o.chminapi = i.chminapi; + o.chnote = i.chnote; + + o.chcodimp = i.chcodimp; + o.csdescr = i.csdescr; + o.antelefo = i.antelefo; + o.andescri = i.andescri; + o.imindiri1 = i.imindiri1; + + o.imindiri2 = i.imindiri2; + o.imindiri3 = i.imindiri3; + o.imindiri4 = i.imindiri4; + o.imindiri5 = i.imindiri5; + o.imlocali = i.imlocali; + o.imrefref = i.imrefref; + //costruisco il campo indirizzo + StringBuilder sb = new StringBuilder(); + + string chiamataIndStampa = string.Empty; + switch (tenant) + { + case Clienti.Marrocco: + #region marrocco + chiamataIndStampa = formattaIndirizzoStampaMarrocco(i); + #endregion + break; + case Clienti.Gitoga: + #region gitoga + chiamataIndStampa = formattaIndirizzoStampaMarrocco(i); + #endregion + break; + case Clienti.Lifta: + #region lifta + chiamataIndStampa = formattaIndirizzoStampaMarrocco(i); + #endregion + break; + case Clienti.Discovery: + #region Discovery + chiamataIndStampa = formattaIndirizzoStampaDiscovery(i); + #endregion + break; + default: + sb.Append("SPETT.LE :"); + sb.Append(!string.IsNullOrEmpty(i.imindiri1) ? i.imindiri1.Trim() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(i.imindiri2) ? i.imindiri2.Trim() + " " : string.Empty ); + sb.Append(i.imindiri3 != null ? i.imindiri3.ToString() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(i.imindiri4) ? i.imindiri4.Trim() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(i.imindiri5) ? i.imindiri5.Trim() : string.Empty); + chiamataIndStampa = sb.ToString(); + break; + } + o.indirizzo_stampa = chiamataIndStampa; + sb.Clear(); + + string chiamataItemList = string.Empty; + switch (tenant) + { + case Clienti.Marrocco: + #region marrocco + chiamataItemList = formattaItemChiamateMarrocco(i); + #endregion + break; + case Clienti.Gitoga: + #region gitoga + chiamataItemList = formattaItemChiamateMarrocco(i); + #endregion + break; + case Clienti.Lifta: + #region lifta + chiamataItemList = formattaItemChiamateMarrocco(i); + #endregion + break; + + default: + #region default + sb.Append(!string.IsNullOrEmpty(i.imindiri1) ? i.imindiri1.Trim() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(i.imindiri2) ? i.imindiri2.Trim() + " " : string.Empty); + sb.Append(i.imindiri3 != null ? i.imindiri3.ToString() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(i.imindiri4) ? i.imindiri4.Trim() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(i.imindiri5) ? i.imindiri5.Trim() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(i.imcodcap) ? " " + i.imcodcap.Trim() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(i.imlocali) ? " " + i.imlocali.Trim() + " " : string.Empty); + + if (!string.IsNullOrEmpty(i.chcodimp)) + { + sb.Append("
"); + sb.Append("Impianto : " + i.chcodimp.Trim()); + } + chiamataItemList = sb.ToString(); + break; + #endregion + } + o.impianto_list = chiamataItemList; + sb.Clear(); + + string rif_impianto = string.Empty; + switch (tenant) + { + case Clienti.Marrocco: + #region marrocco + rif_impianto = formattaRiferimentoImpiantoMarrocco(i); + #endregion + break; + case Clienti.Gitoga: + #region gitoga + rif_impianto = formattaRiferimentoImpiantoMarrocco(i); + #endregion + break; + case Clienti.Lifta: + #region lifta + rif_impianto = formattaRiferimentoImpiantoMarrocco(i); + #endregion + break; + case Clienti.Discovery: + #region discovery + rif_impianto = formattaRiferimentoImpiantoDiscovery(i); + #endregion + break; + case Clienti.Ferrari: + #region ferrari + rif_impianto = formattaRiferimentoImpiantoFerrari(i); + #endregion + break; + + default: + sb.AppendLine("N. Impianto: "+i.chcodimp ); + if(!string.IsNullOrEmpty(i.imubicaz)) + sb.AppendLine("Ubicazione: " + i.imubicaz); + + rif_impianto = sb.ToString(); + break; + } + o.riferimento_impianto = rif_impianto; + sb.Clear(); + + o.imcodcap = i.imcodcap; + o.imcomune = i.imcomune; + o.improvin = i.improvin; + o.imcodnaz = i.imcodnaz; + + o.immatric = i.immatric; + o.imnumimp = i.imnumimp; + o.imubicaz = i.imubicaz; + + o.tcdescri = i.tcdescri; + + o.tccodice = i.tccodice; + o.ser_rapp_ic = i.ser_rapp_ic; + o.tipo_rapp_ic = i.tipo_rapp_ic; + o.ic = i.ic; + o.ser_rapp_rif = i.ser_rapp_rif; + + o.tipo_rapp_rif = i.tipo_rapp_rif; + o.rif = i.rif; + o.ser_rapp_chiu = i.ser_rapp_chiu; + o.tipo_rapp_chiu = i.tipo_rapp_chiu; + o.ser_buono_chiu = i.ser_buono_chiu; + + o.err_title = i.err_title; + o.err_detail = i.err_detail; + o.err_status_code = i.err_status_code; + o.ancodice = i.ancodice; + o.chiamata = i.chiamata; + o.spe_viaggio = i.spe_viaggio; + o.chnumero = i.chnumero; + + Dictionary dic = new Dictionary(); + switch (tenant) + { + case Clienti.Marrocco: + #region marrocco + dic.Add("Esercizio ", !string.IsNullOrEmpty(i.chcodese) ? i.chcodese : String.Empty); + dic.Add("REF ", !string.IsNullOrEmpty(i.imrefref) ? i.imrefref : String.Empty); + dic.Add("Riferimento:", !string.IsNullOrEmpty(i.chrifer) ? i.chrifer : String.Empty); + dic.Add("Telefono rif.:", !string.IsNullOrEmpty(i.chtelef) ? i.chtelef : String.Empty); + + #endregion + break; + + case Clienti.Gitoga: + #region gitoga + dic.Add("Esercizio ", !string.IsNullOrEmpty(i.chcodese) ? i.chcodese : String.Empty); + dic.Add("REF ", !string.IsNullOrEmpty(i.imrefref) ? i.imrefref : String.Empty); + dic.Add("Riferimento:", !string.IsNullOrEmpty(i.chrifer) ? i.chrifer : String.Empty); + dic.Add("Telefono rif.:", !string.IsNullOrEmpty(i.chtelef) ? i.chtelef : String.Empty); + #endregion + break; + + case Clienti.Lifta: + #region lifta + dic.Add("Esercizio ", !string.IsNullOrEmpty(i.chcodese) ? i.chcodese : String.Empty); + dic.Add("REF ", !string.IsNullOrEmpty(i.imrefref) ? i.imrefref : String.Empty); + dic.Add("Riferimento:", !string.IsNullOrEmpty(i.chrifer) ? i.chrifer : String.Empty); + dic.Add("Telefono rif.:", !string.IsNullOrEmpty(i.chtelef) ? i.chtelef : String.Empty); + #endregion + break; + + case Clienti.Ferrari: + #region ferrari + dic.Add("Esercizio", !string.IsNullOrEmpty(i.chcodese) ? i.chcodese : String.Empty); + dic.Add("Tipo", !string.IsNullOrEmpty(i.chtipo) ? i.chtipo : String.Empty); + dic.Add("Numero chiamata", !string.IsNullOrEmpty(i.chnumero.ToString()) ? i.chnumero.ToString() : String.Empty); + dic.Add("Data chiamata", !string.IsNullOrEmpty(i.chdata.ToString()) ? i.chdata.ToString() : String.Empty); + dic.Add("Ora inserimento chiamata", !string.IsNullOrEmpty(i.chora.ToString()) ? i.chora.ToString() : String.Empty); + dic.Add("Min inserimento chiamata", !string.IsNullOrEmpty(i.chmin.ToString()) ? i.chmin.ToString() : String.Empty); + dic.Add("Operatore assegnazione", !string.IsNullOrEmpty(i.chopass.ToString()) ? i.chopass.ToString() : String.Empty); + dic.Add("Operatore chiusura", !string.IsNullOrEmpty(i.chopchi.ToString()) ? i.chopchi.ToString() : String.Empty); + dic.Add("Azienda impianto", !string.IsNullOrEmpty(i.chaziimp) ? i.chaziimp : String.Empty); + dic.Add("Ora appuntamento fine", !string.IsNullOrEmpty(i.choraapf.ToString()) ? i.choraapf.ToString() : String.Empty); + dic.Add("Min appuntamento fine", !string.IsNullOrEmpty(i.chminapf.ToString()) ? i.chminapf.ToString() : String.Empty); + dic.Add("Riferimento chiamata", !string.IsNullOrEmpty(i.chrifer) ? i.chrifer : String.Empty); + dic.Add("Riferimento telefono", !string.IsNullOrEmpty(i.chtelef) ? i.chtelef : String.Empty); + dic.Add("Codice segnalazione", !string.IsNullOrEmpty(i.chcodseg) ? i.chcodseg : String.Empty); + dic.Add("Fermo impianto", !string.IsNullOrEmpty(i.chstopi) ? i.chstopi : String.Empty); + dic.Add("Data assegnazione chiamata", !string.IsNullOrEmpty(i.chdtass.ToString()) ? i.chdtass.ToString() : String.Empty); + dic.Add("Ora assegnazione chiamata", !string.IsNullOrEmpty(i.chorass.ToString()) ? i.chorass.ToString() : String.Empty); + dic.Add("Min assegnazione chiamata", !string.IsNullOrEmpty(i.chminass.ToString()) ? i.chminass.ToString() : String.Empty); + dic.Add("Data chiusura chiamata", !string.IsNullOrEmpty(i.chdtchi.ToString()) ? i.chdtchi.ToString() : String.Empty); + dic.Add("Ora chiusura chiamata", !string.IsNullOrEmpty(i.chorachi.ToString()) ? i.chorachi.ToString() : String.Empty); + dic.Add("Min chiusura chiamata", !string.IsNullOrEmpty(i.chminchi.ToString()) ? i.chminchi.ToString() : String.Empty); + dic.Add("Data inizio intervento", !string.IsNullOrEmpty(i.chdtlin.ToString()) ? i.chdtlin.ToString() : String.Empty); + dic.Add("Ora inizio intervento", !string.IsNullOrEmpty(i.chorali.ToString()) ? i.chorali.ToString() : String.Empty); + dic.Add("Min inizio intervento", !string.IsNullOrEmpty(i.chminli.ToString()) ? i.chminli.ToString() : String.Empty); + dic.Add("Data fine intervento", !string.IsNullOrEmpty(i.chdtlfi.ToString()) ? i.chdtlfi.ToString() : String.Empty); + + dic.Add("Ora fine intervento", !string.IsNullOrEmpty(i.choralf.ToString()) ? i.choralf.ToString() : String.Empty); + dic.Add("Min fine intervento", !string.IsNullOrEmpty(i.chminlf.ToString()) ? i.chminlf.ToString() : String.Empty); + dic.Add("Numero 1 rapportino futuro", !string.IsNullOrEmpty(i.chnrap1.ToString()) ? i.chnrap1.ToString() : String.Empty); + dic.Add("Serie 1 rapportino futuro", !string.IsNullOrEmpty(i.chsrap1) ? i.chsrap1 : String.Empty); + dic.Add("Numero 2 rapportino futuro", !string.IsNullOrEmpty(i.chnrap2.ToString()) ? i.chnrap2.ToString() : String.Empty); + dic.Add("Modalità raccolta chiamata", !string.IsNullOrEmpty(i.chmodrac) ? i.chmodrac : String.Empty); + dic.Add("Numero chiamata per impianto per anno", !string.IsNullOrEmpty(i.chprgann.ToString()) ? i.chprgann.ToString() : String.Empty); + dic.Add("Importo manodopera", !string.IsNullOrEmpty(i.chimpman.ToString()) ? i.chimpman.ToString() : String.Empty); + dic.Add("Percentuale manodopera", !string.IsNullOrEmpty(i.chperman.ToString()) ? i.chperman.ToString() : String.Empty); + dic.Add("Stampa manodopera", !string.IsNullOrEmpty(i.chflstim) ? i.chflstim : String.Empty); + dic.Add("Chiusura da remoto", !string.IsNullOrEmpty(i.chfleste) ? i.chfleste : String.Empty); + dic.Add("Riferimento seriale importazione", !string.IsNullOrEmpty(i.chserext) ? i.chserext : String.Empty); + dic.Add("Descrizione impianto", !string.IsNullOrEmpty(i.imdescri) ? i.imdescri : String.Empty); + dic.Add("Tipo impianto", !string.IsNullOrEmpty(i.imtipoim) ? i.imtipoim : String.Empty); + dic.Add("Matricola impianto ", !string.IsNullOrEmpty(i.immatric) ? i.immatric : String.Empty); + dic.Add("Numero impianto ", !string.IsNullOrEmpty(i.imnumimp) ? i.imnumimp : String.Empty); + dic.Add("Ultimo amministratore ", !string.IsNullOrEmpty(i.imultamm) ? i.imultamm : String.Empty); + dic.Add("Desc Ultimo amministratore ", !string.IsNullOrEmpty(i.imultdam) ? i.imultdam : String.Empty); + dic.Add("Telefono Ult. Amministratore", !string.IsNullOrEmpty(i.imulttam) ? i.imulttam : String.Empty); + + + dic.Add("Ubicazione impianto", !string.IsNullOrEmpty(i.imubicaz) ? i.imubicaz : String.Empty); + dic.Add("Zona manutenzione", !string.IsNullOrEmpty(i.imzonman) ? i.imzonman : String.Empty); + dic.Add("Pubblico/privato", !string.IsNullOrEmpty(i.imflpupr) ? i.imflpupr : String.Empty); + dic.Add("Zona chiamate", !string.IsNullOrEmpty(i.imzonchi) ? i.imzonchi : String.Empty); + dic.Add("Zona supervisione", !string.IsNullOrEmpty(i.imzonsup) ? i.imzonsup : String.Empty); + dic.Add("Data inizio manutenzione", i.imdainma != null ? i.imdainma.ToString() : String.Empty); + dic.Add("Data fine manutenzione", !string.IsNullOrEmpty(i.imdafima.ToString()) ? i.imdafima.ToString() : String.Empty); + dic.Add("Data costruzione", !string.IsNullOrEmpty(i.imdatcos.ToString()) ? i.imdatcos.ToString() : String.Empty); + dic.Add("Numero telesoccorso ", !string.IsNullOrEmpty(i.imteleso) ? i.imteleso : String.Empty); + dic.Add("Email cliente", !string.IsNullOrEmpty(i.an_email) ? i.an_email : String.Empty); + dic.Add("Ultimo cliente", !string.IsNullOrEmpty(i.an_email) ? i.an_email : String.Empty); + dic.Add("Codice cliente", !string.IsNullOrEmpty(i.ancodice) ? i.ancodice : String.Empty); + dic.Add("Tipo anagrafica", !string.IsNullOrEmpty(i.antipcon) ? i.antipcon : String.Empty); + #endregion + break; + case Clienti.Sicilia: + #region sicilia + dic.Add("Esercizio", !string.IsNullOrEmpty(i.chcodese) ? i.chcodese : String.Empty); + dic.Add("Tipo", !string.IsNullOrEmpty(i.chtipo) ? i.chtipo : String.Empty); + dic.Add("Numero chiamata", !string.IsNullOrEmpty( i.chnumero.ToString()) ? i.chnumero.ToString() : String.Empty); + dic.Add("Data chiamata", !string.IsNullOrEmpty(i.chdata.ToString()) ? i.chdata.ToString() : String.Empty); + dic.Add("Ora inserimento chiamata", !string.IsNullOrEmpty(i.chora.ToString()) ? i.chora.ToString() : String.Empty); + dic.Add("Min inserimento chiamata", !string.IsNullOrEmpty(i.chmin.ToString()) ? i.chmin.ToString() : String.Empty); + dic.Add("Operatore assegnazione", !string.IsNullOrEmpty(i.chopass.ToString()) ? i.chopass.ToString() : String.Empty); + dic.Add("Operatore chiusura", !string.IsNullOrEmpty(i.chopchi.ToString()) ? i.chopchi.ToString() : String.Empty); + dic.Add("Azienda impianto", !string.IsNullOrEmpty(i.chaziimp) ? i.chaziimp : String.Empty); + dic.Add("Ora appuntamento fine", !string.IsNullOrEmpty(i.choraapf.ToString()) ? i.choraapf.ToString() : String.Empty); + dic.Add("Min appuntamento fine", !string.IsNullOrEmpty(i.chminapf.ToString()) ? i.chminapf.ToString() : String.Empty); + dic.Add("Riferimento chiamata", !string.IsNullOrEmpty(i.chrifer) ? i.chrifer : String.Empty); + dic.Add("Riferimento telefono", !string.IsNullOrEmpty(i.chtelef) ? i.chtelef : String.Empty); + dic.Add("Codice segnalazione", !string.IsNullOrEmpty(i.chcodseg) ? i.chcodseg : String.Empty); + dic.Add("Fermo impianto", !string.IsNullOrEmpty(i.chstopi) ? i.chstopi : String.Empty); + dic.Add("Data assegnazione chiamata", !string.IsNullOrEmpty(i.chdtass.ToString()) ? i.chdtass.ToString() : String.Empty); + dic.Add("Ora assegnazione chiamata", !string.IsNullOrEmpty(i.chorass.ToString()) ? i.chorass.ToString() : String.Empty); + dic.Add("Min assegnazione chiamata", !string.IsNullOrEmpty(i.chminass.ToString()) ? i.chminass.ToString() : String.Empty); + dic.Add("Data chiusura chiamata", !string.IsNullOrEmpty(i.chdtchi.ToString()) ? i.chdtchi.ToString() : String.Empty); + dic.Add("Ora chiusura chiamata", !string.IsNullOrEmpty(i.chorachi.ToString()) ? i.chorachi.ToString() : String.Empty); + dic.Add("Min chiusura chiamata", !string.IsNullOrEmpty(i.chminchi.ToString()) ? i.chminchi.ToString() : String.Empty); + dic.Add("Data inizio intervento", !string.IsNullOrEmpty(i.chdtlin.ToString()) ? i.chdtlin.ToString() : String.Empty); + dic.Add("Ora inizio intervento", !string.IsNullOrEmpty(i.chorali.ToString()) ? i.chorali.ToString() : String.Empty); + dic.Add("Min inizio intervento", !string.IsNullOrEmpty(i.chminli.ToString()) ? i.chminli.ToString() : String.Empty); + dic.Add("Data fine intervento", !string.IsNullOrEmpty(i.chdtlfi.ToString()) ? i.chdtlfi.ToString() : String.Empty); + + dic.Add("Ora fine intervento", !string.IsNullOrEmpty(i.choralf.ToString()) ? i.choralf.ToString() : String.Empty); + dic.Add("Min fine intervento", !string.IsNullOrEmpty(i.chminlf.ToString()) ? i.chminlf.ToString() : String.Empty); + dic.Add("Numero 1 rapportino futuro", !string.IsNullOrEmpty(i.chnrap1.ToString()) ? i.chnrap1.ToString() : String.Empty); + dic.Add("Serie 1 rapportino futuro", !string.IsNullOrEmpty(i.chsrap1) ? i.chsrap1 : String.Empty); + dic.Add("Numero 2 rapportino futuro", !string.IsNullOrEmpty(i.chnrap2.ToString()) ? i.chnrap2.ToString() : String.Empty); + dic.Add("Modalità raccolta chiamata", !string.IsNullOrEmpty(i.chmodrac) ? i.chmodrac : String.Empty); + dic.Add("Numero chiamata per impianto per anno", !string.IsNullOrEmpty(i.chprgann.ToString()) ? i.chprgann.ToString() : String.Empty); + dic.Add("Importo manodopera", !string.IsNullOrEmpty(i.chimpman.ToString()) ? i.chimpman.ToString() : String.Empty); + dic.Add("Percentuale manodopera", !string.IsNullOrEmpty(i.chperman.ToString()) ? i.chperman.ToString() : String.Empty); + dic.Add("Stampa manodopera", !string.IsNullOrEmpty(i.chflstim) ? i.chflstim : String.Empty); + dic.Add("Chiusura da remoto", !string.IsNullOrEmpty(i.chfleste) ? i.chfleste : String.Empty); + dic.Add("Riferimento seriale importazione", !string.IsNullOrEmpty(i.chserext) ? i.chserext : String.Empty); + dic.Add("Descrizione impianto", !string.IsNullOrEmpty(i.imdescri) ? i.imdescri : String.Empty); + dic.Add("Tipo impianto", !string.IsNullOrEmpty(i.imtipoim) ? i.imtipoim : String.Empty); + dic.Add("Matricola impianto ", !string.IsNullOrEmpty(i.immatric) ? i.immatric : String.Empty); + dic.Add("Numero impianto ", !string.IsNullOrEmpty(i.imnumimp) ? i.imnumimp : String.Empty); + dic.Add("Ultimo amministratore ", !string.IsNullOrEmpty(i.imultamm) ? i.imultamm : String.Empty); + dic.Add("Desc Ultimo amministratore ", !string.IsNullOrEmpty(i.imultdam) ? i.imultdam : String.Empty); + dic.Add("Telefono Ult. Amministratore", !string.IsNullOrEmpty(i.imulttam) ? i.imulttam : String.Empty); + + + dic.Add("Ubicazione impianto", !string.IsNullOrEmpty(i.imubicaz) ? i.imubicaz : String.Empty); + dic.Add("Zona manutenzione", !string.IsNullOrEmpty(i.imzonman) ? i.imzonman : String.Empty); + dic.Add("Pubblico/privato", !string.IsNullOrEmpty(i.imflpupr) ? i.imflpupr : String.Empty); + dic.Add("Zona chiamate", !string.IsNullOrEmpty(i.imzonchi) ? i.imzonchi : String.Empty); + dic.Add("Zona supervisione", !string.IsNullOrEmpty(i.imzonsup) ? i.imzonsup : String.Empty); + dic.Add("Data inizio manutenzione", i.imdainma !=null ? i.imdainma.ToString() : String.Empty); + dic.Add("Data fine manutenzione", !string.IsNullOrEmpty(i.imdafima.ToString()) ? i.imdafima.ToString() : String.Empty); + dic.Add("Data costruzione", !string.IsNullOrEmpty(i.imdatcos.ToString()) ? i.imdatcos.ToString() : String.Empty); + dic.Add("Numero telesoccorso ", !string.IsNullOrEmpty(i.imteleso) ? i.imteleso : String.Empty); + dic.Add("Email cliente", !string.IsNullOrEmpty(i.an_email) ? i.an_email : String.Empty); + dic.Add("Ultimo cliente", !string.IsNullOrEmpty(i.an_email) ? i.an_email : String.Empty); + dic.Add("Codice cliente", !string.IsNullOrEmpty(i.ancodice) ? i.ancodice : String.Empty); + dic.Add("Tipo anagrafica", !string.IsNullOrEmpty(i.antipcon) ? i.antipcon : String.Empty); + #endregion + + break; + case Clienti.Discovery: + #region discovery + dic.Add("Esercizio", !string.IsNullOrEmpty(i.chcodese) ? i.chcodese : String.Empty); + dic.Add("Tipo", !string.IsNullOrEmpty(i.chtipo) ? i.chtipo : String.Empty); + dic.Add("Numero chiamata", !string.IsNullOrEmpty(i.chnumero.ToString()) ? i.chnumero.ToString() : String.Empty); + dic.Add("Data chiamata", !string.IsNullOrEmpty(i.chdata.ToString()) ? i.chdata.ToString() : String.Empty); + dic.Add("Ora inserimento chiamata", !string.IsNullOrEmpty(i.chora.ToString()) ? i.chora.ToString() : String.Empty); + dic.Add("Min inserimento chiamata", !string.IsNullOrEmpty(i.chmin.ToString()) ? i.chmin.ToString() : String.Empty); + dic.Add("Operatore assegnazione", !string.IsNullOrEmpty(i.chopass.ToString()) ? i.chopass.ToString() : String.Empty); + dic.Add("Operatore chiusura", !string.IsNullOrEmpty(i.chopchi.ToString()) ? i.chopchi.ToString() : String.Empty); + dic.Add("Azienda impianto", !string.IsNullOrEmpty(i.chaziimp) ? i.chaziimp : String.Empty); + dic.Add("Ora appuntamento fine", !string.IsNullOrEmpty(i.choraapf.ToString()) ? i.choraapf.ToString() : String.Empty); + dic.Add("Min appuntamento fine", !string.IsNullOrEmpty(i.chminapf.ToString()) ? i.chminapf.ToString() : String.Empty); + dic.Add("Riferimento chiamata", !string.IsNullOrEmpty(i.chrifer) ? i.chrifer : String.Empty); + dic.Add("Riferimento telefono", !string.IsNullOrEmpty(i.chtelef) ? i.chtelef : String.Empty); + dic.Add("Codice segnalazione", !string.IsNullOrEmpty(i.chcodseg) ? i.chcodseg : String.Empty); + dic.Add("Fermo impianto", !string.IsNullOrEmpty(i.chstopi) ? i.chstopi : String.Empty); + dic.Add("Data assegnazione chiamata", !string.IsNullOrEmpty(i.chdtass.ToString()) ? i.chdtass.ToString() : String.Empty); + dic.Add("Ora assegnazione chiamata", !string.IsNullOrEmpty(i.chorass.ToString()) ? i.chorass.ToString() : String.Empty); + dic.Add("Min assegnazione chiamata", !string.IsNullOrEmpty(i.chminass.ToString()) ? i.chminass.ToString() : String.Empty); + dic.Add("Data chiusura chiamata", !string.IsNullOrEmpty(i.chdtchi.ToString()) ? i.chdtchi.ToString() : String.Empty); + dic.Add("Ora chiusura chiamata", !string.IsNullOrEmpty(i.chorachi.ToString()) ? i.chorachi.ToString() : String.Empty); + dic.Add("Min chiusura chiamata", !string.IsNullOrEmpty(i.chminchi.ToString()) ? i.chminchi.ToString() : String.Empty); + dic.Add("Data inizio intervento", !string.IsNullOrEmpty(i.chdtlin.ToString()) ? i.chdtlin.ToString() : String.Empty); + dic.Add("Ora inizio intervento", !string.IsNullOrEmpty(i.chorali.ToString()) ? i.chorali.ToString() : String.Empty); + dic.Add("Min inizio intervento", !string.IsNullOrEmpty(i.chminli.ToString()) ? i.chminli.ToString() : String.Empty); + dic.Add("Data fine intervento", !string.IsNullOrEmpty(i.chdtlfi.ToString()) ? i.chdtlfi.ToString() : String.Empty); + + dic.Add("Ora fine intervento", !string.IsNullOrEmpty(i.choralf.ToString()) ? i.choralf.ToString() : String.Empty); + dic.Add("Min fine intervento", !string.IsNullOrEmpty(i.chminlf.ToString()) ? i.chminlf.ToString() : String.Empty); + dic.Add("Numero 1 rapportino futuro", !string.IsNullOrEmpty(i.chnrap1.ToString()) ? i.chnrap1.ToString() : String.Empty); + dic.Add("Serie 1 rapportino futuro", !string.IsNullOrEmpty(i.chsrap1) ? i.chsrap1 : String.Empty); + dic.Add("Numero 2 rapportino futuro", !string.IsNullOrEmpty(i.chnrap2.ToString()) ? i.chnrap2.ToString() : String.Empty); + dic.Add("Modalità raccolta chiamata", !string.IsNullOrEmpty(i.chmodrac) ? i.chmodrac : String.Empty); + dic.Add("Numero chiamata per impianto per anno", !string.IsNullOrEmpty(i.chprgann.ToString()) ? i.chprgann.ToString() : String.Empty); + dic.Add("Importo manodopera", !string.IsNullOrEmpty(i.chimpman.ToString()) ? i.chimpman.ToString() : String.Empty); + dic.Add("Percentuale manodopera", !string.IsNullOrEmpty(i.chperman.ToString()) ? i.chperman.ToString() : String.Empty); + dic.Add("Stampa manodopera", !string.IsNullOrEmpty(i.chflstim) ? i.chflstim : String.Empty); + dic.Add("Chiusura da remoto", !string.IsNullOrEmpty(i.chfleste) ? i.chfleste : String.Empty); + dic.Add("Riferimento seriale importazione", !string.IsNullOrEmpty(i.chserext) ? i.chserext : String.Empty); + dic.Add("Descrizione impianto", !string.IsNullOrEmpty(i.imdescri) ? i.imdescri : String.Empty); + dic.Add("Tipo impianto", !string.IsNullOrEmpty(i.imtipoim) ? i.imtipoim : String.Empty); + dic.Add("Matricola impianto ", !string.IsNullOrEmpty(i.immatric) ? i.immatric : String.Empty); + dic.Add("Numero impianto ", !string.IsNullOrEmpty(i.imnumimp) ? i.imnumimp : String.Empty); + dic.Add("Ultimo amministratore ", !string.IsNullOrEmpty(i.imultamm) ? i.imultamm : String.Empty); + dic.Add("Desc Ultimo amministratore ", !string.IsNullOrEmpty(i.imultdam) ? i.imultdam : String.Empty); + dic.Add("Telefono Ult. Amministratore", !string.IsNullOrEmpty(i.imulttam) ? i.imulttam : String.Empty); + + + dic.Add("Ubicazione impianto", !string.IsNullOrEmpty(i.imubicaz) ? i.imubicaz : String.Empty); + dic.Add("Zona manutenzione", !string.IsNullOrEmpty(i.imzonman) ? i.imzonman : String.Empty); + dic.Add("Pubblico/privato", !string.IsNullOrEmpty(i.imflpupr) ? i.imflpupr : String.Empty); + dic.Add("Zona chiamate", !string.IsNullOrEmpty(i.imzonchi) ? i.imzonchi : String.Empty); + dic.Add("Zona supervisione", !string.IsNullOrEmpty(i.imzonsup) ? i.imzonsup : String.Empty); + dic.Add("Data inizio manutenzione", i.imdainma != null ? i.imdainma.ToString() : String.Empty); + dic.Add("Data fine manutenzione", !string.IsNullOrEmpty(i.imdafima.ToString()) ? i.imdafima.ToString() : String.Empty); + dic.Add("Data costruzione", !string.IsNullOrEmpty(i.imdatcos.ToString()) ? i.imdatcos.ToString() : String.Empty); + dic.Add("Numero telesoccorso ", !string.IsNullOrEmpty(i.imteleso) ? i.imteleso : String.Empty); + dic.Add("Email cliente", !string.IsNullOrEmpty(i.an_email) ? i.an_email : String.Empty); + dic.Add("Ultimo cliente", !string.IsNullOrEmpty(i.an_email) ? i.an_email : String.Empty); + dic.Add("Codice cliente", !string.IsNullOrEmpty(i.ancodice) ? i.ancodice : String.Empty); + dic.Add("Tipo anagrafica", !string.IsNullOrEmpty(i.antipcon) ? i.antipcon : String.Empty); + #endregion + break; + + case Clienti.Sarom: + #region Sarom + dic.Add("Esercizio", !string.IsNullOrEmpty(i.chcodese) ? i.chcodese : String.Empty); + dic.Add("Tipo", !string.IsNullOrEmpty(i.chtipo) ? i.chtipo : String.Empty); + dic.Add("Numero chiamata", !string.IsNullOrEmpty(i.chnumero.ToString()) ? i.chnumero.ToString() : String.Empty); + dic.Add("Data chiamata", !string.IsNullOrEmpty(i.chdata.ToString()) ? i.chdata.ToString() : String.Empty); + dic.Add("Ora inserimento chiamata", !string.IsNullOrEmpty(i.chora.ToString()) ? i.chora.ToString() : String.Empty); + dic.Add("Min inserimento chiamata", !string.IsNullOrEmpty(i.chmin.ToString()) ? i.chmin.ToString() : String.Empty); + dic.Add("Operatore assegnazione", !string.IsNullOrEmpty(i.chopass.ToString()) ? i.chopass.ToString() : String.Empty); + dic.Add("Operatore chiusura", !string.IsNullOrEmpty(i.chopchi.ToString()) ? i.chopchi.ToString() : String.Empty); + dic.Add("Azienda impianto", !string.IsNullOrEmpty(i.chaziimp) ? i.chaziimp : String.Empty); + dic.Add("Ora appuntamento fine", !string.IsNullOrEmpty(i.choraapf.ToString()) ? i.choraapf.ToString() : String.Empty); + dic.Add("Min appuntamento fine", !string.IsNullOrEmpty(i.chminapf.ToString()) ? i.chminapf.ToString() : String.Empty); + dic.Add("Riferimento chiamata", !string.IsNullOrEmpty(i.chrifer) ? i.chrifer : String.Empty); + dic.Add("Riferimento telefono", !string.IsNullOrEmpty(i.chtelef) ? i.chtelef : String.Empty); + dic.Add("Codice segnalazione", !string.IsNullOrEmpty(i.chcodseg) ? i.chcodseg : String.Empty); + dic.Add("Fermo impianto", !string.IsNullOrEmpty(i.chstopi) ? i.chstopi : String.Empty); + dic.Add("Data assegnazione chiamata", !string.IsNullOrEmpty(i.chdtass.ToString()) ? i.chdtass.ToString() : String.Empty); + dic.Add("Ora assegnazione chiamata", !string.IsNullOrEmpty(i.chorass.ToString()) ? i.chorass.ToString() : String.Empty); + dic.Add("Min assegnazione chiamata", !string.IsNullOrEmpty(i.chminass.ToString()) ? i.chminass.ToString() : String.Empty); + dic.Add("Data chiusura chiamata", !string.IsNullOrEmpty(i.chdtchi.ToString()) ? i.chdtchi.ToString() : String.Empty); + dic.Add("Ora chiusura chiamata", !string.IsNullOrEmpty(i.chorachi.ToString()) ? i.chorachi.ToString() : String.Empty); + dic.Add("Min chiusura chiamata", !string.IsNullOrEmpty(i.chminchi.ToString()) ? i.chminchi.ToString() : String.Empty); + dic.Add("Data inizio intervento", !string.IsNullOrEmpty(i.chdtlin.ToString()) ? i.chdtlin.ToString() : String.Empty); + dic.Add("Ora inizio intervento", !string.IsNullOrEmpty(i.chorali.ToString()) ? i.chorali.ToString() : String.Empty); + dic.Add("Min inizio intervento", !string.IsNullOrEmpty(i.chminli.ToString()) ? i.chminli.ToString() : String.Empty); + dic.Add("Data fine intervento", !string.IsNullOrEmpty(i.chdtlfi.ToString()) ? i.chdtlfi.ToString() : String.Empty); + + dic.Add("Ora fine intervento", !string.IsNullOrEmpty(i.choralf.ToString()) ? i.choralf.ToString() : String.Empty); + dic.Add("Min fine intervento", !string.IsNullOrEmpty(i.chminlf.ToString()) ? i.chminlf.ToString() : String.Empty); + dic.Add("Numero 1 rapportino futuro", !string.IsNullOrEmpty(i.chnrap1.ToString()) ? i.chnrap1.ToString() : String.Empty); + dic.Add("Serie 1 rapportino futuro", !string.IsNullOrEmpty(i.chsrap1) ? i.chsrap1 : String.Empty); + dic.Add("Numero 2 rapportino futuro", !string.IsNullOrEmpty(i.chnrap2.ToString()) ? i.chnrap2.ToString() : String.Empty); + dic.Add("Modalità raccolta chiamata", !string.IsNullOrEmpty(i.chmodrac) ? i.chmodrac : String.Empty); + dic.Add("Numero chiamata per impianto per anno", !string.IsNullOrEmpty(i.chprgann.ToString()) ? i.chprgann.ToString() : String.Empty); + dic.Add("Importo manodopera", !string.IsNullOrEmpty(i.chimpman.ToString()) ? i.chimpman.ToString() : String.Empty); + dic.Add("Percentuale manodopera", !string.IsNullOrEmpty(i.chperman.ToString()) ? i.chperman.ToString() : String.Empty); + dic.Add("Stampa manodopera", !string.IsNullOrEmpty(i.chflstim) ? i.chflstim : String.Empty); + dic.Add("Chiusura da remoto", !string.IsNullOrEmpty(i.chfleste) ? i.chfleste : String.Empty); + dic.Add("Riferimento seriale importazione", !string.IsNullOrEmpty(i.chserext) ? i.chserext : String.Empty); + dic.Add("Descrizione impianto", !string.IsNullOrEmpty(i.imdescri) ? i.imdescri : String.Empty); + dic.Add("Tipo impianto", !string.IsNullOrEmpty(i.imtipoim) ? i.imtipoim : String.Empty); + dic.Add("Matricola impianto ", !string.IsNullOrEmpty(i.immatric) ? i.immatric : String.Empty); + dic.Add("Numero impianto ", !string.IsNullOrEmpty(i.imnumimp) ? i.imnumimp : String.Empty); + dic.Add("Ultimo amministratore ", !string.IsNullOrEmpty(i.imultamm) ? i.imultamm : String.Empty); + dic.Add("Desc Ultimo amministratore ", !string.IsNullOrEmpty(i.imultdam) ? i.imultdam : String.Empty); + dic.Add("Telefono Ult. Amministratore", !string.IsNullOrEmpty(i.imulttam) ? i.imulttam : String.Empty); + + + dic.Add("Ubicazione impianto", !string.IsNullOrEmpty(i.imubicaz) ? i.imubicaz : String.Empty); + dic.Add("Zona manutenzione", !string.IsNullOrEmpty(i.imzonman) ? i.imzonman : String.Empty); + dic.Add("Pubblico/privato", !string.IsNullOrEmpty(i.imflpupr) ? i.imflpupr : String.Empty); + dic.Add("Zona chiamate", !string.IsNullOrEmpty(i.imzonchi) ? i.imzonchi : String.Empty); + dic.Add("Zona supervisione", !string.IsNullOrEmpty(i.imzonsup) ? i.imzonsup : String.Empty); + dic.Add("Data inizio manutenzione", i.imdainma != null ? i.imdainma.ToString() : String.Empty); + dic.Add("Data fine manutenzione", !string.IsNullOrEmpty(i.imdafima.ToString()) ? i.imdafima.ToString() : String.Empty); + dic.Add("Data costruzione", !string.IsNullOrEmpty(i.imdatcos.ToString()) ? i.imdatcos.ToString() : String.Empty); + dic.Add("Numero telesoccorso ", !string.IsNullOrEmpty(i.imteleso) ? i.imteleso : String.Empty); + dic.Add("Email cliente", !string.IsNullOrEmpty(i.an_email) ? i.an_email : String.Empty); + dic.Add("Ultimo cliente", !string.IsNullOrEmpty(i.an_email) ? i.an_email : String.Empty); + dic.Add("Codice cliente", !string.IsNullOrEmpty(i.ancodice) ? i.ancodice : String.Empty); + dic.Add("Tipo anagrafica", !string.IsNullOrEmpty(i.antipcon) ? i.antipcon : String.Empty); + #endregion + break; + + default: + + break; + } + o.altri = dic; + + o.imazirif = i.imazirif; + o.imrefref = i.imrefref; + return o; + } + + /// Codici di chiusura per scheda intevento return:ActionResult + [HttpGet("codici_chiusura")] + public async Task>> codiciChiusura(string token) + { + try + { + string ten = getClaimValueByToken(token, "tenant"); + + switch (ten) + { + case Clienti.VT: + _chiusure = _VT_chiu.Chiu; + ten = getClaimValueByToken(token, "tenant2"); + + break; + default: + _chiusure = getChiusureByTenant(ten); + break; + } + + var l = await _chiusure.Where(c => c.cccodazi.Equals(ten)).ToListAsync(); + return StatusCode(StatusCodes.Status200OK, l); + } + catch (Exception ex) + { + string err = "Errore: " + ex.Message; + return StatusCode(StatusCodes.Status500InternalServerError, err); + } + + } + + /// Chiamate per tecnico e azienda (tenant) in stato C=Assegnate return:ActionResult + [HttpGet("chiamate")] + public async Task>> chiamate(string token) + { + try + { + List ilist = new List(); + string ten = getClaimValueByToken(token, "tenant"); + string tecnico = getClaimValueByToken(token, "tccodice"); + + switch (ten) + { + case Clienti.VT: + _chiamate = _VT_chia.Chiamate; + ten = getClaimValueByToken(token, "tenant2"); + + break; + default: + _chiamate = getChiamateByTenant(ten); + break; + } + + + + var calltec = await _chiamate.Where( + t => t.tccodice == tecnico + && t.chcodazi == ten + ).OrderByDescending(t => t.chdtapp).ToListAsync(); + + foreach (Chiamate ch in calltec) + { + Chiamate_out o = new Chiamate_out(); + o = fillChiamateOut(ch, ten); + ilist.Add(o); + } + // cerco le chiamate che devo fare per sostituzioni SE funzione abilitata + bool cerca_sostituzioni = false; + cerca_sostituzioni = checkSostituzioneAbilitata(ten); + if (cerca_sostituzioni) + { + //step 1 : trovo tutte le MIE sostituzioni + _sostituzione = getSostituzioneByTenant(ten); + var s = _sostituzione.Where(t => t.tscodazi.Equals(ten) && t.tscodsos.Trim().Equals(tecnico)); + foreach (Sostituzione ss in s) + { + string tecnico_sostituito = string.Empty; + tecnico_sostituito = ss.tscodtec != null ? ss.tscodtec : string.Empty; + + //2023-03-13: cancellato il filtro sulla zona perchè il tecnico che sostituisce spesso è di un'altra zona + //string zona = string.Empty; + //zona = ss.tscodzon != null ? ss.tscodzon : "zonavuota"; + + //step 2 : trovo tutte le chiamate del tecnico che sto sostitutendo e le aggiungo alla mie + var calltecSost = await _chiamate.Where( + t => t.tccodice == tecnico_sostituito + && t.chcodazi == ten + //&& t.imzonchi.Equals(zona) + ).OrderByDescending(t => t.chdtapp).ToListAsync(); + foreach (Chiamate ch in calltecSost) + { + Chiamate_out o = new Chiamate_out(); + o = fillChiamateOut(ch, ten); + ilist.Add(o); + } + } + } + + IEnumerable enumerable = ilist as IEnumerable; + + //return StatusCode(StatusCodes.Status200OK, enumerable.Take(100)); + return StatusCode(StatusCodes.Status200OK, enumerable); + } + catch (Exception ex) + { + string err = "Errore: " + ex.Message; + return StatusCode(StatusCodes.Status500InternalServerError, err); + } + } + + /// presaInCarico: 1) crea un nuovo seriale per RAPP_NEW 2)inserisce il primo record di una presa in carico su RAPP_NEW return:ActionResult + [HttpPost] + [Route("chiamate/prendi_in_carico")] + public async Task> prendiInCarico([FromBody] Input model, string token) + { + string ten = getClaimValueByToken(token, "tenant"); + string ten2 = getClaimValueByToken(token, "tenant2"); + Chiamate calltec=new Chiamate(); + Chiamate_out calltec_out = new Chiamate_out(); + + try + { + if (await checkChiamataPresa(ten, model.seriale_chiamata,TipoRapportino.PresaInCarico,ten2) ==0) + { + + _confLette = await readConf(ten); + string newSerial = string.Empty; + newSerial = await getSeriale(token); + Rapp_New r = await fillRappNewByInput(model, token, newSerial, _confLette); + switch (ten) + { + case Clienti.Marrocco: + using (var transaction = _Marro_rapp.Database.BeginTransaction()) + { + await _Marro_rapp.Rapps.AddAsync(r); + await _Marro_rapp.SaveChangesAsync(); + transaction.Commit(); + } + break; + case Clienti.Ferrari: + using (var transaction = _Ferra_rapp.Database.BeginTransaction()) + { + await _Ferra_rapp.Rapps.AddAsync(r); + await _Ferra_rapp.SaveChangesAsync(); + transaction.Commit(); + } + break; + case Clienti.Sicilia: + using (var transaction = _Sicilia_rapp.Database.BeginTransaction()) + { + await _Sicilia_rapp.Rapps.AddAsync(r); + await _Sicilia_rapp.SaveChangesAsync(); + transaction.Commit(); + } + break; + case Clienti.Discovery: + using (var transaction = _Disco_rapp.Database.BeginTransaction()) + { + await _Disco_rapp.Rapps.AddAsync(r); + await _Disco_rapp.SaveChangesAsync(); + transaction.Commit(); + } + break; + case Clienti.Sarom: + using (var transaction = _Sarom_rapp.Database.BeginTransaction()) + { + await _Sarom_rapp.Rapps.AddAsync(r); + await _Sarom_rapp.SaveChangesAsync(); + transaction.Commit(); + } + break; + case Clienti.Gitoga: + using (var transactionGit = _Gitoga_rapp.Database.BeginTransaction()) + { + await _Gitoga_rapp.Rapps.AddAsync(r); + await _Gitoga_rapp.SaveChangesAsync(); + transactionGit.Commit(); + } + break; + case Clienti.Lifta: + using (var transactionLif = _Lifta_rapp.Database.BeginTransaction()) + { + await _Lifta_rapp.Rapps.AddAsync(r); + await _Lifta_rapp.SaveChangesAsync(); + transactionLif.Commit(); + } + break; + case Clienti.Siet: + using (var transactionSiet = _Siet_rapp.Database.BeginTransaction()) + { + await _Siet_rapp.Rapps.AddAsync(r); + await _Siet_rapp.SaveChangesAsync(); + transactionSiet.Commit(); + } + break; + case Clienti.PMS: + using (var transactionPMS = _Pms_rapp.Database.BeginTransaction()) + { + await _Pms_rapp.Rapps.AddAsync(r); + await _Pms_rapp.SaveChangesAsync(); + transactionPMS.Commit(); + } + break; + case Clienti.VT: + using (var transactionVT = _VT_rapptable.Database.BeginTransaction()) + { + await _VT_rapptable.Rapps.AddAsync(r); + await _VT_rapptable.SaveChangesAsync(); + transactionVT.Commit(); + } + break; + default: + break; + } + //restituisco la chiamata + calltec = await getChiamataBySerial(model.seriale_chiamata, token); + calltec_out = fillChiamateOut(calltec, ten); + calltec.err_status_code = StatiRisposta.Ok; + + } + else + { + calltec_out.err_title = "Impossibile prendere in carico la chiamata"; + calltec_out.err_detail = "Chiamata precendentemente presa in carico: " + model.seriale_chiamata; + calltec_out.err_status_code = StatiRisposta.OperazioneNonAmmessa; + } + return StatusCode(StatusCodes.Status200OK, calltec_out); + } + catch (Exception ex) + { + string errmsg = ex.InnerException != null ? ex.InnerException.Message : ex.Message; + calltec_out.err_title = ex.Message; + calltec_out.err_detail = errmsg; + calltec_out.err_status_code = StatiRisposta.ErroreInterno; + return StatusCode(StatusCodes.Status500InternalServerError, calltec_out); + } + + } + + /// rifiuta: 1) crea un nuovo seriale per RAPP_NEW 2)inserisce record su RAPP_NEW con INCARICO=N e RIFIUTATA=S return:ActionResult + [HttpPost] + [Route("chiamate/rifiuta")] + public async Task> rifiuta([FromBody] Input model, string token) + { + string ten = getClaimValueByToken(token, "tenant"); + string ten2 = getClaimValueByToken(token, "tenant2"); + Chiamate calltec = new Chiamate(); + Chiamate_out calltec_out = new Chiamate_out(); + + try + { + if (await checkChiamataRifiutata(ten, model.seriale_chiamata, TipoRapportino.PresaInCarico,ten2) == 0) + { + //_confLette = await readConf(ten); + string newSerial = string.Empty; + newSerial = await getSeriale(token); + Rapp_New r = await fillRappNewRifiutoByInput(model, token, newSerial, _confLette); + + switch (ten) + { + case Clienti.Marrocco: + using (var transaction = _Marro_rapp.Database.BeginTransaction()) + { + await _Marro_rapp.Rapps.AddAsync(r); + await _Marro_rapp.SaveChangesAsync(); + transaction.Commit(); + } + break; + case Clienti.Ferrari: + using (var transaction = _Ferra_rapp.Database.BeginTransaction()) + { + await _Ferra_rapp.Rapps.AddAsync(r); + await _Ferra_rapp.SaveChangesAsync(); + transaction.Commit(); + } + + break; + case Clienti.Sicilia: + using (var transaction = _Sicilia_rapp.Database.BeginTransaction()) + { + await _Sicilia_rapp.Rapps.AddAsync(r); + await _Sicilia_rapp.SaveChangesAsync(); + transaction.Commit(); + } + break; + case Clienti.Discovery: + using (var transaction = _Disco_rapp.Database.BeginTransaction()) + { + await _Disco_rapp.Rapps.AddAsync(r); + await _Disco_rapp.SaveChangesAsync(); + transaction.Commit(); + } + break; + case Clienti.Sarom: + using (var transaction = _Sarom_rapp.Database.BeginTransaction()) + { + await _Sarom_rapp.Rapps.AddAsync(r); + await _Sarom_rapp.SaveChangesAsync(); + transaction.Commit(); + } + break; + case Clienti.Gitoga: + using (var transactionGit = _Gitoga_rapp.Database.BeginTransaction()) + { + await _Gitoga_rapp.Rapps.AddAsync(r); + await _Gitoga_rapp.SaveChangesAsync(); + transactionGit.Commit(); + } + break; + case Clienti.Lifta: + using (var transactionLif = _Lifta_rapp.Database.BeginTransaction()) + { + await _Lifta_rapp.Rapps.AddAsync(r); + await _Lifta_rapp.SaveChangesAsync(); + transactionLif.Commit(); + } + break; + case Clienti.Siet: + using (var transactionSiet = _Siet_rapp.Database.BeginTransaction()) + { + await _Siet_rapp.Rapps.AddAsync(r); + await _Siet_rapp.SaveChangesAsync(); + transactionSiet.Commit(); + } + break; + case Clienti.PMS: + using (var transactionPMS = _Pms_rapp.Database.BeginTransaction()) + { + await _Pms_rapp.Rapps.AddAsync(r); + await _Pms_rapp.SaveChangesAsync(); + transactionPMS.Commit(); + } + break; + case Clienti.VT: + using (var transactionVT = _VT_rapptable.Database.BeginTransaction()) + { + await _VT_rapptable.Rapps.AddAsync(r); + await _VT_rapptable.SaveChangesAsync(); + transactionVT.Commit(); + } + break; + default: + break; + } + calltec = await getChiamataBySerial(model.seriale_chiamata, token); + calltec_out = fillChiamateOut(calltec, ten); + calltec_out.err_status_code = StatiRisposta.Ok; + + } + else + { + calltec_out.err_title = "Impossibile rifiutare la chiamata"; + calltec_out.err_detail = "Chiamata precendentemente rifiutata: " + model.seriale_chiamata; + calltec_out.err_status_code = StatiRisposta.OperazioneNonAmmessa; + } + return StatusCode(StatusCodes.Status200OK, calltec_out); + } + catch (Exception ex) + { + string errmsg = ex.InnerException != null ? ex.InnerException.Message : ex.Message; + calltec_out.err_title = ex.Message; + calltec_out.err_detail = errmsg; + calltec_out.err_status_code = StatiRisposta.ErroreInterno; + return StatusCode(StatusCodes.Status500InternalServerError, calltec_out); + } + + //return calltec_out; + + } + + /// chiudi: 1) crea un nuovo seriale per RAPP_NEW 2)inserisce record su RAPP_NEW con i dati dell'intervento return:ActionResult + [HttpPost] + [Route("chiamate/chiudi")] + public async Task> chiudi([FromBody] Input model, string token) + { + string ten = getClaimValueByToken(token, "tenant"); + string ten2 = getClaimValueByToken(token, "tenant2"); + string tecnico = getClaimValueByToken(token, "tccodice"); + Chiamate calltec = new Chiamate(); + Chiamate_out calltec_out = new Chiamate_out(); + try + { + if (await checkChiamataChiusa(ten, model.seriale_chiamata, TipoRapportino.ChiamataChiusa) == 0) + { + int riga = 0; + if(ten.Equals(Clienti.VT)) + { + _confLette = await readConf(ten2); + } + else + { + _confLette = await readConf(ten); + } + + string newSerial = string.Empty; + newSerial = await getSeriale(token); + + Rapp_New r = await fillRappNewChiudiByInput(model, token, newSerial, _confLette); + + + switch (ten) + { + case Clienti.Marrocco: + using (var transaction = _Marro_rapp.Database.BeginTransaction()) + { + await _Marro_rapp.Rapps.AddAsync(r); + await _Marro_rapp.SaveChangesAsync(); + transaction.Commit(); + } + + break; + case Clienti.Ferrari: + using (var transaction = _Ferra_rapp.Database.BeginTransaction()) + { + await _Ferra_rapp.Rapps.AddAsync(r); + await _Ferra_rapp.SaveChangesAsync(); + transaction.Commit(); + } + + break; + case Clienti.Sarom: + using (var transaction = _Sarom_rapp.Database.BeginTransaction()) + { + await _Sarom_rapp.Rapps.AddAsync(r); + await _Sarom_rapp.SaveChangesAsync(); + transaction.Commit(); + } + + break; + case Clienti.Gitoga: + using (var transactionGit = _Gitoga_rapp.Database.BeginTransaction()) + { + await _Gitoga_rapp.Rapps.AddAsync(r); + await _Gitoga_rapp.SaveChangesAsync(); + transactionGit.Commit(); + } + + break; + case Clienti.Lifta: + using (var transactionLif = _Lifta_rapp.Database.BeginTransaction()) + { + await _Lifta_rapp.Rapps.AddAsync(r); + await _Lifta_rapp.SaveChangesAsync(); + transactionLif.Commit(); + } + + break; + + case Clienti.Sicilia: + using (var transaction = _Sicilia_rapp.Database.BeginTransaction()) + { + await _Sicilia_rapp.Rapps.AddAsync(r); + await _Sicilia_rapp.SaveChangesAsync(); + transaction.Commit(); + } + riga = 0; + if (model.compo_add!=null && model.compo_add.Count()>0) + { + using (var transaction2 = _Sicilia_mag.Database.BeginTransaction()) + { + foreach (Saldiart co in model.compo_add) + { + riga = riga + 1; + Mag_New mn = new Mag_New(); + mn = saldiartToMag_New(co, riga, newSerial, tecnico); + + await _Sicilia_mag.Mag.AddAsync(mn); + await _Sicilia_mag.SaveChangesAsync(); + } + transaction2.Commit(); + } + } + if (model.compo_del != null && model.compo_del.Count() > 0) + { + using (var transaction3 = _Sicilia_mag.Database.BeginTransaction()) + { + foreach (Compo_Impia co in model.compo_del) + { + Mag_New mn = new Mag_New(); + riga = riga + 1; + mn = compo_ImpiaToMag_New(co, riga, newSerial, tecnico); + + await _Sicilia_mag.Mag.AddAsync(mn); + await _Sicilia_mag.SaveChangesAsync(); + } + transaction3.Commit(); + } + } + break; + case Clienti.Discovery: + + using (var transaction = _Disco_rapp.Database.BeginTransaction()) + { + await _Disco_rapp.Rapps.AddAsync(r); + await _Disco_rapp.SaveChangesAsync(); + transaction.Commit(); + } + riga = 0; + if (model.compo_add != null && model.compo_add.Count() > 0) + { + using (var transaction2 = _Disco_mag.Database.BeginTransaction()) + { + foreach (Saldiart co in model.compo_add) + { + riga = riga + 1; + Mag_New mn = new Mag_New(); + mn = saldiartToMag_New(co, riga, newSerial, tecnico); + + await _Disco_mag.Mag.AddAsync(mn); + await _Disco_mag.SaveChangesAsync(); + } + transaction2.Commit(); + } + } + if (model.compo_del != null && model.compo_del.Count() > 0) + { + using (var transaction3 = _Disco_mag.Database.BeginTransaction()) + { + foreach (Compo_Impia co in model.compo_del) + { + Mag_New mn = new Mag_New(); + riga = riga + 1; + mn = compo_ImpiaToMag_New(co, riga, newSerial, tecnico); + + await _Disco_mag.Mag.AddAsync(mn); + await _Disco_mag.SaveChangesAsync(); + } + transaction3.Commit(); + } + } + break; + case Clienti.Siet: + + using (var transaction = _Siet_rapp.Database.BeginTransaction()) + { + await _Siet_rapp.Rapps.AddAsync(r); + await _Siet_rapp.SaveChangesAsync(); + transaction.Commit(); + } + riga = 0; + if (model.compo_add != null && model.compo_add.Count() > 0) + { + using (var transaction2 = _Siet_mag.Database.BeginTransaction()) + { + foreach (Saldiart co in model.compo_add) + { + riga = riga + 1; + Mag_New mn = new Mag_New(); + mn = saldiartToMag_New(co, riga, newSerial, tecnico); + + await _Siet_mag.Mag.AddAsync(mn); + await _Siet_mag.SaveChangesAsync(); + } + transaction2.Commit(); + } + } + if (model.compo_del != null && model.compo_del.Count() > 0) + { + using (var transaction3 = _Siet_mag.Database.BeginTransaction()) + { + foreach (Compo_Impia co in model.compo_del) + { + Mag_New mn = new Mag_New(); + riga = riga + 1; + mn = compo_ImpiaToMag_New(co, riga, newSerial, tecnico); + + await _Siet_mag.Mag.AddAsync(mn); + await _Siet_mag.SaveChangesAsync(); + } + transaction3.Commit(); + } + } + break; + case Clienti.PMS: + + using (var transaction = _Pms_rapp.Database.BeginTransaction()) + { + await _Pms_rapp.Rapps.AddAsync(r); + await _Pms_rapp.SaveChangesAsync(); + transaction.Commit(); + } + riga = 0; + if (model.compo_add != null && model.compo_add.Count() > 0) + { + using (var transaction2 = _PMS_mag.Database.BeginTransaction()) + { + foreach (Saldiart co in model.compo_add) + { + riga = riga + 1; + Mag_New mn = new Mag_New(); + mn = saldiartToMag_New(co, riga, newSerial, tecnico); + + await _PMS_mag.Mag.AddAsync(mn); + await _PMS_mag.SaveChangesAsync(); + } + transaction2.Commit(); + } + } + if (model.compo_del != null && model.compo_del.Count() > 0) + { + using (var transaction3 = _PMS_mag.Database.BeginTransaction()) + { + foreach (Compo_Impia co in model.compo_del) + { + Mag_New mn = new Mag_New(); + riga = riga + 1; + mn = compo_ImpiaToMag_New(co, riga, newSerial, tecnico); + + await _PMS_mag.Mag.AddAsync(mn); + await _PMS_mag.SaveChangesAsync(); + } + transaction3.Commit(); + } + } + break; + + case Clienti.VT: + using (var transactionVT = _VT_rapptable.Database.BeginTransaction()) + { + await _VT_rapptable.Rapps.AddAsync(r); + await _VT_rapptable.SaveChangesAsync(); + transactionVT.Commit(); + } + break; + default: + break; + } + calltec = await getChiamataBySerial(r.seriale_chiamata, token); + calltec_out = fillChiamateOut(calltec, ten); + calltec_out.err_status_code = StatiRisposta.Ok; + return StatusCode(StatusCodes.Status200OK, calltec_out); + + } + else + { + calltec_out.err_title = "Impossibile chiudere la chiamata"; + calltec_out.err_detail = "Chiamata precendentemente chiusa: " + model.seriale_chiamata; + calltec_out.err_status_code = StatiRisposta.OperazioneNonAmmessa; + return StatusCode(StatusCodes.Status500InternalServerError, calltec_out); + } + } + catch (Exception ex) + { + string errmsg = ex.InnerException != null ? ex.InnerException.Message : ex.Message; + calltec_out.err_title = ex.Message; + calltec_out.err_detail = errmsg; + calltec_out.err_status_code = StatiRisposta.ErroreInterno; + return StatusCode(StatusCodes.Status500InternalServerError, calltec_out); + } + + //return calltec_out; + } + + /// rilascia: elimina record su RAPP_NEW con i dati dell'intervento return:ActionResult + [HttpPost] + [Route("chiamate/rilascia")] + public async Task> rilascia([FromBody] Input model, string token) + { + string ten = getClaimValueByToken(token, "tenant"); + string ten2 = getClaimValueByToken(token, "tenant2"); + string tecnico = getClaimValueByToken(token, "tccodice"); + Chiamate calltec = new Chiamate(); + Chiamate_out calltec_out = new Chiamate_out(); + Rapp_New r = null; + try + { + if ((r=await checkChiamataDaRilasciare (ten, model.seriale_rapportino, TipoRapportino.PresaInCarico, ten2))!=null) + { + switch (ten) + { + case Clienti.Marrocco: + using (var transaction = _Marro_rapp.Database.BeginTransaction()) + { + _Marro_rapp.Rapps.Remove(r); + await _Marro_rapp.SaveChangesAsync(); + transaction.Commit(); + } + + break; + case Clienti.Ferrari: + using (var transaction = _Ferra_rapp.Database.BeginTransaction()) + { + _Ferra_rapp.Rapps.Remove(r); + await _Ferra_rapp.SaveChangesAsync(); + transaction.Commit(); + } + + break; + case Clienti.Sarom: + using (var transaction = _Sarom_rapp.Database.BeginTransaction()) + { + _Sarom_rapp.Rapps.Remove(r); + await _Sarom_rapp.SaveChangesAsync(); + transaction.Commit(); + } + + break; + case Clienti.Gitoga: + using (var transactionGit = _Gitoga_rapp.Database.BeginTransaction()) + { + _Gitoga_rapp.Rapps.Remove(r); + await _Gitoga_rapp.SaveChangesAsync(); + transactionGit.Commit(); + } + + break; + case Clienti.Lifta: + using (var transactionLif = _Lifta_rapp.Database.BeginTransaction()) + { + _Lifta_rapp.Rapps.Remove(r); + await _Lifta_rapp.SaveChangesAsync(); + transactionLif.Commit(); + } + + break; + + case Clienti.Sicilia: + using (var transaction = _Sicilia_rapp.Database.BeginTransaction()) + { + _Sicilia_rapp.Rapps.Remove(r); + await _Sicilia_rapp.SaveChangesAsync(); + transaction.Commit(); + } + break; + case Clienti.Discovery: + + using (var transaction = _Disco_rapp.Database.BeginTransaction()) + { + _Disco_rapp.Rapps.Remove(r); + await _Disco_rapp.SaveChangesAsync(); + transaction.Commit(); + } + break; + case Clienti.Siet: + + using (var transaction = _Siet_rapp.Database.BeginTransaction()) + { + _Siet_rapp.Rapps.Remove(r); + await _Siet_rapp.SaveChangesAsync(); + transaction.Commit(); + } + break; + case Clienti.PMS: + + using (var transaction = _Pms_rapp.Database.BeginTransaction()) + { + _Pms_rapp.Rapps.Remove(r); + await _Pms_rapp.SaveChangesAsync(); + transaction.Commit(); + } + break; + case Clienti.VT: + using (var transactionVT = _VT_rapptable.Database.BeginTransaction()) + { + _VT_rapptable.Rapps.Remove(r); + await _VT_rapptable.SaveChangesAsync(); + transactionVT.Commit(); + } + break; + default: + break; + } + calltec = await getChiamataBySerial(r.seriale_chiamata, token); + calltec_out = fillChiamateOut(calltec, ten); + calltec_out.err_status_code = StatiRisposta.Ok; + return StatusCode(StatusCodes.Status200OK, calltec_out); + + } + else + { + calltec_out.err_title = "Impossibile rilasciare la chiamata.Chiamata non trovata"; + StringBuilder sb = new StringBuilder(); + sb.AppendLine("seriale Chiamata : " + model.seriale_chiamata); + sb.AppendLine("seriale Rapportino : " + model.seriale_rapportino); + calltec_out.err_detail = sb.ToString(); + sb.Clear(); + calltec_out.err_status_code = StatiRisposta.OperazioneNonAmmessa; + return StatusCode(StatusCodes.Status500InternalServerError, calltec_out); + } + } + catch (Exception ex) + { + string errmsg = ex.InnerException != null ? ex.InnerException.Message : ex.Message; + calltec_out.err_title = ex.Message; + calltec_out.err_detail = errmsg; + calltec_out.err_status_code = StatiRisposta.ErroreInterno; + return StatusCode(StatusCodes.Status500InternalServerError, calltec_out); + } + + //return calltec_out; + } + #endregion + + #region MANUTENZIONI + private Prese fillPreseByInput(Input i, string token) + { + string ten = getClaimValueByToken(token, "tenant"); + string tecnico = getClaimValueByToken(token, "tccodice"); + Prese p = new Prese(); + p.picodazi = ten; + p.pimpianto = i.pimpianto; + p.picodint = i.picodint; + p.picodtec = tecnico; + p.pidatman = i.pidatman; + p.cpccchk = getCpccchk(10); + return p; + } + private async Task fillRappNewChiudiManByInput(Input model, string token, string newSerial,Configurazioni co) + { + Rapp_New r = new Rapp_New(); + //DateTime dateIni = new DateTime(1900, 1, 1); + DateTime adesso = DateTime.Now; + string ten = getClaimValueByToken(token, "tenant"); + string tecnico = getClaimValueByToken(token, "tccodice"); + var sBuono = await getSerBuonoManutenzione(ten, co.prefisso_buoni_man); + + //model = fakeInputMan(model); + r.seriale_rapportino = newSerial; + + r.tipo_rapportino = TipoRapportino.ManutenzioneChiusa; + r.azienda_impianto = ten; + //r.codice_impianto = model.codice_impianto; + r.codice_impianto = model.pimpianto;//da tabella PIPRESA + r.azienda_chiamata = ten; + r.seriale_chiamata = String.Empty; + r.seriale_commessa = string.Empty; + + + //var time = "03/07/2023 00:00:00"; + //adesso = DateTime.ParseExact(time, "dd/MM/yyyy HH:mm:ss", CultureInfo.InvariantCulture); + r.data_rapportino = adesso; + + + //r.ora_ini_rapportino = adesso.Hour.ToString(); + r.ora_ini_rapportino = model.ora_ini_rapportino; + r.ora_fin_rapportino = model.ora_fin_rapportino; + //r.min_ini_rapportino = adesso.Minute.ToString(); + r.min_ini_rapportino = model.min_ini_rapportino; + r.min_fin_rapportino = model.min_fin_rapportino; + r.codice_chiusura_1 = model.codice_chiusura_1; + r.codice_chiusura_2 = model.codice_chiusura_2; + r.codice_chiusura_3 = model.codice_chiusura_3; + r.codice_chiusura_4 = model.codice_chiusura_4; + r.codice_chiusura_5 = model.codice_chiusura_5; + r.codice_chiusura_6 = model.codice_chiusura_6; + r.codice_chiusura_7 = model.codice_chiusura_7; + r.codice_chiusura_8 = model.codice_chiusura_8; + r.codice_chiusura_9 = model.codice_chiusura_9; + r.codice_chiusura_10 = model.codice_chiusura_10; + r.descrizione_intervento = model.descrizione_intervento; + r.stato_finale = model.stato_finale; + r.azienda_tecnico = ten; + r.codice_tecnico = tecnico; + r.rifiutata = string.Empty; + r.firma = model.firma; + r.incarico = string.Empty; + r.data_validita = model.pidatman; + + //r.immagine = co.path_buoni + sBuono.ToString(); + + r.esito_intervento = model.esito_intervento; + r.note_intervento = model.note_intervento; + r.note_esito = model.note_esito; + r.difetti_riscontrati = model.difetti_riscontrati; + r.lavoro_eseguito = model.lavoro_eseguito; + r.nuovo_contratto = model.nuovo_contratto; + r.ore_lavoro = model.ore_lavoro; + r.causale = model.causale; + r.materiale = model.materiale; + r.diritto_chiamata = model.diritto_chiamata; + r.manodopera = model.manodopera; + r.spese_viaggio = model.spese_viaggio; + r.pagamento = model.pagamento; + r.anticipo = model.anticipo; + r.totale = model.totale; + r.note_pagamento = model.note_pagamento; + r.tipo_intervento = model.tipo_intervento; + r.rafoto1 = model.rafoto1; + r.rafoto2 = model.rafoto2; + r.rafoto3 = model.rafoto3; + r.rafoto4 = model.rafoto4; + r.rafoto5 = model.rafoto5; + r.rafoto6 = model.rafoto6; + r.rafoto7 = model.rafoto7; + r.rafoto8 = model.rafoto8; + r.rafoto9 = model.rafoto9; + r.rafoto10 = model.rafoto10; + //r.codice_intervento = model.codice_intervento; + r.codice_intervento = model.picodint;// da tabella PIPRESA + //r.data_effettiva = model.data_effettiva; + r.data_effettiva = model.pidatman;// da tabella PIPRESA + + + //r.immagine = model.immagine; + r.immagine = string.Format(@"{0}\{1}.jpg",co.path_buoni,sBuono.ToString()); + //string ts = DateTime.Now.ToString("yyyyMMddHHmmss"); + //r.immagine = string.Format(@"{0}\{1}_{2}.jpg", co.path_buoni, sBuono.ToString(),ts); + r.ser_buono = sBuono.ToString(); + + return r; + } + private async Task getSerBuonoManutenzione(string ten,string suff) + { + //inizializzo il buono nel caso non lo trovi in tabella (per Sicilia è stato così) + //TODO da togliere + //suff = "MAK"; + string seriale = suff+"00000"; + + _rapp_new = getRappNewByTenant(ten); + //var rapp = await _rapp_new.Where(t => t.azienda_impianto == ten && t.ser_buono != null && t.tipo_rapportino == TipoRapportino.ManutenzioneChiusa).OrderByDescending(t => t.seriale_rapportino).Take(1).ToListAsync(); + var rapp = await _rapp_new.Where(t => t.azienda_impianto == ten && t.ser_buono != null && t.ser_buono.Trim().Contains(suff) && t.tipo_rapportino == TipoRapportino.ManutenzioneChiusa).OrderByDescending(t => t.seriale_rapportino).Take(1).ToListAsync(); + + if (rapp != null && rapp.Count() > 0) + { + seriale = getNewSerialeBuonoMan(rapp.First().ser_buono, suff); + } + else + { + seriale = getNewSerialeBuonoMan(seriale, suff); + } + return seriale; + } + private Manprog_out fillManprogOut(Manprog m, string tenant) + { + Manprog_out o = new Manprog_out(); + o.ctcodint=m.ctcodint; + o.ctdatpro = m.ctdatpro; + o.ctdesint = m.ctdesint; + o.imindiri1 = m.imindiri1; + o.imindiri2 = m.imindiri2; + + o.imindiri3 = m.imindiri3; + o.imindiri4 = m.imindiri4; + o.imindiri5 = m.imindiri5; + o.imlocali = m.imlocali; + o.imcodcap = m.imcodcap; + + o.imcomune = m.imcomune; + o.improvin = m.improvin; + o.improvin = m.improvin; + + o.immatric = m.immatric; + o.imnumimp = m.imnumimp; + o.imubicaz = m.imubicaz; + + o.tccodice = m.tccodice; + o.seriale_rapportino = m.seriale_rapportino; + o.ser_buono = m.ser_buono; + o.generato = m.generato; + + + o.pimpianto = m.pimpianto; + o.picodint = m.picodint; + o.pidatman = m.pidatman; + o.err_title = m.err_title; + o.err_detail = m.err_detail; + o.err_status_code = m.err_status_code; + + o.telefono1 = m.telefono1; + o.telefono2 = m.telefono2; + o.cliente = m.cliente; + o.chiamata = m.chiamata; + o.spe_viaggio = m.spe_viaggio; + + //campi chiave + o.ctcodazi = tenant; + o.ctcodimp = m.ctcodimp; + o.ctdatpro = Convert.ToDateTime(m.ctdatpro); + o.ctcodint = m.ctcodint; + //FINE campi chiave + StringBuilder sb = new StringBuilder(); + Dictionary dic = new Dictionary(); + + string indStampa = string.Empty; + switch (tenant) + { + case Clienti.Marrocco: + #region marrocco + indStampa = formattaIndirizzoStampaManutMarrocco(m); + + dic.Add("Num. Impianto", !string.IsNullOrEmpty(m.imnumimp) ? m.imnumimp : String.Empty); + dic.Add("Ubicazione", !string.IsNullOrEmpty(m.imubicaz) ? m.imubicaz : String.Empty); + #endregion + break; + case Clienti.Gitoga: + #region gitoga + indStampa = formattaIndirizzoStampaManutMarrocco(m); + + dic.Add("Num. Impianto", !string.IsNullOrEmpty(m.imnumimp) ? m.imnumimp : String.Empty); + dic.Add("Ubicazione", !string.IsNullOrEmpty(m.imubicaz) ? m.imubicaz : String.Empty); + #endregion + break; + case Clienti.Lifta: + #region lifta + indStampa = formattaIndirizzoStampaManutMarrocco(m); + + dic.Add("Num. Impianto", !string.IsNullOrEmpty(m.imnumimp) ? m.imnumimp : String.Empty); + dic.Add("Ubicazione", !string.IsNullOrEmpty(m.imubicaz) ? m.imubicaz : String.Empty); + #endregion + break; + case Clienti.Sicilia: + #region sicila dictionary + dic.Add("Gennaio", !string.IsNullOrEmpty(m.mpmesgen) ? m.mpmesgen : String.Empty); + dic.Add("Febbraio", !string.IsNullOrEmpty(m.mpmesfeb) ? m.mpmesfeb : String.Empty); + dic.Add("Marzo", !string.IsNullOrEmpty(m.mpmesmar) ? m.mpmesmar : String.Empty); + dic.Add("Aprile", !string.IsNullOrEmpty(m.mpmesapr) ? m.mpmesapr : String.Empty); + dic.Add("Maggio", !string.IsNullOrEmpty(m.mpmesmag) ? m.mpmesmag : String.Empty); + dic.Add("Giugno", !string.IsNullOrEmpty(m.mpmesgiu) ? m.mpmesgiu : String.Empty); + + dic.Add("Luglio", !string.IsNullOrEmpty(m.mpmeslug) ? m.mpmeslug : String.Empty); + dic.Add("Agosto", !string.IsNullOrEmpty(m.mpmesago) ? m.mpmesago : String.Empty); + dic.Add("Settembre", !string.IsNullOrEmpty(m.mpmesset) ? m.mpmesset : String.Empty); + dic.Add("Ottobre", !string.IsNullOrEmpty(m.mpmesott) ? m.mpmesott : String.Empty); + dic.Add("Novembre", !string.IsNullOrEmpty(m.mpmesnov) ? m.mpmesnov : String.Empty); + dic.Add("Dicembre", !string.IsNullOrEmpty(m.mpmesdic) ? m.mpmesdic : String.Empty); + #endregion + + #region sicilia indirizzo + sb.Append("SPETT.LE :"); + sb.Append(!string.IsNullOrEmpty(m.imindiri1) ? m.imindiri1.Trim() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(m.imindiri2) ? m.imindiri2.Trim() + " " : string.Empty); + sb.Append(m.imindiri3 != null ? m.imindiri3.ToString() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(m.imindiri4) ? m.imindiri4.Trim() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(m.imindiri5) ? m.imindiri5.Trim() : string.Empty); + indStampa = sb.ToString(); + #endregion + break; + case Clienti.Discovery: + #region discovery + indStampa = formattaIndirizzoStampaManutDiscovery(m); + + dic.Add("Num. Impianto", !string.IsNullOrEmpty(m.imnumimp) ? m.imnumimp : String.Empty); + dic.Add("Ubicazione", !string.IsNullOrEmpty(m.imubicaz) ? m.imubicaz : String.Empty); + #endregion + break; + default: + sb.Append("SPETT.LE :"); + sb.Append(!string.IsNullOrEmpty(m.imindiri1) ? m.imindiri1.Trim() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(m.imindiri2) ? m.imindiri2.Trim() + " " : string.Empty); + sb.Append(m.imindiri3 != null ? m.imindiri3.ToString() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(m.imindiri4) ? m.imindiri4.Trim() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(m.imindiri5) ? m.imindiri5.Trim() : string.Empty); + indStampa = sb.ToString(); + break; + } + o.altri = dic; + o.indirizzo_stampa = indStampa; + sb.Clear(); + + string itemList = string.Empty; + switch (tenant) + { + case Clienti.Marrocco: + #region marrocco + itemList = formattaItemManutenzioniMarrocco(m); + #endregion + break; + + case Clienti.Gitoga: + #region gitoga + itemList = formattaItemManutenzioniMarrocco(m); + #endregion + break; + + case Clienti.Lifta: + #region lifta + itemList = formattaItemManutenzioniMarrocco(m); + #endregion + break; + + case Clienti.Sicilia: + #region sicilia lista man + sb.Append(!string.IsNullOrEmpty(m.imindiri1) ? m.imindiri1.Trim() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(m.imindiri2) ? m.imindiri2.Trim() + " " : string.Empty); + sb.Append(m.imindiri3 != null ? m.imindiri3.ToString() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(m.imindiri4) ? m.imindiri4.Trim() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(m.imindiri5) ? m.imindiri5.Trim() : string.Empty); + sb.Append(!string.IsNullOrEmpty(m.imcodcap) ? " " + m.imcodcap.Trim() : string.Empty); + sb.Append(!string.IsNullOrEmpty(m.imlocali) ? " " + m.imlocali.Trim() : string.Empty); + + if (!string.IsNullOrEmpty(m.ctcodimp)) + { + sb.Append("
"); + sb.Append("Impianto : " + m.ctcodimp.Trim()); + } + itemList = sb.ToString(); + #endregion + break; + + default: + sb.Append(!string.IsNullOrEmpty(m.imindiri1) ? m.imindiri1.Trim() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(m.imindiri2) ? m.imindiri2.Trim() + " " : string.Empty); + sb.Append(m.imindiri3 != null ? m.imindiri3.ToString() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(m.imindiri4) ? m.imindiri4.Trim() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(m.imindiri5) ? m.imindiri5.Trim() : string.Empty); + sb.Append(!string.IsNullOrEmpty(m.imcodcap) ? " " + m.imcodcap.Trim() : string.Empty); + sb.Append(!string.IsNullOrEmpty(m.imlocali) ? " " + m.imlocali.Trim() : string.Empty); + + if (!string.IsNullOrEmpty(m.ctcodimp)) + { + sb.Append("
"); + sb.Append("Impianto : " + m.ctcodimp.Trim()); + } + if (!string.IsNullOrEmpty(m.imubicaz)) + { + sb.Append("
"); + sb.Append("Ubicazione : " + m.imubicaz.Trim()); + } + if (!string.IsNullOrEmpty(m.immatric)) + { + sb.Append("
"); + sb.Append("Matricola : " + m.immatric.Trim()); + } + + itemList = sb.ToString(); + + break; + } + o.impianto_list = itemList; + sb.Clear(); + + string rif_impianto = string.Empty; + switch (tenant) + { + case Clienti.Marrocco: + #region marrocco + rif_impianto = formattaRifImpMarrocco(m); + #endregion + break; + + case Clienti.Discovery: + #region dicovery + rif_impianto = formattaRifImpDiscovery(m); + #endregion + break; + + case Clienti.Gitoga: + #region gitoga + rif_impianto = formattaRifImpMarrocco(m); + #endregion + break; + + case Clienti.Lifta: + #region lifta + rif_impianto = formattaRifImpMarrocco(m); + #endregion + break; + + case Clienti.Sicilia: + #region sicilia lista man + + + if (!string.IsNullOrEmpty(m.ctcodimp)) + { + + sb.AppendLine("Impianto : " + m.ctcodimp.Trim()); + } + rif_impianto = sb.ToString(); + #endregion + break; + + default: + if (!string.IsNullOrEmpty(m.ctcodimp)) + { + sb.Append("N. Impianto : " + m.ctcodimp.Trim()); + } + rif_impianto = sb.ToString(); + break; + } + o.riferimento_impianto = rif_impianto; + sb.Clear(); + + o.imazirif = m.imazirif; + o.imzonman = m.imzonman; + o.imrefref = m.imrefref; + + return o; + } + private Manprog_out fillManprogOut2(Manprog m, string tenant) + { + Manprog_out o = new Manprog_out(); + o.ctcodint = m.ctcodint; + o.ctdatpro = m.ctdatpro; + o.ctdesint = m.ctdesint; + o.imindiri1 = m.imindiri1; + o.imindiri2 = m.imindiri2; + + o.imindiri3 = m.imindiri3; + o.imindiri4 = m.imindiri4; + o.imindiri5 = m.imindiri5; + o.imlocali = m.imlocali; + o.imcodcap = m.imcodcap; + + o.imcomune = m.imcomune; + o.improvin = m.improvin; + + o.improvin = m.improvin; + o.improvin = m.improvin; + o.improvin = m.improvin; + + o.immatric = m.immatric; + o.imnumimp = m.imnumimp; + o.imubicaz = m.imubicaz; + + o.tccodice = m.tccodice; + o.seriale_rapportino = m.seriale_rapportino; + o.ser_buono = m.ser_buono; + o.generato = m.generato; + + + //o.pimpianto = m.pimpianto; + //questo è il campo che l'app deve avere per accorgersi del cambiamento di stato + //quindi gli passo, se lo trovo vuoto, quello riletto dalla manutenzione + string impianto = string.Empty; + if (!string.IsNullOrEmpty(m.pimpianto)) + impianto = m.pimpianto; + else + impianto = m.ctcodimp; + o.pimpianto = impianto; + + //o.picodint = m.picodint; + string codice_intervento = string.Empty; + if (!string.IsNullOrEmpty(m.picodint)) + codice_intervento = m.picodint; + else + codice_intervento = m.ctcodint; + o.picodint = codice_intervento; + + //o.pidatman = m.pidatman; + DateTime? data_manutenzione = null; + if (m.pidatman != null) + data_manutenzione = m.pidatman; + else + data_manutenzione = m.ctdatpro; + o.pidatman = data_manutenzione; + + + o.err_title = m.err_title; + o.err_detail = m.err_detail; + o.err_status_code = m.err_status_code; + + o.telefono1 = m.telefono1; + o.telefono2 = m.telefono2; + o.cliente = m.cliente; + o.chiamata = m.chiamata; + o.spe_viaggio = m.spe_viaggio; + + //campi chiave + o.ctcodazi = tenant; + o.ctcodimp = m.ctcodimp; + o.ctdatpro = Convert.ToDateTime(m.ctdatpro); + o.ctcodint = m.ctcodint; + //FINE campi chiave + StringBuilder sb = new StringBuilder(); + Dictionary dic = new Dictionary(); + + + + //posizione 1-questa stampa è quella che va sotto il numero del buono e + //ha l'indirizzo dell'impianto che comincia con spettabile + string indStampa = string.Empty; + switch (tenant) + { + case Clienti.Marrocco: + #region marrocco + indStampa = formattaIndirizzoStampaManutMarrocco(m); + #endregion + break; + + case Clienti.Discovery: + #region discovery + indStampa = formattaIndirizzoStampaManutDiscovery(m); + #endregion + break; + + case Clienti.Gitoga: + #region gitoga + indStampa = formattaIndirizzoStampaManutMarrocco(m); + #endregion + break; + + case Clienti.Lifta: + #region lifta + indStampa = formattaIndirizzoStampaManutMarrocco(m); + #endregion + break; + + case Clienti.Sicilia: + #region sicila dictionary + dic.Add("Gennaio", !string.IsNullOrEmpty(m.mpmesgen) ? m.mpmesgen : String.Empty); + dic.Add("Febbraio", !string.IsNullOrEmpty(m.mpmesfeb) ? m.mpmesfeb : String.Empty); + dic.Add("Marzo", !string.IsNullOrEmpty(m.mpmesmar) ? m.mpmesmar : String.Empty); + dic.Add("Aprile", !string.IsNullOrEmpty(m.mpmesapr) ? m.mpmesapr : String.Empty); + dic.Add("Maggio", !string.IsNullOrEmpty(m.mpmesmag) ? m.mpmesmag : String.Empty); + dic.Add("Giugno", !string.IsNullOrEmpty(m.mpmesgiu) ? m.mpmesgiu : String.Empty); + + dic.Add("Luglio", !string.IsNullOrEmpty(m.mpmeslug) ? m.mpmeslug : String.Empty); + dic.Add("Agosto", !string.IsNullOrEmpty(m.mpmesago) ? m.mpmesago : String.Empty); + dic.Add("Settembre", !string.IsNullOrEmpty(m.mpmesset) ? m.mpmesset : String.Empty); + dic.Add("Ottobre", !string.IsNullOrEmpty(m.mpmesott) ? m.mpmesott : String.Empty); + dic.Add("Novembre", !string.IsNullOrEmpty(m.mpmesnov) ? m.mpmesnov : String.Empty); + dic.Add("Dicembre", !string.IsNullOrEmpty(m.mpmesdic) ? m.mpmesdic : String.Empty); + #endregion + + #region sicilia indirizzo + sb.Append("SPETT.LE :"); + sb.Append(!string.IsNullOrEmpty(m.imindiri1) ? m.imindiri1.Trim() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(m.imindiri2) ? m.imindiri2.Trim() + " " : string.Empty); + sb.Append(m.imindiri3 != null ? m.imindiri3.ToString() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(m.imindiri4) ? m.imindiri4.Trim() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(m.imindiri5) ? m.imindiri5.Trim() : string.Empty); + indStampa = sb.ToString(); + #endregion + break; + + default: + sb.Append("SPETT.LE :"); + sb.Append(!string.IsNullOrEmpty(m.imindiri1) ? m.imindiri1.Trim() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(m.imindiri2) ? m.imindiri2.Trim() + " " : string.Empty); + sb.Append(m.imindiri3 != null ? m.imindiri3.ToString() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(m.imindiri4) ? m.imindiri4.Trim() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(m.imindiri5) ? m.imindiri5.Trim() : string.Empty); + indStampa = sb.ToString(); + break; + } + o.indirizzo_stampa = indStampa; + o.altri = dic; + sb.Clear(); + + //posizione 2 + string itemList = string.Empty; + switch (tenant) + { + case Clienti.Marrocco: + #region marrocco + itemList = formattaItemManutenzioniMarrocco(m); + #endregion + break; + + case Clienti.Gitoga: + #region gitoga + itemList = formattaItemManutenzioniMarrocco(m); + + #endregion + break; + + case Clienti.Lifta: + #region lifta + itemList = formattaItemManutenzioniMarrocco(m); + #endregion + break; + + case Clienti.Sicilia: + #region sicilia lista man + sb.Append(!string.IsNullOrEmpty(m.imindiri1) ? m.imindiri1.Trim() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(m.imindiri2) ? m.imindiri2.Trim() + " " : string.Empty); + sb.Append(m.imindiri3 != null ? m.imindiri3.ToString() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(m.imindiri4) ? m.imindiri4.Trim() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(m.imindiri5) ? m.imindiri5.Trim() : string.Empty); + sb.Append(!string.IsNullOrEmpty(m.imcodcap) ? "," + m.imcodcap.Trim() : string.Empty); + sb.Append(!string.IsNullOrEmpty(m.imlocali) ? "," + m.imlocali.Trim() : string.Empty); + + if (!string.IsNullOrEmpty(m.ctcodimp)) + { + sb.Append("
"); + sb.Append("Impianto : " + m.ctcodimp.Trim()); + } + itemList = sb.ToString(); + #endregion + break; + + default: + sb.Append(!string.IsNullOrEmpty(m.imindiri1) ? m.imindiri1.Trim() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(m.imindiri2) ? m.imindiri2.Trim() + " " : string.Empty); + sb.Append(m.imindiri3 != null ? m.imindiri3.ToString() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(m.imindiri4) ? m.imindiri4.Trim() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(m.imindiri5) ? m.imindiri5.Trim() : string.Empty); + sb.Append(!string.IsNullOrEmpty(m.imcodcap) ? "," + m.imcodcap.Trim() : string.Empty); + sb.Append(!string.IsNullOrEmpty(m.imlocali) ? "," + m.imlocali.Trim() : string.Empty); + + if (!string.IsNullOrEmpty(m.ctcodimp)) + { + sb.Append("
"); + sb.Append("Impianto : " + m.ctcodimp.Trim()); + } + itemList = sb.ToString(); + break; + } + o.impianto_list = itemList; + sb.Clear(); + + //posizione 3-questa stampa è quella che va a destra della posizione 1 + //contiene i dati (matricola, ubicazione, num impianto) + string rif_impianto = string.Empty; + switch (tenant) + { + case Clienti.Marrocco: + #region marrocco + rif_impianto = formattaRifImpMarrocco(m); + #endregion + break; + + case Clienti.Gitoga: + #region gitoga + rif_impianto = formattaRifImpMarrocco(m); + #endregion + break; + + case Clienti.Discovery: + #region discovery + rif_impianto = formattaRifImpDiscovery(m); + #endregion + break; + case Clienti.Lifta: + #region lifta + rif_impianto = formattaRifImpMarrocco(m); + #endregion + break; + + case Clienti.Sicilia: + #region sicilia lista man + + + if (!string.IsNullOrEmpty(m.ctcodimp)) + { + + sb.AppendLine("Impianto : " + m.ctcodimp.Trim()); + } + rif_impianto = sb.ToString(); + #endregion + break; + + default: + if (!string.IsNullOrEmpty(m.ctcodimp)) + { + sb.Append("N. Impianto : " + m.ctcodimp.Trim()); + } + rif_impianto = sb.ToString(); + break; + } + o.riferimento_impianto = rif_impianto; + sb.Clear(); + + o.imazirif = m.imazirif; + o.imzonman = m.imzonman; + o.imrefref = m.imrefref; + + return o; + } + + /// Manutenzioni per tecnico e azienda (tenant). Intervallo: 1 mese prima e 1 mese dopo rispetto a GETDATE() con GENERATO diverso da S return:ActionResult + [HttpGet("manutenzioni")] + public async Task>> manutenzioni(string token) + { + try + { + string ten = getClaimValueByToken(token, "tenant"); + string tecnico = getClaimValueByToken(token, "tccodice"); + _manutprog = getManutenzioniByTenant(ten); + + //var manut = await _manutprog.Where(t => t.tccodice == tecnico && t.ctcodazi == ten && t.ctdatpro >= da && t.ctdatpro <= a).OrderBy(t => t.ctcodint).ToListAsync(); + var manut = await _manutprog.Where(t => t.tccodice == tecnico && t.ctcodazi == ten).OrderBy(t => t.ctcodint).ToListAsync(); + + List ilist = new List(); + foreach (Manprog ch in manut) + { + Manprog_out o = new Manprog_out(); + o = fillManprogOut(ch, ten); + ilist.Add(o); + } + + + // cerco le manutenzioni che devo fare per sostituzioni SE abilitate + bool cerca_sostituzioni = false; + cerca_sostituzioni = checkSostituzioneAbilitata(ten); + if(cerca_sostituzioni) + { + //step 1 : trovo tutte le MIE sostituzioni + _sostituzione = getSostituzioneByTenant(ten); + var s = _sostituzione.Where(t => t.tscodazi.Equals(ten) && t.tscodsos.Trim().Equals(tecnico)); + foreach (Sostituzione ss in s) + { + string tecnico_sostituito = string.Empty; + tecnico_sostituito = ss.tscodtec != null ? ss.tscodtec : string.Empty; + //string zona = string.Empty; + //zona = ss.tscodzon != null ? ss.tscodzon : "zonavuota"; + + //step 2 : trovo tutte le manutenzioni del tecnico che sto sostitutendo e le aggiungo alla mie + var manutSost = await _manutprog.Where(t => t.tccodice == tecnico_sostituito + && t.ctcodazi == ten + //&& t.imzonman == zona + ).OrderBy(t => t.ctcodint).ToListAsync(); + + foreach (Manprog ch in manutSost) + { + Manprog_out o = new Manprog_out(); + o = fillManprogOut(ch, ten); + ilist.Add(o); + } + } + } + + IEnumerable enumerable = ilist as IEnumerable; + //return enumerable; + return StatusCode(StatusCodes.Status200OK, enumerable); + } + catch (Exception ex) + { + return StatusCode(StatusCodes.Status500InternalServerError, ex.Message); + } + } + + /// prendi_in_carico: inserisce record su Prese con i dati dell'intervento return:ActionResult + [HttpPost] + [Route("manutenzioni/prendi_in_carico")] + public async Task> prendiInCaricoMan([FromBody] Input model, string token) + { + string ten = getClaimValueByToken(token, "tenant"); + Manprog man=new Manprog(); + Manprog_out output = new Manprog_out(); + + try + { + if (await checkManutenzionePresaInCarico(ten, model.pimpianto, model.picodint, model.pidatman) == 0) + { + Prese r = fillPreseByInput(model, token); + + switch (ten) + { + case Clienti.Marrocco: + using (var transaction = _Marro_prese.Database.BeginTransaction()) + { + await _Marro_prese.Prese.AddAsync(r); + await _Marro_prese.SaveChangesAsync(); + transaction.Commit(); + } + break; + case Clienti.Ferrari: + using (var transaction2 = _Ferra_prese.Database.BeginTransaction()) + { + await _Ferra_prese.Prese.AddAsync(r); + await _Ferra_prese.SaveChangesAsync(); + transaction2.Commit(); + } + break; + case Clienti.Sarom: + using (var transaction5 = _Sarom_prese.Database.BeginTransaction()) + { + await _Sarom_prese.Prese.AddAsync(r); + await _Sarom_prese.SaveChangesAsync(); + transaction5.Commit(); + } + break; + case Clienti.Sicilia: + using (var transaction3 = _Sicilia_prese.Database.BeginTransaction()) + { + await _Sicilia_prese.Prese.AddAsync(r); + await _Sicilia_prese.SaveChangesAsync(); + transaction3.Commit(); + } + break; + case Clienti.Discovery: + using (var transaction4 = _Disco_prese.Database.BeginTransaction()) + { + await _Disco_prese.Prese.AddAsync(r); + await _Disco_prese.SaveChangesAsync(); + transaction4.Commit(); + } + break; + case Clienti.Gitoga: + using (var transactionGit = _Gitoga_prese.Database.BeginTransaction()) + { + await _Gitoga_prese.Prese.AddAsync(r); + await _Gitoga_prese.SaveChangesAsync(); + transactionGit.Commit(); + } + break; + case Clienti.Lifta: + using (var transactionLif = _Lifta_prese.Database.BeginTransaction()) + { + await _Lifta_prese.Prese.AddAsync(r); + await _Lifta_prese.SaveChangesAsync(); + transactionLif.Commit(); + } + break; + case Clienti.Siet: + using (var transactionSiet = _Siet_prese.Database.BeginTransaction()) + { + await _Siet_prese.Prese.AddAsync(r); + await _Siet_prese.SaveChangesAsync(); + transactionSiet.Commit(); + } + break; + case Clienti.PMS: + using (var transactionPMS = _PMS_prese.Database.BeginTransaction()) + { + await _PMS_prese.Prese.AddAsync(r); + await _PMS_prese.SaveChangesAsync(); + transactionPMS.Commit(); + } + break; + default: + break; + } + + //man = await getManutenzioneByChiave(model, token); + man = await getManutenzioneByChiave2(r, token); + + //output = fillManprogOut(man, ten); + output = fillManprogOut2(man, ten); + output.err_status_code = StatiRisposta.Ok; + return StatusCode(StatusCodes.Status200OK, output); + } + else + { + output.err_title = "Impossibile prendere in carico"; + output.err_detail = "Manutenzione precedentemente presa in carico"; + output.err_status_code = StatiRisposta.OperazioneNonAmmessa; + return StatusCode(StatusCodes.Status500InternalServerError, output); + } + } + catch (Exception ex) + { + string errmsg = ex.InnerException != null ? ex.InnerException.Message : ex.Message; + + output.err_title = ex.Message; + output.err_detail = errmsg; + output.err_status_code = StatiRisposta.ErroreInterno; + return StatusCode(StatusCodes.Status500InternalServerError, output); + } + + //return output; + } + + /// chiudi: 1) crea un nuovo seriale per RAPP_NEW 2)inserisce record su RAPP_NEW con i dati dell'intervento return:ActionResult + [HttpPost] + [Route("manutenzioni/chiudi")] + public async Task> chiudiMan([FromBody] Input model, string token) + { + string ten = getClaimValueByToken(token, "tenant"); + string tecnico = getClaimValueByToken(token, "tccodice"); + Manprog man = new Manprog(); + Manprog_out output = new Manprog_out(); + try + { + if (await checkManutenzioneChiusa(ten,TipoRapportino.ManutenzioneChiusa,model.pimpianto,model.pidatman,model.picodint)==0) + { + _confLette = await readConf(ten); + string newSerial = string.Empty; + newSerial = await getSeriale(token); + Rapp_New r = await fillRappNewChiudiManByInput(model, token, newSerial, _confLette); + + switch (ten) + { + case Clienti.Marrocco: + using (var transaction = _Marro_rapp.Database.BeginTransaction()) + { + await _Marro_rapp.Rapps.AddAsync(r); + await _Marro_rapp.SaveChangesAsync(); + transaction.Commit(); + } + + + break; + case Clienti.Ferrari: + using (var transaction = _Ferra_rapp.Database.BeginTransaction()) + { + await _Ferra_rapp.Rapps.AddAsync(r); + await _Ferra_rapp.SaveChangesAsync(); + transaction.Commit(); + } + break; + case Clienti.Sarom: + using (var transaction = _Sarom_rapp.Database.BeginTransaction()) + { + await _Sarom_rapp.Rapps.AddAsync(r); + await _Sarom_rapp.SaveChangesAsync(); + transaction.Commit(); + } + break; + case Clienti.Sicilia: + using (var transaction = _Sicilia_rapp.Database.BeginTransaction()) + { + await _Sicilia_rapp.Rapps.AddAsync(r); + await _Sicilia_rapp.SaveChangesAsync(); + transaction.Commit(); + } + int riga = 0; + if (model.compo_add != null && model.compo_add.Count() > 0) + { + + using (var transaction2 = _Sicilia_mag.Database.BeginTransaction()) + { + + foreach (Saldiart co in model.compo_add) + { + riga = riga + 1; + Mag_New mn = new Mag_New(); + mn = saldiartToMag_New(co, riga, newSerial, tecnico); + + await _Sicilia_mag.Mag.AddAsync(mn); + await _Sicilia_mag.SaveChangesAsync(); + + } + transaction2.Commit(); + } + } + if (model.compo_del != null && model.compo_del.Count() > 0) + { + + + using (var transaction3 = _Sicilia_mag.Database.BeginTransaction()) + { + foreach (Compo_Impia co in model.compo_del) + { + Mag_New mn = new Mag_New(); + riga = riga + 1; + mn = compo_ImpiaToMag_New(co, riga, newSerial, tecnico); + + await _Sicilia_mag.Mag.AddAsync(mn); + await _Sicilia_mag.SaveChangesAsync(); + } + transaction3.Commit(); + } + } + break; + case Clienti.Discovery: + using (var transaction4 = _Disco_rapp.Database.BeginTransaction()) + { + await _Disco_rapp.Rapps.AddAsync(r); + await _Disco_rapp.SaveChangesAsync(); + transaction4.Commit(); + } + break; + case Clienti.Gitoga: + using (var transactionGit = _Gitoga_rapp.Database.BeginTransaction()) + { + await _Gitoga_rapp.Rapps.AddAsync(r); + await _Gitoga_rapp.SaveChangesAsync(); + transactionGit.Commit(); + } + break; + case Clienti.Lifta: + using (var transactionLif = _Lifta_rapp.Database.BeginTransaction()) + { + await _Lifta_rapp.Rapps.AddAsync(r); + await _Lifta_rapp.SaveChangesAsync(); + transactionLif.Commit(); + } + break; + case Clienti.Siet: + using (var transactionSiet = _Siet_rapp.Database.BeginTransaction()) + { + await _Siet_rapp.Rapps.AddAsync(r); + await _Siet_rapp.SaveChangesAsync(); + transactionSiet.Commit(); + } + int rigaSiet = 0; + if (model.compo_add != null && model.compo_add.Count() > 0) + { + + using (var transaction2 = _Siet_mag.Database.BeginTransaction()) + { + + foreach (Saldiart co in model.compo_add) + { + rigaSiet = rigaSiet + 1; + Mag_New mn = new Mag_New(); + mn = saldiartToMag_New(co, rigaSiet, newSerial, tecnico); + + await _Siet_mag.Mag.AddAsync(mn); + await _Siet_mag.SaveChangesAsync(); + + } + transaction2.Commit(); + } + } + if (model.compo_del != null && model.compo_del.Count() > 0) + { + using (var transaction3 = _Siet_mag.Database.BeginTransaction()) + { + foreach (Compo_Impia co in model.compo_del) + { + Mag_New mn = new Mag_New(); + rigaSiet = rigaSiet + 1; + mn = compo_ImpiaToMag_New(co, rigaSiet, newSerial, tecnico); + + await _Siet_mag.Mag.AddAsync(mn); + await _Siet_mag.SaveChangesAsync(); + } + transaction3.Commit(); + } + } + + break; + case Clienti.PMS: + using (var transactionPms = _Pms_rapp.Database.BeginTransaction()) + { + await _Pms_rapp.Rapps.AddAsync(r); + await _Pms_rapp.SaveChangesAsync(); + transactionPms.Commit(); + } + int rigapms = 0; + if (model.compo_add != null && model.compo_add.Count() > 0) + { + + using (var transaction2 = _PMS_mag.Database.BeginTransaction()) + { + + foreach (Saldiart co in model.compo_add) + { + rigapms = rigapms + 1; + Mag_New mn = new Mag_New(); + mn = saldiartToMag_New(co, rigapms, newSerial, tecnico); + + await _PMS_mag.Mag.AddAsync(mn); + await _PMS_mag.SaveChangesAsync(); + + } + transaction2.Commit(); + } + } + if (model.compo_del != null && model.compo_del.Count() > 0) + { + using (var transaction3 = _PMS_mag.Database.BeginTransaction()) + { + foreach (Compo_Impia co in model.compo_del) + { + Mag_New mn = new Mag_New(); + rigapms = rigapms + 1; + mn = compo_ImpiaToMag_New(co, rigapms, newSerial, tecnico); + + await _PMS_mag.Mag.AddAsync(mn); + await _PMS_mag.SaveChangesAsync(); + } + transaction3.Commit(); + } + } + + break; + + default: + break; + } + man = await getManutenzioneByChiaveOut(model, token,r); + output = fillManprogOut(man, ten); + output.err_status_code = StatiRisposta.Ok; + return StatusCode(StatusCodes.Status200OK, output); + } + else + { + output.err_title = "Impossibile chiudere la manutenzione"; + output.err_detail = "Manutenzione precedentemente chiusa"; + output.err_status_code = StatiRisposta.OperazioneNonAmmessa; + return StatusCode(StatusCodes.Status500InternalServerError, output); + } + + } + catch (Exception ex) + { + string errmsg = ex.InnerException != null ? ex.InnerException.Message : ex.Message; + + output.err_title = ex.Message; + output.err_detail = errmsg; + output.err_status_code = StatiRisposta.ErroreInterno; + return StatusCode(StatusCodes.Status500InternalServerError, output); + } + + //return output; + } + + /// rilascia: elimina record su Prese con i dati dell'intervento return:ActionResult + [HttpPost] + [Route("manutenzioni/rilascia")] + public async Task> rilasciaMan([FromBody] Input model, string token) + { + string ten = getClaimValueByToken(token, "tenant"); + string tecnico = getClaimValueByToken(token, "tccodice"); + Manprog man = new Manprog(); + Manprog_out output = new Manprog_out(); + Prese pre = null; + try + { + if ((pre=await checkManutenzioneDaRilasciare(ten, model.pimpianto, model.picodint, model.pidatman)) !=null) + { + //_prese = getPreseByTenant(ten); + //var pre = _prese.SingleOrDefault(t => t.picodazi.Equals(ten) && t.pimpianto.Equals(model.pimpianto) && t.picodint.Equals(model.picodint) && t.pidatman == model.pidatman); + switch (ten) + { + case Clienti.Marrocco: + using (var transaction = _Marro_prese.Database.BeginTransaction()) + { + _Marro_prese.Prese.Remove(pre); + await _Marro_prese.SaveChangesAsync(); + transaction.Commit(); + } + break; + case Clienti.Ferrari: + using (var transaction2 = _Ferra_prese.Database.BeginTransaction()) + { + _Ferra_prese.Prese.Remove(pre); + await _Ferra_prese.SaveChangesAsync(); + transaction2.Commit(); + } + break; + case Clienti.Sarom: + using (var transaction5 = _Sarom_prese.Database.BeginTransaction()) + { + _Sarom_prese.Prese.Remove(pre); + await _Sarom_prese.SaveChangesAsync(); + transaction5.Commit(); + } + break; + case Clienti.Sicilia: + using (var transaction3 = _Sicilia_prese.Database.BeginTransaction()) + { + _Sicilia_prese.Prese.Remove(pre); + await _Sicilia_prese.SaveChangesAsync(); + transaction3.Commit(); + } + break; + case Clienti.Discovery: + using (var transaction4 = _Disco_prese.Database.BeginTransaction()) + { + _Disco_prese.Prese.Remove(pre); + await _Disco_prese.SaveChangesAsync(); + transaction4.Commit(); + } + break; + case Clienti.Gitoga: + using (var transactionGit = _Gitoga_prese.Database.BeginTransaction()) + { + _Gitoga_prese.Prese.Remove(pre); + await _Gitoga_prese.SaveChangesAsync(); + transactionGit.Commit(); + } + break; + case Clienti.Lifta: + using (var transactionLif = _Lifta_prese.Database.BeginTransaction()) + { + _Lifta_prese.Prese.Remove(pre); + await _Lifta_prese.SaveChangesAsync(); + transactionLif.Commit(); + } + break; + case Clienti.Siet: + using (var transactionSiet = _Siet_prese.Database.BeginTransaction()) + { + _Siet_prese.Prese.Remove(pre); + await _Siet_prese.SaveChangesAsync(); + transactionSiet.Commit(); + } + break; + case Clienti.PMS: + using (var transactionPms = _PMS_prese.Database.BeginTransaction()) + { + _PMS_prese.Prese.Remove(pre); + await _PMS_prese.SaveChangesAsync(); + transactionPms.Commit(); + } + break; + default: + break; + } + + //man = await getManutenzioneByChiave(model, token); + man = await getManutenzioneByChiave2(pre, token); + + output = fillManprogOut(man, ten); + //output = fillManprogOut2(man, ten); + + output.err_status_code = StatiRisposta.Ok; + return StatusCode(StatusCodes.Status200OK, output); + } + else + { + output.err_title = "Impossibile rilasciare la manutenzione. Manutenzione non trovata"; + + StringBuilder sb = new StringBuilder(); + sb.AppendLine("pimpianto: "+model.pimpianto); + sb.AppendLine("picodint: " + model.picodint); + sb.AppendLine("pidatman: " + model.pidatman); + sb.AppendLine("tenant: " + ten); + output.err_detail = sb.ToString(); + sb.Clear(); + output.err_status_code = StatiRisposta.OperazioneNonAmmessa; + return StatusCode(StatusCodes.Status500InternalServerError, output); + } + } + catch (Exception ex) + { + string errmsg = ex.InnerException != null ? ex.InnerException.Message : ex.Message; + + output.err_title = ex.Message; + output.err_detail = errmsg; + output.err_status_code = StatiRisposta.ErroreInterno; + return StatusCode(StatusCodes.Status500InternalServerError, output); + } + + //return output; + } + #endregion + + #region UPLOAD FILE + private static void FtpSend(string url, string ftp_usr, string ftp_pwd, IFormFile files) + { + //string url = "ftp://10.0.0.10/LABSE/" + fileName; + //url = "ftp://poloinformatico41.clienti.init-s.it:6363/test.bmp"; + + //esempio Discovery + //url = "ftp://discoverylift.dyndns.org:21/test.jpg"; + + + //esempio SICILIA PROD + //url = "ftp://studioliuzzo.selfip.net:21/adhoc/bmp_24.bmp"; + + FtpWebRequest request = (FtpWebRequest)WebRequest.Create(url); + request.Credentials = new NetworkCredential(ftp_usr, ftp_pwd); + //request.Credentials = new NetworkCredential("anonymous", "janeDoe@contoso.com"); + request.Method = WebRequestMethods.Ftp.UploadFile; + using (Stream ftpStream = request.GetRequestStream()) + { + files.CopyTo(ftpStream); + } + } + private static void SFtpSend(string url, string ftp_usr, string ftp_pwd, IFormFile files) + { + var connectionInfo = new Renci.SshNet.ConnectionInfo(url, "sftp", new PasswordAuthenticationMethod(ftp_usr, ftp_pwd)); + + // Upload File + using (var sftp = new SftpClient(connectionInfo)) + { + sftp.Connect(); + //sftp.ChangeDirectory("/MyFolder"); + using (var uplfileStream = System.IO.File.OpenRead(files.FileName)) + { + sftp.UploadFile(uplfileStream, files.FileName, true); + } + sftp.Disconnect(); + } + } + + /// + public static void FileUploadSFTP(IFormFile files,string ip,string usr,string pwd, int? sftp_port, string filename) + { + //var host = "37.159.179.14"; + //var port = 27000; + //var username = "apppolo"; + //var password = "utx3BizRykw1hdY"; + + var host = ip; + var port = sftp_port.Value; + var username = usr; + var password = pwd; + + // path for file you want to upload + //var uploadFile = @"C:\Zucchetti\b.bmp"; + var uploadFile = files.OpenReadStream(); + + using (var client = new SftpClient(host, port, username, password)) + { + client.Connect(); + using (var uplfileStream = files.OpenReadStream()) + { + client.UploadFile(uplfileStream, filename); + } + } + } + + /// Upload return:ActionResult + [HttpPost] + [Route("file/upload")] + public async Task OnPostUpload2Async(IFormFile files, string token, string nomefile) + { + string ten = getClaimValueByToken(token, "tenant"); + string fileName = string.Empty; + string ten2 = string.Empty; + + if (ten.Equals(Clienti.VT)) + { + ten2= getClaimValueByToken(token, "tenant2"); + _confLette = await readConf(ten2); + } + else + { + _confLette = await readConf(ten); + } + + try + { + long size = files.Length; + if(string.IsNullOrEmpty(nomefile)) + { + fileName = Path.GetFileName(files.FileName); + } + else + { + fileName = nomefile; + } + + string url = string.Empty; + string usr = string.Empty; + string pwd = string.Empty; + string ip = string.Empty; + int? port = 0; + + switch (ten) + { + case Clienti.Marrocco: + url = _confLette.ftp_url + fileName; + usr = _confLette.ftp_usr != null ? _confLette.ftp_usr : string.Empty; + pwd = _confLette.ftp_pwd != null ? _confLette.ftp_pwd : string.Empty; + FtpSend(url, usr, pwd, files); + + break; + case Clienti.Gitoga: + url = _confLette.ftp_url + fileName; + usr = _confLette.ftp_usr != null ? _confLette.ftp_usr : string.Empty; + pwd = _confLette.ftp_pwd != null ? _confLette.ftp_pwd : string.Empty; + FtpSend(url, usr, pwd, files); + + break; + case Clienti.Lifta: + url = _confLette.ftp_url + fileName; + usr = _confLette.ftp_usr != null ? _confLette.ftp_usr : string.Empty; + pwd = _confLette.ftp_pwd != null ? _confLette.ftp_pwd : string.Empty; + FtpSend(url, usr, pwd, files); + + break; + + case Clienti.Ferrari: + ip = _confLette.ftp_url!=null ? _confLette.ftp_url : string.Empty; + usr = _confLette.ftp_usr != null ? _confLette.ftp_usr : string.Empty; + pwd = _confLette.ftp_pwd != null ? _confLette.ftp_pwd : string.Empty; + port = _confLette.ftp_port != null ? _confLette.ftp_port : 0; + + FileUploadSFTP(files,ip,usr,pwd, port,fileName); + + break; + case Clienti.Sarom: + ip = _confLette.ftp_url != null ? _confLette.ftp_url : string.Empty; + usr = _confLette.ftp_usr != null ? _confLette.ftp_usr : string.Empty; + pwd = _confLette.ftp_pwd != null ? _confLette.ftp_pwd : string.Empty; + port = _confLette.ftp_port != null ? _confLette.ftp_port : 0; + + FileUploadSFTP(files, ip, usr, pwd, port, fileName); + + break; + case Clienti.Sicilia: + url = _confLette.ftp_url + fileName; + usr = _confLette.ftp_usr != null ? _confLette.ftp_usr : string.Empty; + pwd = _confLette.ftp_pwd != null ? _confLette.ftp_pwd : string.Empty; + FtpSend(url, usr, pwd, files); + + break; + case Clienti.Discovery: + + //ip = _confLette.ftp_url != null ? _confLette.ftp_url : string.Empty; + //usr = _confLette.ftp_usr != null ? _confLette.ftp_usr : string.Empty; + //pwd = _confLette.ftp_pwd != null ? _confLette.ftp_pwd : string.Empty; + //port = _confLette.ftp_port != null ? _confLette.ftp_port : 0; + //FileUploadSFTP(files, ip, usr, pwd, port, fileName); + + + //url = _confLette.ftp_url + fileName; + usr = _confLette.ftp_usr != null ? _confLette.ftp_usr : string.Empty; + pwd = _confLette.ftp_pwd != null ? _confLette.ftp_pwd : string.Empty; + port = _confLette.ftp_port != null ? _confLette.ftp_port : 0; + + //ftp://discoverylift.dyndns.org:21/test.jpg; + url = string.Format("{0}:{1}/{2}", _confLette.ftp_url, port, fileName); + FtpSend(url, usr, pwd, files); + break; + case Clienti.Siet: + url = _confLette.ftp_url + fileName; + usr = _confLette.ftp_usr != null ? _confLette.ftp_usr : string.Empty; + pwd = _confLette.ftp_pwd != null ? _confLette.ftp_pwd : string.Empty; + FtpSend(url, usr, pwd, files); + break; + case Clienti.PMS: + url = _confLette.ftp_url + fileName; + usr = _confLette.ftp_usr != null ? _confLette.ftp_usr : string.Empty; + pwd = _confLette.ftp_pwd != null ? _confLette.ftp_pwd : string.Empty; + FtpSend(url, usr, pwd, files); + break; + case Clienti.VT: + + // per VT faccio solo il salvataggio in tabella + + + //url = _confLette.ftp_url + fileName; + //usr = _confLette.ftp_usr != null ? _confLette.ftp_usr : string.Empty; + //pwd = _confLette.ftp_pwd != null ? _confLette.ftp_pwd : string.Empty; + //FtpSend(url, usr, pwd, files); + break; + default: + break; + } + //per Virtual Task inserisco anche nella tabella buoni + if(ten.Equals(Clienti.VT)) + { + Buoni model = new Buoni(); + model.azienda = ten2; + if(nomefile.Length>8) + nomefile=nomefile.Substring(0,8); + model.ser_buono = nomefile; + model.dt_ins = DateTime.Now; + using (MemoryStream ms = new MemoryStream()) + { + files.CopyTo(ms); + byte[] array = ms.GetBuffer(); + model.immagine = array; + } + try + { + using (var transaction = _VT_Buoni.Database.BeginTransaction()) + { + await _VT_Buoni.buoni.AddAsync(model); + await _VT_Buoni.SaveChangesAsync(); + transaction.Commit(); + } + + return StatusCode(StatusCodes.Status200OK, model); + } + catch (Exception ex) + { + string errmsg = ex.InnerException != null ? ex.InnerException.Message : ex.Message; + return StatusCode(StatusCodes.Status500InternalServerError, errmsg); + } + } + + return Ok(new { count = 1, size }); + } + catch (Exception ex) + { + //return Json(new { Name = ex.Message, ID = 1, Filename= fileName }); ; + return StatusCode(StatusCodes.Status500InternalServerError, ex.Message); + } + } + + #endregion + + #region IMPIANTI COMPONENTI + private async Task fillCompoImpiaByInput(Compo_Impia i, string token) + { + Compo_Impia_Table r = new Compo_Impia_Table(); + + string ten = getClaimValueByToken(token, "tenant"); + string tecnico = getClaimValueByToken(token, "tccodice"); + + //i = fakeInput(i, ten); + _compoTable = getComponentiTableByTenant(ten); + var co = await _compoTable.Where(t => t.cocodimp == i.cocodimp).OrderByDescending(t => t.cprownum).ToListAsync(); + + int? row = 0; + if(co!=null && co.Count()>0) + { + row = co.First().cprownum; + } + row++; + + r.cocodimp = co.First().cocodimp; + r.cprownum = row; + r.cocodart = i.cocodart; + r.coqtaart = i.coqtaart; + r.co__note = i.co__note; + r.pilotto = i.lotto; + r.pimatric = i.matricola; + r.cocodazi = ten; + + return r; + } + private Compo_Impia_out fillCompoImpiaOUTByInput(Compo_Impia_Table i) + { + Compo_Impia_out r = new Compo_Impia_out(); + + r.cocodimp = i.cocodimp; + r.cprownum = i.cprownum; + r.cocodart = i.cocodart; + r.coqtaart = i.coqtaart; + r.co__note = i.co__note; + r.lotto = i.pilotto; + r.matricola = i.pimatric; + r.cocodazi = i.cocodazi; + + return r; + } + + /// Componenti impianto return:ActionResult + [HttpGet("componenti_impianto")] + public async Task>> componenti_impianto(string token, string codimp) + { + try + { + string ten = getClaimValueByToken(token, "tenant"); + + _compo = getComponentiByTenant(ten); + + var co = await _compo.Where( + t => t.cocodimp == codimp + ).ToListAsync(); + + return StatusCode(StatusCodes.Status200OK, co); + } + catch (Exception ex) + { + return StatusCode(StatusCodes.Status500InternalServerError, ex.Message); + } + } + + /// aggiunge un componente all'impianto. Inserisce in LABSEMICOMIMP return:ActionResult + [HttpPost] + [Route("componenti_impianto/add")] + public async Task> addcomponente([FromBody] Compo_Impia model, string token) + { + string ten = getClaimValueByToken(token, "tenant"); + + Compo_Impia_Table co = new Compo_Impia_Table(); + Compo_Impia_out co_out = new Compo_Impia_out(); + co = await fillCompoImpiaByInput(model, token); + co_out = fillCompoImpiaOUTByInput(co); + + try + { + switch (ten) + { + case Clienti.Sicilia: + using (var transaction = _Sicilia_compTable.Database.BeginTransaction()) + { + await _Sicilia_compTable.Componen.AddAsync(co); + await _Sicilia_compTable.SaveChangesAsync(); + transaction.Commit(); + } + break; + case Clienti.Siet: + using (var transactionSiet = _Siet_compTable.Database.BeginTransaction()) + { + await _Siet_compTable.Componen.AddAsync(co); + await _Siet_compTable.SaveChangesAsync(); + transactionSiet.Commit(); + } + break; + case Clienti.PMS: + using (var transactionPms = _PMS_compTable.Database.BeginTransaction()) + { + await _PMS_compTable.Componen.AddAsync(co); + await _PMS_compTable.SaveChangesAsync(); + transactionPms.Commit(); + } + break; + default: + break; + } + + co_out.err_status_code = StatiRisposta.Ok; + return StatusCode(StatusCodes.Status200OK, co_out); + + } + catch (Exception ex) + { + string errmsg = ex.InnerException != null ? ex.InnerException.Message : ex.Message; + co_out.err_title = ex.Message; + co_out.err_detail = errmsg; + co_out.err_status_code = StatiRisposta.ErroreInterno; + return StatusCode(StatusCodes.Status500InternalServerError, co_out); + } + //return co_out; + } + + /// toglie un componente all'impianto. Cancella in LABSEMICOMIMP return:ActionResult + [HttpPost] + [Route("componenti_impianto/del")] + public async Task> delcomponente([FromBody] Compo_Impia model, string token) + { + string ten = getClaimValueByToken(token, "tenant"); + _compoTable = getComponentiTableByTenant(ten); + var comp = await _compoTable.Where(t => t.cocodimp == model.cocodimp && t.cprownum == model.cprownum && t.cocodazi == ten).ToListAsync(); + Compo_Impia_out co_out = new Compo_Impia_out(); + + if (comp != null) + { + Compo_Impia_Table t = new Compo_Impia_Table(); + t = (Compo_Impia_Table)comp.First(); + co_out = fillCompoImpiaOUTByInput(t); + try + { + switch (ten) + { + case Clienti.Sicilia: + using (var transaction = _Sicilia_compTable.Database.BeginTransaction()) + { + _Sicilia_compTable.Entry(t).State = EntityState.Deleted; + await _Sicilia_compTable.SaveChangesAsync(); + transaction.Commit(); + } + break; + case Clienti.Siet: + using (var transactionSiet = _Siet_compTable.Database.BeginTransaction()) + { + _Siet_compTable.Entry(t).State = EntityState.Deleted; + await _Siet_compTable.SaveChangesAsync(); + transactionSiet.Commit(); + } + break; + case Clienti.PMS: + using (var transactionPMS = _PMS_compTable.Database.BeginTransaction()) + { + _PMS_compTable.Entry(t).State = EntityState.Deleted; + await _PMS_compTable.SaveChangesAsync(); + transactionPMS.Commit(); + } + break; + default: + break; + } + + co_out.err_status_code = StatiRisposta.Ok; + return StatusCode(StatusCodes.Status200OK, co_out); + + } + catch (Exception ex) + { + string errmsg = ex.InnerException != null ? ex.InnerException.Message : ex.Message; + co_out.err_title = ex.Message; + co_out.err_detail = errmsg; + co_out.err_status_code = StatiRisposta.ErroreInterno; + return StatusCode(StatusCodes.Status500InternalServerError, co_out); + } + + } + else + { + co_out.err_title = "Cancellazione fallita"; + co_out.err_detail = "record non trovato"; + co_out.err_status_code = StatiRisposta.ErroreInterno; + return StatusCode(StatusCodes.Status500InternalServerError, co_out); + } + //return co_out; + } + #endregion + + #region Saldi articoli + /// Ricerca articoli per impianto return:ActionResult + [HttpGet("saldi_articolo")] + public async Task>> saldi_articolo(string token, string? art, string? desart, string? matric, string? maga,string? codcli, string? codimp ) + { + try + { + string ten = getClaimValueByToken(token, "tenant"); + + _saldi = getSaldiartByTenant(ten); + Configurazioni conf = await readConf(ten); + int max_record = 0; + max_record = conf.max_record!=null? conf.max_record.Value:0; + string codlis = string.Empty; + _clienti = getClientiByTenant(ten); + var a = await _clienti.Where(t => t.ancodice == codcli).ToListAsync(); + if (a != null && a.Count() == 0) + { + codlis = conf.listino; + } + else + { + codlis = string.IsNullOrEmpty(a.First().annumlis) ? conf.listino : a.First().annumlis; + } + var co = await _saldi.Where(t => t.slcodmag != null && t.slcodmag.Equals(maga) && t.licodlis != null && t.licodlis.Equals(codlis)).ToListAsync(); + //var co = await _saldi.Where(t => t.licodlis != null && t.licodlis.Equals(codlis)).ToListAsync(); + //if (!string.IsNullOrEmpty(maga)) + //{ + // co = co.Where(t => t.slcodmag != null && t.slcodmag.Equals(maga)).ToList(); + //} + + + if (!string.IsNullOrEmpty(art)) + { + co = co.Where(t => t.slcodice != null && t.slcodice.ToUpper().Contains(art.ToUpper())).ToList(); + } + if (!string.IsNullOrEmpty(desart)) + { + co = co.Where(t => t.ardesart != null && t.ardesart.ToUpper().Contains(desart.ToUpper())).ToList(); + } + if (!string.IsNullOrEmpty(matric)) + { + var codart = co.Where(m => m.amcodice != null && m.amcodice.ToUpper().Contains(matric.ToUpper())).ToList(); + if (codart != null && codart.Count() > 0) + { + string artTrovato = codart.First().slcodice; + co = co.Where(t => t.slcodice != null && t.slcodice.ToUpper().Contains(artTrovato.ToUpper()) + && t.amcodice.ToUpper().Contains(matric.ToUpper())).ToList(); + } + else + { + // devo svuotare l'elenco articoli + co = co.Take(0).ToList(); + } + } + co = co.Take(max_record).ToList(); + return StatusCode(StatusCodes.Status200OK, co); + } + catch (Exception ex) + { + return StatusCode(StatusCodes.Status500InternalServerError, ex.Message); + } + } + #endregion + + #region Magazzino + private async Task fillMag_NewByInput(Mag_New i, string token) + { + Mag_New r = new Mag_New(); + + string ten = getClaimValueByToken(token, "tenant"); + string tecnico = getClaimValueByToken(token, "tccodice"); + + //i = fakeInput(i, ten); + _mag = getMag_NewByTenant(ten); + var co = await _mag.Where(t => t.seriale_rapportino == i.seriale_rapportino).OrderByDescending(t => t.riga).ToListAsync(); + + int? row = 0; + if (co != null && co.Count() > 0) + { + row = co.First().riga; + row++; + } + else + { + row++; + } + + + r.seriale_rapportino = i.seriale_rapportino; + r.riga = row; + r.magazzino = i.magazzino; + r.articolo = i.articolo; + r.tipo_movimento = i.tipo_movimento; + r.quantita = i.quantita; + r.prezzo = i.prezzo; + r.codice_tecnico = i.codice_tecnico; + r.generato = i.generato; + r.codlotto = i.codlotto; + r.matricola = i.matricola; + r.cprownum = row; + + return r; + } + private Mag_New_out fillMag_NewOUTByInput(Mag_New i) + { + Mag_New_out r = new Mag_New_out(); + + r.seriale_rapportino = i.seriale_rapportino; + r.riga = i.riga; + r.magazzino = i.magazzino; + r.articolo = i.articolo; + r.tipo_movimento = i.tipo_movimento; + r.quantita = i.quantita; + r.prezzo = i.prezzo; + r.codice_tecnico = i.codice_tecnico; + r.generato = i.generato; + r.codlotto = i.codlotto; + r.matricola = i.matricola; + return r; + } + + /// rapportino per pezzi magazzino. Inserisce in LABSEMAG_NEW return:ActionResult + [HttpPost] + [Route("rapportini/add")] + public async Task> addrapportino([FromBody] Mag_New model, string token) + { + string ten = getClaimValueByToken(token, "tenant"); + + Mag_New co = new Mag_New(); + Mag_New_out co_out = new Mag_New_out(); + co = await fillMag_NewByInput(model, token); + co_out = fillMag_NewOUTByInput(co); + + try + { + switch (ten) + { + case Clienti.Sicilia: + using (var transaction = _Sicilia_mag.Database.BeginTransaction()) + { + await _Sicilia_mag.Mag.AddAsync(co); + await _Sicilia_mag.SaveChangesAsync(); + transaction.Commit(); + } + break; + case Clienti.Siet: + using (var transactionSiet = _Siet_mag.Database.BeginTransaction()) + { + await _Siet_mag.Mag.AddAsync(co); + await _Siet_mag.SaveChangesAsync(); + transactionSiet.Commit(); + } + break; + case Clienti.PMS: + using (var transactionPMS = _PMS_mag.Database.BeginTransaction()) + { + await _PMS_mag.Mag.AddAsync(co); + await _PMS_mag.SaveChangesAsync(); + transactionPMS.Commit(); + } + break; + default: + break; + } + + co_out.err_status_code = StatiRisposta.Ok; + return StatusCode(StatusCodes.Status200OK, co_out); + } + catch (Exception ex) + { + string errmsg = ex.InnerException != null ? ex.InnerException.Message : ex.Message; + co_out.err_title = ex.Message; + co_out.err_detail = errmsg; + co_out.err_status_code = StatiRisposta.ErroreInterno; + return StatusCode(StatusCodes.Status500InternalServerError, co_out); + } + //return co_out; + } + + #endregion + + #region Storico rapportini + + private Sto_Rapp_out fillSto_Rapp_Out(Sto_Rapp i, string tenant) + { + Sto_Rapp_out o = new Sto_Rapp_out(); + + o.tccodice = !string.IsNullOrEmpty(i.tccodice) ? i.tccodice.Trim() : string.Empty; ; + o.tcdescri = !string.IsNullOrEmpty(i.tcdescri) ? i.tcdescri.Trim() : string.Empty; ; + o.note_esito = !string.IsNullOrEmpty(i.note_esito) ? i.note_esito.Trim():string.Empty ; + o.data_rapportino = i.data_rapportino; + + Dictionary dic = new Dictionary(); + switch (tenant) + { + case Clienti.Marrocco: + #region marrocco + //chiamata + if (!string.IsNullOrEmpty(i.codice_segnalazione) && !i.codice_segnalazione.Trim().Equals(string.Empty)) + { + dic.Add("Codice segnalazione", i.codice_segnalazione.Trim()); + } + if (!string.IsNullOrEmpty(i.seriale_chiamata) && !i.seriale_chiamata.Trim().Equals(string.Empty)) + { + dic.Add("N° Chiamata", i.seriale_chiamata.Trim()); + } + //manutenzione + if (!string.IsNullOrEmpty(i.codice_intervento) && !i.codice_intervento.Trim().Equals(string.Empty)) + { + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_intervento.Trim()); + if (!string.IsNullOrEmpty(i.cidescri) && !i.cidescri.Trim().Equals(string.Empty)) + { + sb.Append(" - " + i.cidescri.Trim()); + } + if (!string.IsNullOrEmpty(i.cidessup) && !i.cidessup.Trim().Equals(string.Empty)) + { + sb.Append(" - " + i.cidessup.Trim()); + } + dic.Add("Manutenzione", sb.ToString()); + } + if (i.data_manutenzione != null) + { + dic.Add("Data manutenzione", i.data_manutenzione.Value.ToString()); + } + + //dati intervento + if (!string.IsNullOrEmpty(i.stato_finale) && !i.stato_finale.Trim().Equals(string.Empty)) + { + string st = string.Empty; + switch (i.stato_finale) + { + case "1": + st = "In Funzione"; + dic.Add("Stato finale", st); + break; + case "0": + st = "Fermo"; + dic.Add("Stato finale", st); + break; + } + } + if (!string.IsNullOrEmpty(i.esito_intervento) && !i.esito_intervento.Trim().Equals(string.Empty)) + { + string st = string.Empty; + switch (i.esito_intervento) + { + case "1": + st = "Positivo"; + break; + case "P": + st = "Positivo"; + break; + default: + st = "Negativo"; + break; + } + dic.Add("Esito intervento", st); + } + if (!string.IsNullOrEmpty(i.descrizione_intervento) && !i.descrizione_intervento.Trim().Equals(string.Empty)) + { + dic.Add("Descrizione intervento", i.descrizione_intervento.Trim()); + } + if (!string.IsNullOrEmpty(i.difetti_riscontrati) && !i.difetti_riscontrati.Trim().Equals(string.Empty)) + { + dic.Add("Difetti riscontrati", i.difetti_riscontrati.Trim()); + } + if (!string.IsNullOrEmpty(i.lavoro_eseguito) && !i.lavoro_eseguito.Trim().Equals(string.Empty)) + { + dic.Add("Lavoro eseguito", i.lavoro_eseguito.Trim()); + } + if (!string.IsNullOrEmpty(i.note_intervento) && !i.note_intervento.Trim().Equals(string.Empty)) + { + dic.Add("Note intervento", i.note_intervento); + } + if (!string.IsNullOrEmpty(i.tipo_intervento) && !i.tipo_intervento.Trim().Equals(string.Empty)) + { + dic.Add("Tipo intervento", i.tipo_intervento.Trim()); + } + + if (!string.IsNullOrEmpty(i.codice_chiusura_1) && !i.codice_chiusura_1.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_1.Trim()); + if (!string.IsNullOrEmpty(i.cc1)) + { + sb.Append(" - " + i.cc1.Trim()); + } + sb.Append(i.ccds1); + if (!string.IsNullOrEmpty(i.ccds1)) + { + sb.Append(" - " + i.ccds1.Trim()); + } + dic.Add("Codice Chiusura 1", sb.ToString()); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_2) && !i.codice_chiusura_2.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_2.Trim()); + if (!string.IsNullOrEmpty(i.cc2)) + { + sb.Append(" - " + i.cc2.Trim()); + } + sb.Append(i.ccds2); + if (!string.IsNullOrEmpty(i.ccds2)) + { + sb.Append(" - " + i.ccds2.Trim()); + } + dic.Add("Codice Chiusura 2", sb.ToString()); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_3) && !i.codice_chiusura_3.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_3.Trim()); + if (!string.IsNullOrEmpty(i.cc3)) + { + sb.Append(" - " + i.cc3.Trim()); + } + sb.Append(i.ccds3); + if (!string.IsNullOrEmpty(i.ccds3)) + { + sb.Append(" - " + i.ccds3.Trim()); + } + dic.Add("Codice Chiusura 3", sb.ToString()); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_4) && !i.codice_chiusura_4.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_4.Trim()); + if (!string.IsNullOrEmpty(i.cc4)) + { + sb.Append(" - " + i.cc4.Trim()); + } + sb.Append(i.ccds4); + if (!string.IsNullOrEmpty(i.ccds4)) + { + sb.Append(" - " + i.ccds4.Trim()); + } + dic.Add("Codice Chiusura 4", sb.ToString()); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_5) && !i.codice_chiusura_5.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_5.Trim()); + if (!string.IsNullOrEmpty(i.cc5)) + { + sb.Append(" - " + i.cc5.Trim()); + } + sb.Append(i.ccds5); + if (!string.IsNullOrEmpty(i.ccds5)) + { + sb.Append(" - " + i.ccds5.Trim()); + } + dic.Add("Codice Chiusura 5", sb.ToString()); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_6) && !i.codice_chiusura_6.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_6.Trim()); + if (!string.IsNullOrEmpty(i.cc6)) + { + sb.Append(" - " + i.cc6.Trim()); + } + sb.Append(i.ccds6); + if (!string.IsNullOrEmpty(i.ccds6)) + { + sb.Append(" - " + i.ccds6.Trim()); + } + dic.Add("Codice Chiusura 6", sb.ToString()); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_7) && !i.codice_chiusura_7.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_7.Trim()); + if (!string.IsNullOrEmpty(i.cc7)) + { + sb.Append(" - " + i.cc7.Trim()); + } + sb.Append(i.ccds7); + if (!string.IsNullOrEmpty(i.ccds7)) + { + sb.Append(" - " + i.ccds7.Trim()); + } + dic.Add("Codice Chiusura 7", sb.ToString()); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_8) && !i.codice_chiusura_8.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_8.Trim()); + if (!string.IsNullOrEmpty(i.cc8)) + { + sb.Append(" - " + i.cc8.Trim()); + } + sb.Append(i.ccds8); + if (!string.IsNullOrEmpty(i.ccds8)) + { + sb.Append(" - " + i.ccds8.Trim()); + } + dic.Add("Codice Chiusura 8", sb.ToString()); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_9) && !i.codice_chiusura_9.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_9.Trim()); + if (!string.IsNullOrEmpty(i.cc9)) + { + sb.Append(" - " + i.cc9.Trim()); + } + sb.Append(i.ccds9); + if (!string.IsNullOrEmpty(i.ccds9)) + { + sb.Append(" - " + i.ccds9.Trim()); + } + dic.Add("Codice Chiusura 9", sb.ToString()); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_10) && !i.codice_chiusura_10.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_10.Trim()); + if (!string.IsNullOrEmpty(i.cc10)) + { + sb.Append(" - " + i.cc10.Trim()); + } + sb.Append(i.ccds10); + if (!string.IsNullOrEmpty(i.ccds10)) + { + sb.Append(" - " + i.ccds10.Trim()); + } + dic.Add("Codice Chiusura 10", sb.ToString()); + } + + if (!string.IsNullOrEmpty(i.firma) && !i.firma.Trim().Equals(string.Empty)) + { + dic.Add("Firma", i.firma.Trim()); + } + + if (!string.IsNullOrEmpty(i.ser_buono) && !i.ser_buono.Trim().Equals(string.Empty)) + { + dic.Add("N° buono", i.ser_buono.Trim()); + } + if (!string.IsNullOrEmpty(i.seriale_rapportino) && !i.seriale_rapportino.Trim().Equals(string.Empty)) + { + dic.Add("Seriale rapportino", i.seriale_rapportino.Trim()); + } + if (!string.IsNullOrEmpty(i.pagamento) && !i.pagamento.Trim().Equals(string.Empty)) + { + dic.Add("Pagamento", i.pagamento.Trim()); + } + if (!string.IsNullOrEmpty(i.note_pagamento) && !i.note_pagamento.Trim().Equals(string.Empty)) + { + dic.Add("Note pagamento", i.note_pagamento.Trim()); + } + if (!string.IsNullOrEmpty(i.codice_impianto) && !i.codice_impianto.Trim().Equals(string.Empty)) + { + dic.Add("Cod. impianto", i.codice_impianto.Trim()); + } + if (!string.IsNullOrEmpty(i.indirizzo) && !i.indirizzo.Trim().Equals(string.Empty)) + { + StringBuilder sb = new StringBuilder(); + string ind = string.Empty; + string via = !string.IsNullOrEmpty(i.indirizzo_tipo) ? i.indirizzo_tipo.Trim() : string.Empty; + string indiri = !string.IsNullOrEmpty(i.indirizzo) ? i.indirizzo.Trim() : string.Empty; + string num = string.Empty; + if (i.indirizzo_num != null && i.indirizzo_num.Value > 0) + { + num = i.indirizzo_num.ToString().Trim(); + } + string num2 = !string.IsNullOrEmpty(i.indirizzo_num2) ? i.indirizzo_num2.Trim() : string.Empty; + string sca = !string.IsNullOrEmpty(i.indirizzo_scala) ? i.indirizzo_scala.Trim() : string.Empty; + + //ind = string.Concat("{0} {1} num {2} interno {3} scala {4}",via,indiri,num,num2,sca); + if (!string.IsNullOrEmpty(via)) sb.Append(via); + if (!string.IsNullOrEmpty(indiri)) sb.Append(" " + indiri); + if (!string.IsNullOrEmpty(num)) sb.Append(" ," + num); + if (!string.IsNullOrEmpty(num2)) sb.Append(" Int: " + num2); + if (!string.IsNullOrEmpty(sca)) sb.Append(" Scala: " + sca); + dic.Add("Indirizzo imp", sb.ToString()); + + } + if (!string.IsNullOrEmpty(i.azienda_tecnico) && !i.azienda_tecnico.Trim().Equals(string.Empty)) + { + dic.Add("Azienda", i.azienda_tecnico); + } + if (!string.IsNullOrEmpty(i.generato) && !i.generato.Trim().Equals(string.Empty)) + { + string st = string.Empty; + switch (i.generato) + { + case "S": + st = "SI"; + break; + default: + st = "NO"; + break; + } + dic.Add("Rapportino importato", st); + } + + if (i.ore_lavoro != null && i.ore_lavoro.Value > 0) + { + dic.Add("Ore lavoro", i.ore_lavoro.Value.ToString()); + } + if (i.spese_viaggio != null && i.spese_viaggio.Value > 0) + { + dic.Add("Spese viaggio", i.spese_viaggio.Value.ToString()); + } + if (i.materiale != null && i.materiale.Value > 0) + { + dic.Add("Materiale", i.materiale.Value.ToString()); + } + if (i.anticipo != null && i.anticipo.Value > 0) + { + dic.Add("Anticipo", i.anticipo.Value.ToString()); + } + if (i.manodopera != null && i.manodopera.Value > 0) + { + dic.Add("Manodopera", i.manodopera.Value.ToString()); + } + if (i.diritto_chiamata != null && i.diritto_chiamata.Value > 0) + { + dic.Add("Diritto chiamata", i.diritto_chiamata.Value.ToString()); + } + if (i.totale != null && i.totale.Value > 0) + { + dic.Add("Totale", i.totale.Value.ToString()); + } + #endregion + break; + case Clienti.Gitoga: + #region gitoga + //chiamata + if (!string.IsNullOrEmpty(i.codice_segnalazione) && !i.codice_segnalazione.Trim().Equals(string.Empty)) + { + dic.Add("Codice segnalazione", i.codice_segnalazione.Trim()); + } + if (!string.IsNullOrEmpty(i.seriale_chiamata) && !i.seriale_chiamata.Trim().Equals(string.Empty)) + { + dic.Add("N° Chiamata", i.seriale_chiamata.Trim()); + } + //manutenzione + if (!string.IsNullOrEmpty(i.codice_intervento) && !i.codice_intervento.Trim().Equals(string.Empty)) + { + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_intervento.Trim()); + if (!string.IsNullOrEmpty(i.cidescri) && !i.cidescri.Trim().Equals(string.Empty)) + { + sb.Append(" - " + i.cidescri.Trim()); + } + if (!string.IsNullOrEmpty(i.cidessup) && !i.cidessup.Trim().Equals(string.Empty)) + { + sb.Append(" - " + i.cidessup.Trim()); + } + dic.Add("Manutenzione", sb.ToString()); + } + if (i.data_manutenzione != null) + { + dic.Add("Data manutenzione", i.data_manutenzione.Value.ToString()); + } + + //dati intervento + if (!string.IsNullOrEmpty(i.stato_finale) && !i.stato_finale.Trim().Equals(string.Empty)) + { + string st = string.Empty; + switch (i.stato_finale) + { + case "1": + st = "In Funzione"; + dic.Add("Stato finale", st); + break; + case "0": + st = "Fermo"; + dic.Add("Stato finale", st); + break; + } + } + if (!string.IsNullOrEmpty(i.esito_intervento) && !i.esito_intervento.Trim().Equals(string.Empty)) + { + string st = string.Empty; + switch (i.esito_intervento) + { + case "1": + st = "Positivo"; + break; + case "P": + st = "Positivo"; + break; + default: + st = "Negativo"; + break; + } + dic.Add("Esito intervento", st); + } + if (!string.IsNullOrEmpty(i.descrizione_intervento) && !i.descrizione_intervento.Trim().Equals(string.Empty)) + { + dic.Add("Descrizione intervento", i.descrizione_intervento.Trim()); + } + if (!string.IsNullOrEmpty(i.difetti_riscontrati) && !i.difetti_riscontrati.Trim().Equals(string.Empty)) + { + dic.Add("Difetti riscontrati", i.difetti_riscontrati.Trim()); + } + if (!string.IsNullOrEmpty(i.lavoro_eseguito) && !i.lavoro_eseguito.Trim().Equals(string.Empty)) + { + dic.Add("Lavoro eseguito", i.lavoro_eseguito.Trim()); + } + if (!string.IsNullOrEmpty(i.note_intervento) && !i.note_intervento.Trim().Equals(string.Empty)) + { + dic.Add("Note intervento", i.note_intervento); + } + if (!string.IsNullOrEmpty(i.tipo_intervento) && !i.tipo_intervento.Trim().Equals(string.Empty)) + { + dic.Add("Tipo intervento", i.tipo_intervento.Trim()); + } + + if (!string.IsNullOrEmpty(i.codice_chiusura_1) && !i.codice_chiusura_1.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_1.Trim()); + if (!string.IsNullOrEmpty(i.cc1)) + { + sb.Append(" - " + i.cc1.Trim()); + } + sb.Append(i.ccds1); + if (!string.IsNullOrEmpty(i.ccds1)) + { + sb.Append(" - " + i.ccds1.Trim()); + } + dic.Add("Codice Chiusura 1", sb.ToString()); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_2) && !i.codice_chiusura_2.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_2.Trim()); + if (!string.IsNullOrEmpty(i.cc2)) + { + sb.Append(" - " + i.cc2.Trim()); + } + sb.Append(i.ccds2); + if (!string.IsNullOrEmpty(i.ccds2)) + { + sb.Append(" - " + i.ccds2.Trim()); + } + dic.Add("Codice Chiusura 2", sb.ToString()); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_3) && !i.codice_chiusura_3.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_3.Trim()); + if (!string.IsNullOrEmpty(i.cc3)) + { + sb.Append(" - " + i.cc3.Trim()); + } + sb.Append(i.ccds3); + if (!string.IsNullOrEmpty(i.ccds3)) + { + sb.Append(" - " + i.ccds3.Trim()); + } + dic.Add("Codice Chiusura 3", sb.ToString()); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_4) && !i.codice_chiusura_4.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_4.Trim()); + if (!string.IsNullOrEmpty(i.cc4)) + { + sb.Append(" - " + i.cc4.Trim()); + } + sb.Append(i.ccds4); + if (!string.IsNullOrEmpty(i.ccds4)) + { + sb.Append(" - " + i.ccds4.Trim()); + } + dic.Add("Codice Chiusura 4", sb.ToString()); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_5) && !i.codice_chiusura_5.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_5.Trim()); + if (!string.IsNullOrEmpty(i.cc5)) + { + sb.Append(" - " + i.cc5.Trim()); + } + sb.Append(i.ccds5); + if (!string.IsNullOrEmpty(i.ccds5)) + { + sb.Append(" - " + i.ccds5.Trim()); + } + dic.Add("Codice Chiusura 5", sb.ToString()); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_6) && !i.codice_chiusura_6.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_6.Trim()); + if (!string.IsNullOrEmpty(i.cc6)) + { + sb.Append(" - " + i.cc6.Trim()); + } + sb.Append(i.ccds6); + if (!string.IsNullOrEmpty(i.ccds6)) + { + sb.Append(" - " + i.ccds6.Trim()); + } + dic.Add("Codice Chiusura 6", sb.ToString()); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_7) && !i.codice_chiusura_7.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_7.Trim()); + if (!string.IsNullOrEmpty(i.cc7)) + { + sb.Append(" - " + i.cc7.Trim()); + } + sb.Append(i.ccds7); + if (!string.IsNullOrEmpty(i.ccds7)) + { + sb.Append(" - " + i.ccds7.Trim()); + } + dic.Add("Codice Chiusura 7", sb.ToString()); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_8) && !i.codice_chiusura_8.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_8.Trim()); + if (!string.IsNullOrEmpty(i.cc8)) + { + sb.Append(" - " + i.cc8.Trim()); + } + sb.Append(i.ccds8); + if (!string.IsNullOrEmpty(i.ccds8)) + { + sb.Append(" - " + i.ccds8.Trim()); + } + dic.Add("Codice Chiusura 8", sb.ToString()); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_9) && !i.codice_chiusura_9.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_9.Trim()); + if (!string.IsNullOrEmpty(i.cc9)) + { + sb.Append(" - " + i.cc9.Trim()); + } + sb.Append(i.ccds9); + if (!string.IsNullOrEmpty(i.ccds9)) + { + sb.Append(" - " + i.ccds9.Trim()); + } + dic.Add("Codice Chiusura 9", sb.ToString()); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_10) && !i.codice_chiusura_10.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_10.Trim()); + if (!string.IsNullOrEmpty(i.cc10)) + { + sb.Append(" - " + i.cc10.Trim()); + } + sb.Append(i.ccds10); + if (!string.IsNullOrEmpty(i.ccds10)) + { + sb.Append(" - " + i.ccds10.Trim()); + } + dic.Add("Codice Chiusura 10", sb.ToString()); + } + + if (!string.IsNullOrEmpty(i.firma) && !i.firma.Trim().Equals(string.Empty)) + { + dic.Add("Firma", i.firma.Trim()); + } + + if (!string.IsNullOrEmpty(i.ser_buono) && !i.ser_buono.Trim().Equals(string.Empty)) + { + dic.Add("N° buono", i.ser_buono.Trim()); + } + if (!string.IsNullOrEmpty(i.seriale_rapportino) && !i.seriale_rapportino.Trim().Equals(string.Empty)) + { + dic.Add("Seriale rapportino", i.seriale_rapportino.Trim()); + } + if (!string.IsNullOrEmpty(i.pagamento) && !i.pagamento.Trim().Equals(string.Empty)) + { + dic.Add("Pagamento", i.pagamento.Trim()); + } + if (!string.IsNullOrEmpty(i.note_pagamento) && !i.note_pagamento.Trim().Equals(string.Empty)) + { + dic.Add("Note pagamento", i.note_pagamento.Trim()); + } + if (!string.IsNullOrEmpty(i.codice_impianto) && !i.codice_impianto.Trim().Equals(string.Empty)) + { + dic.Add("Cod. impianto", i.codice_impianto.Trim()); + } + if (!string.IsNullOrEmpty(i.indirizzo) && !i.indirizzo.Trim().Equals(string.Empty)) + { + StringBuilder sb = new StringBuilder(); + string ind = string.Empty; + string via = !string.IsNullOrEmpty(i.indirizzo_tipo) ? i.indirizzo_tipo.Trim() : string.Empty; + string indiri = !string.IsNullOrEmpty(i.indirizzo) ? i.indirizzo.Trim() : string.Empty; + string num = string.Empty; + if (i.indirizzo_num != null && i.indirizzo_num.Value > 0) + { + num = i.indirizzo_num.ToString().Trim(); + } + string num2 = !string.IsNullOrEmpty(i.indirizzo_num2) ? i.indirizzo_num2.Trim() : string.Empty; + string sca = !string.IsNullOrEmpty(i.indirizzo_scala) ? i.indirizzo_scala.Trim() : string.Empty; + + //ind = string.Concat("{0} {1} num {2} interno {3} scala {4}",via,indiri,num,num2,sca); + if (!string.IsNullOrEmpty(via)) sb.Append(via); + if (!string.IsNullOrEmpty(indiri)) sb.Append(" " + indiri); + if (!string.IsNullOrEmpty(num)) sb.Append(" ," + num); + if (!string.IsNullOrEmpty(num2)) sb.Append(" Int: " + num2); + if (!string.IsNullOrEmpty(sca)) sb.Append(" Scala: " + sca); + dic.Add("Indirizzo imp", sb.ToString()); + + } + if (!string.IsNullOrEmpty(i.azienda_tecnico) && !i.azienda_tecnico.Trim().Equals(string.Empty)) + { + dic.Add("Azienda", i.azienda_tecnico); + } + if (!string.IsNullOrEmpty(i.generato) && !i.generato.Trim().Equals(string.Empty)) + { + string st = string.Empty; + switch (i.generato) + { + case "S": + st = "SI"; + break; + default: + st = "NO"; + break; + } + dic.Add("Rapportino importato", st); + } + + if (i.ore_lavoro != null && i.ore_lavoro.Value > 0) + { + dic.Add("Ore lavoro", i.ore_lavoro.Value.ToString()); + } + if (i.spese_viaggio != null && i.spese_viaggio.Value > 0) + { + dic.Add("Spese viaggio", i.spese_viaggio.Value.ToString()); + } + if (i.materiale != null && i.materiale.Value > 0) + { + dic.Add("Materiale", i.materiale.Value.ToString()); + } + if (i.anticipo != null && i.anticipo.Value > 0) + { + dic.Add("Anticipo", i.anticipo.Value.ToString()); + } + if (i.manodopera != null && i.manodopera.Value > 0) + { + dic.Add("Manodopera", i.manodopera.Value.ToString()); + } + if (i.diritto_chiamata != null && i.diritto_chiamata.Value > 0) + { + dic.Add("Diritto chiamata", i.diritto_chiamata.Value.ToString()); + } + if (i.totale != null && i.totale.Value > 0) + { + dic.Add("Totale", i.totale.Value.ToString()); + } + #endregion + break; + case Clienti.Lifta: + #region lifta + //chiamata + if (!string.IsNullOrEmpty(i.codice_segnalazione) && !i.codice_segnalazione.Trim().Equals(string.Empty)) + { + dic.Add("Codice segnalazione", i.codice_segnalazione.Trim()); + } + if (!string.IsNullOrEmpty(i.seriale_chiamata) && !i.seriale_chiamata.Trim().Equals(string.Empty)) + { + dic.Add("N° Chiamata", i.seriale_chiamata.Trim()); + } + //manutenzione + if (!string.IsNullOrEmpty(i.codice_intervento) && !i.codice_intervento.Trim().Equals(string.Empty)) + { + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_intervento.Trim()); + if (!string.IsNullOrEmpty(i.cidescri) && !i.cidescri.Trim().Equals(string.Empty)) + { + sb.Append(" - " + i.cidescri.Trim()); + } + if (!string.IsNullOrEmpty(i.cidessup) && !i.cidessup.Trim().Equals(string.Empty)) + { + sb.Append(" - " + i.cidessup.Trim()); + } + dic.Add("Manutenzione", sb.ToString()); + } + if (i.data_manutenzione != null) + { + dic.Add("Data manutenzione", i.data_manutenzione.Value.ToString()); + } + + //dati intervento + if (!string.IsNullOrEmpty(i.stato_finale) && !i.stato_finale.Trim().Equals(string.Empty)) + { + string st = string.Empty; + switch (i.stato_finale) + { + case "1": + st = "In Funzione"; + dic.Add("Stato finale", st); + break; + case "0": + st = "Fermo"; + dic.Add("Stato finale", st); + break; + } + } + if (!string.IsNullOrEmpty(i.esito_intervento) && !i.esito_intervento.Trim().Equals(string.Empty)) + { + string st = string.Empty; + switch (i.esito_intervento) + { + case "1": + st = "Positivo"; + break; + case "P": + st = "Positivo"; + break; + default: + st = "Negativo"; + break; + } + dic.Add("Esito intervento", st); + } + if (!string.IsNullOrEmpty(i.descrizione_intervento) && !i.descrizione_intervento.Trim().Equals(string.Empty)) + { + dic.Add("Descrizione intervento", i.descrizione_intervento.Trim()); + } + if (!string.IsNullOrEmpty(i.difetti_riscontrati) && !i.difetti_riscontrati.Trim().Equals(string.Empty)) + { + dic.Add("Difetti riscontrati", i.difetti_riscontrati.Trim()); + } + if (!string.IsNullOrEmpty(i.lavoro_eseguito) && !i.lavoro_eseguito.Trim().Equals(string.Empty)) + { + dic.Add("Lavoro eseguito", i.lavoro_eseguito.Trim()); + } + if (!string.IsNullOrEmpty(i.note_intervento) && !i.note_intervento.Trim().Equals(string.Empty)) + { + dic.Add("Note intervento", i.note_intervento); + } + if (!string.IsNullOrEmpty(i.tipo_intervento) && !i.tipo_intervento.Trim().Equals(string.Empty)) + { + dic.Add("Tipo intervento", i.tipo_intervento.Trim()); + } + + if (!string.IsNullOrEmpty(i.codice_chiusura_1) && !i.codice_chiusura_1.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_1.Trim()); + if (!string.IsNullOrEmpty(i.cc1)) + { + sb.Append(" - " + i.cc1.Trim()); + } + sb.Append(i.ccds1); + if (!string.IsNullOrEmpty(i.ccds1)) + { + sb.Append(" - " + i.ccds1.Trim()); + } + dic.Add("Codice Chiusura 1", sb.ToString()); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_2) && !i.codice_chiusura_2.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_2.Trim()); + if (!string.IsNullOrEmpty(i.cc2)) + { + sb.Append(" - " + i.cc2.Trim()); + } + sb.Append(i.ccds2); + if (!string.IsNullOrEmpty(i.ccds2)) + { + sb.Append(" - " + i.ccds2.Trim()); + } + dic.Add("Codice Chiusura 2", sb.ToString()); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_3) && !i.codice_chiusura_3.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_3.Trim()); + if (!string.IsNullOrEmpty(i.cc3)) + { + sb.Append(" - " + i.cc3.Trim()); + } + sb.Append(i.ccds3); + if (!string.IsNullOrEmpty(i.ccds3)) + { + sb.Append(" - " + i.ccds3.Trim()); + } + dic.Add("Codice Chiusura 3", sb.ToString()); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_4) && !i.codice_chiusura_4.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_4.Trim()); + if (!string.IsNullOrEmpty(i.cc4)) + { + sb.Append(" - " + i.cc4.Trim()); + } + sb.Append(i.ccds4); + if (!string.IsNullOrEmpty(i.ccds4)) + { + sb.Append(" - " + i.ccds4.Trim()); + } + dic.Add("Codice Chiusura 4", sb.ToString()); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_5) && !i.codice_chiusura_5.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_5.Trim()); + if (!string.IsNullOrEmpty(i.cc5)) + { + sb.Append(" - " + i.cc5.Trim()); + } + sb.Append(i.ccds5); + if (!string.IsNullOrEmpty(i.ccds5)) + { + sb.Append(" - " + i.ccds5.Trim()); + } + dic.Add("Codice Chiusura 5", sb.ToString()); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_6) && !i.codice_chiusura_6.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_6.Trim()); + if (!string.IsNullOrEmpty(i.cc6)) + { + sb.Append(" - " + i.cc6.Trim()); + } + sb.Append(i.ccds6); + if (!string.IsNullOrEmpty(i.ccds6)) + { + sb.Append(" - " + i.ccds6.Trim()); + } + dic.Add("Codice Chiusura 6", sb.ToString()); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_7) && !i.codice_chiusura_7.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_7.Trim()); + if (!string.IsNullOrEmpty(i.cc7)) + { + sb.Append(" - " + i.cc7.Trim()); + } + sb.Append(i.ccds7); + if (!string.IsNullOrEmpty(i.ccds7)) + { + sb.Append(" - " + i.ccds7.Trim()); + } + dic.Add("Codice Chiusura 7", sb.ToString()); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_8) && !i.codice_chiusura_8.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_8.Trim()); + if (!string.IsNullOrEmpty(i.cc8)) + { + sb.Append(" - " + i.cc8.Trim()); + } + sb.Append(i.ccds8); + if (!string.IsNullOrEmpty(i.ccds8)) + { + sb.Append(" - " + i.ccds8.Trim()); + } + dic.Add("Codice Chiusura 8", sb.ToString()); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_9) && !i.codice_chiusura_9.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_9.Trim()); + if (!string.IsNullOrEmpty(i.cc9)) + { + sb.Append(" - " + i.cc9.Trim()); + } + sb.Append(i.ccds9); + if (!string.IsNullOrEmpty(i.ccds9)) + { + sb.Append(" - " + i.ccds9.Trim()); + } + dic.Add("Codice Chiusura 9", sb.ToString()); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_10) && !i.codice_chiusura_10.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_10.Trim()); + if (!string.IsNullOrEmpty(i.cc10)) + { + sb.Append(" - " + i.cc10.Trim()); + } + sb.Append(i.ccds10); + if (!string.IsNullOrEmpty(i.ccds10)) + { + sb.Append(" - " + i.ccds10.Trim()); + } + dic.Add("Codice Chiusura 10", sb.ToString()); + } + + if (!string.IsNullOrEmpty(i.firma) && !i.firma.Trim().Equals(string.Empty)) + { + dic.Add("Firma", i.firma.Trim()); + } + + if (!string.IsNullOrEmpty(i.ser_buono) && !i.ser_buono.Trim().Equals(string.Empty)) + { + dic.Add("N° buono", i.ser_buono.Trim()); + } + if (!string.IsNullOrEmpty(i.seriale_rapportino) && !i.seriale_rapportino.Trim().Equals(string.Empty)) + { + dic.Add("Seriale rapportino", i.seriale_rapportino.Trim()); + } + if (!string.IsNullOrEmpty(i.pagamento) && !i.pagamento.Trim().Equals(string.Empty)) + { + dic.Add("Pagamento", i.pagamento.Trim()); + } + if (!string.IsNullOrEmpty(i.note_pagamento) && !i.note_pagamento.Trim().Equals(string.Empty)) + { + dic.Add("Note pagamento", i.note_pagamento.Trim()); + } + if (!string.IsNullOrEmpty(i.codice_impianto) && !i.codice_impianto.Trim().Equals(string.Empty)) + { + dic.Add("Cod. impianto", i.codice_impianto.Trim()); + } + if (!string.IsNullOrEmpty(i.indirizzo) && !i.indirizzo.Trim().Equals(string.Empty)) + { + StringBuilder sb = new StringBuilder(); + string ind = string.Empty; + string via = !string.IsNullOrEmpty(i.indirizzo_tipo) ? i.indirizzo_tipo.Trim() : string.Empty; + string indiri = !string.IsNullOrEmpty(i.indirizzo) ? i.indirizzo.Trim() : string.Empty; + string num = string.Empty; + if (i.indirizzo_num != null && i.indirizzo_num.Value > 0) + { + num = i.indirizzo_num.ToString().Trim(); + } + string num2 = !string.IsNullOrEmpty(i.indirizzo_num2) ? i.indirizzo_num2.Trim() : string.Empty; + string sca = !string.IsNullOrEmpty(i.indirizzo_scala) ? i.indirizzo_scala.Trim() : string.Empty; + + //ind = string.Concat("{0} {1} num {2} interno {3} scala {4}",via,indiri,num,num2,sca); + if (!string.IsNullOrEmpty(via)) sb.Append(via); + if (!string.IsNullOrEmpty(indiri)) sb.Append(" " + indiri); + if (!string.IsNullOrEmpty(num)) sb.Append(" ," + num); + if (!string.IsNullOrEmpty(num2)) sb.Append(" Int: " + num2); + if (!string.IsNullOrEmpty(sca)) sb.Append(" Scala: " + sca); + dic.Add("Indirizzo imp", sb.ToString()); + + } + if (!string.IsNullOrEmpty(i.azienda_tecnico) && !i.azienda_tecnico.Trim().Equals(string.Empty)) + { + dic.Add("Azienda", i.azienda_tecnico); + } + if (!string.IsNullOrEmpty(i.generato) && !i.generato.Trim().Equals(string.Empty)) + { + string st = string.Empty; + switch (i.generato) + { + case "S": + st = "SI"; + break; + default: + st = "NO"; + break; + } + dic.Add("Rapportino importato", st); + } + + if (i.ore_lavoro != null && i.ore_lavoro.Value > 0) + { + dic.Add("Ore lavoro", i.ore_lavoro.Value.ToString()); + } + if (i.spese_viaggio != null && i.spese_viaggio.Value > 0) + { + dic.Add("Spese viaggio", i.spese_viaggio.Value.ToString()); + } + if (i.materiale != null && i.materiale.Value > 0) + { + dic.Add("Materiale", i.materiale.Value.ToString()); + } + if (i.anticipo != null && i.anticipo.Value > 0) + { + dic.Add("Anticipo", i.anticipo.Value.ToString()); + } + if (i.manodopera != null && i.manodopera.Value > 0) + { + dic.Add("Manodopera", i.manodopera.Value.ToString()); + } + if (i.diritto_chiamata != null && i.diritto_chiamata.Value > 0) + { + dic.Add("Diritto chiamata", i.diritto_chiamata.Value.ToString()); + } + if (i.totale != null && i.totale.Value > 0) + { + dic.Add("Totale", i.totale.Value.ToString()); + } + #endregion + break; + case Clienti.Ferrari: + #region ferrari + + //chiamata + if (!string.IsNullOrEmpty(i.codice_segnalazione) && !i.codice_segnalazione.Trim().Equals(string.Empty)) + { + dic.Add("Codice segnalazione", i.codice_segnalazione.Trim()); + } + if (!string.IsNullOrEmpty(i.seriale_chiamata) && !i.seriale_chiamata.Trim().Equals(string.Empty)) + { + dic.Add("N° Chiamata", i.seriale_chiamata.Trim()); + } + //manutenzione + if (!string.IsNullOrEmpty(i.codice_intervento) && !i.codice_intervento.Trim().Equals(string.Empty)) + { + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_intervento.Trim()); + if(!string.IsNullOrEmpty(i.cidescri) && !i.cidescri.Trim().Equals(string.Empty)) + { + sb.Append(" - "+i.cidescri.Trim()); + } + if (!string.IsNullOrEmpty(i.cidessup) && !i.cidessup.Trim().Equals(string.Empty)) + { + sb.Append(" - " + i.cidessup.Trim()); + } + dic.Add("Manutenzione", sb.ToString()); + } + if(i.data_manutenzione!=null) + { + dic.Add("Data manutenzione", i.data_manutenzione.Value.ToString()); + } + + //dati intervento + if (!string.IsNullOrEmpty(i.stato_finale) && !i.stato_finale.Trim().Equals(string.Empty)) + { + string st = string.Empty; + switch (i.stato_finale) + { + case "1": + st = "In Funzione"; + dic.Add("Stato finale", st); + break; + case "0": + st = "Fermo"; + dic.Add("Stato finale", st); + break; + } + } + if (!string.IsNullOrEmpty(i.esito_intervento) && !i.esito_intervento.Trim().Equals(string.Empty)) + { + string st = string.Empty; + switch (i.esito_intervento) + { + case "1": + st = "Positivo"; + break; + case "P": + st = "Positivo"; + break; + default: + st = "Negativo"; + break; + } + dic.Add("Esito intervento", st); + } + if (!string.IsNullOrEmpty(i.descrizione_intervento) && !i.descrizione_intervento.Trim().Equals(string.Empty)) + { + dic.Add("Descrizione intervento", i.descrizione_intervento.Trim()); + } + if (!string.IsNullOrEmpty(i.difetti_riscontrati) && !i.difetti_riscontrati.Trim().Equals(string.Empty)) + { + dic.Add("Difetti riscontrati", i.difetti_riscontrati.Trim()); + } + if (!string.IsNullOrEmpty(i.lavoro_eseguito) && !i.lavoro_eseguito.Trim().Equals(string.Empty)) + { + dic.Add("Lavoro eseguito", i.lavoro_eseguito.Trim()); + } + if (!string.IsNullOrEmpty(i.note_intervento) && !i.note_intervento.Trim().Equals(string.Empty)) + { + dic.Add("Note intervento", i.note_intervento); + } + if (!string.IsNullOrEmpty(i.tipo_intervento) && !i.tipo_intervento.Trim().Equals(string.Empty)) + { + dic.Add("Tipo intervento", i.tipo_intervento.Trim()); + } + + if (!string.IsNullOrEmpty(i.codice_chiusura_1) && !i.codice_chiusura_1.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_1.Trim()); + if(!string.IsNullOrEmpty(i.cc1)) + { + sb.Append(" - "+i.cc1.Trim()); + } + sb.Append(i.ccds1); + if (!string.IsNullOrEmpty(i.ccds1)) + { + sb.Append(" - " + i.ccds1.Trim()); + } + dic.Add("Codice Chiusura 1", sb.ToString()); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_2) && !i.codice_chiusura_2.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_2.Trim()); + if (!string.IsNullOrEmpty(i.cc2)) + { + sb.Append(" - " + i.cc2.Trim()); + } + sb.Append(i.ccds2); + if (!string.IsNullOrEmpty(i.ccds2)) + { + sb.Append(" - " + i.ccds2.Trim()); + } + dic.Add("Codice Chiusura 2", sb.ToString()); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_3) && !i.codice_chiusura_3.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_3.Trim()); + if (!string.IsNullOrEmpty(i.cc3)) + { + sb.Append(" - " + i.cc3.Trim()); + } + sb.Append(i.ccds3); + if (!string.IsNullOrEmpty(i.ccds3)) + { + sb.Append(" - " + i.ccds3.Trim()); + } + dic.Add("Codice Chiusura 3", sb.ToString()); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_4) && !i.codice_chiusura_4.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_4.Trim()); + if (!string.IsNullOrEmpty(i.cc4)) + { + sb.Append(" - " + i.cc4.Trim()); + } + sb.Append(i.ccds4); + if (!string.IsNullOrEmpty(i.ccds4)) + { + sb.Append(" - " + i.ccds4.Trim()); + } + dic.Add("Codice Chiusura 4", sb.ToString()); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_5) && !i.codice_chiusura_5.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_5.Trim()); + if (!string.IsNullOrEmpty(i.cc5)) + { + sb.Append(" - " + i.cc5.Trim()); + } + sb.Append(i.ccds5); + if (!string.IsNullOrEmpty(i.ccds5)) + { + sb.Append(" - " + i.ccds5.Trim()); + } + dic.Add("Codice Chiusura 5", sb.ToString()); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_6) && !i.codice_chiusura_6.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_6.Trim()); + if (!string.IsNullOrEmpty(i.cc6)) + { + sb.Append(" - " + i.cc6.Trim()); + } + sb.Append(i.ccds6); + if (!string.IsNullOrEmpty(i.ccds6)) + { + sb.Append(" - " + i.ccds6.Trim()); + } + dic.Add("Codice Chiusura 6", sb.ToString()); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_7) && !i.codice_chiusura_7.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_7.Trim()); + if (!string.IsNullOrEmpty(i.cc7)) + { + sb.Append(" - " + i.cc7.Trim()); + } + sb.Append(i.ccds7); + if (!string.IsNullOrEmpty(i.ccds7)) + { + sb.Append(" - " + i.ccds7.Trim()); + } + dic.Add("Codice Chiusura 7", sb.ToString()); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_8) && !i.codice_chiusura_8.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_8.Trim()); + if (!string.IsNullOrEmpty(i.cc8)) + { + sb.Append(" - " + i.cc8.Trim()); + } + sb.Append(i.ccds8); + if (!string.IsNullOrEmpty(i.ccds8)) + { + sb.Append(" - " + i.ccds8.Trim()); + } + dic.Add("Codice Chiusura 8", sb.ToString()); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_9) && !i.codice_chiusura_9.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_9.Trim()); + if (!string.IsNullOrEmpty(i.cc9)) + { + sb.Append(" - " + i.cc9.Trim()); + } + sb.Append(i.ccds9); + if (!string.IsNullOrEmpty(i.ccds9)) + { + sb.Append(" - " + i.ccds9.Trim()); + } + dic.Add("Codice Chiusura 9", sb.ToString()); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_10) && !i.codice_chiusura_10.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_10.Trim()); + if (!string.IsNullOrEmpty(i.cc10)) + { + sb.Append(" - " + i.cc10.Trim()); + } + sb.Append(i.ccds10); + if (!string.IsNullOrEmpty(i.ccds10)) + { + sb.Append(" - " + i.ccds10.Trim()); + } + dic.Add("Codice Chiusura 10", sb.ToString()); + } + + if (!string.IsNullOrEmpty(i.firma) && !i.firma.Trim().Equals(string.Empty)) + { + dic.Add("Firma", i.firma.Trim()); + } + + if (!string.IsNullOrEmpty(i.ser_buono) && !i.ser_buono.Trim().Equals(string.Empty)) + { + dic.Add("N° buono", i.ser_buono.Trim()); + } + if (!string.IsNullOrEmpty(i.seriale_rapportino) && !i.seriale_rapportino.Trim().Equals(string.Empty)) + { + dic.Add("Seriale rapportino", i.seriale_rapportino.Trim()); + } + if (!string.IsNullOrEmpty(i.pagamento) && !i.pagamento.Trim().Equals(string.Empty)) + { + dic.Add("Pagamento", i.pagamento.Trim()); + } + if (!string.IsNullOrEmpty(i.note_pagamento) && !i.note_pagamento.Trim().Equals(string.Empty)) + { + dic.Add("Note pagamento", i.note_pagamento.Trim()); + } + if (!string.IsNullOrEmpty(i.codice_impianto) && !i.codice_impianto.Trim().Equals(string.Empty)) + { + dic.Add("Cod. impianto", i.codice_impianto.Trim()); + } + if (!string.IsNullOrEmpty(i.indirizzo) && !i.indirizzo.Trim().Equals(string.Empty)) + { + StringBuilder sb = new StringBuilder(); + string ind = string.Empty; + string via = !string.IsNullOrEmpty(i.indirizzo_tipo) ? i.indirizzo_tipo.Trim() : string.Empty; + string indiri = !string.IsNullOrEmpty(i.indirizzo) ? i.indirizzo.Trim() : string.Empty; + string num = string.Empty; + if(i.indirizzo_num!=null && i.indirizzo_num.Value>0) + { + num = i.indirizzo_num.ToString().Trim(); + } + string num2 = !string.IsNullOrEmpty(i.indirizzo_num2) ? i.indirizzo_num2.Trim() : string.Empty; + string sca = !string.IsNullOrEmpty(i.indirizzo_scala) ? i.indirizzo_scala.Trim() : string.Empty; + + //ind = string.Concat("{0} {1} num {2} interno {3} scala {4}",via,indiri,num,num2,sca); + if (!string.IsNullOrEmpty(via)) sb.Append(via); + if (!string.IsNullOrEmpty(indiri)) sb.Append(" "+indiri); + if (!string.IsNullOrEmpty(num)) sb.Append(" ,"+num); + if (!string.IsNullOrEmpty(num2)) sb.Append(" Int: " + num2); + if (!string.IsNullOrEmpty(sca)) sb.Append(" Scala: " + sca); + dic.Add("Indirizzo imp", sb.ToString()); + + } + if (!string.IsNullOrEmpty(i.azienda_tecnico) && !i.azienda_tecnico.Trim().Equals(string.Empty)) + { + dic.Add("Azienda", i.azienda_tecnico); + } + if (!string.IsNullOrEmpty(i.generato) && !i.generato.Trim().Equals(string.Empty)) + { + string st = string.Empty; + switch (i.generato) + { + case "S": + st = "SI"; + break; + default: + st = "NO"; + break; + } + dic.Add("Rapportino importato", st); + } + + if (i.ore_lavoro != null && i.ore_lavoro.Value > 0) + { + dic.Add("Ore lavoro", i.ore_lavoro.Value.ToString()); + } + if (i.spese_viaggio!=null && i.spese_viaggio.Value > 0) + { + dic.Add("Spese viaggio", i.spese_viaggio.Value.ToString()); + } + if (i.materiale != null && i.materiale.Value > 0) + { + dic.Add("Materiale", i.materiale.Value.ToString()); + } + if (i.anticipo != null && i.anticipo.Value>0) + { + dic.Add("Anticipo", i.anticipo.Value.ToString()); + } + if (i.manodopera != null && i.manodopera.Value > 0) + { + dic.Add("Manodopera", i.manodopera.Value.ToString()); + } + if (i.diritto_chiamata != null && i.diritto_chiamata.Value > 0) + { + dic.Add("Diritto chiamata", i.diritto_chiamata.Value.ToString()); + } + if (i.totale != null && i.totale.Value > 0) + { + dic.Add("Totale", i.totale.Value.ToString()); + } + #endregion + break; + case Clienti.Sicilia: + #region sicilia + //chiamata + if (!string.IsNullOrEmpty(i.codice_segnalazione) && !i.codice_segnalazione.Trim().Equals(string.Empty)) + { + dic.Add("Codice segnalazione", i.codice_segnalazione.Trim()); + } + if (!string.IsNullOrEmpty(i.seriale_chiamata) && !i.seriale_chiamata.Trim().Equals(string.Empty)) + { + dic.Add("N° Chiamata", i.seriale_chiamata.Trim()); + } + //manutenzione + if (!string.IsNullOrEmpty(i.codice_intervento) && !i.codice_intervento.Trim().Equals(string.Empty)) + { + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_intervento.Trim()); + if (!string.IsNullOrEmpty(i.cidescri) && !i.cidescri.Trim().Equals(string.Empty)) + { + sb.Append(" - " + i.cidescri.Trim()); + } + if (!string.IsNullOrEmpty(i.cidessup) && !i.cidessup.Trim().Equals(string.Empty)) + { + sb.Append(" - " + i.cidessup.Trim()); + } + dic.Add("Manutenzione", sb.ToString()); + } + if (i.data_manutenzione != null) + { + dic.Add("Data manutenzione", i.data_manutenzione.Value.ToString()); + } + + //dati intervento + if (!string.IsNullOrEmpty(i.stato_finale) && !i.stato_finale.Trim().Equals(string.Empty)) + { + string st = string.Empty; + switch (i.stato_finale) + { + case "1": + st = "In Funzione"; + dic.Add("Stato finale", st); + break; + case "0": + st = "Fermo"; + dic.Add("Stato finale", st); + break; + } + } + if (!string.IsNullOrEmpty(i.esito_intervento) && !i.esito_intervento.Trim().Equals(string.Empty)) + { + string st = string.Empty; + switch (i.esito_intervento) + { + case "1": + st = "Positivo"; + break; + case "P": + st = "Positivo"; + break; + default: + st = "Negativo"; + break; + } + dic.Add("Esito intervento", st); + } + if (!string.IsNullOrEmpty(i.descrizione_intervento) && !i.descrizione_intervento.Trim().Equals(string.Empty)) + { + dic.Add("Descrizione intervento", i.descrizione_intervento.Trim()); + } + if (!string.IsNullOrEmpty(i.difetti_riscontrati) && !i.difetti_riscontrati.Trim().Equals(string.Empty)) + { + dic.Add("Difetti riscontrati", i.difetti_riscontrati.Trim()); + } + if (!string.IsNullOrEmpty(i.lavoro_eseguito) && !i.lavoro_eseguito.Trim().Equals(string.Empty)) + { + dic.Add("Lavoro eseguito", i.lavoro_eseguito.Trim()); + } + if (!string.IsNullOrEmpty(i.note_intervento) && !i.note_intervento.Trim().Equals(string.Empty)) + { + dic.Add("Note intervento", i.note_intervento); + } + if (!string.IsNullOrEmpty(i.tipo_intervento) && !i.tipo_intervento.Trim().Equals(string.Empty)) + { + dic.Add("Tipo intervento", i.tipo_intervento.Trim()); + } + + if (!string.IsNullOrEmpty(i.codice_chiusura_1) && !i.codice_chiusura_1.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_1.Trim()); + if (!string.IsNullOrEmpty(i.cc1)) + { + sb.Append(" - " + i.cc1.Trim()); + } + sb.Append(i.ccds1); + if (!string.IsNullOrEmpty(i.ccds1)) + { + sb.Append(" - " + i.ccds1.Trim()); + } + dic.Add("Codice Chiusura 1", sb.ToString()); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_2) && !i.codice_chiusura_2.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_2.Trim()); + if (!string.IsNullOrEmpty(i.cc2)) + { + sb.Append(" - " + i.cc2.Trim()); + } + sb.Append(i.ccds2); + if (!string.IsNullOrEmpty(i.ccds2)) + { + sb.Append(" - " + i.ccds2.Trim()); + } + dic.Add("Codice Chiusura 2", sb.ToString()); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_3) && !i.codice_chiusura_3.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_3.Trim()); + if (!string.IsNullOrEmpty(i.cc3)) + { + sb.Append(" - " + i.cc3.Trim()); + } + sb.Append(i.ccds3); + if (!string.IsNullOrEmpty(i.ccds3)) + { + sb.Append(" - " + i.ccds3.Trim()); + } + dic.Add("Codice Chiusura 3", sb.ToString()); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_4) && !i.codice_chiusura_4.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_4.Trim()); + if (!string.IsNullOrEmpty(i.cc4)) + { + sb.Append(" - " + i.cc4.Trim()); + } + sb.Append(i.ccds4); + if (!string.IsNullOrEmpty(i.ccds4)) + { + sb.Append(" - " + i.ccds4.Trim()); + } + dic.Add("Codice Chiusura 4", sb.ToString()); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_5) && !i.codice_chiusura_5.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_5.Trim()); + if (!string.IsNullOrEmpty(i.cc5)) + { + sb.Append(" - " + i.cc5.Trim()); + } + sb.Append(i.ccds5); + if (!string.IsNullOrEmpty(i.ccds5)) + { + sb.Append(" - " + i.ccds5.Trim()); + } + dic.Add("Codice Chiusura 5", sb.ToString()); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_6) && !i.codice_chiusura_6.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_6.Trim()); + if (!string.IsNullOrEmpty(i.cc6)) + { + sb.Append(" - " + i.cc6.Trim()); + } + sb.Append(i.ccds6); + if (!string.IsNullOrEmpty(i.ccds6)) + { + sb.Append(" - " + i.ccds6.Trim()); + } + dic.Add("Codice Chiusura 6", sb.ToString()); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_7) && !i.codice_chiusura_7.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_7.Trim()); + if (!string.IsNullOrEmpty(i.cc7)) + { + sb.Append(" - " + i.cc7.Trim()); + } + sb.Append(i.ccds7); + if (!string.IsNullOrEmpty(i.ccds7)) + { + sb.Append(" - " + i.ccds7.Trim()); + } + dic.Add("Codice Chiusura 7", sb.ToString()); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_8) && !i.codice_chiusura_8.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_8.Trim()); + if (!string.IsNullOrEmpty(i.cc8)) + { + sb.Append(" - " + i.cc8.Trim()); + } + sb.Append(i.ccds8); + if (!string.IsNullOrEmpty(i.ccds8)) + { + sb.Append(" - " + i.ccds8.Trim()); + } + dic.Add("Codice Chiusura 8", sb.ToString()); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_9) && !i.codice_chiusura_9.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_9.Trim()); + if (!string.IsNullOrEmpty(i.cc9)) + { + sb.Append(" - " + i.cc9.Trim()); + } + sb.Append(i.ccds9); + if (!string.IsNullOrEmpty(i.ccds9)) + { + sb.Append(" - " + i.ccds9.Trim()); + } + dic.Add("Codice Chiusura 9", sb.ToString()); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_10) && !i.codice_chiusura_10.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_10.Trim()); + if (!string.IsNullOrEmpty(i.cc10)) + { + sb.Append(" - " + i.cc10.Trim()); + } + sb.Append(i.ccds10); + if (!string.IsNullOrEmpty(i.ccds10)) + { + sb.Append(" - " + i.ccds10.Trim()); + } + dic.Add("Codice Chiusura 10", sb.ToString()); + } + + if (!string.IsNullOrEmpty(i.firma) && !i.firma.Trim().Equals(string.Empty)) + { + dic.Add("Firma", i.firma.Trim()); + } + + if (!string.IsNullOrEmpty(i.ser_buono) && !i.ser_buono.Trim().Equals(string.Empty)) + { + dic.Add("N° buono", i.ser_buono.Trim()); + } + if (!string.IsNullOrEmpty(i.seriale_rapportino) && !i.seriale_rapportino.Trim().Equals(string.Empty)) + { + dic.Add("Seriale rapportino", i.seriale_rapportino.Trim()); + } + if (!string.IsNullOrEmpty(i.pagamento) && !i.pagamento.Trim().Equals(string.Empty)) + { + dic.Add("Pagamento", i.pagamento.Trim()); + } + if (!string.IsNullOrEmpty(i.note_pagamento) && !i.note_pagamento.Trim().Equals(string.Empty)) + { + dic.Add("Note pagamento", i.note_pagamento.Trim()); + } + if (!string.IsNullOrEmpty(i.codice_impianto) && !i.codice_impianto.Trim().Equals(string.Empty)) + { + dic.Add("Cod. impianto", i.codice_impianto.Trim()); + } + if (!string.IsNullOrEmpty(i.indirizzo) && !i.indirizzo.Trim().Equals(string.Empty)) + { + StringBuilder sb = new StringBuilder(); + string ind = string.Empty; + string via = !string.IsNullOrEmpty(i.indirizzo_tipo) ? i.indirizzo_tipo.Trim() : string.Empty; + string indiri = !string.IsNullOrEmpty(i.indirizzo) ? i.indirizzo.Trim() : string.Empty; + string num = string.Empty; + if (i.indirizzo_num != null && i.indirizzo_num.Value > 0) + { + num = i.indirizzo_num.ToString().Trim(); + } + string num2 = !string.IsNullOrEmpty(i.indirizzo_num2) ? i.indirizzo_num2.Trim() : string.Empty; + string sca = !string.IsNullOrEmpty(i.indirizzo_scala) ? i.indirizzo_scala.Trim() : string.Empty; + + //ind = string.Concat("{0} {1} num {2} interno {3} scala {4}",via,indiri,num,num2,sca); + if (!string.IsNullOrEmpty(via)) sb.Append(via); + if (!string.IsNullOrEmpty(indiri)) sb.Append(" " + indiri); + if (!string.IsNullOrEmpty(num)) sb.Append(" ," + num); + if (!string.IsNullOrEmpty(num2)) sb.Append(" Int: " + num2); + if (!string.IsNullOrEmpty(sca)) sb.Append(" Scala: " + sca); + dic.Add("Indirizzo imp", sb.ToString()); + + } + if (!string.IsNullOrEmpty(i.azienda_tecnico) && !i.azienda_tecnico.Trim().Equals(string.Empty)) + { + dic.Add("Azienda", i.azienda_tecnico); + } + if (!string.IsNullOrEmpty(i.generato) && !i.generato.Trim().Equals(string.Empty)) + { + string st = string.Empty; + switch (i.generato) + { + case "S": + st = "SI"; + break; + default: + st = "NO"; + break; + } + dic.Add("Rapportino importato", st); + } + + if (i.ore_lavoro != null && i.ore_lavoro.Value > 0) + { + dic.Add("Ore lavoro", i.ore_lavoro.Value.ToString()); + } + if (i.spese_viaggio != null && i.spese_viaggio.Value > 0) + { + dic.Add("Spese viaggio", i.spese_viaggio.Value.ToString()); + } + if (i.materiale != null && i.materiale.Value > 0) + { + dic.Add("Materiale", i.materiale.Value.ToString()); + } + if (i.anticipo != null && i.anticipo.Value > 0) + { + dic.Add("Anticipo", i.anticipo.Value.ToString()); + } + if (i.manodopera != null && i.manodopera.Value > 0) + { + dic.Add("Manodopera", i.manodopera.Value.ToString()); + } + if (i.diritto_chiamata != null && i.diritto_chiamata.Value > 0) + { + dic.Add("Diritto chiamata", i.diritto_chiamata.Value.ToString()); + } + if (i.totale != null && i.totale.Value > 0) + { + dic.Add("Totale", i.totale.Value.ToString()); + } + #endregion + + break; + case Clienti.Discovery: + #region discovery + //chiamata + if (!string.IsNullOrEmpty(i.codice_segnalazione) && !i.codice_segnalazione.Trim().Equals(string.Empty)) + { + dic.Add("Codice segnalazione", i.codice_segnalazione.Trim()); + } + if (!string.IsNullOrEmpty(i.seriale_chiamata) && !i.seriale_chiamata.Trim().Equals(string.Empty)) + { + dic.Add("N° Chiamata", i.seriale_chiamata.Trim()); + } + //manutenzione + if (!string.IsNullOrEmpty(i.codice_intervento) && !i.codice_intervento.Trim().Equals(string.Empty)) + { + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_intervento.Trim()); + if (!string.IsNullOrEmpty(i.cidescri) && !i.cidescri.Trim().Equals(string.Empty)) + { + sb.Append(" - " + i.cidescri.Trim()); + } + if (!string.IsNullOrEmpty(i.cidessup) && !i.cidessup.Trim().Equals(string.Empty)) + { + sb.Append(" - " + i.cidessup.Trim()); + } + dic.Add("Manutenzione", sb.ToString()); + } + if (i.data_manutenzione != null) + { + dic.Add("Data manutenzione", i.data_manutenzione.Value.ToString()); + } + + //dati intervento + if (!string.IsNullOrEmpty(i.stato_finale) && !i.stato_finale.Trim().Equals(string.Empty)) + { + string st = string.Empty; + switch (i.stato_finale) + { + case "1": + st = "In Funzione"; + dic.Add("Stato finale", st); + break; + case "0": + st = "Fermo"; + dic.Add("Stato finale", st); + break; + } + } + if (!string.IsNullOrEmpty(i.esito_intervento) && !i.esito_intervento.Trim().Equals(string.Empty)) + { + string st = string.Empty; + switch (i.esito_intervento) + { + case "1": + st = "Positivo"; + break; + case "P": + st = "Positivo"; + break; + default: + st = "Negativo"; + break; + } + dic.Add("Esito intervento", st); + } + if (!string.IsNullOrEmpty(i.descrizione_intervento) && !i.descrizione_intervento.Trim().Equals(string.Empty)) + { + dic.Add("Descrizione intervento", i.descrizione_intervento.Trim()); + } + if (!string.IsNullOrEmpty(i.difetti_riscontrati) && !i.difetti_riscontrati.Trim().Equals(string.Empty)) + { + dic.Add("Difetti riscontrati", i.difetti_riscontrati.Trim()); + } + if (!string.IsNullOrEmpty(i.lavoro_eseguito) && !i.lavoro_eseguito.Trim().Equals(string.Empty)) + { + dic.Add("Lavoro eseguito", i.lavoro_eseguito.Trim()); + } + if (!string.IsNullOrEmpty(i.note_intervento) && !i.note_intervento.Trim().Equals(string.Empty)) + { + dic.Add("Note intervento", i.note_intervento); + } + if (!string.IsNullOrEmpty(i.tipo_intervento) && !i.tipo_intervento.Trim().Equals(string.Empty)) + { + dic.Add("Tipo intervento", i.tipo_intervento.Trim()); + } + + if (!string.IsNullOrEmpty(i.codice_chiusura_1) && !i.codice_chiusura_1.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_1.Trim()); + if (!string.IsNullOrEmpty(i.cc1)) + { + sb.Append(" - " + i.cc1.Trim()); + } + sb.Append(i.ccds1); + if (!string.IsNullOrEmpty(i.ccds1)) + { + sb.Append(" - " + i.ccds1.Trim()); + } + dic.Add("Codice Chiusura 1", sb.ToString()); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_2) && !i.codice_chiusura_2.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_2.Trim()); + if (!string.IsNullOrEmpty(i.cc2)) + { + sb.Append(" - " + i.cc2.Trim()); + } + sb.Append(i.ccds2); + if (!string.IsNullOrEmpty(i.ccds2)) + { + sb.Append(" - " + i.ccds2.Trim()); + } + dic.Add("Codice Chiusura 2", sb.ToString()); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_3) && !i.codice_chiusura_3.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_3.Trim()); + if (!string.IsNullOrEmpty(i.cc3)) + { + sb.Append(" - " + i.cc3.Trim()); + } + sb.Append(i.ccds3); + if (!string.IsNullOrEmpty(i.ccds3)) + { + sb.Append(" - " + i.ccds3.Trim()); + } + dic.Add("Codice Chiusura 3", sb.ToString()); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_4) && !i.codice_chiusura_4.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_4.Trim()); + if (!string.IsNullOrEmpty(i.cc4)) + { + sb.Append(" - " + i.cc4.Trim()); + } + sb.Append(i.ccds4); + if (!string.IsNullOrEmpty(i.ccds4)) + { + sb.Append(" - " + i.ccds4.Trim()); + } + dic.Add("Codice Chiusura 4", sb.ToString()); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_5) && !i.codice_chiusura_5.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_5.Trim()); + if (!string.IsNullOrEmpty(i.cc5)) + { + sb.Append(" - " + i.cc5.Trim()); + } + sb.Append(i.ccds5); + if (!string.IsNullOrEmpty(i.ccds5)) + { + sb.Append(" - " + i.ccds5.Trim()); + } + dic.Add("Codice Chiusura 5", sb.ToString()); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_6) && !i.codice_chiusura_6.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_6.Trim()); + if (!string.IsNullOrEmpty(i.cc6)) + { + sb.Append(" - " + i.cc6.Trim()); + } + sb.Append(i.ccds6); + if (!string.IsNullOrEmpty(i.ccds6)) + { + sb.Append(" - " + i.ccds6.Trim()); + } + dic.Add("Codice Chiusura 6", sb.ToString()); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_7) && !i.codice_chiusura_7.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_7.Trim()); + if (!string.IsNullOrEmpty(i.cc7)) + { + sb.Append(" - " + i.cc7.Trim()); + } + sb.Append(i.ccds7); + if (!string.IsNullOrEmpty(i.ccds7)) + { + sb.Append(" - " + i.ccds7.Trim()); + } + dic.Add("Codice Chiusura 7", sb.ToString()); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_8) && !i.codice_chiusura_8.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_8.Trim()); + if (!string.IsNullOrEmpty(i.cc8)) + { + sb.Append(" - " + i.cc8.Trim()); + } + sb.Append(i.ccds8); + if (!string.IsNullOrEmpty(i.ccds8)) + { + sb.Append(" - " + i.ccds8.Trim()); + } + dic.Add("Codice Chiusura 8", sb.ToString()); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_9) && !i.codice_chiusura_9.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_9.Trim()); + if (!string.IsNullOrEmpty(i.cc9)) + { + sb.Append(" - " + i.cc9.Trim()); + } + sb.Append(i.ccds9); + if (!string.IsNullOrEmpty(i.ccds9)) + { + sb.Append(" - " + i.ccds9.Trim()); + } + dic.Add("Codice Chiusura 9", sb.ToString()); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_10) && !i.codice_chiusura_10.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_10.Trim()); + if (!string.IsNullOrEmpty(i.cc10)) + { + sb.Append(" - " + i.cc10.Trim()); + } + sb.Append(i.ccds10); + if (!string.IsNullOrEmpty(i.ccds10)) + { + sb.Append(" - " + i.ccds10.Trim()); + } + dic.Add("Codice Chiusura 10", sb.ToString()); + } + + if (!string.IsNullOrEmpty(i.firma) && !i.firma.Trim().Equals(string.Empty)) + { + dic.Add("Firma", i.firma.Trim()); + } + + if (!string.IsNullOrEmpty(i.ser_buono) && !i.ser_buono.Trim().Equals(string.Empty)) + { + dic.Add("N° buono", i.ser_buono.Trim()); + } + if (!string.IsNullOrEmpty(i.seriale_rapportino) && !i.seriale_rapportino.Trim().Equals(string.Empty)) + { + dic.Add("Seriale rapportino", i.seriale_rapportino.Trim()); + } + if (!string.IsNullOrEmpty(i.pagamento) && !i.pagamento.Trim().Equals(string.Empty)) + { + dic.Add("Pagamento", i.pagamento.Trim()); + } + if (!string.IsNullOrEmpty(i.note_pagamento) && !i.note_pagamento.Trim().Equals(string.Empty)) + { + dic.Add("Note pagamento", i.note_pagamento.Trim()); + } + if (!string.IsNullOrEmpty(i.codice_impianto) && !i.codice_impianto.Trim().Equals(string.Empty)) + { + dic.Add("Cod. impianto", i.codice_impianto.Trim()); + } + if (!string.IsNullOrEmpty(i.indirizzo) && !i.indirizzo.Trim().Equals(string.Empty)) + { + StringBuilder sb = new StringBuilder(); + string ind = string.Empty; + string via = !string.IsNullOrEmpty(i.indirizzo_tipo) ? i.indirizzo_tipo.Trim() : string.Empty; + string indiri = !string.IsNullOrEmpty(i.indirizzo) ? i.indirizzo.Trim() : string.Empty; + string num = string.Empty; + if (i.indirizzo_num != null && i.indirizzo_num.Value > 0) + { + num = i.indirizzo_num.ToString().Trim(); + } + string num2 = !string.IsNullOrEmpty(i.indirizzo_num2) ? i.indirizzo_num2.Trim() : string.Empty; + string sca = !string.IsNullOrEmpty(i.indirizzo_scala) ? i.indirizzo_scala.Trim() : string.Empty; + + //ind = string.Concat("{0} {1} num {2} interno {3} scala {4}",via,indiri,num,num2,sca); + if (!string.IsNullOrEmpty(via)) sb.Append(via); + if (!string.IsNullOrEmpty(indiri)) sb.Append(" " + indiri); + if (!string.IsNullOrEmpty(num)) sb.Append(" ," + num); + if (!string.IsNullOrEmpty(num2)) sb.Append(" Int: " + num2); + if (!string.IsNullOrEmpty(sca)) sb.Append(" Scala: " + sca); + dic.Add("Indirizzo imp", sb.ToString()); + + } + if (!string.IsNullOrEmpty(i.azienda_tecnico) && !i.azienda_tecnico.Trim().Equals(string.Empty)) + { + dic.Add("Azienda", i.azienda_tecnico); + } + if (!string.IsNullOrEmpty(i.generato) && !i.generato.Trim().Equals(string.Empty)) + { + string st = string.Empty; + switch (i.generato) + { + case "S": + st = "SI"; + break; + default: + st = "NO"; + break; + } + dic.Add("Rapportino importato", st); + } + + if (i.ore_lavoro != null && i.ore_lavoro.Value > 0) + { + dic.Add("Ore lavoro", i.ore_lavoro.Value.ToString()); + } + if (i.spese_viaggio != null && i.spese_viaggio.Value > 0) + { + dic.Add("Spese viaggio", i.spese_viaggio.Value.ToString()); + } + if (i.materiale != null && i.materiale.Value > 0) + { + dic.Add("Materiale", i.materiale.Value.ToString()); + } + if (i.anticipo != null && i.anticipo.Value > 0) + { + dic.Add("Anticipo", i.anticipo.Value.ToString()); + } + if (i.manodopera != null && i.manodopera.Value > 0) + { + dic.Add("Manodopera", i.manodopera.Value.ToString()); + } + if (i.diritto_chiamata != null && i.diritto_chiamata.Value > 0) + { + dic.Add("Diritto chiamata", i.diritto_chiamata.Value.ToString()); + } + if (i.totale != null && i.totale.Value > 0) + { + dic.Add("Totale", i.totale.Value.ToString()); + } + #endregion + break; + case Clienti.Sarom: + #region sarom + //chiamata + if (!string.IsNullOrEmpty(i.codice_segnalazione) && !i.codice_segnalazione.Trim().Equals(string.Empty)) + { + dic.Add("Codice segnalazione", i.codice_segnalazione.Trim()); + } + if (!string.IsNullOrEmpty(i.seriale_chiamata) && !i.seriale_chiamata.Trim().Equals(string.Empty)) + { + dic.Add("N° Chiamata", i.seriale_chiamata.Trim()); + } + //manutenzione + if (!string.IsNullOrEmpty(i.codice_intervento) && !i.codice_intervento.Trim().Equals(string.Empty)) + { + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_intervento.Trim()); + if (!string.IsNullOrEmpty(i.cidescri) && !i.cidescri.Trim().Equals(string.Empty)) + { + sb.Append(" - " + i.cidescri.Trim()); + } + if (!string.IsNullOrEmpty(i.cidessup) && !i.cidessup.Trim().Equals(string.Empty)) + { + sb.Append(" - " + i.cidessup.Trim()); + } + dic.Add("Manutenzione", sb.ToString()); + } + if (i.data_manutenzione != null) + { + dic.Add("Data manutenzione", i.data_manutenzione.Value.ToString()); + } + + //dati intervento + if (!string.IsNullOrEmpty(i.stato_finale) && !i.stato_finale.Trim().Equals(string.Empty)) + { + string st = string.Empty; + switch (i.stato_finale) + { + case "1": + st = "In Funzione"; + dic.Add("Stato finale", st); + break; + case "0": + st = "Fermo"; + dic.Add("Stato finale", st); + break; + } + } + if (!string.IsNullOrEmpty(i.esito_intervento) && !i.esito_intervento.Trim().Equals(string.Empty)) + { + string st = string.Empty; + switch (i.esito_intervento) + { + case "1": + st = "Positivo"; + break; + case "P": + st = "Positivo"; + break; + default: + st = "Negativo"; + break; + } + dic.Add("Esito intervento", st); + } + if (!string.IsNullOrEmpty(i.descrizione_intervento) && !i.descrizione_intervento.Trim().Equals(string.Empty)) + { + dic.Add("Descrizione intervento", i.descrizione_intervento.Trim()); + } + if (!string.IsNullOrEmpty(i.difetti_riscontrati) && !i.difetti_riscontrati.Trim().Equals(string.Empty)) + { + dic.Add("Difetti riscontrati", i.difetti_riscontrati.Trim()); + } + if (!string.IsNullOrEmpty(i.lavoro_eseguito) && !i.lavoro_eseguito.Trim().Equals(string.Empty)) + { + dic.Add("Lavoro eseguito", i.lavoro_eseguito.Trim()); + } + if (!string.IsNullOrEmpty(i.note_intervento) && !i.note_intervento.Trim().Equals(string.Empty)) + { + dic.Add("Note intervento", i.note_intervento); + } + if (!string.IsNullOrEmpty(i.tipo_intervento) && !i.tipo_intervento.Trim().Equals(string.Empty)) + { + dic.Add("Tipo intervento", i.tipo_intervento.Trim()); + } + + if (!string.IsNullOrEmpty(i.codice_chiusura_1) && !i.codice_chiusura_1.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_1.Trim()); + if (!string.IsNullOrEmpty(i.cc1)) + { + sb.Append(" - " + i.cc1.Trim()); + } + sb.Append(i.ccds1); + if (!string.IsNullOrEmpty(i.ccds1)) + { + sb.Append(" - " + i.ccds1.Trim()); + } + dic.Add("Codice Chiusura 1", sb.ToString()); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_2) && !i.codice_chiusura_2.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_2.Trim()); + if (!string.IsNullOrEmpty(i.cc2)) + { + sb.Append(" - " + i.cc2.Trim()); + } + sb.Append(i.ccds2); + if (!string.IsNullOrEmpty(i.ccds2)) + { + sb.Append(" - " + i.ccds2.Trim()); + } + dic.Add("Codice Chiusura 2", sb.ToString()); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_3) && !i.codice_chiusura_3.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_3.Trim()); + if (!string.IsNullOrEmpty(i.cc3)) + { + sb.Append(" - " + i.cc3.Trim()); + } + sb.Append(i.ccds3); + if (!string.IsNullOrEmpty(i.ccds3)) + { + sb.Append(" - " + i.ccds3.Trim()); + } + dic.Add("Codice Chiusura 3", sb.ToString()); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_4) && !i.codice_chiusura_4.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_4.Trim()); + if (!string.IsNullOrEmpty(i.cc4)) + { + sb.Append(" - " + i.cc4.Trim()); + } + sb.Append(i.ccds4); + if (!string.IsNullOrEmpty(i.ccds4)) + { + sb.Append(" - " + i.ccds4.Trim()); + } + dic.Add("Codice Chiusura 4", sb.ToString()); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_5) && !i.codice_chiusura_5.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_5.Trim()); + if (!string.IsNullOrEmpty(i.cc5)) + { + sb.Append(" - " + i.cc5.Trim()); + } + sb.Append(i.ccds5); + if (!string.IsNullOrEmpty(i.ccds5)) + { + sb.Append(" - " + i.ccds5.Trim()); + } + dic.Add("Codice Chiusura 5", sb.ToString()); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_6) && !i.codice_chiusura_6.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_6.Trim()); + if (!string.IsNullOrEmpty(i.cc6)) + { + sb.Append(" - " + i.cc6.Trim()); + } + sb.Append(i.ccds6); + if (!string.IsNullOrEmpty(i.ccds6)) + { + sb.Append(" - " + i.ccds6.Trim()); + } + dic.Add("Codice Chiusura 6", sb.ToString()); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_7) && !i.codice_chiusura_7.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_7.Trim()); + if (!string.IsNullOrEmpty(i.cc7)) + { + sb.Append(" - " + i.cc7.Trim()); + } + sb.Append(i.ccds7); + if (!string.IsNullOrEmpty(i.ccds7)) + { + sb.Append(" - " + i.ccds7.Trim()); + } + dic.Add("Codice Chiusura 7", sb.ToString()); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_8) && !i.codice_chiusura_8.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_8.Trim()); + if (!string.IsNullOrEmpty(i.cc8)) + { + sb.Append(" - " + i.cc8.Trim()); + } + sb.Append(i.ccds8); + if (!string.IsNullOrEmpty(i.ccds8)) + { + sb.Append(" - " + i.ccds8.Trim()); + } + dic.Add("Codice Chiusura 8", sb.ToString()); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_9) && !i.codice_chiusura_9.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_9.Trim()); + if (!string.IsNullOrEmpty(i.cc9)) + { + sb.Append(" - " + i.cc9.Trim()); + } + sb.Append(i.ccds9); + if (!string.IsNullOrEmpty(i.ccds9)) + { + sb.Append(" - " + i.ccds9.Trim()); + } + dic.Add("Codice Chiusura 9", sb.ToString()); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_10) && !i.codice_chiusura_10.Trim().Equals(string.Empty)) + { + string c = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(i.codice_chiusura_10.Trim()); + if (!string.IsNullOrEmpty(i.cc10)) + { + sb.Append(" - " + i.cc10.Trim()); + } + sb.Append(i.ccds10); + if (!string.IsNullOrEmpty(i.ccds10)) + { + sb.Append(" - " + i.ccds10.Trim()); + } + dic.Add("Codice Chiusura 10", sb.ToString()); + } + + if (!string.IsNullOrEmpty(i.firma) && !i.firma.Trim().Equals(string.Empty)) + { + dic.Add("Firma", i.firma.Trim()); + } + + if (!string.IsNullOrEmpty(i.ser_buono) && !i.ser_buono.Trim().Equals(string.Empty)) + { + dic.Add("N° buono", i.ser_buono.Trim()); + } + if (!string.IsNullOrEmpty(i.seriale_rapportino) && !i.seriale_rapportino.Trim().Equals(string.Empty)) + { + dic.Add("Seriale rapportino", i.seriale_rapportino.Trim()); + } + if (!string.IsNullOrEmpty(i.pagamento) && !i.pagamento.Trim().Equals(string.Empty)) + { + dic.Add("Pagamento", i.pagamento.Trim()); + } + if (!string.IsNullOrEmpty(i.note_pagamento) && !i.note_pagamento.Trim().Equals(string.Empty)) + { + dic.Add("Note pagamento", i.note_pagamento.Trim()); + } + if (!string.IsNullOrEmpty(i.codice_impianto) && !i.codice_impianto.Trim().Equals(string.Empty)) + { + dic.Add("Cod. impianto", i.codice_impianto.Trim()); + } + if (!string.IsNullOrEmpty(i.indirizzo) && !i.indirizzo.Trim().Equals(string.Empty)) + { + StringBuilder sb = new StringBuilder(); + string ind = string.Empty; + string via = !string.IsNullOrEmpty(i.indirizzo_tipo) ? i.indirizzo_tipo.Trim() : string.Empty; + string indiri = !string.IsNullOrEmpty(i.indirizzo) ? i.indirizzo.Trim() : string.Empty; + string num = string.Empty; + if (i.indirizzo_num != null && i.indirizzo_num.Value > 0) + { + num = i.indirizzo_num.ToString().Trim(); + } + string num2 = !string.IsNullOrEmpty(i.indirizzo_num2) ? i.indirizzo_num2.Trim() : string.Empty; + string sca = !string.IsNullOrEmpty(i.indirizzo_scala) ? i.indirizzo_scala.Trim() : string.Empty; + + //ind = string.Concat("{0} {1} num {2} interno {3} scala {4}",via,indiri,num,num2,sca); + if (!string.IsNullOrEmpty(via)) sb.Append(via); + if (!string.IsNullOrEmpty(indiri)) sb.Append(" " + indiri); + if (!string.IsNullOrEmpty(num)) sb.Append(" ," + num); + if (!string.IsNullOrEmpty(num2)) sb.Append(" Int: " + num2); + if (!string.IsNullOrEmpty(sca)) sb.Append(" Scala: " + sca); + dic.Add("Indirizzo imp", sb.ToString()); + + } + if (!string.IsNullOrEmpty(i.azienda_tecnico) && !i.azienda_tecnico.Trim().Equals(string.Empty)) + { + dic.Add("Azienda", i.azienda_tecnico); + } + if (!string.IsNullOrEmpty(i.generato) && !i.generato.Trim().Equals(string.Empty)) + { + string st = string.Empty; + switch (i.generato) + { + case "S": + st = "SI"; + break; + default: + st = "NO"; + break; + } + dic.Add("Rapportino importato", st); + } + + if (i.ore_lavoro != null && i.ore_lavoro.Value > 0) + { + dic.Add("Ore lavoro", i.ore_lavoro.Value.ToString()); + } + if (i.spese_viaggio != null && i.spese_viaggio.Value > 0) + { + dic.Add("Spese viaggio", i.spese_viaggio.Value.ToString()); + } + if (i.materiale != null && i.materiale.Value > 0) + { + dic.Add("Materiale", i.materiale.Value.ToString()); + } + if (i.anticipo != null && i.anticipo.Value > 0) + { + dic.Add("Anticipo", i.anticipo.Value.ToString()); + } + if (i.manodopera != null && i.manodopera.Value > 0) + { + dic.Add("Manodopera", i.manodopera.Value.ToString()); + } + if (i.diritto_chiamata != null && i.diritto_chiamata.Value > 0) + { + dic.Add("Diritto chiamata", i.diritto_chiamata.Value.ToString()); + } + if (i.totale != null && i.totale.Value > 0) + { + dic.Add("Totale", i.totale.Value.ToString()); + } + #endregion + break; + default: + + break; + } + o.dettaglio = dic; + return o; + } + private Impianto_out fillImpianto_out(Impianto i) + { + Impianto_out u = new Impianto_out(); + u.codimp = i.imcodimp; + u.descimp = i.imdescri; + StringBuilder sb = new StringBuilder(); + + string via = !string.IsNullOrEmpty(i.imindiri1) ? i.imindiri1.Trim() : string.Empty; + string indiri = !string.IsNullOrEmpty(i.imindiri2) ? i.imindiri2.Trim() : string.Empty; + string num = string.Empty; + if (i.imindiri3 != null && i.imindiri3.Value > 0) + { + num = i.imindiri3.ToString().Trim(); + } + string num2 = !string.IsNullOrEmpty(i.imindiri4) ? i.imindiri4.Trim() : string.Empty; + string sca = !string.IsNullOrEmpty(i.imindiri5) ? i.imindiri5.Trim() : string.Empty; + + + if (!string.IsNullOrEmpty(via)) sb.Append(via); + if (!string.IsNullOrEmpty(indiri)) sb.Append(" " + indiri); + if (!string.IsNullOrEmpty(num)) sb.Append(" ," + num); + if (!string.IsNullOrEmpty(num2)) sb.Append(" Int: " + num2); + if (!string.IsNullOrEmpty(sca)) sb.Append(" Scala: " + sca); + u.indiri = sb.ToString(); + u.localita = i.imlocali; + u.cap = i.imcodcap; + u.comune = i.imcomune; + u.provin = i.improvin; + + return u; + } + + /// Ricerca Impianti return:ActionResult + [HttpGet("ricerca_impianti")] + public async Task>> ricerca_impianti(string token, string? codimp, string? indirizzo_imp) + { + try + { + if (string.IsNullOrEmpty(codimp) && string.IsNullOrEmpty(indirizzo_imp)) + { + Impianto_out e = new Impianto_out(); + e.err_title = "Errore in ricerca impianti."; + e.err_detail = "Immettere almeno un parametro di ricerca."; + e.err_status_code = StatiRisposta.OperazioneNonAmmessa; + return StatusCode(StatusCodes.Status400BadRequest, e); + } + else + { + string ten = getClaimValueByToken(token, "tenant"); + _impianto = getImpiantiByTenant(ten); + var l = await _impianto.Where(t => t.imcodazi != null && t.imcodazi.Equals(ten)).ToListAsync(); + if (!string.IsNullOrEmpty(codimp)) + { + l = l.Where(t => t.imcodimp != null && t.imcodimp.Contains(codimp)).ToList(); + } + if (!string.IsNullOrEmpty(indirizzo_imp)) + { + l = l.Where(t => t.imindiri2 != null && t.imindiri2.ToUpper().Contains(indirizzo_imp.ToUpper())).ToList(); + } + l = l.Take(300).ToList(); + List lis = new List(); + foreach (Impianto i in l) + { + Impianto_out o = new Impianto_out(); + o = fillImpianto_out(i); + lis.Add(o); + } + return StatusCode(StatusCodes.Status200OK, lis); + } + } + catch(Exception ex) + { + Impianto_out e = new Impianto_out(); + e.err_title = "Errore in ricerca impianti."; + e.err_detail = ex.Message; + e.err_status_code = StatiRisposta.ErroreInterno; + return StatusCode(StatusCodes.Status428PreconditionRequired, e); + } + } + + /// Storico interventi return:ActionResult + [HttpGet("storico_interventi")] + public async Task>> storico_interventi(string token, string? codimp, bool rapp_tec=true) + { + try + { + string ten = getClaimValueByToken(token, "tenant"); + string tecnico = getClaimValueByToken(token, "tccodice"); + _sto_rapp = getSto_RappByTenant(ten); + //var l = await _sto_rapp.Where(t => t.azienda_impianto != null && t.azienda_impianto.Equals(ten) && t.codice_impianto != null && t.codice_impianto.Equals(codimp)).ToListAsync(); + var l = await _sto_rapp.Where(t => t.azienda_impianto != null && t.azienda_impianto.Equals(ten)).ToListAsync(); + if(!string.IsNullOrEmpty(codimp)) + { + l = l.Where(t => t.codice_impianto != null && t.codice_impianto.Trim().Equals(codimp.Trim())).ToList(); + } + if(rapp_tec) + { + l = l.Where(t => t.tccodice != null && t.tccodice.Equals(tecnico)).ToList(); + } + + List lis = new List(); + foreach(Sto_Rapp s in l) + { + Sto_Rapp_out o = new Sto_Rapp_out(); + o = fillSto_Rapp_Out(s, ten); + lis.Add(o); + } + return StatusCode(StatusCodes.Status200OK, lis); + } + catch (Exception ex) + { + Sto_Rapp_out e = new Sto_Rapp_out(); + e.err_title = "Errore in storico interventi"; + e.err_detail = ex.Message; + e.err_status_code = StatiRisposta.ErroreInterno; + return StatusCode(StatusCodes.Status500InternalServerError, e); + } + } + #endregion + + #region Anagrafica clienti + /// Anagrafica return:ActionResult + [HttpGet("anagrafica")] + public async Task> anagrafica(string token, string codcli) + { + try + { + string ten = getClaimValueByToken(token, "tenant"); + Anag aa = new Anag(); + switch (ten) + { + + case Clienti.VT: + string ten2 = getClaimValueByToken(token, "tenant2"); + _clientiVT = _VT_anag.Anag; + + var t = await _clientiVT.Where( + t => t.antipcon.Equals("C") + && t.andtobso == null + && t.ancodazi.Equals(ten2) + && t.ancodice.Equals(codcli) + ).ToListAsync(); + AnagVT a = t.First(); + aa.antipcon = a.antipcon; + aa.ancodice = a.ancodice; + aa.ancodfis = a.ancodfis; + aa.anpariva = a.anpariva; + aa.annumlis = a.annumlis; + aa.an_email = a.an_email; + aa.an_empec = a.an_empec; + aa.andescri = a.andescri; + aa.anindiri = a.anindiri; + aa.annumcel = a.annumcel; + aa.antelefo = a.antelefo; + aa.annumlis = a.annumlis; + break; + default: + _clienti = getClientiByTenant(ten); + var an = await _clienti.Where(t => t.ancodice == codcli).ToListAsync(); + aa = an.First(); + break; + } + + return StatusCode(StatusCodes.Status200OK, aa); + + } + catch (Exception ex) + { + return StatusCode(StatusCodes.Status500InternalServerError, ex.Message); + } + } + #endregion + + #region tabelle di dominio + /// Tabelle di dominio: causali pagamenti, causali rapportino, tipi esito, tipi intervento return:ActionResult + [HttpGet("tabelle_dominio")] + public async Task> tabelle_dominio(string token) + { + try + { + TabelleDominio td = new TabelleDominio(); + + string ten = getClaimValueByToken(token, "tenant"); + + if(!ten.Equals(Clienti.VT)) + { + _pagam = getPagamentiByTenant(ten); + var a = await _pagam.ToListAsync(); + td.cau_pag = a; + + _cau_rapp = getCausaliRappByTenant(ten); + var b = await _cau_rapp.ToListAsync(); + td.cau_rapp = b; + } + + + + List e = new List(); + ComboItem c1 = new ComboItem(); + c1.chiave = "P"; + c1.valore = "Positivo"; + e.Add(c1); + + ComboItem c2 = new ComboItem(); + c2.chiave = "N"; + c2.valore = "Negativo"; + e.Add(c2); + + td.esito = e; + + List si = new List(); + ComboItem s1 = new ComboItem(); + s1.chiave = "1"; + s1.valore = "In Funzione"; + si.Add(s1); + + ComboItem s2 = new ComboItem(); + s2.chiave = "0"; + s2.valore = "Fermo"; + si.Add(s2); + + td.statoImpianto = si; + + return StatusCode(StatusCodes.Status200OK, td); + + } + catch (Exception ex) + { + return StatusCode(StatusCodes.Status500InternalServerError, ex.Message); + } + } + #endregion + + #region timbrature + /// + private async Task fillTimbratura(Timbratura i, string token) + { + Timbratura r = new Timbratura(); + + string ten = getClaimValueByToken(token, "tenant"); + string tecnico = getClaimValueByToken(token, "tccodice"); + int id=await getNewId(token); + + r.azienda = ten; + r.id = id; + r.ora_ini = i.ora_ini; + r.min_ini = i.min_ini; + r.ora_fin = i.ora_fin; + r.min_fin = i.min_fin; + r.ore_viaggio = i.ore_viaggio; + r.data_timbratura = i.data_timbratura; + r.commessa = i.commessa; + r.tecnico = tecnico; + + TimeSpan ts = new TimeSpan(i.ora_ini, i.min_ini, 0); + DateTime da = Convert.ToDateTime( r.data_timbratura) + ts; + ts = new TimeSpan(i.ora_fin, i.min_fin, 0); + DateTime a = Convert.ToDateTime(r.data_timbratura) + ts; + ts = (a - da); + + if(ts.Minutes>0) + { + decimal decimali = Decimal.Divide(ts.Minutes, 100); + decimal totale = Convert.ToDecimal(ts.Hours) + decimali; + r.tot_ore = totale; + } + else + { + r.tot_ore = ts.Hours; + } + + + r.giorno =(int) Convert.ToDateTime(i.data_timbratura).DayOfWeek; + r.cpccchk = getCpccchk(10); + r.note = i.note; + + return r; + } + private Timbratura_out fillTimbraturaOut(Timbratura i, string token, int id) + { + Timbratura_out r = new Timbratura_out(); + + r.azienda = i.azienda; + r.id = id; + r.ora_ini = i.ora_ini; + r.min_ini = i.min_ini; + r.ora_fin = i.ora_fin; + r.min_fin = i.min_fin; + r.ore_viaggio = i.ore_viaggio; + r.data_timbratura = i.data_timbratura; + r.commessa = i.commessa; + r.tecnico = i.tecnico; + r.note = i.note; + return r; + } + + /// Commesse return:ActionResult IEnumerable Commessa + [HttpGet("timbrature/commesse")] + public async Task>> commesse(string token) + { + try + { + string ten = getClaimValueByToken(token, "tenant"); + _comm = getCommesseByTenant(ten); + //var l = await _comm.OrderByDescending(t => t.cndatfin).Take(100).ToListAsync(); + var l = await _comm.OrderByDescending(t => t.ladatchi).ToListAsync(); + return StatusCode(StatusCodes.Status200OK, l); + } + catch (Exception ex) + { + return StatusCode(StatusCodes.Status500InternalServerError, ex.Message); + } + } + + /// Salva la timbratuta in tabella Timbrature return:ActionResult Timbratura_out + [HttpPost] + [Route("timbrature/salva")] + public async Task> timbrature_salva([FromBody] Timbratura model, string token) + { + Timbratura_out tOut = new Timbratura_out(); + try + { + string ten = getClaimValueByToken(token, "tenant"); + string tecnico = getClaimValueByToken(token, "tccodice"); + if (await checkTimbraturaPresente(ten, model) == 0) + { + Timbratura t = await fillTimbratura(model, token); + + switch (ten) + { + case Clienti.Sicilia: + using (var transaction = _Sicilia_timbr.Database.BeginTransaction()) + { + await _Sicilia_timbr.Timbr.AddAsync(t); + await _Sicilia_timbr.SaveChangesAsync(); + transaction.Commit(); + } + break; + case Clienti.Sinergo: + using (var transaction2 = _Sinergo_timbr.Database.BeginTransaction()) + { + await _Sinergo_timbr.Timbr.AddAsync(t); + await _Sinergo_timbr.SaveChangesAsync(); + transaction2.Commit(); + } + break; + case Clienti.Siet: + using (var transactionSiet = _Siet_timbr.Database.BeginTransaction()) + { + await _Siet_timbr.Timbr.AddAsync(t); + await _Siet_timbr.SaveChangesAsync(); + transactionSiet.Commit(); + } + break; + case Clienti.PMS: + using (var transactionPMS = _PMS_timbr.Database.BeginTransaction()) + { + await _PMS_timbr.Timbr.AddAsync(t); + await _PMS_timbr.SaveChangesAsync(); + transactionPMS.Commit(); + } + break; + default: + break; + } + tOut = fillTimbraturaOut(model, ten, t.id); + tOut.err_status_code = StatiRisposta.Ok; + return StatusCode(StatusCodes.Status200OK, tOut); + } + else + { + return StatusCode(StatusCodes.Status500InternalServerError, "timbratura presente."); + } + } + catch (Exception ex) + { + string errmsg = ex.InnerException != null ? ex.InnerException.Message : ex.Message; + tOut.err_title = ex.Message; + tOut.err_detail = errmsg; + tOut.err_status_code = StatiRisposta.ErroreInterno; + return StatusCode(StatusCodes.Status500InternalServerError, tOut); + } + //return tOut; + } + #endregion + + #region storico impianto + + private Sto_Imp_out fillSto_Imp_Out(Sto_Imp i, string tenant) + { + Sto_Imp_out o = new Sto_Imp_out(); + + + o.tipo_movimento = !string.IsNullOrEmpty(i.tipo_movimento) ? i.tipo_movimento.Trim() : string.Empty; ; + o.articolo = !string.IsNullOrEmpty(i.articolo) ? i.articolo.Trim() : string.Empty; + o.data_rapportino = i.data_rapportino; + + Dictionary dic = new Dictionary(); + switch (tenant) + { + case Clienti.Marrocco: + + break; + case Clienti.Ferrari: + + break; + case Clienti.Sicilia: + #region sicilia + if (!string.IsNullOrEmpty(i.codimp) && !i.codimp.Trim().Equals(string.Empty)) + { + dic.Add("Codice Impianto", i.codimp.Trim()); + } + if (!string.IsNullOrEmpty(i.desc_impianto) && !i.desc_impianto.Trim().Equals(string.Empty)) + { + dic.Add("Descrizione impianto", i.desc_impianto.Trim()); + } + if (!string.IsNullOrEmpty(i.indirizzo) && !i.indirizzo.Trim().Equals(string.Empty)) + { + StringBuilder sb = new StringBuilder(); + string ind = string.Empty; + string via = !string.IsNullOrEmpty(i.indirizzo_tipo) ? i.indirizzo_tipo.Trim() : string.Empty; + string indiri = !string.IsNullOrEmpty(i.indirizzo) ? i.indirizzo.Trim() : string.Empty; + string num = string.Empty; + if (i.indirizzo_num != null && i.indirizzo_num.Value > 0) + { + num = i.indirizzo_num.ToString().Trim(); + } + string num2 = !string.IsNullOrEmpty(i.indirizzo_num2) ? i.indirizzo_num2.Trim() : string.Empty; + string sca = !string.IsNullOrEmpty(i.indirizzo_scala) ? i.indirizzo_scala.Trim() : string.Empty; + + //ind = string.Concat("{0} {1} num {2} interno {3} scala {4}",via,indiri,num,num2,sca); + if (!string.IsNullOrEmpty(via)) sb.Append(via); + if (!string.IsNullOrEmpty(indiri)) sb.Append(" " + indiri); + if (!string.IsNullOrEmpty(num)) sb.Append(" ," + num); + if (!string.IsNullOrEmpty(num2)) sb.Append(" Int: " + num2); + if (!string.IsNullOrEmpty(sca)) sb.Append(" Scala: " + sca); + dic.Add("Indirizzo imp", sb.ToString()); + + } + if (!string.IsNullOrEmpty(i.codice_tecnico) && !i.codice_tecnico.Trim().Equals(string.Empty)) + { + dic.Add("Codice tecnico", i.codice_tecnico.Trim()); + } + if (!string.IsNullOrEmpty(i.desc_tecnico) && !i.desc_tecnico.Trim().Equals(string.Empty)) + { + dic.Add("Descrizione tecnico", i.desc_tecnico.Trim()); + } + if (!string.IsNullOrEmpty(i.seriale_rapportino) && !i.seriale_rapportino.Trim().Equals(string.Empty)) + { + dic.Add("Seriale rapportino", i.seriale_rapportino.Trim()); + } + if (i.data_rapportino != null) + { + dic.Add("Data rapportino", i.data_rapportino.Value.ToString()); + } + if (!string.IsNullOrEmpty(i.magazzino) && !i.magazzino.Trim().Equals(string.Empty)) + { + dic.Add("Codice magazzino", i.magazzino.Trim()); + } + + if (!string.IsNullOrEmpty(i.tipo_movimento) && !i.tipo_movimento.Trim().Equals(string.Empty)) + { + string st = string.Empty; + switch (i.tipo_movimento) + { + case "E": + st = "Eliminato da impianto"; + + break; + case "A": + st = "Aggiunto a impianto"; + + break; + case "S": + st = "Sostituito a impianto"; + + break; + } + dic.Add("Operazione", st); + } + if (!string.IsNullOrEmpty(i.articolo) && !i.articolo.Trim().Equals(string.Empty)) + { + dic.Add("Codice articolo", i.articolo.Trim()); + } + if (!string.IsNullOrEmpty(i.desc_art) && !i.desc_art.Trim().Equals(string.Empty)) + { + dic.Add("Descrizione articolo", i.desc_art.Trim()); + } + if (!string.IsNullOrEmpty(i.codlotto) && !i.codlotto.Trim().Equals(string.Empty)) + { + dic.Add("Codice lotto", i.codlotto.Trim()); + } + if (!string.IsNullOrEmpty(i.matricola) && !i.matricola.Trim().Equals(string.Empty)) + { + dic.Add("Matricola", i.matricola.Trim()); + } + + if (i.quantita != null && i.quantita.Value > 0) + { + dic.Add("Qta", i.quantita.Value.ToString()); + } + if (i.prezzo != null && i.prezzo.Value > 0) + { + dic.Add("Prezzo", i.prezzo.Value.ToString()); + } + if (!string.IsNullOrEmpty(i.note) && !i.note.Trim().Equals(string.Empty)) + { + dic.Add("Note intervento", i.note.Trim()); + } + if (!string.IsNullOrEmpty(i.azienda_impianto) && !i.azienda_impianto.Trim().Equals(string.Empty)) + { + dic.Add("Azienda", i.azienda_impianto.Trim()); + } + + + #endregion + + break; + case Clienti.Discovery: + + break; + case Clienti.Sarom: + + break; + default: + + break; + } + o.dettaglio = dic; + return o; + } + + /// Storico rapportini tecnico return:ActionResult di Sto_Imp_out + [HttpGet("storico_impianto")] + public async Task>> storico_impianto(string token, string? codimp /*,bool rapp_tec = true*/) + { + try + { + string ten = getClaimValueByToken(token, "tenant"); + string tecnico = getClaimValueByToken(token, "tccodice"); + _sto_imp = getStoricoImpiantoByTenant(ten); + //var l = await _rapportini.Where(t => t.raaziimp != null && t.raaziimp.Equals(ten) && t.racodte1 != null && t.racodte1.Trim().Equals(tecnico.Trim())).ToListAsync(); + var l = await _sto_imp.Where(t => t.azienda_impianto != null && t.azienda_impianto.Equals(ten)).ToListAsync(); + if (!string.IsNullOrEmpty(codimp)) + { + l = l.Where(t => t.codimp != null && t.codimp.Equals(codimp)).ToList(); + } + + + List lis = new List(); + foreach (Sto_Imp s in l) + { + Sto_Imp_out o = new Sto_Imp_out(); + o = fillSto_Imp_Out(s, ten); + lis.Add(o); + } + + return StatusCode(StatusCodes.Status200OK, lis); + } + catch (Exception ex) + { + Sto_Imp_out e = new Sto_Imp_out(); + e.err_title = "Errore in Storico impianto"; + e.err_detail = ex.Message; + e.err_status_code = StatiRisposta.ErroreInterno; + return StatusCode(StatusCodes.Status500InternalServerError, e); + } + } + + #endregion + + #region Rapportini da commessa + + public string _tablecode; + public string _warncode; + + /// Ricerca Commessa return:ActionResult + [HttpGet("ricerca_commessa_impianto")] + public async Task>> ricerca_commessa_impianto(int tipo,string token, string? codimp, string? indirizzo_imp, string? cli, string? comm) + { + Output_Ricerca uscita = new Output_Ricerca(); + //tipo 1: ricerca commessa - tipo2: ricerca impianto + + var st = StatusCodes.Status200OK; + List lis = new List(); + switch (tipo) + { + case 1: + #region ricerca commessa + try + { + if (string.IsNullOrEmpty(codimp) && string.IsNullOrEmpty(indirizzo_imp) && string.IsNullOrEmpty(cli) && string.IsNullOrEmpty(comm)) + { + + uscita.err_title = "Errore in ricerca Commesse/Impianto."; + uscita.err_detail = "Immettere almeno un parametro di ricerca."; + uscita.err_status_code = StatiRisposta.OperazioneNonAmmessa; + //return StatusCode(StatusCodes.Status400BadRequest, uscita); + st = StatusCodes.Status400BadRequest; + lis.Add(uscita); + } + else + { + string ten = getClaimValueByToken(token, "tenant"); + if (ten.Equals(Clienti.VT)) + { + + string ten2= getClaimValueByToken(token, "tenant2"); + _VT_Commesse = _VT_Comm.Comm; + var l = await _VT_Commesse.Where(t=>t.lacodazi.Equals(ten2)).ToListAsync(); + if (!string.IsNullOrEmpty(codimp)) + { + l = l.Where(t => t.imcodimp != null && t.imcodimp.Contains(codimp)).ToList(); + } + if (!string.IsNullOrEmpty(indirizzo_imp)) + { + l = l.Where(t => t.imindiri2 != null && t.imindiri2.ToUpper().Contains(indirizzo_imp.ToUpper())).ToList(); + } + if (!string.IsNullOrEmpty(cli)) + { + l = l.Where(t => t.andescri != null && t.andescri.ToUpper().Contains(cli.ToUpper())).ToList(); + } + if (!string.IsNullOrEmpty(comm)) + { + l = l.Where(t => t.lacodcom != null && t.lacodcom.ToUpper().Contains(comm.ToUpper())).ToList(); + } + l = l.Take(300).ToList(); + + foreach (CommesseVT i in l) + { + Output_Ricerca o = new Output_Ricerca(); + o = fillOutputRicercaVT(i); + lis.Add(o); + } + st = StatusCodes.Status200OK; + + } + else + { + //string ten = getClaimValueByToken(token, "tenant"); + _comm = getCommesseByTenant(ten); + var l = await _comm.ToListAsync(); + if (!string.IsNullOrEmpty(codimp)) + { + l = l.Where(t => t.imcodimp != null && t.imcodimp.Contains(codimp)).ToList(); + } + if (!string.IsNullOrEmpty(indirizzo_imp)) + { + l = l.Where(t => t.imindiri2 != null && t.imindiri2.ToUpper().Contains(indirizzo_imp.ToUpper())).ToList(); + } + if (!string.IsNullOrEmpty(cli)) + { + l = l.Where(t => t.andescri != null && t.andescri.ToUpper().Contains(cli.ToUpper())).ToList(); + } + if (!string.IsNullOrEmpty(comm)) + { + l = l.Where(t => t.lacodcom != null && t.lacodcom.ToUpper().Contains(comm.ToUpper())).ToList(); + } + l = l.Take(300).ToList(); + + foreach (Commessa i in l) + { + Output_Ricerca o = new Output_Ricerca(); + o = fillOutputRicerca(i); + lis.Add(o); + } + st = StatusCodes.Status200OK; + } + + + //return StatusCode(StatusCodes.Status200OK, lis); + } + } + catch (Exception ex) + { + + uscita.err_title = "Errore in ricerca_impianti_chiamata."; + uscita.err_detail = ex.Message; + uscita.err_status_code = StatiRisposta.ErroreInterno; + //return StatusCode(StatusCodes.Status500InternalServerError, uscita); + st = StatusCodes.Status500InternalServerError; + lis.Add(uscita); + + } + #endregion + break; + case 2: + #region ricerca Impianto + try + { + if (string.IsNullOrEmpty(codimp) && string.IsNullOrEmpty(indirizzo_imp)) + { + + uscita.err_title = "Errore in ricerca_commessa_impianto."; + uscita.err_detail = "Immettere almeno un parametro di ricerca."; + uscita.err_status_code = StatiRisposta.OperazioneNonAmmessa; + //return StatusCode(StatusCodes.Status400BadRequest, uscita); + st = StatusCodes.Status400BadRequest; + lis.Add(uscita); + } + else + { + string ten = getClaimValueByToken(token, "tenant"); + _impianto = getImpiantiByTenant(ten); + var l = await _impianto.Where(t => t.imcodazi != null && t.imcodazi.Equals(ten)).ToListAsync(); + if (!string.IsNullOrEmpty(codimp)) + { + l = l.Where(t => t.imcodimp != null && t.imcodimp.Contains(codimp)).ToList(); + } + if (!string.IsNullOrEmpty(indirizzo_imp)) + { + l = l.Where(t => t.imindiri2 != null && t.imindiri2.ToUpper().Contains(indirizzo_imp.ToUpper())).ToList(); + } + l = l.Take(300).ToList(); + foreach (Impianto i in l) + { + Output_Ricerca o = new Output_Ricerca(); + o = fillOutputRicercaByImpianto(i); + lis.Add(o); + } + st = StatusCodes.Status200OK; + //return StatusCode(StatusCodes.Status200OK, lis); + } + } + catch (Exception ex) + { + Impianto_out e = new Impianto_out(); + e.err_title = "Errore in ricerca impianti."; + e.err_detail = ex.Message; + e.err_status_code = StatiRisposta.ErroreInterno; + //return StatusCode(StatusCodes.Status428PreconditionRequired, e); + st = StatusCodes.Status500InternalServerError; + lis.Add(uscita); + } + #endregion + break; + default: + uscita.err_title = "Errore in ricerca_commessa_impianto."; + uscita.err_detail = "Tipo Ricerca non corretto"; + uscita.err_status_code = StatiRisposta.OperazioneNonAmmessa; + //return StatusCode(StatusCodes.Status400BadRequest, uscita); + st = StatusCodes.Status400BadRequest; + lis.Add(uscita); + break; + } + + return StatusCode(st, lis); + } + + /// Salva la timbratuta in tabella Timbrature return:ActionResult Timbratura_out + [HttpPost] + [Route("chiamata/inserisci")] + public async Task> Chiamata_Insert(string token, string codimp, string codice_commessa) + { + Output_Chiamate tOut = new Output_Chiamate(); + tOut.uscita = new Chiamate_out(); + Input i = new Input(); + try + { + string ten = getClaimValueByToken(token, "tenant"); + string tecnico = getClaimValueByToken(token, "tccodice"); + string ten2 = getClaimValueByToken(token, "tenant2"); + Chiamate_out o = new Chiamate_out(); + Prog cpwarnNumChiamata=new Prog(); + Prog cpwarnSeriale = new Prog(); + + Prog2 cpwarnNumChiamataDecimal = new Prog2(); + Prog2 cpwarnSerialeDecimal = new Prog2(); + + string serialeChiamata = string.Empty; + string progChiamata = string.Empty; + string tablecodeProg = string.Empty; + string warncodeProg = string.Empty; + string tablecodeSer = string.Empty; + string warncodeSer = string.Empty; + decimal? serialeLetto = 0; + decimal? progressivoLetto = 0; + string esercizio = Convert.ToString(DateTime.Today.Year); + + //lettura seriali e progressivi + switch (ten) + { + case Clienti.Sicilia: + cpwarnNumChiamataDecimal = await leggiCpwarnProgDecimal(ten, "prog\\NUMCHI\\", esercizio); + progChiamata = Convert.ToString(cpwarnNumChiamataDecimal.autonum); + tablecodeProg = cpwarnNumChiamataDecimal.tablecode; + warncodeProg = cpwarnNumChiamataDecimal.warncode; + progressivoLetto = cpwarnNumChiamataDecimal.autonum; + + cpwarnSerialeDecimal = await leggiCpwarnSerialeDecimal(ten, "prog\\SERCHI\\"); + serialeChiamata = Convert.ToString(cpwarnSerialeDecimal.autonum); + tablecodeSer = cpwarnSerialeDecimal.tablecode; + warncodeSer = cpwarnSerialeDecimal.warncode; + serialeLetto = cpwarnSerialeDecimal.autonum; + + + break; + case Clienti.Marrocco: + cpwarnNumChiamata = await leggiCpwarnProg(ten, "prog\\NUMCHI\\", esercizio); + progChiamata = Convert.ToString(cpwarnNumChiamata.autonum); + tablecodeProg = cpwarnNumChiamata.tablecode; + warncodeProg = cpwarnNumChiamata.warncode; + + _chiamateser = getChiamateSerialeByTenant(ten); + serialeChiamata = _chiamateser.First().pinumero; + break; + + case Clienti.Siet: + + cpwarnNumChiamata = await leggiCpwarnProg(ten, "prog\\NUMCHI\\", esercizio); + progChiamata = Convert.ToString(cpwarnNumChiamata.autonum); + tablecodeProg = cpwarnNumChiamata.tablecode; + warncodeProg = cpwarnNumChiamata.warncode; + + cpwarnSeriale = await leggiCpwarnSeriale(ten, "prog\\SERCHI\\"); + serialeChiamata = Convert.ToString(cpwarnSeriale.autonum); + tablecodeSer = cpwarnSeriale.tablecode; + warncodeSer = cpwarnSeriale.warncode; + + break; + case Clienti.PMS: + + //cpwarnNumChiamata = await leggiCpwarnProg(ten, "prog\\NUMCHI\\", esercizio); + //progChiamata = Convert.ToString(cpwarnNumChiamata.autonum); + //tablecodeProg = cpwarnNumChiamata.tablecode; + //warncodeProg = cpwarnNumChiamata.warncode; + + //cpwarnSeriale = await leggiCpwarnSeriale(ten, "prog\\SERCHI\\"); + //serialeChiamata = Convert.ToString(cpwarnSeriale.autonum); + //tablecodeSer = cpwarnSeriale.tablecode; + //warncodeSer = cpwarnSeriale.warncode; + cpwarnNumChiamataDecimal = await leggiCpwarnProgDecimal(ten, "prog\\NUMCHI\\", esercizio); + progChiamata = Convert.ToString(cpwarnNumChiamataDecimal.autonum); + tablecodeProg = cpwarnNumChiamataDecimal.tablecode; + warncodeProg = cpwarnNumChiamataDecimal.warncode; + progressivoLetto = cpwarnNumChiamataDecimal.autonum; + + cpwarnSerialeDecimal = await leggiCpwarnSerialeDecimal(ten, "prog\\SERCHI\\"); + serialeChiamata = Convert.ToString(cpwarnSerialeDecimal.autonum); + tablecodeSer = cpwarnSerialeDecimal.tablecode; + warncodeSer = cpwarnSerialeDecimal.warncode; + serialeLetto = cpwarnSerialeDecimal.autonum; + + + + break; + case Clienti.VT: + //string ten2 = getClaimValueByToken(token, "tenant2"); + _VT_prog = _VT_progtable.progr; + var t = await _VT_prog.Where(t => t.azienda.Equals(ten2)).ToListAsync(); + foreach (Progressivo ch in t) + { + string tipoprog = string.Empty; + tipoprog = ch.tipo_prog; + int? val = 0; + val = ch.val_prog; + if(!string.IsNullOrEmpty(tipoprog) && tipoprog.Equals("NUM_CHIAMA")) + { + progChiamata= Convert.ToString(val); + progressivoLetto = val; + } + if (!string.IsNullOrEmpty(tipoprog) && tipoprog.Equals("SER_CHIAMA")) + { + serialeChiamata = Convert.ToString(val); + serialeLetto = val; + } + + } + + + break; + + + } + + + //inserisco + string serial_comm = string.Empty; + switch (ten) + { + case Clienti.VT: + //string ten2 = getClaimValueByToken(token, "tenant2"); + serial_comm = await leggiSerialeByCodCommessaVT(ten2, codice_commessa); + tOut.uscita = await inserimentoChiamata2(ten, tecnico, codimp, serialeChiamata, progChiamata, serial_comm,ten2); + break; + default: + serial_comm = await leggiSerialeByCodCommessa(ten, codice_commessa); + tOut.uscita = await inserimentoChiamata2(ten, tecnico, codimp, serialeChiamata, progChiamata, serial_comm,ten); + break; + } + + + + //aggiornamento seriali e progressivi + string serialeUpdate = string.Empty; + float numeroUpdate = 0; + switch (ten) + { + case Clienti.Sicilia: + //aggiornamento tabella con decimal + serialeUpdate = tOut.uscita.chserial; + serialeLetto = serialeLetto + 1; + tOut.prog_Out = await aggiornaprogressivoDecimal(ten, serialeLetto, tablecodeSer, warncodeSer); + + progressivoLetto = progressivoLetto + 1; + tOut.prog_Out = await aggiornaprogressivoDecimal(ten, progressivoLetto, tablecodeProg, warncodeProg); + break; + case Clienti.Marrocco: + serialeUpdate = tOut.uscita.chserial; + tOut.chiaser_Out = await aggiornaSeriale(ten, serialeUpdate); + + numeroUpdate = (float)tOut.uscita.chnumero; + tOut.prog_Out = await aggiornaprogressivo(ten, numeroUpdate, tablecodeProg, warncodeProg); + break; + case Clienti.Siet: + + serialeUpdate = tOut.uscita.chserial; + decimal ss = Convert.ToDecimal(serialeUpdate); + float zz = (float)ss; + tOut.prog_Out = await aggiornaprogressivo(ten, zz, tablecodeSer, warncodeSer); + + numeroUpdate = (float)tOut.uscita.chnumero; + tOut.prog_Out = await aggiornaprogressivo(ten, numeroUpdate, tablecodeProg, warncodeProg); + break; + case Clienti.PMS: + + //serialeUpdate = tOut.uscita.chserial; + //decimal ssPMS = Convert.ToDecimal(serialeUpdate); + //float zzPMS = (float)ssPMS; + //tOut.prog_Out = await aggiornaprogressivo(ten, zzPMS, tablecodeSer, warncodeSer); + + //numeroUpdate = (float)tOut.uscita.chnumero; + //tOut.prog_Out = await aggiornaprogressivo(ten, numeroUpdate, tablecodeProg, warncodeProg); + //aggiornamento tabella con decimal + + serialeUpdate = tOut.uscita.chserial; + serialeLetto = serialeLetto + 1; + tOut.prog_Out = await aggiornaprogressivoDecimal(ten, serialeLetto, tablecodeSer, warncodeSer); + + progressivoLetto = progressivoLetto + 1; + tOut.prog_Out = await aggiornaprogressivoDecimal(ten, progressivoLetto, tablecodeProg, warncodeProg); + break; + case Clienti.VT: + serialeLetto = serialeLetto + 1; + int val = Convert.ToInt32(serialeLetto); + await aggiornaprogressivoVT(ten2, "SER_CHIAMA", val); + serialeUpdate = tOut.uscita.chserial; + + progressivoLetto = progressivoLetto + 1; + val = Convert.ToInt32(progressivoLetto); + await aggiornaprogressivoVT(ten2, "NUM_CHIAMA", val); + + break; + } + + i.codice_impianto = tOut.uscita.chcodimp; + i.seriale_chiamata = tOut.uscita.chserial; + i.ora_ini_rapportino = Convert.ToString(tOut.uscita.chora); + i.min_ini_rapportino = Convert.ToString(tOut.uscita.chmin); + + tOut.chiamate_Out = await presaInCarico(i, token); + + _chiamate = getChiamateByTenant(ten); + + var callNew = await _chiamate.Where( + t => t.chserial.Equals(serialeUpdate) + ).FirstAsync(); + + o = fillChiamateOut(callNew, ten); + + tOut.err_status_code = StatiRisposta.Ok; + return StatusCode(StatusCodes.Status200OK, o); + + } + catch (Exception ex) + { + string errmsg = ex.InnerException != null ? ex.InnerException.Message : ex.Message; + tOut.uscita.err_title = ex.Message; + tOut.uscita.err_detail = errmsg; + tOut.uscita.err_status_code = StatiRisposta.ErroreInterno; + return StatusCode(StatusCodes.Status500InternalServerError, tOut.uscita); + } + //return tOut; + } + private Output_Ricerca fillOutputRicerca(Commessa i) + { + Output_Ricerca r = new Output_Ricerca(); + + r.codice_commessa = i.lacodcom; + r.desc_commessa = i.lacodcom; + + r.tipo_cliente_comm = i.latipcli; + r.cliente_comm = i.lacodcli; + r.dt_fine_validita = i.ladatchi; + r.codice_impianto = i.imcodimp; + r.imindiri1 = i.imindiri1; + r.imindiri2 = i.imindiri2; + r.imindiri3 = i.imindiri3; + r.imindiri4 = i.imindiri4; + r.imindiri5 = i.imindiri5; + r.desc_cliente_comm = i.andescri; + r.cap_impianto = i.imcodcap; + r.provincia_impianto = i.improvin; + + StringBuilder sb = new StringBuilder(); + string commessa = !string.IsNullOrEmpty(i.lacodcom) ? i.lacodcom.Trim() : string.Empty; + if(!string.IsNullOrEmpty(i.ladeslav)) + { + commessa = commessa + " - " +i.ladeslav.Trim(); + } + + sb.AppendLine("Comm: " + commessa); + + if (!string.IsNullOrEmpty(i.imcodimp)) + { + sb.AppendLine("Imp: " + i.imcodimp); + } + + if (!string.IsNullOrEmpty(i.andescri)) + { + string appoCli = i.andescri; + appoCli = appoCli.Substring(0, 25); + sb.AppendLine("Cli " + appoCli); + } + r.itemList = sb.ToString(); + sb.Clear(); + + return r; + } + private Output_Ricerca fillOutputRicercaVT(CommesseVT i) + { + Output_Ricerca r = new Output_Ricerca(); + + r.codice_commessa = i.lacodcom; + r.desc_commessa = i.lacodcom; + + r.tipo_cliente_comm = i.latipcli; + r.cliente_comm = i.lacodcli; + r.dt_fine_validita = i.ladatchi; + r.codice_impianto = i.imcodimp; + r.imindiri1 = i.imindiri1; + r.imindiri2 = i.imindiri2; + r.imindiri3 = i.imindiri3; + r.imindiri4 = i.imindiri4; + r.imindiri5 = i.imindiri5; + r.desc_cliente_comm = i.andescri; + r.cap_impianto = i.imcodcap; + r.provincia_impianto = i.improvin; + + StringBuilder sb = new StringBuilder(); + string commessa = !string.IsNullOrEmpty(i.lacodcom) ? i.lacodcom.Trim() : string.Empty; + if (!string.IsNullOrEmpty(i.ladeslav)) + { + commessa = commessa + " - " + i.ladeslav.Trim(); + } + + sb.AppendLine("Comm: " + commessa); + + if (!string.IsNullOrEmpty(i.imcodimp)) + { + sb.AppendLine("Imp: " + i.imcodimp); + } + + if (!string.IsNullOrEmpty(i.andescri)) + { + string appoCli = i.andescri; + appoCli = appoCli.Substring(0, 25); + sb.AppendLine("Cli " + appoCli); + } + r.itemList = sb.ToString(); + sb.Clear(); + + return r; + } + private Output_Ricerca fillOutputRicercaByImpianto(Impianto i) + { + Output_Ricerca r = new Output_Ricerca(); + + r.codice_impianto = i.imcodimp; + r.descrizione_impianto = i.imdescri; + r.imindiri1 = i.imindiri1; + r.imindiri2 = i.imindiri2; + r.imindiri3 = i.imindiri3; + r.imindiri4 = i.imindiri4; + r.imindiri5 = i.imindiri5; + r.cap_impianto = i.imcodcap; + r.provincia_impianto = i.improvin; + + StringBuilder sb = new StringBuilder(); + + sb.AppendLine("Imp: " + i.imcodimp); + + if (!string.IsNullOrEmpty(i.imdescri)) + { + sb.AppendLine( i.imdescri); + } + string via = !string.IsNullOrEmpty(i.imindiri1) ? i.imindiri1.Trim() : string.Empty; + string indiri = !string.IsNullOrEmpty(i.imindiri2) ? i.imindiri2.Trim() : string.Empty; + string num = string.Empty; + if (i.imindiri3 != null && i.imindiri3.Value > 0) + { + num = i.imindiri3.ToString().Trim(); + } + string num2 = !string.IsNullOrEmpty(i.imindiri4) ? i.imindiri4.Trim() : string.Empty; + string sca = !string.IsNullOrEmpty(i.imindiri5) ? i.imindiri5.Trim() : string.Empty; + + string appo = string.Empty; + appo = via + indiri + num + num2 + sca; + + if (!string.IsNullOrEmpty(via)) appo=appo+via; + if (!string.IsNullOrEmpty(indiri)) appo = appo + " "+indiri; + if (!string.IsNullOrEmpty(num)) appo = appo + " ," + num; + if (!string.IsNullOrEmpty(num2)) appo = appo + " Int: " + num2; + if (!string.IsNullOrEmpty(sca)) appo = appo + " Scala: " + sca; + sb.AppendLine(appo); + + r.itemList = sb.ToString(); + sb.Clear(); + + return r; + } + private ChiamateTable fillChiamateTableInput(ChiamateTable i, string codimp, string tecnico, string tenant, string serialeLetto, string progLetto, string seriale_commessa) + { + + DateTime adesso = DateTime.Now; + ChiamateTable o = new ChiamateTable(); + string codiceEsercizio = string.Empty; + codiceEsercizio = Convert.ToString(adesso.Year); + string nuovoSeriale = string.Empty; + nuovoSeriale = getNuovoSerialeChiamata(serialeLetto); + + o.chcodazi = i.chcodazi; + o.chserial = nuovoSeriale; + //o.chtipo = i.chtipo; scrivo tipo A per distinguere le chiamate normali da quelle inserite da app + o.chtipo = "X"; + o.chcodese = codiceEsercizio; + o.chnumero = Convert.ToDecimal(progLetto)+1; + o.chdata = adesso.Date; + o.chora = adesso.Hour; + o.chmin = adesso.Minute; + o.chopins = i.chopins; + o.chopass = i.chopass; + o.chopchi = i.chopchi; + o.chcodimp = codimp; + o.chaziimp = i.chaziimp; + + o.chtchiam = tecnico; + o.chtmanut = i.chtmanut; + o.chstato = "C"; + o.chdtapp = adesso.Date; + o.choraapi = adesso.Hour; + o.chminapi = adesso.Minute; + o.choraapf = adesso.Hour + 1; + o.chminapf = adesso.Minute; + + //TODO il seriale della commessa lo devo avere e lo memorizzo qui + //per ora prendo quello che scrivo sul template; poi quello che mi viene passato dalla ricerca + o.chrifer = seriale_commessa; + o.chtelef = i.chtelef; + + o.chcodseg = i.chcodseg; + o.chstopi = i.chstopi; + o.chnote = i.chnote; + o.chdtass = adesso.Date; + o.chorass = adesso.Hour; + o.chminass = adesso.Minute; + o.chdtchi = i.chdtchi; + o.chorachi = i.chorachi; + o.chminchi = i.chminchi; + o.chdtlin = i.chdtlin; + o.chorali = i.chorali; + o.chminli = i.chminli; + + o.chdtlfi = i.chdtlfi; + o.choralf = i.choralf; + o.chminlf = i.chminlf; + o.chvalfat = i.chvalfat; + o.cpccchk = getCpccchk(10); + o.chnrap1 = i.chnrap1; + o.chsrap1 = i.chsrap1; + o.chnrap2 = i.chnrap2; + o.chsrap2 = i.chsrap2; + o.chmodrac = i.chmodrac; + o.chprgann = i.chprgann; + o.chserchi = i.chserchi; + o.chdesfat = i.chdesfat; + o.chdessup = i.chdessup; + o.chimpofa = i.chimpofa; + o.chserdoc = i.chserdoc; + o.chimpmat = i.chimpmat; + o.chimpman = i.chimpman; + o.chperman = i.chperman; + o.chfleste = i.chfleste; + o.chflstim = i.chflstim; + o.chserext = i.chserext; + o.chrifiutata = i.chrifiutata; + + //o.chincarico = i.chincarico; + //o.chserweb = i.chserweb; + //o.chinlinea = i.chinlinea; + //o.chtelesan = i.chtelesan; + + return o; + } + private string getNuovoSerialeChiamata(string lastSerial) + { + //lunghezza 10 fissa + string new_serial = string.Empty; + + int ser = int.Parse(lastSerial); + ser++; + new_serial = ser.ToString(); + new_serial = new_serial.PadLeft(10, '0'); + + return new_serial; + } + private async Task inserimentoChiamata2(string ten, string tecnico, string codimp, string serLetto, string progLetto, string codice_commessa, string ten2) + { + Chiamate_out c = new Chiamate_out(); + + + string serialeTemplate = string.Empty; + _chiatable = getChiamateTableByTenant(ten); + ChiamateTable t = new ChiamateTable(); + var tt = new List(); + switch (ten) + { + case Clienti.VT: + _confLette = await readConf(ten2); + serialeTemplate = _confLette.seriale_template_chi; + tt = await _chiatable.Where(t => t.chcodazi != null && t.chcodazi.Equals(ten2) && t.chserial != null && t.chserial.Equals(serialeTemplate)).ToListAsync(); + break; + default: + _confLette = await readConf(ten); + serialeTemplate = _confLette.seriale_template_chi; + tt = await _chiatable.Where(t => t.chcodazi != null && t.chcodazi.Equals(ten) && t.chserial != null && t.chserial.Equals(serialeTemplate)).ToListAsync(); + break; + } + + + + switch (ten) + { + case Clienti.Marrocco: + t = fillChiamateTableInput(tt.FirstOrDefault(), codimp, tecnico, ten,serLetto,progLetto, codice_commessa); + using (var tranMarro = _Marro_chiatable.Database.BeginTransaction()) + { + await _Marro_chiatable.Chi.AddAsync(t); + await _Marro_chiatable.SaveChangesAsync(); + tranMarro.Commit(); + } + break; + case Clienti.Siet: + t = fillChiamateTableInput(tt.FirstOrDefault(), codimp, tecnico, ten, serLetto, progLetto, codice_commessa); + using (var tranSiet = _Siet_chiatable.Database.BeginTransaction()) + { + await _Siet_chiatable.Chi.AddAsync(t); + await _Siet_chiatable.SaveChangesAsync(); + tranSiet.Commit(); + } + break; + case Clienti.Sicilia: + t = fillChiamateTableInput(tt.FirstOrDefault(), codimp, tecnico, ten, serLetto, progLetto, codice_commessa); + + using (var tranSicilia = _Sicilia_chiatable.Database.BeginTransaction()) + { + await _Sicilia_chiatable.Chi.AddAsync(t); + await _Sicilia_chiatable.SaveChangesAsync(); + tranSicilia.Commit(); + } + break; + case Clienti.PMS: + t = fillChiamateTableInput(tt.FirstOrDefault(), codimp, tecnico, ten, serLetto, progLetto, codice_commessa); + + using (var tranPMS = _Pms_chiatable.Database.BeginTransaction()) + { + await _Pms_chiatable.Chi.AddAsync(t); + await _Pms_chiatable.SaveChangesAsync(); + tranPMS.Commit(); + } + break; + case Clienti.VT: + + t = fillChiamateTableInput(tt.FirstOrDefault(), codimp, tecnico, ten, serLetto, progLetto, codice_commessa); + + using (var tranVT = _VT_chiatable.Database.BeginTransaction()) + { + await _VT_chiatable.Chi.AddAsync(t); + await _VT_chiatable.SaveChangesAsync(); + tranVT.Commit(); + } + break; + default: + + break; + } + + _chiamate = getChiamateByTenant(ten); + var chiamata_new = _chiamate.Where(x => x.chserial.Equals(t.chserial)).FirstOrDefault(); + c = fillChiamateOut(chiamata_new, ten); + + return c; + } + private async Task presaInCarico(Input model, string token) + { + string ten = getClaimValueByToken(token, "tenant"); + string ten2 = getClaimValueByToken(token, "tenant2"); + Chiamate_out calltec_out = new Chiamate_out(); + Chiamate calltec = new Chiamate(); + if (await checkChiamataPresa(ten, model.seriale_chiamata, TipoRapportino.PresaInCarico,ten2) == 0) + { + + _confLette = await readConf(ten); + string newSerial = string.Empty; + newSerial = await getSeriale(token); + Rapp_New r = await fillRappNewByInput(model, token, newSerial, _confLette); + switch (ten) + { + case Clienti.Marrocco: + using (var transaction = _Marro_rapp.Database.BeginTransaction()) + { + await _Marro_rapp.Rapps.AddAsync(r); + await _Marro_rapp.SaveChangesAsync(); + transaction.Commit(); + } + break; + case Clienti.Ferrari: + using (var transaction = _Ferra_rapp.Database.BeginTransaction()) + { + await _Ferra_rapp.Rapps.AddAsync(r); + await _Ferra_rapp.SaveChangesAsync(); + transaction.Commit(); + } + break; + case Clienti.Sicilia: + using (var transaction = _Sicilia_rapp.Database.BeginTransaction()) + { + await _Sicilia_rapp.Rapps.AddAsync(r); + await _Sicilia_rapp.SaveChangesAsync(); + transaction.Commit(); + } + break; + case Clienti.Discovery: + using (var transaction = _Disco_rapp.Database.BeginTransaction()) + { + await _Disco_rapp.Rapps.AddAsync(r); + await _Disco_rapp.SaveChangesAsync(); + transaction.Commit(); + } + break; + case Clienti.Sarom: + using (var transaction = _Sarom_rapp.Database.BeginTransaction()) + { + await _Sarom_rapp.Rapps.AddAsync(r); + await _Sarom_rapp.SaveChangesAsync(); + transaction.Commit(); + } + break; + case Clienti.Gitoga: + using (var transactionGit = _Gitoga_rapp.Database.BeginTransaction()) + { + await _Gitoga_rapp.Rapps.AddAsync(r); + await _Gitoga_rapp.SaveChangesAsync(); + transactionGit.Commit(); + } + break; + case Clienti.Lifta: + using (var transactionLif = _Lifta_rapp.Database.BeginTransaction()) + { + await _Lifta_rapp.Rapps.AddAsync(r); + await _Lifta_rapp.SaveChangesAsync(); + transactionLif.Commit(); + } + break; + case Clienti.Siet: + using (var transactionSiet = _Siet_rapp.Database.BeginTransaction()) + { + await _Siet_rapp.Rapps.AddAsync(r); + await _Siet_rapp.SaveChangesAsync(); + transactionSiet.Commit(); + } + break; + case Clienti.PMS: + using (var transactionPMS = _Pms_rapp.Database.BeginTransaction()) + { + await _Pms_rapp.Rapps.AddAsync(r); + await _Pms_rapp.SaveChangesAsync(); + transactionPMS.Commit(); + } + break; + case Clienti.VT: + using (var transactionvt = _VT_rapptable.Database.BeginTransaction()) + { + await _VT_rapptable.Rapps.AddAsync(r); + await _VT_rapptable.SaveChangesAsync(); + transactionvt.Commit(); + } + break; + default: + break; + } + //restituisco la chiamata + calltec = await getChiamataBySerial(model.seriale_chiamata, token); + calltec_out = fillChiamateOut(calltec, ten); + calltec.err_status_code = StatiRisposta.Ok; + + } + else + { + calltec_out.err_title = "Impossibile prendere in carico la chiamata"; + calltec_out.err_detail = "Chiamata precendentemente presa in carico: " + model.seriale_chiamata; + calltec_out.err_status_code = StatiRisposta.OperazioneNonAmmessa; + } + return calltec_out; + } + private async Task aggiornaSeriale(string tenant, string nuovoSeriale) + { + ChiamataSeriale_out cso = new ChiamataSeriale_out(); + + string cpcccchk = getCpccchk(10); + switch (tenant) + { + case Clienti.Marrocco: + using (var transaction = _Marro_chiaser.Database.BeginTransaction()) + { + ChiamataSeriale entitasViewModel = _chiamateser.Where(p => p.piditta.Equals(tenant)).FirstOrDefault(); + entitasViewModel.pinumero = nuovoSeriale; + entitasViewModel.cpccchk = cpcccchk; + _Marro_chiaser.Entry(entitasViewModel).State = EntityState.Modified; + await _Marro_chiaser.SaveChangesAsync(); + transaction.Commit(); + } + break; + case Clienti.Siet: + using (var transactionSiet = _Siet_chiaser.Database.BeginTransaction()) + { + ChiamataSeriale entitasViewModel = _chiamateser.Where(p => p.piditta.Equals(tenant)).FirstOrDefault(); + entitasViewModel.pinumero = nuovoSeriale; + entitasViewModel.cpccchk = cpcccchk; + _Siet_chiaser.Entry(entitasViewModel).State = EntityState.Modified; + await _Siet_chiaser.SaveChangesAsync(); + transactionSiet.Commit(); + } + break; + case Clienti.Sicilia: + using (var transactionSicilia = _Sicilia_chiaser.Database.BeginTransaction()) + { + ChiamataSeriale entitasViewModel = _chiamateser.Where(p => p.piditta.Equals(tenant)).FirstOrDefault(); + entitasViewModel.pinumero = nuovoSeriale; + entitasViewModel.cpccchk = cpcccchk; + _Sicilia_chiaser.Entry(entitasViewModel).State = EntityState.Modified; + await _Sicilia_chiaser.SaveChangesAsync(); + transactionSicilia.Commit(); + } + break; + + default: + break; + } + return cso; + } + private async Task aggiornaprogressivo(string tenant, float nuovoProg,string tablecode,string warncode) + { + Prog_out cso = new Prog_out(); + + string cpcccchk = getCpccchk(10); + switch (tenant) + { + case Clienti.Marrocco: + using (var transaction = _Marro_chiaprog.Database.BeginTransaction()) + { + Prog entitasViewModel = _chiamateprogr.Where(p => p.tablecode.Equals(tablecode)&& p.warncode.Equals(warncode)).FirstOrDefault(); + entitasViewModel.autonum = nuovoProg; + entitasViewModel.cpccchk = cpcccchk; + + _Marro_chiaprog.Entry(entitasViewModel).State = EntityState.Modified; + await _Marro_chiaprog.SaveChangesAsync(); + transaction.Commit(); + } + break; + case Clienti.Siet: + using (var transactionSiet = _Siet_chiaprog.Database.BeginTransaction()) + { + Prog entitasViewModel = _chiamateprogr.Where(p => p.tablecode.Equals(tablecode) && p.warncode.Equals(warncode)).FirstOrDefault(); + entitasViewModel.autonum = nuovoProg; + entitasViewModel.cpccchk = cpcccchk; + + _Siet_chiaprog.Entry(entitasViewModel).State = EntityState.Modified; + await _Siet_chiaprog.SaveChangesAsync(); + transactionSiet.Commit(); + } + break; + case Clienti.Sicilia: + using (var transactionSicilia = _Sicilia_cpwarn.Database.BeginTransaction()) + { + _cpwarns = getCpwarnByTenant(tenant); + Prog2 entitasViewModel = _cpwarns.Where(p => p.tablecode.Equals(tablecode) && p.warncode.Equals(warncode)).FirstOrDefault(); + entitasViewModel.autonum = Convert.ToDecimal( nuovoProg); + entitasViewModel.cpccchk = cpcccchk; + + _Sicilia_cpwarn.Entry(entitasViewModel).State = EntityState.Modified; + await _Sicilia_cpwarn.SaveChangesAsync(); + transactionSicilia.Commit(); + } + break; + + default: + break; + } + return cso; + } + private async Task aggiornaprogressivoDecimal(string tenant, decimal? nuovoProg, string tablecode, string warncode) + { + Prog_out cso = new Prog_out(); + + string cpcccchk = getCpccchk(10); + switch (tenant) + { + case Clienti.Sicilia: + using (var transactionSicilia = _Sicilia_cpwarn.Database.BeginTransaction()) + { + _cpwarns = getCpwarnByTenant(tenant); + Prog2 entitasViewModel = _cpwarns.Where(p => p.tablecode.Equals(tablecode) && p.warncode.Equals(warncode)).FirstOrDefault(); + entitasViewModel.autonum = nuovoProg; + entitasViewModel.cpccchk = cpcccchk; + + _Sicilia_cpwarn.Entry(entitasViewModel).State = EntityState.Modified; + await _Sicilia_cpwarn.SaveChangesAsync(); + transactionSicilia.Commit(); + } + break; + case Clienti.PMS: + using (var transactionPMS = _PMS_cpwarn.Database.BeginTransaction()) + { + _cpwarns = getCpwarnByTenant(tenant); + Prog2 entitasViewModel = _cpwarns.Where(p => p.tablecode.Equals(tablecode) && p.warncode.Equals(warncode)).FirstOrDefault(); + entitasViewModel.autonum = nuovoProg; + entitasViewModel.cpccchk = cpcccchk; + + _PMS_cpwarn.Entry(entitasViewModel).State = EntityState.Modified; + await _PMS_cpwarn.SaveChangesAsync(); + transactionPMS.Commit(); + } + break; + default: + break; + } + return cso; + } + private async Task aggiornaprogressivoVT(string tenant, string tipoProg, int valore) + { + Progressivo_out cso = new Progressivo_out(); + + string cpcccchk = getCpccchk(10); + Progressivo model = new Progressivo(); + //model.tipo_prog = tipoProg; + //model.azienda = tenant; + //model.val_prog = valore; + var p =await _VT_progtable.progr.Where(t => t.azienda.Equals(tenant) && t.tipo_prog.Equals(tipoProg)).ToListAsync(); + model = p.FirstOrDefault(); + model.val_prog = valore; + try + { + + using (var transaction = _VT_progtable.Database.BeginTransaction()) + { + _VT_progtable.Entry(model).State = EntityState.Modified; + await _VT_progtable.SaveChangesAsync(); + transaction.Commit(); + } + + cso.azienda = model.azienda; + cso.tipo_prog = model.tipo_prog; + cso.val_prog = model.val_prog; + } + catch (Exception ex) + { + string errmsg = ex.InnerException != null ? ex.InnerException.Message : ex.Message; + cso.err_detail = errmsg; + + } + return cso; + } + + private async Task leggiCpwarnSeriale(string tenant, string tablecode) + { + //autorun float + _chiamateprogr = getChiamateProgressiviByTenant(tenant); + var cpwarn = await _chiamateprogr.Where(p => p.tablecode != null && p.tablecode.Contains(tablecode) && p.tablecode.Contains(tenant)).FirstAsync(); + return cpwarn; + } + private async Task leggiCpwarnProg(string tenant, string tablecode, string codiceEsercizio) + { + //autorun float + _chiamateprogr = getChiamateProgressiviByTenant(tenant); + var cpwarn = await _chiamateprogr.Where(p => p.tablecode != null && p.tablecode.Contains(tablecode) && p.tablecode.Contains(codiceEsercizio) && p.tablecode.Contains(tenant)).FirstAsync(); + return cpwarn; + } + private async Task leggiCpwarnProgDecimal(string tenant, string tablecode, string codiceEsercizio) + { + //autorun decimal + _cpwarns = getCpwarnByTenant(tenant); + var cpwarn = await _cpwarns.Where(p => p.tablecode != null && p.tablecode.Contains(tablecode) && p.tablecode.Contains(codiceEsercizio) && p.tablecode.Contains(tenant)).FirstAsync(); + return cpwarn; + } + private async Task leggiCpwarnSerialeDecimal(string tenant, string tablecode) + { + //autorun decimal + _cpwarns = getCpwarnByTenant(tenant); + var cpwarn = await _cpwarns.Where(p => p.tablecode != null && p.tablecode.Contains(tablecode) && p.tablecode.Contains(tenant)).FirstAsync(); + return cpwarn; + } + private async Task leggiSerialeByCodCommessa(string tenant, string codice_commessa) + { + string serial = string.Empty; + _comm = getCommesseByTenant(tenant); + var ser = await _comm.Where(p => p.lacodcom!=null && p.lacodcom.Equals(codice_commessa)).FirstAsync(); + serial = ser.laserial; + return serial; + } + private async Task leggiSerialeByCodCommessaVT(string tenant, string codice_commessa) + { + string serial = string.Empty; + _VT_Commesse = _VT_Comm.Comm; + + //var t = await _VT_Commesse.Where(t => t.lacodazi.Equals(tenant)).ToListAsync(); + var ser = await _VT_Commesse.Where(p => p.lacodcom != null && p.lacodcom.Equals(codice_commessa) && p.lacodazi.Equals(tenant)).FirstAsync(); + serial = ser.laserial; + return serial; + } + #endregion + + #region VIRTUAL TASK + /// Login iniziale return:ActionResult + [HttpPost("loginTechnicalVT")] + public async Task> loginTechnicalVT([FromBody] LoginModel model) + { + LoginOut o = new LoginOut(); + try + { + if (string.IsNullOrEmpty(model.Username) || string.IsNullOrEmpty(model.Password)) + { + o.err_detail = "Username e Password non possono essere vuoti."; + o.err_title = "Username e Password non possono essere vuoti."; + o.err_status_code = StatiRisposta.OperazioneNonAmmessa; + return StatusCode(StatusCodes.Status200OK, o); + } + else + { + _tecnici = _VT_tecnici.Tecnici; + + //var tecnico = await _tecnici.Where(t => t.tcuser.Trim() == model.Username.Trim() && t.tcpwd.Trim() == model.Password.Trim() && t.tccodazi == model.Tenant).Take(1).ToListAsync(); + //var tecnico = await _tecnici.Where(t => t.tcuser == model.Username && t.tcpwd == model.Password && t.tccodazi == model.Tenant).Take(1).ToListAsync(); + var tecnico = await _tecnici.Where(t => t.tcuser == model.Username && t.tcpwd == model.Password).Take(1).ToListAsync(); + if (tecnico == null || (tecnico != null && tecnico.Count == 0)) + { + o.err_detail = "Username o Password non trovati."; + o.err_title = "Username o Password non trovati."; + o.err_status_code = StatiRisposta.OperazioneNonAmmessa; + return StatusCode(StatusCodes.Status404NotFound, o); + } + else + { + var authClaims = new List + { + new Claim(ClaimTypes.Name, model.Username), + new Claim(JwtRegisteredClaimNames.Jti, Guid.NewGuid().ToString()), + new Claim("tenant", model.Tenant), + new Claim("tenant2", tecnico.First().tccodazi), + new Claim("tccodice", tecnico.First().tccodice), + }; + var authSigningKey = new SymmetricSecurityKey(Encoding.UTF8.GetBytes(_configuration["JWT:Secret"])); + var token = new JwtSecurityToken( + issuer: _configuration["JWT:ValidIssuer"], + audience: _configuration["JWT:ValidAudience"], + expires: DateTime.Now.AddMonths(3), + claims: authClaims, + signingCredentials: new SigningCredentials(authSigningKey, SecurityAlgorithms.HmacSha256) + ); + string tok = new JwtSecurityTokenHandler().WriteToken(token); + _token = tok; + + + o.Tok = tok; + o.Tcdescri = tecnico.First().Tcdescri; + o.Tccodice = tecnico.First().tccodice; + o.Tcsuper = tecnico.First().tcsuper; + o.Tenant = tecnico.First().tccodazi; + Conf cc = new Conf(); + _confLette = await readConf(model.Tenant); + + cc.abilita_naviga = _confLette.abilita_naviga; + cc.abilita_telefona = _confLette.abilita_telefona; + cc.abilita_chiamate = _confLette.abilita_chiamate; + cc.abilita_barcode = _confLette.abilita_barcode; + + cc.abilita_manutenzioni = _confLette.abilita_manutenzioni; + cc.chiamate_accetta = _confLette.chiamate_accetta; + cc.chiamate_accetta_barcode = _confLette.chiamate_accetta_barcode; + cc.chiamate_accetta_offline = _confLette.chiamate_accetta_offline; + cc.chiamate_rifiuta = _confLette.chiamate_rifiuta; + cc.chiamate_rifiuta_barcode = _confLette.chiamate_rifiuta_barcode; + cc.chiamate_rifiuta_offline = _confLette.chiamate_rifiuta_offline; + cc.chiamate_chiudi_barcode = _confLette.chiamate_chiudi_barcode; + cc.chiamate_firma_barcode = _confLette.chiamate_firma_barcode; + cc.chiamate_chiudi_salva_barcode = _confLette.chiamate_chiudi_salva_barcode; + cc.chiamate_chiudi_salva_offline = _confLette.chiamate_chiudi_salva_offline; + + cc.manutenzioni_accetta = _confLette.manutenzioni_accetta; + cc.manutenzioni_rifiuta = _confLette.manutenzioni_rifiuta; + cc.manutenzioni_accetta_barcode = _confLette.manutenzioni_accetta_barcode; + cc.manutenzioni_accetta_offline = _confLette.manutenzioni_accetta_offline; + cc.manutenzioni_chiudi_barcode = _confLette.manutenzioni_chiudi_barcode; + cc.manutenzioni_firma_barcode = _confLette.manutenzioni_firma_barcode; + cc.manutenzioni_chiudi_salva_barcode = _confLette.manutenzioni_chiudi_salva_barcode; + cc.manutenzioni_chiudi_salva_offline = _confLette.manutenzioni_chiudi_salva_offline; + + cc.dpi_checkbox = _confLette.dpi_checkbox; + + cc.anagrafica = _confLette.anagrafica; + cc.stato_finale = _confLette.stato_finale; + cc.descrizione_intervento = _confLette.descrizione_intervento; + cc.composizione_impianto = _confLette.composizione_impianto; + cc.note_intervento = _confLette.note_intervento; + cc.esito_intervento = _confLette.esito_intervento; + cc.ora_inizio_fine = _confLette.ora_inizio_fine; + cc.materiali = _confLette.materiali; + cc.diritto_chiamata = _confLette.diritto_chiamata; + cc.manodopera = _confLette.manodopera; + cc.spese_viaggio = _confLette.spese_viaggio; + cc.tipo_pagamento = _confLette.tipo_pagamento; + cc.note_pagamento = _confLette.note_pagamento; + cc.causale = _confLette.causale; + + cc.time_sheet = _confLette.time_sheet; + cc.time_sheet_offline = _confLette.time_sheet_offline; + cc.costo_orario = _confLette.costo_orario; + cc.ftp_port = _confLette.ftp_port; + cc.manutenzioni_rifiuta_barcode = _confLette.manutenzioni_rifiuta_barcode; + cc.storico = _confLette.storico; + cc.storico_tecnico = _confLette.storico_tecnico; + cc.storico_interventi = _confLette.storico_interventi; + cc.storico_impianto = _confLette.storico_impianto; + cc.ricerca_impianti = _confLette.ricerca_impianti; + + cc.ora_inizio_fine_automatica = _confLette.ora_inizio_fine_automatica; + cc.stampa_orario = _confLette.stampa_orario; + cc.intestazione_stampa = _confLette.intestazione_stampa; + cc.seriale_template_chi = _confLette.seriale_template_chi; + cc.abilita_inserimento_chiamate = _confLette.abilita_inserimento_chiamate; + + o.Config = cc; + + //cerco le aziende collegate + List l = new List(); + string ten = model.Tenant; + bool bCercaAzcoll = false; + switch (ten) + { + case Clienti.Discovery: + bCercaAzcoll = true; + break; + } + if (bCercaAzcoll) + { + _azi_coll = getAziendeRifByTenant(ten); + var a = await _azi_coll.Where(t => t.piazihoc != null && t.piazihoc.Equals(ten) && t.picodtec != null && t.picodtec.Trim().Equals(o.Tccodice.Trim())).ToListAsync(); + if (a.Any()) + { + + foreach (AziendaRif appo in a) + { + string logo = !string.IsNullOrEmpty(appo.pilogurl) ? appo.pilogurl.Trim() : string.Empty; + //var uriBuilder = new UriBuilder(Request.Scheme, Request.Host.Host, Request.Host.Port ?? -1); + //logo = uriBuilder + logo; + appo.pilogurl = logo; + l.Add(appo); + } + + } + } + o.aziende_coll = l; + } + return StatusCode(StatusCodes.Status200OK, o); + } + } + catch (Exception ex) + { + string err = "Errore: " + ex.Message; + o.err_detail = err; + o.err_title = err; + o.err_status_code = StatiRisposta.ErroreInterno; + return StatusCode(StatusCodes.Status500InternalServerError, o); + } + + } + + /// VIRTUAL TASK: Tecnici per azienda + [HttpGet("tecniciList")] + public async Task>> tecniciList(string token) + { + try + { + List ilist = new List(); + string ten = getClaimValueByToken(token, "tenant2"); + string tecnico = getClaimValueByToken(token, "tccodice"); + _tecTable = _VT_tectable.Tectable; + + + var t = await _tecTable.Where( + t => t.tccodazi.Equals(ten) + && t.tcuser != null + ).ToListAsync(); + + foreach (TecniciTable ch in t) + { + ilist.Add(ch); + } + return StatusCode(StatusCodes.Status200OK, ilist); + } + catch (Exception ex) + { + string err = "Errore: " + ex.Message; + return StatusCode(StatusCodes.Status500InternalServerError, err); + } + } + /// VIRTUAL TASK: Tecnici per azienda + [HttpGet("tecniciListAll")] + public async Task>> tecniciListAll(string usr,string pwd) + { + try + { + List ilist = new List(); + _tecTable = _VT_tectable.Tectable; + var t = await _tecTable.Where( + t => t.tcpwd.Equals(pwd) + && t.tcuser.Equals(usr) + ).ToListAsync(); + + foreach (TecniciTable ch in t) + { + ilist.Add(ch); + } + return StatusCode(StatusCodes.Status200OK, ilist); + } + catch (Exception ex) + { + string err = "Errore: " + ex.Message; + return StatusCode(StatusCodes.Status500InternalServerError, err); + } + } + /// VIRTUAL TASK: crea un tecnico return:ActionResult + [HttpPost] + [Route("tecnici/add")] + public async Task> addtecnico([FromBody] TecniciTable model, string token) + { + string ten = getClaimValueByToken(token, "tenant2"); + model.tccodazi = ten; + try + { + using (var transaction = _VT_tectable.Database.BeginTransaction()) + { + await _VT_tectable.Tectable.AddAsync(model); + await _VT_tectable.SaveChangesAsync(); + transaction.Commit(); + } + return StatusCode(StatusCodes.Status200OK, model); + } + catch (Exception ex) + { + string errmsg = ex.InnerException != null ? ex.InnerException.Message : ex.Message; + return StatusCode(StatusCodes.Status500InternalServerError, errmsg); + } + } + + /// VIRTUAL TASK: cancella un tecnico return:ActionResult + [HttpPost] + [Route("tecnici/del")] + public async Task> deltecnico(string codice, string token) + { + string ten = getClaimValueByToken(token, "tenant2"); + _tecTable = _VT_tectable.Tectable; + var t = await _tecTable.Where(t => t.tccodice == codice && t.tccodazi == ten).ToListAsync(); + + TecniciTable model = t.First(); + model.tcdatobs = DateTime.Now; + try + { + using (var transaction = _VT_tectable.Database.BeginTransaction()) + { + _VT_tectable.Entry(model).State = EntityState.Modified; + await _VT_tectable.SaveChangesAsync(); + transaction.Commit(); + } + return StatusCode(StatusCodes.Status200OK, model); + } + catch (Exception ex) + { + string errmsg = ex.InnerException != null ? ex.InnerException.Message : ex.Message; + return StatusCode(StatusCodes.Status500InternalServerError, errmsg); + } + } + + /// VIRTUAL TASK: modifica un tecnico return:ActionResult + [HttpPost] + [Route("tecnici/mod")] + public async Task> modtecnico([FromBody] TecniciTable model, string token) + { + string ten = getClaimValueByToken(token, "tenant2"); + model.tccodazi = ten; + try + { + using (var transaction = _VT_tectable.Database.BeginTransaction()) + { + _VT_tectable.Entry(model).State = EntityState.Modified; + await _VT_tectable.SaveChangesAsync(); + transaction.Commit(); + } + + return StatusCode(StatusCodes.Status200OK, model); + } + catch (Exception ex) + { + string errmsg = ex.InnerException != null ? ex.InnerException.Message : ex.Message; + + return StatusCode(StatusCodes.Status500InternalServerError, errmsg); + } + } + + + /// VIRTUAL TASK: Codici di chiusura + [HttpGet("chiusureVtList")] + public async Task>> chiusureVtList(string token) + { + try + { + List ilist = new List(); + string ten = getClaimValueByToken(token, "tenant2"); + string tecnico = getClaimValueByToken(token, "tccodice"); + + _chiuTable = _VT_chiutable.Chiutable; + + var t = await _chiuTable.Where(t => t.cccodazi.Equals(ten) && t.codtobso==null).ToListAsync(); + + foreach (ChiusureTable ch in t) + { + ilist.Add(ch); + } + return StatusCode(StatusCodes.Status200OK, ilist); + } + catch (Exception ex) + { + string err = "Errore: " + ex.Message; + return StatusCode(StatusCodes.Status500InternalServerError, err); + } + } + + /// VIRTUAL TASK: crea un codice chiusura return:ActionResult + [HttpPost] + [Route("chiusure/add")] + public async Task> addchiusura([FromBody] ChiusureTable model, string token) + { + string ten = getClaimValueByToken(token, "tenant2"); + model.cccodazi = ten; + try + { + using (var transaction = _VT_chiutable.Database.BeginTransaction()) + { + await _VT_chiutable.Chiutable.AddAsync(model); + await _VT_chiutable.SaveChangesAsync(); + transaction.Commit(); + } + + return StatusCode(StatusCodes.Status200OK, model); + } + catch (Exception ex) + { + string errmsg = ex.InnerException != null ? ex.InnerException.Message : ex.Message; + return StatusCode(StatusCodes.Status500InternalServerError, errmsg); + } + } + + /// VIRTUAL TASK: cancella un codice chiusura return:ActionResult + [HttpPost] + [Route("chiusure/del")] + public async Task> delchiusura(string codice, string token) + { + string ten = getClaimValueByToken(token, "tenant2"); + _chiuTable = _VT_chiutable.Chiutable; + var cod = await _chiuTable.Where(t => t.cccodice == codice && t.cccodazi == ten ).ToListAsync(); + + ChiusureTable model = cod.First(); + model.codtobso = DateTime.Now; + try + { + //using (var transaction = _VT_chiutable.Database.BeginTransaction()) + //{ + // _VT_chiutable.Entry(model).State = EntityState.Deleted; + // await _VT_chiutable.SaveChangesAsync(); + // transaction.Commit(); + //} + using (var transaction = _VT_chiutable.Database.BeginTransaction()) + { + _VT_chiutable.Entry(model).State = EntityState.Modified; + await _VT_chiutable.SaveChangesAsync(); + transaction.Commit(); + } + + return StatusCode(StatusCodes.Status200OK, model); + } + catch (Exception ex) + { + string errmsg = ex.InnerException != null ? ex.InnerException.Message : ex.Message; + return StatusCode(StatusCodes.Status500InternalServerError, errmsg); + } + } + + /// VIRTUAL TASK: modifica un codice chiusura return:ActionResult + [HttpPost] + [Route("chiusure/mod")] + public async Task> modchiusura([FromBody] ChiusureTable model, string token) + { + string ten = getClaimValueByToken(token, "tenant2"); + model.cccodazi = ten; + try + { + using (var transaction = _VT_chiutable.Database.BeginTransaction()) + { + _VT_chiutable.Entry(model).State = EntityState.Modified; + await _VT_chiutable.SaveChangesAsync(); + transaction.Commit(); + } + return StatusCode(StatusCodes.Status200OK, model); + } + catch (Exception ex) + { + string errmsg = ex.InnerException != null ? ex.InnerException.Message : ex.Message; + + return StatusCode(StatusCodes.Status500InternalServerError, errmsg); + } + } + + /// VIRTUAL TASK: anagrafiche clienti per azienda + [HttpGet("anagraficheList")] + public async Task>> anagraficheList(string token) + { + try + { + List ilist = new List(); + string ten = getClaimValueByToken(token, "tenant2"); + string tecnico = getClaimValueByToken(token, "tccodice"); + _clientiVT = _VT_anag.Anag; + + var t = await _clientiVT.Where( + t => t.antipcon.Equals("C") + && t.andtobso == null + && t.ancodazi.Equals(ten) + ).ToListAsync(); + + foreach (AnagVT ch in t) + { + ilist.Add(ch); + } + return StatusCode(StatusCodes.Status200OK, ilist); + } + catch (Exception ex) + { + string err = "Errore: " + ex.Message; + return StatusCode(StatusCodes.Status500InternalServerError, err); + } + } + + /// VIRTUAL TASK: crea una anagrafica return:ActionResult + [HttpPost] + [Route("anagrafiche/add")] + public async Task> addAnagrafica([FromBody] AnagTable model, string token) + { + string ten = getClaimValueByToken(token, "tenant2"); + + model.annumlis = null; + model.andtobso = null; + model.ancodazi = ten; + try + { + using (var transaction = _VT_anagtable.Database.BeginTransaction()) + { + await _VT_anagtable.Anagtable.AddAsync(model); + await _VT_anagtable.SaveChangesAsync(); + transaction.Commit(); + } + return StatusCode(StatusCodes.Status200OK, model); + } + catch (Exception ex) + { + string errmsg = ex.InnerException != null ? ex.InnerException.Message : ex.Message; + return StatusCode(StatusCodes.Status500InternalServerError, errmsg); + } + } + /// VIRTUAL TASK: crea una anagrafica return:ActionResult + [HttpPost] + [Route("anagrafiche/addCommImp")] + public async Task> addAnagraficaCommessaImpianto([FromBody] AnagCommImp model, string token) + { + string ten = getClaimValueByToken(token, "tenant2"); + + model.cli.annumlis = null; + model.cli.andtobso = null; + model.cli.ancodazi = ten; + model.cli.antipcon = "C"; + model.imp.imcodazi = ten; + string ten2 = getClaimValueByToken(token, "tenant2"); + model.comm.latipcli = "C"; + model.comm.lacodazi = ten2; + + + try + { + + var strategy = _VT_anagtable.Database.CreateExecutionStrategy(); + await strategy.ExecuteAsync(async () => + { + + using var scope = new TransactionScope(TransactionScopeAsyncFlowOption.Enabled); + await _VT_anagtable.Anagtable.AddAsync(model.cli); + await _VT_impiatable.Impia.AddAsync(model.imp); + await _VT_CommTable.CommTable.AddAsync(model.comm); + + await _VT_anagtable.SaveChangesAsync(); + await _VT_impiatable.SaveChangesAsync(); + await _VT_CommTable.SaveChangesAsync(); + + scope.Complete(); + }); + + + //await _VT_anagtable.Anagtable.AddAsync(model.cli); + //await _VT_anagtable.SaveChangesAsync(); + + ////step 1: INSERISCO IMPIANTO + //_VT_impiatable.Database.UseTransaction(transaction.GetDbTransaction()); + //await _VT_impiatable.Impia.AddAsync(model.imp); + //await _VT_impiatable.SaveChangesAsync(); + + ////step 2: inserimento commessa + //_VT_CommTable.Database.UseTransaction(transaction.GetDbTransaction()); + //await _VT_CommTable.CommTable.AddAsync(model.comm); + //await _VT_CommTable.SaveChangesAsync(); + + //transaction.Commit(); + + return StatusCode(StatusCodes.Status200OK, model); + } + catch (Exception ex) + { + string errmsg = ex.InnerException != null ? ex.InnerException.Message : ex.Message; + return StatusCode(StatusCodes.Status500InternalServerError, errmsg); + } + } + /// VIRTUAL TASK: modifica una anagrafica return:ActionResult + [HttpPost] + [Route("anagrafiche/mod")] + public async Task> modAnagrafica([FromBody] AnagTable model, string token) + { + string ten = getClaimValueByToken(token, "tenant2"); + model.ancodazi = ten; + try + { + using (var transaction = _VT_anagtable.Database.BeginTransaction()) + { + _VT_anagtable.Entry(model).State = EntityState.Modified; + await _VT_anagtable.SaveChangesAsync(); + transaction.Commit(); + } + return StatusCode(StatusCodes.Status200OK, model); + } + catch (Exception ex) + { + string errmsg = ex.InnerException != null ? ex.InnerException.Message : ex.Message; + return StatusCode(StatusCodes.Status500InternalServerError, errmsg); + } + } + + /// VIRTUAL TASK: cancella una anagrafica (valorizza data obsolescenza) return:ActionResult + [HttpPost] + [Route("anagrafiche/del")] + public async Task> delAnagrafica([FromBody] AnagTable model, string token) + { + string ten = getClaimValueByToken(token, "tenant2"); + model.ancodazi = ten; + model.andtobso = DateTime.Now; + try + { + using (var transaction = _VT_anagtable.Database.BeginTransaction()) + { + _VT_anagtable.Entry(model).State = EntityState.Modified; + await _VT_anagtable.SaveChangesAsync(); + transaction.Commit(); + } + return StatusCode(StatusCodes.Status200OK, model); + } + catch (Exception ex) + { + string errmsg = ex.InnerException != null ? ex.InnerException.Message : ex.Message; + + return StatusCode(StatusCodes.Status500InternalServerError, errmsg); + } + } + + /// VIRTUAL TASK: rapp_new per azienda + [HttpGet("rappnewList")] + public async Task>> rappnewList(string token) + { + try + { + List ilist = new List(); + string ten = getClaimValueByToken(token, "tenant2"); + string tecnico = getClaimValueByToken(token, "tccodice"); + _rapp_new_view = _VT_rapp.Rapps; + + var t = await _rapp_new_view.Where(t => t.azienda_chiamata.Equals(ten)).Take(100).ToListAsync(); + + foreach (Rapp_New_View ch in t) + { + ilist.Add(ch); + } + return StatusCode(StatusCodes.Status200OK, ilist); + } + catch (Exception ex) + { + string err = "Errore: " + ex.Message; + return StatusCode(StatusCodes.Status500InternalServerError, err); + } + } + + /// VIRTUAL TASK: crea una rappnew return:ActionResult + [HttpPost] + [Route("rappnew/add")] + public async Task> addRappnew([FromBody] Rapp_New model, string token) + { + string ten = getClaimValueByToken(token, "tenant2"); + model.azienda_chiamata = ten; + model.azienda_impianto = ten; + model.azienda_tecnico = ten; + try + { + using (var transaction = _VT_rapptable.Database.BeginTransaction()) + { + await _VT_rapptable.Rapps.AddAsync(model); + await _VT_rapptable.SaveChangesAsync(); + transaction.Commit(); + } + + return StatusCode(StatusCodes.Status200OK, model); + } + catch (Exception ex) + { + string errmsg = ex.InnerException != null ? ex.InnerException.Message : ex.Message; + return StatusCode(StatusCodes.Status500InternalServerError, errmsg); + } + } + + /// VIRTUAL TASK: modifica una anagrafica return:ActionResult + [HttpPost] + [Route("rappnew/mod")] + public async Task> modRappnew([FromBody] Rapp_New model, string token) + { + string ten = getClaimValueByToken(token, "tenant2"); + model.azienda_chiamata = ten; + model.azienda_impianto = ten; + model.azienda_tecnico = ten; + try + { + using (var transaction = _VT_rapptable.Database.BeginTransaction()) + { + _VT_rapptable.Entry(model).State = EntityState.Modified; + await _VT_rapptable.SaveChangesAsync(); + transaction.Commit(); + } + + return StatusCode(StatusCodes.Status200OK, model); + } + catch (Exception ex) + { + string errmsg = ex.InnerException != null ? ex.InnerException.Message : ex.Message; + return StatusCode(StatusCodes.Status500InternalServerError, errmsg); + } + } + + /// VIRTUAL TASK: cancella una rapp_new return:ActionResult + [HttpPost] + [Route("rappnew/del")] + public async Task> delRappnew(string serialeRapportino, string token) + { + string ten = getClaimValueByToken(token, "tenant2"); + _rapp_new = _VT_rapptable.Rapps; + var t = await _rapp_new.Where(t => t.seriale_rapportino.Equals(serialeRapportino) && t.azienda_chiamata.Equals(ten)).ToListAsync(); + + Rapp_New model = t.First(); + try + { + using (var transaction = _Marro_rapp.Database.BeginTransaction()) + { + _Marro_rapp.Entry(model).State = EntityState.Deleted; + await _Marro_rapp.SaveChangesAsync(); + transaction.Commit(); + } + + return StatusCode(StatusCodes.Status200OK, model); + } + catch (Exception ex) + { + string errmsg = ex.InnerException != null ? ex.InnerException.Message : ex.Message; + return StatusCode(StatusCodes.Status500InternalServerError, errmsg); + } + } + + /// VIRTUAL TASK: impianti per azienda + [HttpGet("impiantiList")] + public async Task>> impiantiList(string token) + { + try + { + List ilist = new List(); + string ten = getClaimValueByToken(token, "tenant2"); + string tecnico = getClaimValueByToken(token, "tccodice"); + _impianto = _VT_impia.Impia; + + var t = await _impianto.Where(t => t.imcodazi.Equals(ten)).ToListAsync(); + + foreach (Impianto ch in t) + { + ilist.Add(ch); + } + return StatusCode(StatusCodes.Status200OK, ilist); + } + catch (Exception ex) + { + string err = "Errore: " + ex.Message; + return StatusCode(StatusCodes.Status500InternalServerError, err); + } + } + + /// VIRTUAL TASK: impianti per azienda + [HttpGet("impiantiListMngr")] + public async Task>> impiantiListMngr(string token) + { + try + { + List ilist = new List(); + string ten = getClaimValueByToken(token, "tenant2"); + string tecnico = getClaimValueByToken(token, "tccodice"); + _impianto = _VT_impiaMngr.Impia; + + var t = await _impianto.Where(t => t.imcodazi.Equals(ten)).ToListAsync(); + + foreach (Impianto ch in t) + { + ilist.Add(ch); + } + return StatusCode(StatusCodes.Status200OK, ilist); + } + catch (Exception ex) + { + string err = "Errore: " + ex.Message; + return StatusCode(StatusCodes.Status500InternalServerError, err); + } + } + + /// VIRTUAL TASK: crea un impianto return:ActionResult + [HttpPost] + [Route("impianti/add")] + public async Task> addImpianto([FromBody] ImpiantoTable model, string token) + { + string ten = getClaimValueByToken(token, "tenant2"); + model.imcodazi = ten; + + try + { + using (var transaction = _VT_impiatable.Database.BeginTransaction()) + { + await _VT_impiatable.Impia.AddAsync(model); + await _VT_impiatable.SaveChangesAsync(); + transaction.Commit(); + } + + + return StatusCode(StatusCodes.Status200OK, model); + } + catch (Exception ex) + { + string errmsg = ex.InnerException != null ? ex.InnerException.Message : ex.Message; + //co_out.err_title = ex.Message; + //co_out.err_detail = errmsg; + //co_out.err_status_code = StatiRisposta.ErroreInterno; + return StatusCode(StatusCodes.Status500InternalServerError, errmsg); + } + //return co_out; + } + + /// VIRTUAL TASK: modifica un impianto return:ActionResult + [HttpPost] + [Route("impianto/mod")] + public async Task> modImpianto([FromBody] ImpiantoTable model, string token) + { + string ten = getClaimValueByToken(token, "tenant2"); + model.imcodazi = ten; + + try + { + using (var transaction = _VT_impiatable.Database.BeginTransaction()) + { + _VT_impiatable.Entry(model).State = EntityState.Modified; + await _VT_impiatable.SaveChangesAsync(); + transaction.Commit(); + } + return StatusCode(StatusCodes.Status200OK, model); + } + catch (Exception ex) + { + string errmsg = ex.InnerException != null ? ex.InnerException.Message : ex.Message; + return StatusCode(StatusCodes.Status500InternalServerError, errmsg); + } + } + + /// VIRTUAL TASK: cancella un impianto return:ActionResult + [HttpPost] + [Route("impianto/del")] + public async Task> delImpianto(string imcodimp, string token) + { + string ten = getClaimValueByToken(token, "tenant2"); + _impiaTable = _VT_impiatable.Impia; + var t = await _impiaTable.Where(t => t.imcodimp.Equals(imcodimp) && t.imcodazi.Equals(ten)).ToListAsync(); + + ImpiantoTable model = t.First(); + model.imfinatt = DateTime.Now; + try + { + using (var transaction = _VT_impiatable.Database.BeginTransaction()) + { + _VT_impiatable.Entry(model).State = EntityState.Modified; + await _VT_impiatable.SaveChangesAsync(); + transaction.Commit(); + } + return StatusCode(StatusCodes.Status200OK, model); + } + catch (Exception ex) + { + string errmsg = ex.InnerException != null ? ex.InnerException.Message : ex.Message; + return StatusCode(StatusCodes.Status500InternalServerError, errmsg); + } + } + + /// VIRTUAL TASK: chiamate per azienda + [HttpGet("chiamateList")] + public async Task>> chiamateList(string token) + { + try + { + List ilist = new List(); + string ten = getClaimValueByToken(token, "tenant2"); + string tecnico = getClaimValueByToken(token, "tccodice"); + _chiamate = _VT_chia.Chiamate; + + var t = await _chiamate.Where(t => t.chcodazi.Equals(ten)).ToListAsync(); + + foreach (Chiamate ch in t) + { + ilist.Add(ch); + } + return StatusCode(StatusCodes.Status200OK, ilist); + } + catch (Exception ex) + { + string err = "Errore: " + ex.Message; + return StatusCode(StatusCodes.Status500InternalServerError, err); + } + } + + /// VIRTUAL TASK: chiamate per azienda + [HttpGet("chiamateListMngr")] + public async Task>> chiamateListMngr(string token) + { + try + { + List ilist = new List(); + string ten = getClaimValueByToken(token, "tenant2"); + string tecnico = getClaimValueByToken(token, "tccodice"); + _chiamate = _VT_chiaMngr.Chiamate; + + var t = await _chiamate.Where(t => t.chcodazi.Equals(ten)).ToListAsync(); + + foreach (Chiamate ch in t) + { + ilist.Add(ch); + } + return StatusCode(StatusCodes.Status200OK, ilist); + } + catch (Exception ex) + { + string err = "Errore: " + ex.Message; + return StatusCode(StatusCodes.Status500InternalServerError, err); + } + } + + /// VIRTUAL TASK: crea una chiamata return:ActionResult + [HttpPost] + [Route("chiamata/add")] + public async Task> addChiamata([FromBody] ChiamateTable model, string token) + { + string ten = getClaimValueByToken(token, "tenant2"); + model.chcodazi = ten; + try + { + using (var transaction = _VT_chiatable.Database.BeginTransaction()) + { + await _VT_chiatable.Chi.AddAsync(model); + await _VT_chiatable.SaveChangesAsync(); + transaction.Commit(); + } + + return StatusCode(StatusCodes.Status200OK, model); + } + catch (Exception ex) + { + string errmsg = ex.InnerException != null ? ex.InnerException.Message : ex.Message; + return StatusCode(StatusCodes.Status500InternalServerError, errmsg); + } + } + + /// VIRTUAL TASK: modifica una chiamata return:ActionResult + [HttpPost] + [Route("chiamata/mod")] + public async Task> modChiamata([FromBody] ChiamateTable model, string token) + { + string ten = getClaimValueByToken(token, "tenant2"); + model.chcodazi = ten; + + try + { + using (var transaction = _VT_chiatable.Database.BeginTransaction()) + { + _VT_chiatable.Entry(model).State = EntityState.Modified; + await _VT_chiatable.SaveChangesAsync(); + transaction.Commit(); + } + return StatusCode(StatusCodes.Status200OK, model); + } + catch (Exception ex) + { + string errmsg = ex.InnerException != null ? ex.InnerException.Message : ex.Message; + //co_out.err_title = ex.Message; + //co_out.err_detail = errmsg; + //co_out.err_status_code = StatiRisposta.ErroreInterno; + return StatusCode(StatusCodes.Status500InternalServerError, errmsg); + } + //return co_out; + } + + /// VIRTUAL TASK: cancella una chiamata return:ActionResult + [HttpPost] + [Route("chiamata/del")] + public async Task> delChiamata(string chserial, string token) + { + string ten = getClaimValueByToken(token, "tenant2"); + _chiatable = _VT_chiatable.Chi; + var t = await _chiatable.Where(t => t.chserial.Equals(chserial) && t.chcodazi.Equals(ten)).ToListAsync(); + + ChiamateTable model = t.First(); + try + { + using (var transaction = _VT_chiatable.Database.BeginTransaction()) + { + _VT_chiatable.Entry(model).State = EntityState.Deleted; + await _VT_chiatable.SaveChangesAsync(); + transaction.Commit(); + } + return StatusCode(StatusCodes.Status200OK, model); + } + catch (Exception ex) + { + string errmsg = ex.InnerException != null ? ex.InnerException.Message : ex.Message; + return StatusCode(StatusCodes.Status500InternalServerError, errmsg); + } + } + + /// VIRTUAL TASK: progressivi per azienda + [HttpGet("progressiviList")] + public async Task>> progressiviList(string token) + { + try + { + List ilist = new List(); + string ten = getClaimValueByToken(token, "tenant2"); + string tecnico = getClaimValueByToken(token, "tccodice"); + _VT_prog = _VT_progtable.progr; + + var t = await _VT_prog.Where(t => t.azienda.Equals(ten)).ToListAsync(); + + foreach (Progressivo ch in t) + { + ilist.Add(ch); + } + return StatusCode(StatusCodes.Status200OK, ilist); + } + catch (Exception ex) + { + string err = "Errore: " + ex.Message; + return StatusCode(StatusCodes.Status500InternalServerError, err); + } + } + + /// VIRTUAL TASK: modifica un progressivo return:ActionResult + [HttpPost] + [Route("progressivo/mod")] + public async Task> modProgressivo([FromBody] Progressivo model, string token) + { + string ten = getClaimValueByToken(token, "tenant2"); + model.azienda = ten; + try + { + using (var transaction = _VT_progtable.Database.BeginTransaction()) + { + _VT_progtable.Entry(model).State = EntityState.Modified; + await _VT_progtable.SaveChangesAsync(); + transaction.Commit(); + } + return StatusCode(StatusCodes.Status200OK, model); + } + catch (Exception ex) + { + string errmsg = ex.InnerException != null ? ex.InnerException.Message : ex.Message; + + return StatusCode(StatusCodes.Status500InternalServerError, errmsg); + } + } + + /// VIRTUAL TASK: dati azienda + [HttpGet("aziendeList")] + public async Task>> aziendeList(string token) + { + try + { + List ilist = new List(); + string ten = getClaimValueByToken(token, "tenant2"); + string tecnico = getClaimValueByToken(token, "tccodice"); + _azi_coll = _VT_azi.Azi; + + var t = await _azi_coll.Where(t => t.pirifazi.Equals(ten)).ToListAsync(); + + foreach (AziendaRif ch in t) + { + ilist.Add(ch); + } + return StatusCode(StatusCodes.Status200OK, ilist); + } + catch (Exception ex) + { + string err = "Errore: " + ex.Message; + return StatusCode(StatusCodes.Status500InternalServerError, err); + } + } + + /// VIRTUAL TASK: crea una azienda return:ActionResult + [HttpPost] + [Route("azienda/add")] + public async Task> addAzienda([FromBody] AziendaRif model, string token) + { + string ten = getClaimValueByToken(token, "tenant"); + string ten2 = getClaimValueByToken(token, "tenant2"); + model.piazihoc = ten; + model.pirifazi = ten2; + try + { + using (var transaction = _VT_azi.Database.BeginTransaction()) + { + await _VT_azi.Azi.AddAsync(model); + await _VT_azi.SaveChangesAsync(); + transaction.Commit(); + } + + return StatusCode(StatusCodes.Status200OK, model); + } + catch (Exception ex) + { + string errmsg = ex.InnerException != null ? ex.InnerException.Message : ex.Message; + return StatusCode(StatusCodes.Status500InternalServerError, errmsg); + } + } + + /// VIRTUAL TASK: modifica un progressivo return:ActionResult + [HttpPost] + [Route("azienda/mod")] + public async Task> modAzienda([FromBody] AziendaRif model, string token) + { + string ten = getClaimValueByToken(token, "tenant"); + string ten2 = getClaimValueByToken(token, "tenant2"); + model.piazihoc = ten; + model.pirifazi = ten2; + try + { + using (var transaction = _VT_azi.Database.BeginTransaction()) + { + _VT_azi.Entry(model).State = EntityState.Modified; + await _VT_azi.SaveChangesAsync(); + transaction.Commit(); + } + return StatusCode(StatusCodes.Status200OK, model); + } + catch (Exception ex) + { + string errmsg = ex.InnerException != null ? ex.InnerException.Message : ex.Message; + + return StatusCode(StatusCodes.Status500InternalServerError, errmsg); + } + } + + /// VIRTUAL TASK: cancella una azienda return:ActionResult + [HttpPost] + [Route("azienda/del")] + public async Task> delAzienda(string picodtec, string token) + { + string ten = getClaimValueByToken(token, "tenant"); + string ten2 = getClaimValueByToken(token, "tenant2"); + + _azi_coll = _VT_azi.Azi; + var t = await _azi_coll.Where(t => t.piazihoc.Equals(ten) && t.pirifazi.Equals(ten2) && t.picodtec.Equals(picodtec)).ToListAsync(); + + AziendaRif model = t.First(); + try + { + using (var transaction = _VT_azi.Database.BeginTransaction()) + { + _VT_azi.Entry(model).State = EntityState.Deleted; + await _VT_azi.SaveChangesAsync(); + transaction.Commit(); + } + return StatusCode(StatusCodes.Status200OK, model); + } + catch (Exception ex) + { + string errmsg = ex.InnerException != null ? ex.InnerException.Message : ex.Message; + return StatusCode(StatusCodes.Status500InternalServerError, errmsg); + } + } + + + /// VIRTUAL TASK: registrazioni + [HttpGet("registrazioniList")] + public async Task>> registrazioniList() + { + try + { + List ilist = new List(); + //string ten = getClaimValueByToken(token, "tenant2"); + //string tecnico = getClaimValueByToken(token, "tccodice"); + _VT_regi = _VT_reg.Reg; + + //var t = await _azi_coll.Where(t => t.pirifazi.Equals(ten)).ToListAsync(); + + foreach (Registrazione ch in _VT_regi) + { + ilist.Add(ch); + } + return StatusCode(StatusCodes.Status200OK, ilist); + } + catch (Exception ex) + { + string err = "Errore: " + ex.Message; + return StatusCode(StatusCodes.Status500InternalServerError, err); + } + } + + /// VIRTUAL TASK: crea una registrazione return:ActionResult + [HttpPost] + [Route("registrazioni/add")] + public async Task> addRegistrazione([FromBody] Registrazione model) + { + //string ten = getClaimValueByToken(token, "tenant"); + //string ten2 = getClaimValueByToken(token, "tenant2"); + //model.piazihoc = ten; + //model.pirifazi = ten2; + try + { + using (var transaction = _VT_reg.Database.BeginTransaction()) + { + await _VT_reg.Reg.AddAsync(model); + await _VT_reg.SaveChangesAsync(); + transaction.Commit(); + } + + return StatusCode(StatusCodes.Status200OK, model); + } + catch (Exception ex) + { + string errmsg = ex.InnerException != null ? ex.InnerException.Message : ex.Message; + return StatusCode(StatusCodes.Status500InternalServerError, errmsg); + } + } + + /// VIRTUAL TASK: modifica una registrazione return:ActionResult + [HttpPost] + [Route("registrazioni/mod")] + public async Task> modregistrazione([FromBody] Registrazione model) + { + //string ten = getClaimValueByToken(token, "tenant"); + //string ten2 = getClaimValueByToken(token, "tenant2"); + //model.piazihoc = ten; + //model.pirifazi = ten2; + try + { + using (var transaction = _VT_reg.Database.BeginTransaction()) + { + _VT_reg.Entry(model).State = EntityState.Modified; + await _VT_reg.SaveChangesAsync(); + transaction.Commit(); + } + return StatusCode(StatusCodes.Status200OK, model); + } + catch (Exception ex) + { + string errmsg = ex.InnerException != null ? ex.InnerException.Message : ex.Message; + + return StatusCode(StatusCodes.Status500InternalServerError, errmsg); + } + } + + /// VIRTUAL TASK: cancella una registrazione return:ActionResult + [HttpPost] + [Route("registrazioni/del")] + public async Task> delRegistrazione(int Id) + { + //string ten = getClaimValueByToken(token, "tenant"); + //string ten2 = getClaimValueByToken(token, "tenant2"); + + _VT_regi = _VT_reg.Reg; + var t = await _VT_regi.Where(t => t.Id==Id ).ToListAsync(); + + Registrazione model = t.First(); + try + { + using (var transaction = _VT_reg.Database.BeginTransaction()) + { + _VT_reg.Entry(model).State = EntityState.Deleted; + await _VT_reg.SaveChangesAsync(); + transaction.Commit(); + } + return StatusCode(StatusCodes.Status200OK, model); + } + catch (Exception ex) + { + string errmsg = ex.InnerException != null ? ex.InnerException.Message : ex.Message; + return StatusCode(StatusCodes.Status500InternalServerError, errmsg); + } + } + + /// VIRTUAL TASK: registrazioni + [HttpGet("AziendePresentiList")] + public async Task>> AziendePresentiList() + { + try + { + List ilist = new List(); + //string ten = getClaimValueByToken(token, "tenant2"); + //string tecnico = getClaimValueByToken(token, "tccodice"); + _VT_AziPresenti = _VT_AziPres.Aziende; + + //var t = await _azi_coll.Where(t => t.pirifazi.Equals(ten)).ToListAsync(); + + foreach (AziendaPres ch in _VT_AziPresenti) + { + ilist.Add(ch); + } + return StatusCode(StatusCodes.Status200OK, ilist); + } + catch (Exception ex) + { + string err = "Errore: " + ex.Message; + return StatusCode(StatusCodes.Status500InternalServerError, err); + } + } + + + /// VIRTUAL TASK: commesse + [HttpGet("commesseList")] + public async Task>> commesseList(string token) + { + try + { + List ilist = new List(); + string ten = getClaimValueByToken(token, "tenant2"); + //string tecnico = getClaimValueByToken(token, "tccodice"); + _VT_Commesse = _VT_Comm.Comm; + + var t = await _VT_Commesse.Where(t => t.lacodazi.Equals(ten)).ToListAsync(); + + foreach (CommesseVT ch in t) + { + ilist.Add(ch); + } + return StatusCode(StatusCodes.Status200OK, ilist); + } + catch (Exception ex) + { + string err = "Errore: " + ex.Message; + return StatusCode(StatusCodes.Status500InternalServerError, err); + } + } + + /// VIRTUAL TASK: crea una commessa return:ActionResult + [HttpPost] + [Route("commesseVT/add")] + public async Task> addCommessaVT([FromBody] CommesseVT_Table model, string token) + { + string ten = getClaimValueByToken(token, "tenant"); + string ten2 = getClaimValueByToken(token, "tenant2"); + model.latipcli = "C"; + model.lacodazi = ten2; + try + { + using (var transaction = _VT_CommTable.Database.BeginTransaction()) + { + await _VT_CommTable.CommTable.AddAsync(model); + await _VT_CommTable.SaveChangesAsync(); + transaction.Commit(); + } + + return StatusCode(StatusCodes.Status200OK, model); + } + catch (Exception ex) + { + string errmsg = ex.InnerException != null ? ex.InnerException.Message : ex.Message; + return StatusCode(StatusCodes.Status500InternalServerError, errmsg); + } + } + + /// VIRTUAL TASK: modifica una commessa return:ActionResult + [HttpPost] + [Route("commesseVT/mod")] + public async Task> modCommessaVT([FromBody] CommesseVT_Table model, string token) + { + string ten = getClaimValueByToken(token, "tenant"); + string ten2 = getClaimValueByToken(token, "tenant2"); + + try + { + using (var transaction = _VT_CommTable.Database.BeginTransaction()) + { + _VT_CommTable.Entry(model).State = EntityState.Modified; + await _VT_CommTable.SaveChangesAsync(); + transaction.Commit(); + } + return StatusCode(StatusCodes.Status200OK, model); + } + catch (Exception ex) + { + string errmsg = ex.InnerException != null ? ex.InnerException.Message : ex.Message; + + return StatusCode(StatusCodes.Status500InternalServerError, errmsg); + } + } + + /// VIRTUAL TASK: cancella una commessa (valorizza data obsolescenza) return:ActionResult + [HttpPost] + [Route("commesseVT/del")] + public async Task> delCommessaVT([FromBody] CommesseVT_Table model, string token) + { + string ten = getClaimValueByToken(token, "tenant2"); + + model.ladatchi = DateTime.Now; + try + { + using (var transaction = _VT_CommTable.Database.BeginTransaction()) + { + _VT_CommTable.Entry(model).State = EntityState.Modified; + await _VT_CommTable.SaveChangesAsync(); + transaction.Commit(); + } + return StatusCode(StatusCodes.Status200OK, model); + } + catch (Exception ex) + { + string errmsg = ex.InnerException != null ? ex.InnerException.Message : ex.Message; + + return StatusCode(StatusCodes.Status500InternalServerError, errmsg); + } + } + + + /// VIRTUAL TASK: dati Azienda + [HttpGet("datiaziendaList")] + public async Task>> datiaziendaList(string token) + { + try + { + List ilist = new List(); + string ten = getClaimValueByToken(token, "tenant2"); + //string tecnico = getClaimValueByToken(token, "tccodice"); + _VT_DatiAzi =_VT_DatiAzienda.Dati; + + var t = await _VT_DatiAzi.Where(t => t.azienda.Equals(ten)).ToListAsync(); + + foreach (DatiAzienda ch in t) + { + ilist.Add(ch); + } + return StatusCode(StatusCodes.Status200OK, ilist); + } + catch (Exception ex) + { + string err = "Errore: " + ex.Message; + return StatusCode(StatusCodes.Status500InternalServerError, err); + } + } + + /// VIRTUAL TASK: crea dati azienda return:ActionResult + [HttpPost] + [Route("datiazienda/add")] + public async Task> addDatiAzienda([FromBody] DatiAzienda model, string token) + { + string ten = getClaimValueByToken(token, "tenant"); + string ten2 = getClaimValueByToken(token, "tenant2"); + //model.latipcli = "C"; + //model.lacodazi = ten2; + try + { + using (var transaction = _VT_DatiAzienda.Database.BeginTransaction()) + { + await _VT_DatiAzienda.Dati.AddAsync(model); + await _VT_DatiAzienda.SaveChangesAsync(); + transaction.Commit(); + } + + return StatusCode(StatusCodes.Status200OK, model); + } + catch (Exception ex) + { + string errmsg = ex.InnerException != null ? ex.InnerException.Message : ex.Message; + return StatusCode(StatusCodes.Status500InternalServerError, errmsg); + } + } + + /// VIRTUAL TASK: modifica una commessa return:ActionResult + [HttpPost] + [Route("datiazienda/mod")] + public async Task> modDatiAzienda([FromBody] DatiAzienda model, string token) + { + string ten = getClaimValueByToken(token, "tenant"); + string ten2 = getClaimValueByToken(token, "tenant2"); + + try + { + using (var transaction = _VT_DatiAzienda.Database.BeginTransaction()) + { + _VT_DatiAzienda.Entry(model).State = EntityState.Modified; + await _VT_DatiAzienda.SaveChangesAsync(); + transaction.Commit(); + } + return StatusCode(StatusCodes.Status200OK, model); + } + catch (Exception ex) + { + string errmsg = ex.InnerException != null ? ex.InnerException.Message : ex.Message; + + return StatusCode(StatusCodes.Status500InternalServerError, errmsg); + } + } + + /// VIRTUAL TASK: cancella una dati azienda return:ActionResult + [HttpPost] + [Route("datiazienda/del")] + public async Task> delDatiAzienda(string azienda, string tecnico) + { + //string ten = getClaimValueByToken(token, "tenant"); + //string ten2 = getClaimValueByToken(token, "tenant2"); + + _VT_DatiAzi = _VT_DatiAzienda.Dati; + var t = await _VT_DatiAzi.Where(t => t.azienda.Equals(azienda) && t.tecnico.Equals(tecnico)).ToListAsync(); + + DatiAzienda model = t.First(); + try + { + using (var transaction = _VT_DatiAzienda.Database.BeginTransaction()) + { + _VT_DatiAzienda.Entry(model).State = EntityState.Deleted; + await _VT_DatiAzienda.SaveChangesAsync(); + transaction.Commit(); + } + return StatusCode(StatusCodes.Status200OK, model); + } + catch (Exception ex) + { + string errmsg = ex.InnerException != null ? ex.InnerException.Message : ex.Message; + return StatusCode(StatusCodes.Status500InternalServerError, errmsg); + } + } + + + /// VIRTUAL TASK: dati Azienda + [HttpGet("rapportiniList")] + public async Task>> rapportiniList(string token) + { + try + { + List ilist = new List(); + string ten = getClaimValueByToken(token, "tenant2"); + //string tecnico = getClaimValueByToken(token, "tccodice"); + _VT_rapport = _VT_Rapportini.Rapportini; + + var t = await _VT_rapport.Where(t => t.azienda_impianto.Equals(ten)).ToListAsync(); + + foreach (Rapportino ch in t) + { + ilist.Add(ch); + } + return StatusCode(StatusCodes.Status200OK, ilist); + } + catch (Exception ex) + { + string err = "Errore: " + ex.Message; + return StatusCode(StatusCodes.Status500InternalServerError, err); + } + } + + /// VIRTUAL TASK: inserisce buono + [HttpGet("buoni/add")] + public async Task> addBuoni([FromBody] Buoni model, string token) + { + string ten = getClaimValueByToken(token, "tenant"); + string ten2 = getClaimValueByToken(token, "tenant2"); + model.dt_ins = DateTime.Now; + //model.lacodazi = ten2; + try + { + using (var transaction = _VT_Buoni.Database.BeginTransaction()) + { + await _VT_Buoni.buoni.AddAsync(model); + await _VT_Buoni.SaveChangesAsync(); + transaction.Commit(); + } + + return StatusCode(StatusCodes.Status200OK, model); + } + catch (Exception ex) + { + string errmsg = ex.InnerException != null ? ex.InnerException.Message : ex.Message; + return StatusCode(StatusCodes.Status500InternalServerError, errmsg); + } + } + + #endregion + } +} diff --git a/ApiPolo/Models/Anag.cs b/ApiPolo/Models/Anag.cs new file mode 100644 index 0000000..508e42a --- /dev/null +++ b/ApiPolo/Models/Anag.cs @@ -0,0 +1,46 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models +{ + /// + /// Contiene i campi di SALDIART + /// + [Keyless] + public class Anag + { + /// tipo + public string? antipcon { get; set; } + + /// codice + public string? ancodice { get; set; } + + /// email + public string? an_email { get; set; } + + /// codice fiscale + public string? ancodfis { get; set; } + + /// partita iva + public string? anpariva { get; set; } + + /// indirizzo + public string? anindiri { get; set; } + + /// telefono + public string? antelefo { get; set; } + + /// cellulare + public string? annumcel { get; set; } + + /// pec + public string? an_empec { get; set; } + + /// descrizione + public string? andescri { get; set; } + + /// listino cliente + public string? annumlis { get; set; } + + + } +} diff --git a/ApiPolo/Models/AnagCommImp.cs b/ApiPolo/Models/AnagCommImp.cs new file mode 100644 index 0000000..8d0aed4 --- /dev/null +++ b/ApiPolo/Models/AnagCommImp.cs @@ -0,0 +1,15 @@ +namespace ApiPolo.Models +{ + /// + public class AnagCommImp + { + /// + public AnagTable? cli { get; set; } + + /// + public CommesseVT_Table? comm { get; set; } + + /// + public ImpiantoTable? imp { get; set; } + } +} diff --git a/ApiPolo/Models/AnagTable.cs b/ApiPolo/Models/AnagTable.cs new file mode 100644 index 0000000..1dd6389 --- /dev/null +++ b/ApiPolo/Models/AnagTable.cs @@ -0,0 +1,50 @@ +using System.ComponentModel.DataAnnotations; + +namespace ApiPolo.Models +{ + /// + public class AnagTable + { + /// tipo + [Key] + public string? antipcon { get; set; } + + /// codice + [Key] + public string? ancodice { get; set; } + + /// codice azienda + [Key] + public string? ancodazi { get; set; } + + /// email + public string? an_email { get; set; } + + /// codice fiscale + public string? ancodfis { get; set; } + + /// partita iva + public string? anpariva { get; set; } + + /// indirizzo + public string? anindiri { get; set; } + + /// telefono + public string? antelefo { get; set; } + + /// cellulare + public string? annumcel { get; set; } + + /// pec + public string? an_empec { get; set; } + + /// descrizione + public string? andescri { get; set; } + + /// listino cliente + public string? annumlis { get; set; } + + /// cliente eliminato + public DateTime? andtobso { get; set; } + } +} diff --git a/ApiPolo/Models/AnagVT.cs b/ApiPolo/Models/AnagVT.cs new file mode 100644 index 0000000..126f41b --- /dev/null +++ b/ApiPolo/Models/AnagVT.cs @@ -0,0 +1,50 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models +{ + /// + /// Contiene i campi di API_CLIENTI + /// + [Keyless] + public class AnagVT + { + /// tipo + public string? antipcon { get; set; } + + /// codice + public string? ancodice { get; set; } + + /// email + public string? an_email { get; set; } + + /// codice fiscale + public string? ancodfis { get; set; } + + /// partita iva + public string? anpariva { get; set; } + + /// indirizzo + public string? anindiri { get; set; } + + /// telefono + public string? antelefo { get; set; } + + /// cellulare + public string? annumcel { get; set; } + + /// pec + public string? an_empec { get; set; } + + /// descrizione + public string? andescri { get; set; } + + /// listino cliente + public string? annumlis { get; set; } + + /// cliente eliminato + public DateTime? andtobso { get; set; } + + /// azienda (tenant2) + public string? ancodazi { get; set; } + } +} diff --git a/ApiPolo/Models/AziendaPres.cs b/ApiPolo/Models/AziendaPres.cs new file mode 100644 index 0000000..706dc61 --- /dev/null +++ b/ApiPolo/Models/AziendaPres.cs @@ -0,0 +1,16 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models +{ + /// + /// Azienda prsente + /// + [Keyless] + public class AziendaPres + { + /// + /// Azienda tecnico + /// + public string? tccodazi { get; set; } + } +} diff --git a/ApiPolo/Models/AziendaRif.cs b/ApiPolo/Models/AziendaRif.cs new file mode 100644 index 0000000..0c4b8a4 --- /dev/null +++ b/ApiPolo/Models/AziendaRif.cs @@ -0,0 +1,29 @@ +using System.ComponentModel.DataAnnotations; + +namespace ApiPolo.Models +{ + /// Azienda collegata all'azienda principale + public class AziendaRif + { + /// azienda + [Key] + public string? piazihoc { get; set; } + + /// tecnico + [Key] + public string? picodtec { get; set; } + + /// tecnico + [Key] + public string? pirifazi { get; set; } + + /// Nome azienda collegata + public string? pinomede { get; set; } + + /// url logo + public string? pilogurl { get; set; } + + /// Testo rapportino + public string? pitextin { get; set; } + } +} diff --git a/ApiPolo/Models/Buoni.cs b/ApiPolo/Models/Buoni.cs new file mode 100644 index 0000000..327e57a --- /dev/null +++ b/ApiPolo/Models/Buoni.cs @@ -0,0 +1,22 @@ +using System.ComponentModel.DataAnnotations; + +namespace ApiPolo.Models +{ + /// buoni rapportini + public class Buoni + { + /// azienda + [Key] + public string? azienda { get; set; } + + /// seriale buono + [Key] + public string? ser_buono { get; set; } + + /// immagine + public byte[]? immagine { get; set; } + + /// data inserimento + public DateTime? dt_ins { get; set; } + } +} diff --git a/ApiPolo/Models/Caus_Rapp.cs b/ApiPolo/Models/Caus_Rapp.cs new file mode 100644 index 0000000..bd43a4c --- /dev/null +++ b/ApiPolo/Models/Caus_Rapp.cs @@ -0,0 +1,20 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models +{ + /// + /// Causali rapportino + /// + [Keyless] + public class Caus_Rapp + { + /// codice causale + public string? crcodice { get; set; } + + /// descrizione causale + public string? crdescri { get; set; } + + /// flag fatturazione + public string? crrifatt { get; set; } + } +} diff --git a/ApiPolo/Models/ChiamataSeriale.cs b/ApiPolo/Models/ChiamataSeriale.cs new file mode 100644 index 0000000..68abbf7 --- /dev/null +++ b/ApiPolo/Models/ChiamataSeriale.cs @@ -0,0 +1,18 @@ +using System.ComponentModel.DataAnnotations; + +namespace ApiPolo.Models +{ + /// + public class ChiamataSeriale + { + /// + [Key] + public string? piditta { get; set; } + + /// + public string? pinumero { get; set; } + + /// + public string? cpccchk { get; set; } + } +} diff --git a/ApiPolo/Models/ChiamataSeriale_out.cs b/ApiPolo/Models/ChiamataSeriale_out.cs new file mode 100644 index 0000000..cf73afe --- /dev/null +++ b/ApiPolo/Models/ChiamataSeriale_out.cs @@ -0,0 +1,24 @@ +namespace ApiPolo.Models +{ + /// + public class ChiamataSeriale_out + { + /// + public string? piditta { get; set; } + + /// + public string? pinumero { get; set; } + + /// + public string? cpccchk { get; set; } + + /// errore titolo + public string? err_title { get; set; } + + /// errore dettaglio + public string? err_detail { get; set; } + + /// errore status code (200, 500) + public string? err_status_code { get; set; } + } +} diff --git a/ApiPolo/Models/Chiamate.cs b/ApiPolo/Models/Chiamate.cs new file mode 100644 index 0000000..ec25d48 --- /dev/null +++ b/ApiPolo/Models/Chiamate.cs @@ -0,0 +1,410 @@ +using Microsoft.EntityFrameworkCore; +using System.ComponentModel.DataAnnotations.Schema; + +namespace ApiPolo.Models +{ + /// ViSTA Chiamate + [Keyless] + public class Chiamate + { + /// Azienda + public string? chcodazi { get; set; } + + /// + /// Seriale Chiamata + /// + public string? chserial { get; set; } + + /// + /// Stato chiamata + /// + public string? chstato { get; set; } + + /// + /// Codice Chiamatista assegnato + /// + public string? chtchiam { get; set; } + + /// + /// Data appuntamento chiamata + /// + public DateTime? chdtapp { get; set; } + + /// + /// Ora appuntamento inizio + /// + public int? choraaPI { get; set; } + + /// + /// Minuti appuntamento inizio + /// + public int? chminapi { get; set; } + + /// + /// Note appuntamento + /// + public string? chnote { get; set; } + + /// + /// Codice Impianto chiamata + /// + public string? chcodimp { get; set; } + + /// + /// Descrizione codice segnalazione + /// + public string? csdescr { get; set; } + + /// + /// Telefono cliente + /// + public string? antelefo { get; set; } + + /// + /// descrizione cliente + /// + public string? andescri { get; set; } + + /// + /// Indirizzo impianto tipo + /// + /// Via,Piazza, + public string? imindiri1 { get; set; } + + /// + /// Indirizzo impianto nome + /// + public string? imindiri2 { get; set; } + + /// + /// Indirizzo impianto numero + /// + public int? imindiri3 { get; set; } + + /// + /// Indirizzo impianto sottonumero + /// + public string? imindiri4 { get; set; } + + /// + /// Indirizzo impianto Scala + /// + public string? imindiri5 { get; set; } + + /// + /// Indirizzo impianto località + /// + public string? imlocali { get; set; } + + /// + /// Indirizzo impianto Cap + /// + public string? imcodcap { get; set; } + + /// + /// Indirizzo impianto comune + /// + public string? imcomune { get; set; } + + /// + /// Indirizzo impianto provincia + /// + public string? improvin { get; set; } + + /// + /// Indirizzo impianto nazione + /// + public string? imcodnaz { get; set; } + + /// + /// MANPROG: matricola impianto + /// + public string? immatric { get; set; } + + /// + /// MANPROG: numero impianto + /// + public string? imnumimp { get; set; } + + /// + /// MANPROG: ubicazione impianto + /// + public string? imubicaz { get; set; } + + /// + /// Tecnico descrizione + /// + public string? tcdescri { get; set; } + + /// + /// Tecnico codice + /// + public string? tccodice { get; set; } + + /*campi di RAPP_NEW*/ + + + /// + /// RAPP_NEW: seriale rapp_new preso in carico + /// + public string? ser_rapp_ic { get; set; } + + /// + /// RAPP_NEW: tipo rapp_new preso in carico (valore vuoto) + /// + public string? tipo_rapp_ic { get; set; } + + /// + /// RAPP_NEW: preso in carico (S o NULL) + /// + public string? ic { get; set; } + + /// + /// RAPP_NEW: seriale rapp_new rifiutata + /// + public string? ser_rapp_rif { get; set; } + + /// + /// RAPP_NEW: tipo rapp rifiutata (valore vuoto) + /// + public string? tipo_rapp_rif { get; set; } + + /// + /// RAPP_NEW: rifiutato (S o null) + /// + public string? rif { get; set; } + + /// + /// RAPP_NEW: seriale chiamata chiusa + /// + public string? ser_rapp_chiu { get; set; } + + /// + /// RAPP_NEW: tipo chiamata chiusa (3 o null) + /// + public string? tipo_rapp_chiu { get; set; } + + /// + /// RAPP_NEW: seriale buono chiamata chiusa + /// + public string? ser_buono_chiu { get; set; } + + /// + /// errore titolo + /// + public string? err_title { get; set; } + + /// + /// errore dettaglio + /// + public string? err_detail { get; set; } + + /// + /// errore status code (200, 500) + /// + public string? err_status_code { get; set; } + + + //ALTRI + /// Esercizio + public string? chcodese { get; set; } + + /// Tipo + public string? chtipo { get; set; } + + /// numero chiamata + [Column(TypeName = "decimal(10, 0)")] + public decimal? chnumero { get; set; } + + /// Data inserimento chiamata + public DateTime? chdata { get; set; } + + /// Ora inserimento chiamata + public int? chora { get; set; } + + /// Minuti inserimento chiamata + public int? chmin { get; set; } + + /// operatore assegnazione + public int? chopass { get; set; } + + /// operatore di chiusura + public int? chopchi { get; set; } + + /// azienda impianto + public string? chaziimp { get; set; } + + /// ora appuntamento fine + public int? choraapf { get; set; } + + /// minuto appuntamento fine + public int? chminapf { get; set; } + + /// Riferimento chiamata + public string? chrifer { get; set; } + + /// telefono riferimento + public string? chtelef { get; set; } + + /// tcodice segnalazione + public string? chcodseg { get; set; } + + + + + /// Fermo impianto S/N + public string? chstopi { get; set; } + + /// Data assegnazione chiamata + public DateTime? chdtass { get; set; } + + /// Ora assegnazione chiamata + public int? chorass { get; set; } + + /// Min assegnazione chiamata + public int? chminass { get; set; } + + /// Data chiusura chiamata + public DateTime? chdtchi { get; set; } + + /// Ora chiusura chiamata + public int? chorachi { get; set; } + + /// Min chiusura chiamata + public int? chminchi { get; set; } + + /// Data inizio intervento + public DateTime? chdtlin { get; set; } + + /// Ora inizio intervento + public int? chorali { get; set; } + + /// Min inizio intervento + public int? chminli { get; set; } + + /// Data fine intervento + public DateTime? chdtlfi { get; set; } + + /// Ora fine intervento + public int? choralf { get; set; } + + /// Min fine intervento + public int? chminlf { get; set; } + + /// Numero 1 rapportino futuro + public int? chnrap1 { get; set; } + + /// Serie 1 rapportino futuro + public string? chsrap1 { get; set; } + + /// Numero 2 rapportino futuro + public int? chnrap2 { get; set; } + + /// Modalità raccolta chiamata + public string? chmodrac { get; set; } + + /// Numero chiamata per impianto per anno + public int? chprgann { get; set; } + + + /// Importo manodopera + [Column(TypeName = "decimal(18, 4)")] + public decimal? chimpman { get; set; } + + /// Percentuale manodopera + [Column(TypeName = "decimal(6, 2)")] + public decimal? chperman { get; set; } + + /// Stampa manodopera + public string? chflstim { get; set; } + + /// Chiusura da remoto + public string? chfleste { get; set; } + + /// Riferimento seriale importazione + public string? chserext { get; set; } + + /// Descrizione + public string? imdescri { get; set; } + + /// Tipo impianto + public string? imtipoim { get; set; } + + /// Ultimo amministratore + public string? imultamm { get; set; } + + /// Descrizione Ult. Amministratore + public string? imultdam { get; set; } + + /// Telefono Ult. Amministratore + public string? imulttam { get; set; } + + /// Zona manutenzione + public string? imzonman { get; set; } + + /// Pubblico/privato + public string? imflpupr { get; set; } + + /// Zona chiamate + public string? imzonchi { get; set; } + + /// Zona supervisione + public string? imzonsup { get; set; } + + /// Data inizio manutenzione + public DateTime? imdainma { get; set; } + + /// Data fine manutenzione + public DateTime? imdafima { get; set; } + + /// Data costruzione + public DateTime? imdatcos { get; set; } + + /// Numero telesoccorso + public string? imteleso { get; set; } + + /// Email cliente + public string? an_email { get; set; } + + /// Ultimo cliente + public string? imultcli { get; set; } + + /// codice cliente + public string? ancodice { get; set; } + + /// tipo anagrafica + public string? antipcon { get; set; } + + /// costo chiamata + [Column(TypeName = "decimal(18, 4)")] + public decimal? chiamata { get; set; } + + /// spese viaggio + [Column(TypeName = "decimal(18, 4)")] + public decimal? spe_viaggio { get; set; } + + /// costo orario ordinario + [Column(TypeName = "decimal(18, 4)")] + public decimal? costo_ordinario { get; set; } + + /// costo orario notturno + [Column(TypeName = "decimal(18, 4)")] + public decimal? costo_notturno { get; set; } + + /// costo orario straordinario + [Column(TypeName = "decimal(18, 4)")] + public decimal? costo_straordinario { get; set; } + + /// costo orario festivo + [Column(TypeName = "decimal(18, 4)")] + public decimal? costo_festivo { get; set; } + + /// Azienda di riferimento associata all'impianto (gestione loghi differenti) + public string? imazirif { get; set; } + + /// riferimento impianto (va su rapportino) + public string? imrefref { get; set; } + + + } +} diff --git a/ApiPolo/Models/ChiamateTable.cs b/ApiPolo/Models/ChiamateTable.cs new file mode 100644 index 0000000..9071426 --- /dev/null +++ b/ApiPolo/Models/ChiamateTable.cs @@ -0,0 +1,211 @@ +using System.ComponentModel.DataAnnotations; + +namespace ApiPolo.Models +{ + /// Tabella CHIAMATE (insert da app) + public class ChiamateTable + { + /// + [Key] + public string? chcodazi { get; set; } + + /// + [Key] + public string? chserial { get; set; } + + /// + public string? chcodese { get; set; } + + /// + public string? chtipo { get; set; } + + /// + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(10, 0)")] + public decimal? chnumero { get; set; } + + /// + public DateTime? chdata { get; set; } + + /// + public int? chora { get; set; } + + /// + public int? chmin { get; set; } + + /// + public int? chopins { get; set; } + + /// + public int? chopass { get; set; } + + /// + public int? chopchi { get; set; } + + /// + public string? chcodimp { get; set; } + + /// + public string? chaziimp { get; set; } + + + + /// + public string? chtchiam { get; set; } + + /// + public string? chtmanut { get; set; } + + /// + public string? chstato { get; set; } + + /// + public DateTime? chdtapp { get; set; } + + /// + public int? choraapi { get; set; } + + /// + public int? chminapi { get; set; } + + /// + public int? choraapf { get; set; } + + /// + public int? chminapf { get; set; } + + /// + public string? chrifer { get; set; } + + /// + public string? chtelef { get; set; } + + + + /// + public string? chcodseg { get; set; } + + /// + public string? chstopi { get; set; } + + /// + public string? chnote { get; set; } + + /// + public DateTime? chdtass { get; set; } + + /// + public int? chorass { get; set; } + + /// + public int? chminass { get; set; } + + /// + public DateTime? chdtchi { get; set; } + + /// + public int? chorachi { get; set; } + + /// + public int? chminchi { get; set; } + + /// + public DateTime? chdtlin { get; set; } + + /// + public int? chorali { get; set; } + + /// + public int? chminli { get; set; } + + + + /// + public DateTime? chdtlfi { get; set; } + + /// + public int? choralf { get; set; } + + /// + public int? chminlf { get; set; } + + /// + public string? chvalfat { get; set; } + + /// + public string? cpccchk { get; set; } + + /// + public int? chnrap1 { get; set; } + + /// + public string? chsrap1 { get; set; } + + /// + public int? chnrap2 { get; set; } + + /// + public string? chsrap2 { get; set; } + + /// + public string? chmodrac { get; set; } + + /// + public int? chprgann { get; set; } + + /// + public string? chserchi { get; set; } + + /// + public string? chdesfat { get; set; } + + /// + public string? chdessup { get; set; } + + /// + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")] + public decimal? chimpofa { get; set; } + + /// + public string? chserdoc { get; set; } + + /// + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")] + public decimal? chimpmat { get; set; } + + /// + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")] + public decimal? chimpman { get; set; } + + /// + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(6, 2)")] + public decimal? chperman { get; set; } + + /// + public string? chflstim { get; set; } + + /// + public string? chfleste { get; set; } + + /// + public string? chserext { get; set; } + + /// + public string? chrifiutata { get; set; } + + ///// + //public string? chincarico { get; set; } + + ///// + //public string? chserweb { get; set; } + + ///// + //public string? chinlinea { get; set; } + + ///// + //public string? chpreinc { get; set; } + + ///// + //public string? chtelesan { get; set; } + + } +} diff --git a/ApiPolo/Models/ChiamateTableOut.cs b/ApiPolo/Models/ChiamateTableOut.cs new file mode 100644 index 0000000..b49b857 --- /dev/null +++ b/ApiPolo/Models/ChiamateTableOut.cs @@ -0,0 +1,212 @@ + + +namespace ApiPolo.Models +{ + /// Tabella CHIAMATE (insert da app) - Output + public class ChiamateTableOut + { + /// + public string? chcodazi { get; set; } + + /// + public string? chserial { get; set; } + + /// + public string? chcodese { get; set; } + + /// + public string? chtipo { get; set; } + + /// + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(10, 0)")] + public decimal? chnumero { get; set; } + + /// + public DateTime? chdata { get; set; } + + /// + public int? chora { get; set; } + + /// + public int? chmin { get; set; } + + /// + public int? chopins { get; set; } + + /// + public int? chopass { get; set; } + + /// + public int? chopchi { get; set; } + + /// + public string? chcodimp { get; set; } + + /// + public string? chaziimp { get; set; } + + /// + public string? chtchiam { get; set; } + + /// + public string? chtmanut { get; set; } + + /// + public string? chstato { get; set; } + + /// + public DateTime? chdtapp { get; set; } + + /// + public int? choraapi { get; set; } + + /// + public int? chminapi { get; set; } + + /// + public int? choraapf { get; set; } + + /// + public int? chminapf { get; set; } + + /// + public string? chrifer { get; set; } + + /// + public string? chtelef { get; set; } + + /// + public string? chcodseg { get; set; } + + /// + public string? chstopi { get; set; } + + /// + public string? chnote { get; set; } + + /// + public DateTime? chdtass { get; set; } + + /// + public int? chorass { get; set; } + + /// + public int? chminass { get; set; } + + /// + public DateTime? chdtchi { get; set; } + + /// + public int? chorachi { get; set; } + + /// + public int? chminchi { get; set; } + + /// + public DateTime? chdtlin { get; set; } + + /// + public int? chorali { get; set; } + + /// + public int? chminli { get; set; } + + /// + public DateTime? chdtlfi { get; set; } + + /// + public int? choralf { get; set; } + + /// + public int? chminlf { get; set; } + + /// + public string? chvalfat { get; set; } + + /// + public string? cpccchk { get; set; } + + /// + public int? chnrap1 { get; set; } + + /// + public string? chsrap1 { get; set; } + + /// + public int? chnrap2 { get; set; } + + /// + public string? chsrap2 { get; set; } + + /// + public string? chmodrac { get; set; } + + /// + public int? chprgann { get; set; } + + /// + public string? chserchi { get; set; } + + /// + public string? chdesfat { get; set; } + + /// + public string? chdessup { get; set; } + + /// + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")] + public decimal? chimpofa { get; set; } + + /// + public string? chserdoc { get; set; } + + /// + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")] + public decimal? chimpmat { get; set; } + + /// + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")] + public decimal? chimpman { get; set; } + + /// + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(6, 2)")] + public decimal? chperman { get; set; } + + /// + public string? chflstim { get; set; } + + /// + public string? chfleste { get; set; } + + /// + public string? chserext { get; set; } + + /// + public string? chrifiutata { get; set; } + + /// + public string? chincarico { get; set; } + + /// + public string? chserweb { get; set; } + + /// + public string? chinlinea { get; set; } + + /// + public string? chpreinc { get; set; } + + /// + public string? chtelesan { get; set; } + + /// errore titolo + public string? err_title { get; set; } + + /// errore dettaglio + public string? err_detail { get; set; } + + /// errore status code (200, 500) + public string? err_status_code { get; set; } + + } +} diff --git a/ApiPolo/Models/Chiamate_out.cs b/ApiPolo/Models/Chiamate_out.cs new file mode 100644 index 0000000..61db271 --- /dev/null +++ b/ApiPolo/Models/Chiamate_out.cs @@ -0,0 +1,305 @@ +using Microsoft.EntityFrameworkCore; +using System.ComponentModel.DataAnnotations.Schema; + +namespace ApiPolo.Models +{ + /// ViSTA Chiamate + [Keyless] + public class Chiamate_out + { + /// Azienda + public string? chcodazi { get; set; } + + /// + /// Seriale Chiamata + /// + public string? chserial { get; set; } + + /// + /// Stato chiamata + /// + public string? chstato { get; set; } + + /// + /// Codice Chiamatista assegnato + /// + public string? chtchiam { get; set; } + + /// + /// Data appuntamento chiamata + /// + public DateTime? chdtapp { get; set; } + + /// + /// Ora appuntamento inizio + /// + public int? choraaPI { get; set; } + + /// + /// Minuti appuntamento inizio + /// + public int? chminapi { get; set; } + + /// + /// Note appuntamento + /// + public string? chnote { get; set; } + + /// + /// Codice Impianto chiamata + /// + public string? chcodimp { get; set; } + + /// + /// Descrizione codice segnalazione + /// + public string? csdescr { get; set; } + + /// + /// Telefono cliente + /// + public string? antelefo { get; set; } + + /// + /// descrizione cliente + /// + public string? andescri { get; set; } + + /// + /// Indirizzo impianto tipo + /// + /// Via,Piazza, + public string? imindiri1 { get; set; } + + /// + /// Indirizzo impianto nome + /// + public string? imindiri2 { get; set; } + + /// + /// Indirizzo impianto numero + /// + public int? imindiri3 { get; set; } + + /// + /// Indirizzo impianto sottonumero + /// + public string? imindiri4 { get; set; } + + /// + /// Indirizzo impianto Scala + /// + public string? imindiri5 { get; set; } + + /// + /// Indirizzo impianto località + /// + public string? imlocali { get; set; } + + /// + /// Indirizzo impianto Cap + /// + public string? imcodcap { get; set; } + + /// + /// Indirizzo impianto comune + /// + public string? imcomune { get; set; } + + /// + /// Indirizzo impianto provincia + /// + public string? improvin { get; set; } + + /// + /// Indirizzo impianto nazione + /// + public string? imcodnaz { get; set; } + + /// + /// matricola impianto + /// + public string? immatric { get; set; } + + /// + /// numero impianto + /// + public string? imnumimp { get; set; } + + /// + /// ubicazione impianto + /// + public string? imubicaz { get; set; } + + /// + /// Tecnico descrizione + /// + public string? tcdescri { get; set; } + + /// + /// Tecnico codice + /// + public string? tccodice { get; set; } + + /*campi di RAPP_NEW*/ + + + /// + /// RAPP_NEW: seriale rapp_new preso in carico + /// + public string? ser_rapp_ic { get; set; } + + /// + /// RAPP_NEW: tipo rapp_new preso in carico (valore vuoto) + /// + public string? tipo_rapp_ic { get; set; } + + /// + /// RAPP_NEW: preso in carico (S o NULL) + /// + public string? ic { get; set; } + + /// + /// RAPP_NEW: seriale rapp_new rifiutata + /// + public string? ser_rapp_rif { get; set; } + + /// + /// RAPP_NEW: tipo rapp rifiutata (valore vuoto) + /// + public string? tipo_rapp_rif { get; set; } + + /// + /// RAPP_NEW: rifiutato (S o null) + /// + public string? rif { get; set; } + + /// + /// RAPP_NEW: seriale chiamata chiusa + /// + public string? ser_rapp_chiu { get; set; } + + /// + /// RAPP_NEW: tipo chiamata chiusa (3 o null) + /// + public string? tipo_rapp_chiu { get; set; } + + /// + /// RAPP_NEW: seriale buono chiamata chiusa + /// + public string? ser_buono_chiu { get; set; } + + /// + /// errore titolo + /// + public string? err_title { get; set; } + + /// + /// errore dettaglio + /// + public string? err_detail { get; set; } + + /// + /// errore status code (200, 500) + /// + public string? err_status_code { get; set; } + + /// + /// altri dati chiamata + /// + + + /// Esercizio + public string? chcodese { get; set; } + + /// Tipo + public string? chtipo { get; set; } + + /// numero chiamata + [Column(TypeName = "decimal(10, 0)")] + public decimal? chnumero { get; set; } + + /// Data inserimento chiamata + public DateTime? chdata { get; set; } + + /// Ora inserimento chiamata + public int? chora { get; set; } + + /// Minuti inserimento chiamata + public int? chmin { get; set; } + + /// operatore assegnazione + public int? chopass { get; set; } + + /// operatore di chiusura + public int? chopchi { get; set; } + + /// azienda impianto + public string? chaziimp { get; set; } + + /// ora appuntamento fine + public int? choraapf { get; set; } + + /// minuto appuntamento fine + public int? chminapf { get; set; } + + /// Riferimento chiamata + public string? chrifer { get; set; } + + /// telefono riferimento + public string? chtelef { get; set; } + + /// tcodice segnalazione + public string? chcodseg { get; set; } + + /// altri campi + public Dictionary? altri { get; set; } + + /// Codice cliente + public string? ancodice { get; set; } + + /// costo chiamata + [Column(TypeName = "decimal(18, 4)")] + public decimal? chiamata { get; set; } + + /// spese viaggio + [Column(TypeName = "decimal(18, 4)")] + public decimal? spe_viaggio { get; set; } + + /// costo orario ordinario + [Column(TypeName = "decimal(18, 4)")] + public decimal? costo_ordinario { get; set; } + + /// costo orario notturno + [Column(TypeName = "decimal(18, 4)")] + public decimal? costo_notturno { get; set; } + + /// costo orario straordinario + [Column(TypeName = "decimal(18, 4)")] + public decimal? costo_straordinario { get; set; } + + /// costo orario festivo + [Column(TypeName = "decimal(18, 4)")] + public decimal? costo_festivo { get; set; } + + /// Azienda di riferimento associata all'impianto (gestione loghi differenti) + public string? imazirif { get; set; } + + /// riferimento impianto (va su rapportino) + public string? imrefref { get; set; } + + /// indirizzo stampa (html) su buono + public string? indirizzo_stampa { get; set; } + + /// impianto per lista (html) + public string? impianto_list { get; set; } + + /// riferimento impianto (html) su buono + public string? riferimento_impianto { get; set; } + + + + } +} + + diff --git a/ApiPolo/Models/Chiusure.cs b/ApiPolo/Models/Chiusure.cs new file mode 100644 index 0000000..19f902d --- /dev/null +++ b/ApiPolo/Models/Chiusure.cs @@ -0,0 +1,31 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models +{ + /// Chiusure + [Keyless] + public class Chiusure + { + /// codice chiusura + public string? cccodice { get; set; } + + /// descrizione + public string? ccdescr { get; set; } + + /// ccrapabi + public int ccrapabi { get; set; } + + /// obbligatoria + public int ccrapobb { get; set; } + + /// ccchiint + public string? ccchiint { get; set; } + + /// azienda + public string? cccodazi { get; set; } + + /// Descrizione supplementare da mettere sul rapportino + public string? ccdessup { get; set; } + } + +} diff --git a/ApiPolo/Models/ChiusureTable.cs b/ApiPolo/Models/ChiusureTable.cs new file mode 100644 index 0000000..96d496a --- /dev/null +++ b/ApiPolo/Models/ChiusureTable.cs @@ -0,0 +1,80 @@ +using Microsoft.EntityFrameworkCore.Metadata.Internal; +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; + +namespace ApiPolo.Models +{ + /// + /// (Virtual Task) Contiene i campi di CCHIUSA + /// + public class ChiusureTable + { + /// + [Key] + public string? cccodazi { get; set; } + + /// + [Key] + public string? cccodice { get; set; } + + /// + public string? ccdescr { get; set; } + + /// + public string? ccflfatt { get; set; } + + /// + public string? ccflrep { get; set; } + + /// + public string? ccdessup { get; set; } + + /// + public string? cctipcod { get; set; } + + /// + public string? ccgruppo { get; set; } + + /// + [Column(TypeName = "decimal(18, 4)")] + public decimal? ccimpint { get; set; } + + /// + [Column(TypeName = "decimal(18, 4)")] + public decimal? ccimpman { get; set; } + + /// + public string? ccserint { get; set; } + + /// + public string? ccserman { get; set; } + + /// + [Column(TypeName = "decimal(4, 1)")] + public decimal? ccnumore { get; set; } + + /// + [Column(TypeName = "decimal(6, 2)")] + public decimal? ccperman { get; set; } + + /// + [Column(TypeName = "decimal(4, 1)")] + public decimal? corecom { get; set; } + + /// + public DateTime? codtobso { get; set; } + + /// + public int? ccrapabi { get; set; } + + /// + public int? ccrapobb { get; set; } + + /// + public string? ccriapre { get; set; } + + /// + public string? ccchiint { get; set; } + + } +} diff --git a/ApiPolo/Models/Commessa.cs b/ApiPolo/Models/Commessa.cs new file mode 100644 index 0000000..15b5e1d --- /dev/null +++ b/ApiPolo/Models/Commessa.cs @@ -0,0 +1,60 @@ +using Microsoft.EntityFrameworkCore; +using System.ComponentModel.DataAnnotations.Schema; + +namespace ApiPolo.Models +{ + /// ViSTA API_COMMESSE + [Keyless] + public class Commessa + { + /// seriale Commessa + public string? laserial { get; set; } + + /// Codice Commessa + public string? lacodcom { get; set; } + + /// Fase Commessa + public string? ladeslav { get; set; } + + /// data fine validita Commessa + public DateTime? ladatchi { get; set; } + + /// tipo + public string? latipcli { get; set; } + + /// codice cliente + public string? lacodcli { get; set; } + + /// descrizione cliente + public string? andescri { get; set; } + + /// impianto + public string? imcodimp { get; set; } + + /// tipo ind + public string? imindiri1 { get; set; } + + /// indirizzo + public string? imindiri2 { get; set; } + + /// numero + public int? imindiri3 { get; set; } + + /// lettera + public string? imindiri4 { get; set; } + + /// scala + public string? imindiri5 { get; set; } + + /// localita + public string? imlocali { get; set; } + + /// CAP + public string? imcodcap { get; set; } + + /// provincia + public string? improvin { get; set; } + + + } +} diff --git a/ApiPolo/Models/Commessa_out.cs b/ApiPolo/Models/Commessa_out.cs new file mode 100644 index 0000000..23e0eb1 --- /dev/null +++ b/ApiPolo/Models/Commessa_out.cs @@ -0,0 +1,66 @@ +namespace ApiPolo.Models +{ + /// ViSTA API_COMMESSE + public class Commessa_out + { + /// Codice Commessa + public string? cncodcan { get; set; } + + /// Descrizione Commessa + public string? cndescan { get; set; } + + /// data fine validita Commessa + public DateTime? cndatfin { get; set; } + + /// tipo + public string? cntipcon { get; set; } + + /// codice cliente + public string? cncodcon { get; set; } + + /// descrizione cliente + public string? andescri { get; set; } + + /// impianto + public string? imcodimp { get; set; } + + /// tipo ind + public string? imindiri1 { get; set; } + + /// indirizzo + public string? imindiri2 { get; set; } + + /// numero + public int? imindiri3 { get; set; } + + /// lettera + public string? imindiri4 { get; set; } + + /// scala + public string? imindiri5 { get; set; } + + /// localita + public string? imlocali { get; set; } + + /// CAP + public string? imcodcap { get; set; } + + /// provincia + public string? improvin { get; set; } + + + + + /// elemento lista formato html + public string? itemList { get; set; } + + /// Error title + public string? err_title { get; set; } + + /// Error deatail + public string? err_detail { get; set; } + + /// Error code + public string? err_status_code { get; set; } + } +} diff --git a/ApiPolo/Models/CommesseVT.cs b/ApiPolo/Models/CommesseVT.cs new file mode 100644 index 0000000..8b46b41 --- /dev/null +++ b/ApiPolo/Models/CommesseVT.cs @@ -0,0 +1,66 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models +{ + /// ViSTA API_COMMESSE - VT + [Keyless] + public class CommesseVT + { + /// seriale Commessa + public string? laserial { get; set; } + + /// Azienda + public string? lacodazi { get; set; } + + /// Codice Commessa + public string? lacodcom { get; set; } + + /// Fase Commessa + public string? ladeslav { get; set; } + + /// data fine validita Commessa + public DateTime? ladatchi { get; set; } + + /// tipo + public string? latipcli { get; set; } + + /// codice cliente + public string? lacodcli { get; set; } + + /// descrizione cliente + public string? andescri { get; set; } + + /// impianto + public string? imcodimp { get; set; } + + /// tipo ind + public string? imindiri1 { get; set; } + + /// indirizzo + public string? imindiri2 { get; set; } + + /// numero + public int? imindiri3 { get; set; } + + /// lettera + public string? imindiri4 { get; set; } + + /// scala + public string? imindiri5 { get; set; } + + /// localita + public string? imlocali { get; set; } + + /// CAP + public string? imcodcap { get; set; } + + /// provincia + public string? improvin { get; set; } + + /// codice impianto - commesse + public string? lacodimp { get; set; } + + /// flag commessa generica cliente + public string? lacomgen { get; set; } + } +} diff --git a/ApiPolo/Models/CommesseVT_Table.cs b/ApiPolo/Models/CommesseVT_Table.cs new file mode 100644 index 0000000..df17a9a --- /dev/null +++ b/ApiPolo/Models/CommesseVT_Table.cs @@ -0,0 +1,37 @@ +using System.ComponentModel.DataAnnotations; + +namespace ApiPolo.Models +{ + /// seriale Commessa + public class CommesseVT_Table + { + /// seriale Commessa + [Key] + public string? laserial { get; set; } + + /// Azienda + [Key] + public string? lacodazi { get; set; } + + /// Codice Commessa + public string? lacodcom { get; set; } + + /// Fase Commessa + public string? ladeslav { get; set; } + + /// data fine validita Commessa + public DateTime? ladatchi { get; set; } + + /// tipo + public string? latipcli { get; set; } + + /// codice cliente + public string? lacodcli { get; set; } + + /// codice impianto + public string? lacodimp { get; set; } + + /// flag commessa generica cliente + public string? lacomgen { get; set; } + } +} diff --git a/ApiPolo/Models/Compo_Impia.cs b/ApiPolo/Models/Compo_Impia.cs new file mode 100644 index 0000000..829c903 --- /dev/null +++ b/ApiPolo/Models/Compo_Impia.cs @@ -0,0 +1,63 @@ +using Microsoft.EntityFrameworkCore; +using System.ComponentModel.DataAnnotations.Schema; + + +namespace ApiPolo.Models +{ + /// + /// Contiene i campi di xxxMICOMIMP (componenti impianto) + /// + [Keyless] + public class Compo_Impia + { + /// + /// codice impianto + /// + public string? cocodimp { get; set; } + + /// + /// codice impianto + /// + public string? cocodazi { get; set; } + + /// + /// indice riga + /// + public int? cprownum { get; set; } + + /// + /// quantità + /// + [Column(TypeName = "decimal(10, 6)")] + public decimal? coqtaart { get; set; } + + /// + /// codice articolo + /// + public string? cocodart { get; set; } + + /// + /// note + /// + public string? co__note { get; set; } + + /// + /// lotto articolo + /// + public string? lotto { get; set; } + + /// + /// matricola articolo + /// + public string? matricola { get; set; } + + /// + /// descrizione articolo + /// + /// + public string? ardesart { get; set; } + + /// descrizione per ogni articolo (se abilitata da configurazioni) + public string? desc_sup { get; set; } + } +} diff --git a/ApiPolo/Models/Compo_Impia_Table.cs b/ApiPolo/Models/Compo_Impia_Table.cs new file mode 100644 index 0000000..87bfec3 --- /dev/null +++ b/ApiPolo/Models/Compo_Impia_Table.cs @@ -0,0 +1,55 @@ +using System.ComponentModel.DataAnnotations.Schema; +using System.ComponentModel.DataAnnotations; + +namespace ApiPolo.Models +{ + /// + /// Classe componenti per scrittura db + /// + public class Compo_Impia_Table + { + /// + /// codice impianto + /// + [Key] + public string? cocodimp { get; set; } + + /// + /// codice impianto + /// + [Key] + public string? cocodazi { get; set; } + + /// + /// indice riga + /// + [Key] + public int? cprownum { get; set; } + + /// + /// codice articolo + /// + [Column(TypeName = "decimal(10, 6)")] + public decimal? coqtaart { get; set; } + + /// + /// codice articolo + /// + public string? cocodart { get; set; } + + /// + /// note + /// + public string? co__note { get; set; } + + /// + /// lotto articolo + /// + public string? pilotto { get; set; } + + /// + /// matricola articolo + /// + public string? pimatric { get; set; } + } +} diff --git a/ApiPolo/Models/Compo_Impia_out.cs b/ApiPolo/Models/Compo_Impia_out.cs new file mode 100644 index 0000000..12c5b0b --- /dev/null +++ b/ApiPolo/Models/Compo_Impia_out.cs @@ -0,0 +1,69 @@ +using Microsoft.EntityFrameworkCore; +using System.ComponentModel.DataAnnotations.Schema; + +namespace ApiPolo.Models +{ + /// + /// Contiene i campi di xxxMICOMIMP (componenti impianto) oggetto di output + /// + [Keyless] + public class Compo_Impia_out + { + /// + /// codice impianto + /// + public string? cocodimp { get; set; } + + /// + /// codice impianto + /// + public string? cocodazi { get; set; } + + /// + /// indice riga + /// + public int? cprownum { get; set; } + + /// + /// codice articolo + /// + [Column(TypeName = "decimal(10, 6)")] + public decimal? coqtaart { get; set; } + + /// + /// codice articolo + /// + public string? cocodart { get; set; } + + /// + /// note + /// + public string? co__note { get; set; } + + /// + /// lotto articolo + /// + public string? lotto { get; set; } + + /// + /// matricola articolo + /// + public string? matricola { get; set; } + + /// + /// errore titolo + /// + public string? err_title { get; set; } + + /// + /// errore dettaglio + /// + public string? err_detail { get; set; } + + /// + /// errore status code (200, 500) + /// + public string? err_status_code { get; set; } + + } +} diff --git a/ApiPolo/Models/Configurazione_out.cs b/ApiPolo/Models/Configurazione_out.cs new file mode 100644 index 0000000..2fb3523 --- /dev/null +++ b/ApiPolo/Models/Configurazione_out.cs @@ -0,0 +1,216 @@ +using Microsoft.EntityFrameworkCore.Metadata.Internal; +using System.ComponentModel.DataAnnotations.Schema; +using System.ComponentModel.DataAnnotations; + +namespace ApiPolo.Models +{ + /// + public class Configurazione_out + { + /// azienda + public string? azienda { get; set; } + + /// path file buoni (immagini rapportini) + public string? path_buoni { get; set; } + + /// prefisso dei buoni da chiamata + public string? prefisso_buoni_chia { get; set; } + + /// prefisso dei buoni da mauntenzione + public string? prefisso_buoni_man { get; set; } + + /// url ftp per upload delle immagini + public string? ftp_url { get; set; } + + /// utente ftp per upload delle immagini + public string? ftp_usr { get; set; } + + /// password ftp per upload delle immagini + public string? ftp_pwd { get; set; } + + /// Listino articoli per magazzino + public string? listino { get; set; } + + /// pulsante naviga nelle liste + public bool? abilita_naviga { get; set; } + + /// pulsante telefona nelle liste + public bool? abilita_telefona { get; set; } + + /// abilita funzione + public bool? abilita_chiamate { get; set; } + + /// abilita funzione + public bool? abilita_manutenzioni { get; set; } + + /// barcode abilitato opzionalmente in varie sezioni. Per renderlo obbligatorio vedi flag sott + public bool? abilita_barcode { get; set; } + + /// + public bool? chiamate_accetta { get; set; } + + /// barcode obbligatorio + public bool? chiamate_accetta_barcode { get; set; } + + /// funziona anche offline + public bool? chiamate_accetta_offline { get; set; } + + /// abilita funzione + public bool? chiamate_rifiuta { get; set; } + + /// hiamate_rifiuta_barcode + public bool? chiamate_rifiuta_barcode { get; set; } + + /// funziona anche offline + public bool? chiamate_rifiuta_offline { get; set; } + + /// barcode obbligatorio + public bool? chiamate_chiudi_barcode { get; set; } + + /// barcode obbligatorio + public bool? chiamate_firma_barcode { get; set; } + + /// barcode obbligatorio + public bool? chiamate_chiudi_salva_barcode { get; set; } + + /// abilita funzione + public bool? manutenzioni_accetta { get; set; } + + /// funziona anche offline + public bool? chiamate_chiudi_salva_offline { get; set; } + + /// abilita funzione + public bool? manutenzioni_rifiuta { get; set; } + + /// barcode obbligatorio + public bool? manutenzioni_accetta_barcode { get; set; } + + /// funziona anche offline + public bool? manutenzioni_accetta_offline { get; set; } + + /// barcode obbligatorio + public bool? manutenzioni_chiudi_barcode { get; set; } + + /// barcode obbligatorio + public bool? manutenzioni_firma_barcode { get; set; } + + /// barcode obbligatorio + public bool? manutenzioni_chiudi_salva_barcode { get; set; } + + /// funziona anche offline + public bool? manutenzioni_chiudi_salva_offline { get; set; } + + /// chiede presena DPI prima di scheda + public bool? dpi_checkbox { get; set; } + + /// visualizza anagrafica + public bool? anagrafica { get; set; } + + /// abilita stato impianto + public bool? stato_finale { get; set; } + + /// abilita + public bool? descrizione_intervento { get; set; } + + /// abilita + public bool? composizione_impianto { get; set; } + + /// abilita + public bool? note_intervento { get; set; } + + /// abilita + public bool? esito_intervento { get; set; } + + /// abilita + public bool? ora_inizio_fine { get; set; } + + /// abilita + public bool? materiali { get; set; } + + /// abilita + public bool? diritto_chiamata { get; set; } + + /// abilita + public bool? manodopera { get; set; } + + /// abilita + public bool? spese_viaggio { get; set; } + + /// abilita + public bool? tipo_pagamento { get; set; } + + /// abilita + public bool? note_pagamento { get; set; } + + /// abilita + public bool? causale { get; set; } + + /// abilita + public bool? time_sheet { get; set; } + + /// abilita + public bool? time_sheet_offline { get; set; } + + /// Costo orario intervento + [Column(TypeName = "decimal(8, 3)")] + public decimal? costo_orario { get; set; } + + /// porta ftp + public int? ftp_port { get; set; } + + /// barcode obbligatorio + public bool? manutenzioni_rifiuta_barcode { get; set; } + + /// storico rapportini + public bool? storico { get; set; } + + /// storico impianto + public bool? storico_tecnico { get; set; } + + /// Abilita link storico interventi + public bool? storico_interventi { get; set; } + + /// Abilita link ricerca impianti + public bool? ricerca_impianti { get; set; } + + /// Abilita link storico impianto (solo per chi gestisce il magazzino) + public bool? storico_impianto { get; set; } + + /// Calcolo tempo rapportino automatico + public bool? ora_inizio_fine_automatica { get; set; } + + /// Stampa ora inizio-fine su buono + public bool? stampa_orario { get; set; } + + /// Stampa intestazione su buono + public string? intestazione_stampa { get; set; } + + + /// Seriale chiamata da usare come teplate per inserire chiamata da app (commessa o normale) + public string? seriale_template_chi { get; set; } + + /// 0=non abilitata 1,2,3=abilitata + public Int16? abilita_inserimento_chiamate { get; set; } + + /// Data rapportino editabile + public bool? abilita_data_rapp_edit { get; set; } + + /// articoli impianto in forma decimale + public Int16? numeri_decimali { get; set; } + + /// max num record in ricerca + public int? max_record { get; set; } + + /// storico impianto + public List? aziende_coll { get; set; } + + /// Error Message + public string? err_title { get; set; } + + /// Error Message detail + public string? err_detail { get; set; } + + /// Status + public string? err_status_code { get; set; } + } +} diff --git a/ApiPolo/Models/Configurazioni.cs b/ApiPolo/Models/Configurazioni.cs new file mode 100644 index 0000000..0b5ca33 --- /dev/null +++ b/ApiPolo/Models/Configurazioni.cs @@ -0,0 +1,214 @@ +using Microsoft.AspNetCore.Components.RenderTree; +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; + +namespace ApiPolo.Models +{ + /// Configurazioni + public class Configurazioni + { + /// azienda + [Key] + public string? azienda { get; set; } + + /// path file buoni (immagini rapportini) + public string? path_buoni { get; set; } + + /// prefisso dei buoni da chiamata + public string? prefisso_buoni_chia { get; set; } + + /// prefisso dei buoni da mauntenzione + public string? prefisso_buoni_man { get; set; } + + /// url ftp per upload delle immagini + public string? ftp_url { get; set; } + + /// utente ftp per upload delle immagini + public string? ftp_usr { get; set; } + + /// password ftp per upload delle immagini + public string? ftp_pwd { get; set; } + + /// Listino articoli per magazzino + public string? listino { get; set; } + + /// pulsante naviga nelle liste + public bool? abilita_naviga { get; set; } + + /// pulsante telefona nelle liste + public bool? abilita_telefona { get; set; } + + /// abilita funzione + public bool? abilita_chiamate { get; set; } + + /// abilita funzione + public bool? abilita_manutenzioni { get; set; } + + /// barcode abilitato opzionalmente in varie sezioni. Per renderlo obbligatorio vedi flag sott + public bool? abilita_barcode { get; set; } + + /// + public bool? chiamate_accetta { get; set; } + + /// barcode obbligatorio + public bool? chiamate_accetta_barcode { get; set; } + + /// funziona anche offline + public bool? chiamate_accetta_offline { get; set; } + + /// abilita funzione + public bool? chiamate_rifiuta { get; set; } + + /// hiamate_rifiuta_barcode + public bool? chiamate_rifiuta_barcode { get; set; } + + /// funziona anche offline + public bool? chiamate_rifiuta_offline { get; set; } + + /// barcode obbligatorio + public bool? chiamate_chiudi_barcode { get; set; } + + /// barcode obbligatorio + public bool? chiamate_firma_barcode { get; set; } + + /// barcode obbligatorio + public bool? chiamate_chiudi_salva_barcode { get; set; } + + /// abilita funzione + public bool? manutenzioni_accetta { get; set; } + + /// funziona anche offline + public bool? chiamate_chiudi_salva_offline { get; set; } + + /// abilita funzione + public bool? manutenzioni_rifiuta { get; set; } + + /// barcode obbligatorio + public bool? manutenzioni_accetta_barcode { get; set; } + + /// funziona anche offline + public bool? manutenzioni_accetta_offline { get; set; } + + /// barcode obbligatorio + public bool? manutenzioni_chiudi_barcode { get; set; } + + /// barcode obbligatorio + public bool? manutenzioni_firma_barcode { get; set; } + + /// barcode obbligatorio + public bool? manutenzioni_chiudi_salva_barcode { get; set; } + + /// funziona anche offline + public bool? manutenzioni_chiudi_salva_offline { get; set; } + + /// chiede presena DPI prima di scheda + public bool? dpi_checkbox { get; set; } + + /// visualizza anagrafica + public bool? anagrafica { get; set; } + + /// abilita stato impianto + public bool? stato_finale { get; set; } + + /// abilita + public bool? descrizione_intervento { get; set; } + + /// abilita + public bool? composizione_impianto { get; set; } + + /// abilita + public bool? note_intervento { get; set; } + + /// abilita + public bool? esito_intervento { get; set; } + + /// abilita + public bool? ora_inizio_fine { get; set; } + + /// abilita + public bool? materiali { get; set; } + + /// abilita + public bool? diritto_chiamata { get; set; } + + /// abilita + public bool? manodopera { get; set; } + + /// abilita + public bool? spese_viaggio { get; set; } + + /// abilita + public bool? tipo_pagamento { get; set; } + + /// abilita + public bool? note_pagamento { get; set; } + + /// abilita + public bool? causale { get; set; } + + /// abilita + public bool? time_sheet { get; set; } + + /// abilita + public bool? time_sheet_offline { get; set; } + + /// Costo orario intervento + [Column(TypeName = "decimal(8, 3)")] + public decimal? costo_orario { get; set; } + + /// porta ftp + public int? ftp_port { get; set; } + + /// barcode obbligatorio + public bool? manutenzioni_rifiuta_barcode { get; set; } + + /// OBSOLETO + public bool? storico { get; set; } + + /// OBSOLETO + public bool? storico_tecnico { get; set; } + + + + + /// Abilita link storico interventi + public bool? storico_interventi { get; set; } + + /// Abilita link ricerca impianti + public bool? ricerca_impianti { get; set; } + + /// Abilita link storico impianto (solo per chi gestisce il magazzino) + public bool? storico_impianto { get; set; } + + /// Calcolo tempo rapportino automatico + public bool? ora_inizio_fine_automatica { get; set; } + + /// Stampa ora inizio-fine su buono + public bool? stampa_orario { get; set; } + + /// Stampa intestazione su buono + public string? intestazione_stampa { get; set; } + + /// Seriale chiamata da usare come teplate per inserire chiamata da app (commessa o normale) + public string? seriale_template_chi { get; set; } + + /// 0=non abilitata 1,2,3=abilitata + public Int16? abilita_inserimento_chiamate { get; set; } + + /// data rapportino editabile + public bool? abilita_data_rapp_edit { get; set; } + + /// articoli impianto in forma decimale se valore maggiore di 1 e la cifra indica il numero di cifre decimali, altrimenti sono numeri interi + public Int16? numeri_decimali { get; set; } + + /// max num record in ricerca + public int? max_record { get; set; } + + /// rende visibile la riga dei prezzi sul rapportino + public bool? prezzi_visibili { get; set; } + + /// rende visibile la riga dei prezzi sul rapportino + public bool? desc_supp_prodotti_visibile { get; set; } + + } +} diff --git a/ApiPolo/Models/ConfigurazioniDbContext.cs b/ApiPolo/Models/ConfigurazioniDbContext.cs new file mode 100644 index 0000000..6992a47 --- /dev/null +++ b/ApiPolo/Models/ConfigurazioniDbContext.cs @@ -0,0 +1,21 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models +{ + /// ConfigurazioniDbContext + public class ConfigurazioniDbContext : DbContext + { + /// conf + public DbSet? conf { get; set; } + + /// ConfigurazioniDbContext + public ConfigurazioniDbContext(DbContextOptions options) : base(options) + { + } + /// OnModelCreating + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("Configurazioni"); + } + } +} diff --git a/ApiPolo/Models/DatiAzienda.cs b/ApiPolo/Models/DatiAzienda.cs new file mode 100644 index 0000000..455da9f --- /dev/null +++ b/ApiPolo/Models/DatiAzienda.cs @@ -0,0 +1,31 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; + +namespace ApiPolo.Models +{ + /// + public class DatiAzienda + { + /// azienda + [Key] + public string? azienda { get; set; } + + /// tecnico + [Key] + public string? tecnico { get; set; } + + /// Denominazione + public string? ragsoc { get; set; } + + /// url del logo esposto + public string? url_logo { get; set; } + + /// logo + //[NotMapped] + //public IFormFile? logo { get; set; } + public byte[]? logo { get; set; } + + /// testo azienda rapportino + public string? testo_buono { get; set; } + } +} diff --git a/ApiPolo/Models/Discovery_dbcontext/DISCO_AziendaRifDbContext.cs b/ApiPolo/Models/Discovery_dbcontext/DISCO_AziendaRifDbContext.cs new file mode 100644 index 0000000..1d93556 --- /dev/null +++ b/ApiPolo/Models/Discovery_dbcontext/DISCO_AziendaRifDbContext.cs @@ -0,0 +1,27 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Discovery_dbcontext +{ + /// Aziende collegate + public class DISCO_AziendaRifDbContext : DbContext + { + /// + public DbSet? Azi { get; set; } + + /// + public DISCO_AziendaRifDbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("PIAZIRIF"); + modelBuilder.Entity().HasKey(table => new + { + table.piazihoc, + table.picodtec, + table.pirifazi + }); + } + } +} diff --git a/ApiPolo/Models/Discovery_dbcontext/DISCO_CAUS_RAPPDbContext.cs b/ApiPolo/Models/Discovery_dbcontext/DISCO_CAUS_RAPPDbContext.cs new file mode 100644 index 0000000..3149d5f --- /dev/null +++ b/ApiPolo/Models/Discovery_dbcontext/DISCO_CAUS_RAPPDbContext.cs @@ -0,0 +1,22 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Discovery_dbcontext +{ + /// + public class DISCO_CAUS_RAPPDbContext : DbContext + { + /// + public DbSet? Causali { get; set; } + + /// + public DISCO_CAUS_RAPPDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_CAUS_RAPP"); + } + } +} diff --git a/ApiPolo/Models/Discovery_dbcontext/DISCO_CHIAMATEDbContext.cs b/ApiPolo/Models/Discovery_dbcontext/DISCO_CHIAMATEDbContext.cs new file mode 100644 index 0000000..72d75fc --- /dev/null +++ b/ApiPolo/Models/Discovery_dbcontext/DISCO_CHIAMATEDbContext.cs @@ -0,0 +1,22 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Discovery_dbcontext +{ + /// + public class DISCO_CHIAMATEDbContext:DbContext + { + /// + public DbSet? Chiamate { get; set; } + + /// + public DISCO_CHIAMATEDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_CHIAMATE"); + } + } +} diff --git a/ApiPolo/Models/Discovery_dbcontext/DISCO_CHIUSUREDbContext.cs b/ApiPolo/Models/Discovery_dbcontext/DISCO_CHIUSUREDbContext.cs new file mode 100644 index 0000000..d3848c4 --- /dev/null +++ b/ApiPolo/Models/Discovery_dbcontext/DISCO_CHIUSUREDbContext.cs @@ -0,0 +1,22 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Discovery_dbcontext +{ + /// + public class DISCO_CHIUSUREDbContext:DbContext + { + /// + public DbSet? Chiusure { get; set; } + + /// + public DISCO_CHIUSUREDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_CHIUSURE"); + } + } +} diff --git a/ApiPolo/Models/Discovery_dbcontext/DISCO_CLIENTIDbContext.cs b/ApiPolo/Models/Discovery_dbcontext/DISCO_CLIENTIDbContext.cs new file mode 100644 index 0000000..0610e9a --- /dev/null +++ b/ApiPolo/Models/Discovery_dbcontext/DISCO_CLIENTIDbContext.cs @@ -0,0 +1,21 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Discovery_dbcontext +{ + /// + public class DISCO_CLIENTIDbContext:DbContext + { + /// + public DbSet? Clienti { get; set; } + + /// + public DISCO_CLIENTIDbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_CLIENTI"); + } + } +} diff --git a/ApiPolo/Models/Discovery_dbcontext/DISCO_COMPO_IMPIADbContext.cs b/ApiPolo/Models/Discovery_dbcontext/DISCO_COMPO_IMPIADbContext.cs new file mode 100644 index 0000000..dd2bc9b --- /dev/null +++ b/ApiPolo/Models/Discovery_dbcontext/DISCO_COMPO_IMPIADbContext.cs @@ -0,0 +1,21 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Discovery_dbcontext +{ + /// + public class DISCO_COMPO_IMPIADbContext:DbContext + { + /// + public DbSet? Componen { get; set; } + + /// + public DISCO_COMPO_IMPIADbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_MICOMIMP"); + } + } +} diff --git a/ApiPolo/Models/Discovery_dbcontext/DISCO_COMPO_IMPIA_TABLEDbContext.cs b/ApiPolo/Models/Discovery_dbcontext/DISCO_COMPO_IMPIA_TABLEDbContext.cs new file mode 100644 index 0000000..2e64426 --- /dev/null +++ b/ApiPolo/Models/Discovery_dbcontext/DISCO_COMPO_IMPIA_TABLEDbContext.cs @@ -0,0 +1,27 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Discovery_dbcontext +{ + /// + public class DISCO_COMPO_IMPIA_TABLEDbContext:DbContext + { + /// + public DbSet? Componen { get; set; } + + /// + public DISCO_COMPO_IMPIA_TABLEDbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("DISCOMICOMIMP"); + modelBuilder.Entity().HasKey(table => new + { + table.cocodimp, + table.cprownum, + table.cocodazi + }); + } + } +} diff --git a/ApiPolo/Models/Discovery_dbcontext/DISCO_IMPIANTIDbContext.cs b/ApiPolo/Models/Discovery_dbcontext/DISCO_IMPIANTIDbContext.cs new file mode 100644 index 0000000..929b1f1 --- /dev/null +++ b/ApiPolo/Models/Discovery_dbcontext/DISCO_IMPIANTIDbContext.cs @@ -0,0 +1,22 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Discovery_dbcontext +{ + /// + public class DISCO_IMPIANTIDbContext : DbContext + { + /// + public DbSet? Impia { get; set; } + + /// + public DISCO_IMPIANTIDbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_IMPIANTI"); + } + } +} diff --git a/ApiPolo/Models/Discovery_dbcontext/DISCO_MAGAZZINIDbContext.cs b/ApiPolo/Models/Discovery_dbcontext/DISCO_MAGAZZINIDbContext.cs new file mode 100644 index 0000000..8428278 --- /dev/null +++ b/ApiPolo/Models/Discovery_dbcontext/DISCO_MAGAZZINIDbContext.cs @@ -0,0 +1,27 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Discovery_dbcontext +{ + /// + public class DISCO_MAGAZZINIDbContext : DbContext + { + /// + public DbSet? Magaz { get; set; } + + /// + public DISCO_MAGAZZINIDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("DISCOMAGAZZIN"); + modelBuilder.Entity().HasKey(table => new + { + table.mgcodmag + }); + } + + } +} diff --git a/ApiPolo/Models/Discovery_dbcontext/DISCO_MAG_NEWDbContext.cs b/ApiPolo/Models/Discovery_dbcontext/DISCO_MAG_NEWDbContext.cs new file mode 100644 index 0000000..9ae9180 --- /dev/null +++ b/ApiPolo/Models/Discovery_dbcontext/DISCO_MAG_NEWDbContext.cs @@ -0,0 +1,27 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Discovery_dbcontext +{ + /// + public class DISCO_MAG_NEWDbContext:DbContext + { + /// + public DbSet? Mag { get; set; } + + /// + public DISCO_MAG_NEWDbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("DISCOMAG_NEW"); + modelBuilder.Entity().HasKey(table => new + { + table.seriale_rapportino, + table.riga + + }); + } + } +} diff --git a/ApiPolo/Models/Discovery_dbcontext/DISCO_MANPROG_TECDbContext.cs b/ApiPolo/Models/Discovery_dbcontext/DISCO_MANPROG_TECDbContext.cs new file mode 100644 index 0000000..61b50e4 --- /dev/null +++ b/ApiPolo/Models/Discovery_dbcontext/DISCO_MANPROG_TECDbContext.cs @@ -0,0 +1,22 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Discovery_dbcontext +{ + /// + public class DISCO_MANPROG_TECDbContext : DbContext + { + /// + public DbSet? Manutenzioni { get; set; } + + /// + public DISCO_MANPROG_TECDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_MANPROG"); + } + } +} diff --git a/ApiPolo/Models/Discovery_dbcontext/DISCO_PAGAMDbContext.cs b/ApiPolo/Models/Discovery_dbcontext/DISCO_PAGAMDbContext.cs new file mode 100644 index 0000000..56fff02 --- /dev/null +++ b/ApiPolo/Models/Discovery_dbcontext/DISCO_PAGAMDbContext.cs @@ -0,0 +1,22 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Discovery_dbcontext +{ + /// + public class DISCO_PAGAMDbContext:DbContext + { + /// + public DbSet? Pagamenti { get; set; } + + /// + public DISCO_PAGAMDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_PAGAMENTI"); + } + } +} diff --git a/ApiPolo/Models/Discovery_dbcontext/DISCO_PRESEDbContext.cs b/ApiPolo/Models/Discovery_dbcontext/DISCO_PRESEDbContext.cs new file mode 100644 index 0000000..37bf88b --- /dev/null +++ b/ApiPolo/Models/Discovery_dbcontext/DISCO_PRESEDbContext.cs @@ -0,0 +1,27 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Discovery_dbcontext +{ + /// + public class DISCO_PRESEDbContext:DbContext + { + /// + public DbSet? Prese { get; set; } + + /// + public DISCO_PRESEDbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("PIPRESA"); + modelBuilder.Entity().HasKey(table => new { + table.picodazi, + table.pimpianto, + table.picodint, + table.pidatman + }); + } + } +} diff --git a/ApiPolo/Models/Discovery_dbcontext/DISCO_RAPPORTINIDbContext.cs b/ApiPolo/Models/Discovery_dbcontext/DISCO_RAPPORTINIDbContext.cs new file mode 100644 index 0000000..ee1ba77 --- /dev/null +++ b/ApiPolo/Models/Discovery_dbcontext/DISCO_RAPPORTINIDbContext.cs @@ -0,0 +1,21 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Discovery_dbcontext +{ + /// + public class DISCO_RAPPORTINIDbContext : DbContext + { + /// Rapportini + public DbSet? rapp { get; set; } + + /// ConfigurazioniDbContext + public DISCO_RAPPORTINIDbContext(DbContextOptions options) : base(options) + { + } + /// OnModelCreating + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_RAPPORTINI"); + } + } +} diff --git a/ApiPolo/Models/Discovery_dbcontext/DISCO_RAPP_NEWDbContext.cs b/ApiPolo/Models/Discovery_dbcontext/DISCO_RAPP_NEWDbContext.cs new file mode 100644 index 0000000..4d09362 --- /dev/null +++ b/ApiPolo/Models/Discovery_dbcontext/DISCO_RAPP_NEWDbContext.cs @@ -0,0 +1,22 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Discovery_dbcontext +{ + /// + public class DISCO_RAPP_NEWDbContext:DbContext + { + /// + public DbSet? Rapps { get; set; } + + /// + public DISCO_RAPP_NEWDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("RAPP_NEW"); + } + } +} diff --git a/ApiPolo/Models/Discovery_dbcontext/DISCO_SALDIARTDbContext.cs b/ApiPolo/Models/Discovery_dbcontext/DISCO_SALDIARTDbContext.cs new file mode 100644 index 0000000..a2179e3 --- /dev/null +++ b/ApiPolo/Models/Discovery_dbcontext/DISCO_SALDIARTDbContext.cs @@ -0,0 +1,21 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Discovery_dbcontext +{ + /// + public class DISCO_SALDIARTDbContext:DbContext + { + /// + public DbSet? Saldi { get; set; } + + /// + public DISCO_SALDIARTDbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_SALDIART_PREZZI"); + } + } +} diff --git a/ApiPolo/Models/Discovery_dbcontext/DISCO_SOSTITUZIONIDbcontext.cs b/ApiPolo/Models/Discovery_dbcontext/DISCO_SOSTITUZIONIDbcontext.cs new file mode 100644 index 0000000..f2492eb --- /dev/null +++ b/ApiPolo/Models/Discovery_dbcontext/DISCO_SOSTITUZIONIDbcontext.cs @@ -0,0 +1,22 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Discovery_dbcontext +{ + /// + public class DISCO_SOSTITUZIONIDbcontext : DbContext + { + /// + public DbSet? Sost { get; set; } + + /// + public DISCO_SOSTITUZIONIDbcontext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_SOSTITUZIONI"); + } + } +} diff --git a/ApiPolo/Models/Discovery_dbcontext/DISCO_STO_RAPPDbContext.cs b/ApiPolo/Models/Discovery_dbcontext/DISCO_STO_RAPPDbContext.cs new file mode 100644 index 0000000..ad53e8f --- /dev/null +++ b/ApiPolo/Models/Discovery_dbcontext/DISCO_STO_RAPPDbContext.cs @@ -0,0 +1,22 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Discovery_dbcontext +{ + /// + public class DISCO_STO_RAPPDbContext:DbContext + { + /// + public DbSet? StoRapp { get; set; } + + /// + public DISCO_STO_RAPPDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_STO_RAPP"); + } + } +} diff --git a/ApiPolo/Models/Discovery_dbcontext/DISCO_TECNICIDbContext.cs b/ApiPolo/Models/Discovery_dbcontext/DISCO_TECNICIDbContext.cs new file mode 100644 index 0000000..8f57a36 --- /dev/null +++ b/ApiPolo/Models/Discovery_dbcontext/DISCO_TECNICIDbContext.cs @@ -0,0 +1,22 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Discovery_dbcontext +{ + /// + public class DISCO_TECNICIDbContext:DbContext + { + /// + public DbSet? Tecnici { get; set; } + + /// + public DISCO_TECNICIDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_TECNICI"); + } + } +} diff --git a/ApiPolo/Models/Error.cs b/ApiPolo/Models/Error.cs new file mode 100644 index 0000000..090fd6f --- /dev/null +++ b/ApiPolo/Models/Error.cs @@ -0,0 +1,15 @@ +namespace ApiPolo.Models +{ + /// Error + public class Error + { + /// Error title + public string? err_title { get; set; } + + /// Error deatail + public string? err_detail { get; set; } + + /// Error code + public string? err_status_code { get; set; } + } +} diff --git a/ApiPolo/Models/Ferrari_dbcontext/FERRA_CAUS_RAPPDbContext.cs b/ApiPolo/Models/Ferrari_dbcontext/FERRA_CAUS_RAPPDbContext.cs new file mode 100644 index 0000000..583b8a0 --- /dev/null +++ b/ApiPolo/Models/Ferrari_dbcontext/FERRA_CAUS_RAPPDbContext.cs @@ -0,0 +1,22 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Ferrari_dbcontext +{ + /// + public class FERRA_CAUS_RAPPDbContext : DbContext + { + /// + public DbSet? Causali { get; set; } + + /// + public FERRA_CAUS_RAPPDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_CAUS_RAPP"); + } + } +} diff --git a/ApiPolo/Models/Ferrari_dbcontext/FERRA_CHIAMATEDbContext.cs b/ApiPolo/Models/Ferrari_dbcontext/FERRA_CHIAMATEDbContext.cs new file mode 100644 index 0000000..dfc9a59 --- /dev/null +++ b/ApiPolo/Models/Ferrari_dbcontext/FERRA_CHIAMATEDbContext.cs @@ -0,0 +1,21 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Ferrari_dbcontext +{ + /// FERRA_CHIAMATEDbContext + public class FERRA_CHIAMATEDbContext : DbContext + { + /// FERRA_CHIAMATEDbContext + public DbSet? Chiamate { get; set; } + + /// FERRA_CHIAMATEDbContext + public FERRA_CHIAMATEDbContext(DbContextOptions options) : base(options) + { + } + /// OnModelCreating + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_CHIAMATE"); + } + } +} diff --git a/ApiPolo/Models/Ferrari_dbcontext/FERRA_CHIUSUREDbContext.cs b/ApiPolo/Models/Ferrari_dbcontext/FERRA_CHIUSUREDbContext.cs new file mode 100644 index 0000000..e33a4d6 --- /dev/null +++ b/ApiPolo/Models/Ferrari_dbcontext/FERRA_CHIUSUREDbContext.cs @@ -0,0 +1,21 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Ferrari_dbcontext +{ + /// FERRA_CHIUSUREDbContext + public class FERRA_CHIUSUREDbContext : DbContext + { + /// Chiusure + public DbSet? Chiusure { get; set; } + + /// + public FERRA_CHIUSUREDbContext(DbContextOptions options) : base(options) + { + } + /// OnModelCreating + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_CHIUSURE"); + } + } +} diff --git a/ApiPolo/Models/Ferrari_dbcontext/FERRA_CLIENTIDbContext.cs b/ApiPolo/Models/Ferrari_dbcontext/FERRA_CLIENTIDbContext.cs new file mode 100644 index 0000000..d3adc1c --- /dev/null +++ b/ApiPolo/Models/Ferrari_dbcontext/FERRA_CLIENTIDbContext.cs @@ -0,0 +1,21 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Ferrari_dbcontext +{ + /// + public class FERRA_CLIENTIDbContext : DbContext + { + /// + public DbSet? Clienti { get; set; } + + /// + public FERRA_CLIENTIDbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_CLIENTI"); + } + } +} diff --git a/ApiPolo/Models/Ferrari_dbcontext/FERRA_COMMESSEDbContext.cs b/ApiPolo/Models/Ferrari_dbcontext/FERRA_COMMESSEDbContext.cs new file mode 100644 index 0000000..5f3eee2 --- /dev/null +++ b/ApiPolo/Models/Ferrari_dbcontext/FERRA_COMMESSEDbContext.cs @@ -0,0 +1,22 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Ferrari_dbcontext +{ + /// + public class FERRA_COMMESSEDbContext: DbContext + { + /// + public DbSet? Commesse { get; set; } + + /// + public FERRA_COMMESSEDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_COMMESSE"); + } + } +} diff --git a/ApiPolo/Models/Ferrari_dbcontext/FERRA_IMPIANTIDbContext.cs b/ApiPolo/Models/Ferrari_dbcontext/FERRA_IMPIANTIDbContext.cs new file mode 100644 index 0000000..ea3a7f2 --- /dev/null +++ b/ApiPolo/Models/Ferrari_dbcontext/FERRA_IMPIANTIDbContext.cs @@ -0,0 +1,22 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Ferrari_dbcontext +{ + /// + public class FERRA_IMPIANTIDbContext : DbContext + { + /// + public DbSet? Impia { get; set; } + + /// + public FERRA_IMPIANTIDbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_IMPIANTI"); + } + } +} diff --git a/ApiPolo/Models/Ferrari_dbcontext/FERRA_MAGAZZINIDbContext.cs b/ApiPolo/Models/Ferrari_dbcontext/FERRA_MAGAZZINIDbContext.cs new file mode 100644 index 0000000..33806d0 --- /dev/null +++ b/ApiPolo/Models/Ferrari_dbcontext/FERRA_MAGAZZINIDbContext.cs @@ -0,0 +1,27 @@ +using ApiPolo.Models.Sicilia_dbcontext; +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Ferrari_dbcontext +{ + /// + public class FERRA_MAGAZZINIDbContext : DbContext + { + /// + public DbSet? Magaz { get; set; } + + /// + public FERRA_MAGAZZINIDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("FERRAMAGAZZIN"); + modelBuilder.Entity().HasKey(table => new + { + table.mgcodmag + }); + } + } +} diff --git a/ApiPolo/Models/Ferrari_dbcontext/FERRA_MANPROG_TECDbContext.cs b/ApiPolo/Models/Ferrari_dbcontext/FERRA_MANPROG_TECDbContext.cs new file mode 100644 index 0000000..006ac16 --- /dev/null +++ b/ApiPolo/Models/Ferrari_dbcontext/FERRA_MANPROG_TECDbContext.cs @@ -0,0 +1,20 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Ferrari_dbcontext +{ + /// FERRA_MANPROG_TECDbContext + public class FERRA_MANPROG_TECDbContext : DbContext + { + /// Manutenzioni + public DbSet? Manutenzioni { get; set; } + /// Manutenzioni + public FERRA_MANPROG_TECDbContext(DbContextOptions options) : base(options) + { + } + /// OnModelCreating + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_MANPROG"); + } + } +} diff --git a/ApiPolo/Models/Ferrari_dbcontext/FERRA_PAGAMDbContext.cs b/ApiPolo/Models/Ferrari_dbcontext/FERRA_PAGAMDbContext.cs new file mode 100644 index 0000000..480d33a --- /dev/null +++ b/ApiPolo/Models/Ferrari_dbcontext/FERRA_PAGAMDbContext.cs @@ -0,0 +1,23 @@ +using ApiPolo.Models.Sicilia_dbcontext; +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Ferrari_dbcontext +{ + /// + public class FERRA_PAGAMDbContext : DbContext + { + /// + public DbSet? Pagamenti { get; set; } + + /// + public FERRA_PAGAMDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_PAGAMENTI"); + } + } +} diff --git a/ApiPolo/Models/Ferrari_dbcontext/FERRA_PRESEDbContext.cs b/ApiPolo/Models/Ferrari_dbcontext/FERRA_PRESEDbContext.cs new file mode 100644 index 0000000..eaa41af --- /dev/null +++ b/ApiPolo/Models/Ferrari_dbcontext/FERRA_PRESEDbContext.cs @@ -0,0 +1,27 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Ferrari_dbcontext +{ + /// FERRA_CHIAMATEDbContext + public class FERRA_PRESEDbContext : DbContext + { + /// FERRA_CHIAMATEDbContext + public DbSet? Prese { get; set; } + + /// + public FERRA_PRESEDbContext(DbContextOptions options) : base(options) + { + } + /// A + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("PRESA"); + modelBuilder.Entity().HasKey(table => new { + table.picodazi, + table.pimpianto, + table.picodint, + table.pidatman + }); + } + } +} diff --git a/ApiPolo/Models/Ferrari_dbcontext/FERRA_RAPPORTINIDbContext.cs b/ApiPolo/Models/Ferrari_dbcontext/FERRA_RAPPORTINIDbContext.cs new file mode 100644 index 0000000..2c2942a --- /dev/null +++ b/ApiPolo/Models/Ferrari_dbcontext/FERRA_RAPPORTINIDbContext.cs @@ -0,0 +1,21 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Ferrari_dbcontext +{ + /// + public class FERRA_RAPPORTINIDbContext: DbContext + { + /// Rapportini + public DbSet? rapp { get; set; } + + /// ConfigurazioniDbContext + public FERRA_RAPPORTINIDbContext(DbContextOptions options) : base(options) + { + } + /// OnModelCreating + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_RAPPORTINI"); + } + } +} diff --git a/ApiPolo/Models/Ferrari_dbcontext/FERRA_RAPP_NEWDbContext.cs b/ApiPolo/Models/Ferrari_dbcontext/FERRA_RAPP_NEWDbContext.cs new file mode 100644 index 0000000..f6fc8c1 --- /dev/null +++ b/ApiPolo/Models/Ferrari_dbcontext/FERRA_RAPP_NEWDbContext.cs @@ -0,0 +1,21 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Ferrari_dbcontext +{ + /// + public class FERRA_RAPP_NEWDbContext : DbContext + { + /// + public DbSet? Rapps { get; set; } + /// + public FERRA_RAPP_NEWDbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("RAPP_NEW"); + } + + } +} diff --git a/ApiPolo/Models/Ferrari_dbcontext/FERRA_SOSTITUZIONIDbcontext.cs b/ApiPolo/Models/Ferrari_dbcontext/FERRA_SOSTITUZIONIDbcontext.cs new file mode 100644 index 0000000..eb51fba --- /dev/null +++ b/ApiPolo/Models/Ferrari_dbcontext/FERRA_SOSTITUZIONIDbcontext.cs @@ -0,0 +1,22 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Ferrari_dbcontext +{ + /// + public class FERRA_SOSTITUZIONIDbcontext : DbContext + { + /// + public DbSet? Sost { get; set; } + + /// + public FERRA_SOSTITUZIONIDbcontext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_SOSTITUZIONI"); + } + } +} diff --git a/ApiPolo/Models/Ferrari_dbcontext/FERRA_STO_RAPPDbContext.cs b/ApiPolo/Models/Ferrari_dbcontext/FERRA_STO_RAPPDbContext.cs new file mode 100644 index 0000000..53770c7 --- /dev/null +++ b/ApiPolo/Models/Ferrari_dbcontext/FERRA_STO_RAPPDbContext.cs @@ -0,0 +1,22 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Ferrari_dbcontext +{ + /// + public class FERRA_STO_RAPPDbContext : DbContext + { + /// + public DbSet? StoRapp { get; set; } + + /// + public FERRA_STO_RAPPDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_STO_RAPP"); + } + } +} diff --git a/ApiPolo/Models/Ferrari_dbcontext/FERRA_TECNICIDbContext.cs b/ApiPolo/Models/Ferrari_dbcontext/FERRA_TECNICIDbContext.cs new file mode 100644 index 0000000..8d1cc22 --- /dev/null +++ b/ApiPolo/Models/Ferrari_dbcontext/FERRA_TECNICIDbContext.cs @@ -0,0 +1,22 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Ferrari_dbcontext +{ + /// + public class FERRA_TECNICIDbContext : DbContext + { + /// + public DbSet? Tecnici { get; set; } + + /// + public FERRA_TECNICIDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_TECNICI"); + } + } +} diff --git a/ApiPolo/Models/Gitoga_dbcontext/GITSR_CAUS_RAPP_Dbcontext.cs b/ApiPolo/Models/Gitoga_dbcontext/GITSR_CAUS_RAPP_Dbcontext.cs new file mode 100644 index 0000000..35a790a --- /dev/null +++ b/ApiPolo/Models/Gitoga_dbcontext/GITSR_CAUS_RAPP_Dbcontext.cs @@ -0,0 +1,23 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Gitoga_dbcontext +{ + /// + public class GITSR_CAUS_RAPP_Dbcontext : DbContext + { + /// + public DbSet? Causali { get; set; } + + /// + public GITSR_CAUS_RAPP_Dbcontext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_CAUS_RAPP"); + } + } +} diff --git a/ApiPolo/Models/Gitoga_dbcontext/GITSR_CHIAMATE_Dbcontext.cs b/ApiPolo/Models/Gitoga_dbcontext/GITSR_CHIAMATE_Dbcontext.cs new file mode 100644 index 0000000..91865e4 --- /dev/null +++ b/ApiPolo/Models/Gitoga_dbcontext/GITSR_CHIAMATE_Dbcontext.cs @@ -0,0 +1,23 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Gitoga_dbcontext +{ + /// + public class GITSR_CHIAMATE_Dbcontext : DbContext + { + /// + public DbSet? Chiamate { get; set; } + + /// + public GITSR_CHIAMATE_Dbcontext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_CHIAMATE"); + } + } +} diff --git a/ApiPolo/Models/Gitoga_dbcontext/GITSR_CHIUSURE_Dbcontext.cs b/ApiPolo/Models/Gitoga_dbcontext/GITSR_CHIUSURE_Dbcontext.cs new file mode 100644 index 0000000..c6773f5 --- /dev/null +++ b/ApiPolo/Models/Gitoga_dbcontext/GITSR_CHIUSURE_Dbcontext.cs @@ -0,0 +1,23 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Gitoga_dbcontext +{ + /// + public class GITSR_CHIUSURE_Dbcontext : DbContext + { + /// + public DbSet? Chiusure { get; set; } + + /// + public GITSR_CHIUSURE_Dbcontext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_CHIUSURE"); + } + } +} diff --git a/ApiPolo/Models/Gitoga_dbcontext/GITSR_CLIENTI_Dbcontext.cs b/ApiPolo/Models/Gitoga_dbcontext/GITSR_CLIENTI_Dbcontext.cs new file mode 100644 index 0000000..93ed16c --- /dev/null +++ b/ApiPolo/Models/Gitoga_dbcontext/GITSR_CLIENTI_Dbcontext.cs @@ -0,0 +1,22 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Gitoga_dbcontext +{ + /// + public class GITSR_CLIENTI_Dbcontext : DbContext + { + /// + public DbSet? Clienti { get; set; } + + /// + public GITSR_CLIENTI_Dbcontext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_CLIENTI"); + } + } +} diff --git a/ApiPolo/Models/Gitoga_dbcontext/GITSR_IMPIANTI_Dbcontext.cs b/ApiPolo/Models/Gitoga_dbcontext/GITSR_IMPIANTI_Dbcontext.cs new file mode 100644 index 0000000..3edbb77 --- /dev/null +++ b/ApiPolo/Models/Gitoga_dbcontext/GITSR_IMPIANTI_Dbcontext.cs @@ -0,0 +1,22 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Gitoga_dbcontext +{ + /// + public class GITSR_IMPIANTI_Dbcontext : DbContext + { + /// + public DbSet? Impia { get; set; } + + /// + public GITSR_IMPIANTI_Dbcontext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_IMPIANTI"); + } + } +} diff --git a/ApiPolo/Models/Gitoga_dbcontext/GITSR_MANPROG_TEC_Dbcontext.cs b/ApiPolo/Models/Gitoga_dbcontext/GITSR_MANPROG_TEC_Dbcontext.cs new file mode 100644 index 0000000..5d24878 --- /dev/null +++ b/ApiPolo/Models/Gitoga_dbcontext/GITSR_MANPROG_TEC_Dbcontext.cs @@ -0,0 +1,23 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Gitoga_dbcontext +{ + /// + public class GITSR_MANPROG_TEC_Dbcontext : DbContext + { + /// + public DbSet? Manutenzioni { get; set; } + + /// + public GITSR_MANPROG_TEC_Dbcontext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_MANPROG"); + } + } +} diff --git a/ApiPolo/Models/Gitoga_dbcontext/GITSR_PAGAM_Dbcontext.cs b/ApiPolo/Models/Gitoga_dbcontext/GITSR_PAGAM_Dbcontext.cs new file mode 100644 index 0000000..1f1a68e --- /dev/null +++ b/ApiPolo/Models/Gitoga_dbcontext/GITSR_PAGAM_Dbcontext.cs @@ -0,0 +1,23 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Gitoga_dbcontext +{ + /// + public class GITSR_PAGAM_Dbcontext : DbContext + { + /// + public DbSet? Pagamenti { get; set; } + + /// + public GITSR_PAGAM_Dbcontext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_PAGAMENTI"); + } + } +} diff --git a/ApiPolo/Models/Gitoga_dbcontext/GITSR_PRESE_Dbcontext.cs b/ApiPolo/Models/Gitoga_dbcontext/GITSR_PRESE_Dbcontext.cs new file mode 100644 index 0000000..d806677 --- /dev/null +++ b/ApiPolo/Models/Gitoga_dbcontext/GITSR_PRESE_Dbcontext.cs @@ -0,0 +1,28 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Gitoga_dbcontext +{ + /// + public class GITSR_PRESE_Dbcontext : DbContext + { + /// + public DbSet? Prese { get; set; } + + /// + public GITSR_PRESE_Dbcontext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("PIPRESA"); + modelBuilder.Entity().HasKey(table => new { + table.picodazi, + table.pimpianto, + table.picodint, + table.pidatman + }); + } + } +} diff --git a/ApiPolo/Models/Gitoga_dbcontext/GITSR_RAPPORTINI_Dbcontext.cs b/ApiPolo/Models/Gitoga_dbcontext/GITSR_RAPPORTINI_Dbcontext.cs new file mode 100644 index 0000000..898e1cd --- /dev/null +++ b/ApiPolo/Models/Gitoga_dbcontext/GITSR_RAPPORTINI_Dbcontext.cs @@ -0,0 +1,22 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Gitoga_dbcontext +{ + /// + public class GITSR_RAPPORTINI_Dbcontext : DbContext + { + /// Rapportini + public DbSet? rapp { get; set; } + + /// ConfigurazioniDbContext + public GITSR_RAPPORTINI_Dbcontext(DbContextOptions options) : base(options) + { + } + /// OnModelCreating + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_RAPPORTINI"); + } + } +} diff --git a/ApiPolo/Models/Gitoga_dbcontext/GITSR_RAPP_NEW_Dbcontext.cs b/ApiPolo/Models/Gitoga_dbcontext/GITSR_RAPP_NEW_Dbcontext.cs new file mode 100644 index 0000000..cc2a2a1 --- /dev/null +++ b/ApiPolo/Models/Gitoga_dbcontext/GITSR_RAPP_NEW_Dbcontext.cs @@ -0,0 +1,23 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Gitoga_dbcontext +{ + /// + public class GITSR_RAPP_NEW_Dbcontext : DbContext + { + /// + public DbSet? Rapps { get; set; } + + /// + public GITSR_RAPP_NEW_Dbcontext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("RAPP_NEW"); + } + } +} diff --git a/ApiPolo/Models/Gitoga_dbcontext/GITSR_SOSTITUZIONIDbContext.cs b/ApiPolo/Models/Gitoga_dbcontext/GITSR_SOSTITUZIONIDbContext.cs new file mode 100644 index 0000000..01271a8 --- /dev/null +++ b/ApiPolo/Models/Gitoga_dbcontext/GITSR_SOSTITUZIONIDbContext.cs @@ -0,0 +1,22 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Gitoga_dbcontext +{ + /// + public class GITSR_SOSTITUZIONIDbContext : DbContext + { + /// + public DbSet? Sost { get; set; } + + /// + public GITSR_SOSTITUZIONIDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_SOSTITUZIONI"); + } + } +} diff --git a/ApiPolo/Models/Gitoga_dbcontext/GITSR_STO_RAPP_Dbcontext.cs b/ApiPolo/Models/Gitoga_dbcontext/GITSR_STO_RAPP_Dbcontext.cs new file mode 100644 index 0000000..69dc304 --- /dev/null +++ b/ApiPolo/Models/Gitoga_dbcontext/GITSR_STO_RAPP_Dbcontext.cs @@ -0,0 +1,23 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Gitoga_dbcontext +{ + /// + public class GITSR_STO_RAPP_Dbcontext : DbContext + { + /// + public DbSet? StoRapp { get; set; } + + /// + public GITSR_STO_RAPP_Dbcontext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_STO_RAPP"); + } + } +} diff --git a/ApiPolo/Models/Gitoga_dbcontext/GITSR_TECNICI_Dbcontext.cs b/ApiPolo/Models/Gitoga_dbcontext/GITSR_TECNICI_Dbcontext.cs new file mode 100644 index 0000000..4c9d37c --- /dev/null +++ b/ApiPolo/Models/Gitoga_dbcontext/GITSR_TECNICI_Dbcontext.cs @@ -0,0 +1,23 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Gitoga_dbcontext +{ + /// + public class GITSR_TECNICI_Dbcontext : DbContext + { + /// + public DbSet? Tecnici { get; set; } + + /// + public GITSR_TECNICI_Dbcontext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_TECNICI"); + } + } +} diff --git a/ApiPolo/Models/Impianto.cs b/ApiPolo/Models/Impianto.cs new file mode 100644 index 0000000..1e70299 --- /dev/null +++ b/ApiPolo/Models/Impianto.cs @@ -0,0 +1,54 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models +{ + /// Impianto + [Keyless] + public class Impianto + { + /// Codice Impianto + public string? imcodimp { get; set; } + + /// Descrizione Impianto + public string? imdescri { get; set; } + + /// Tipo indirizzo (Via, piazza..) + public string? imindiri1 { get; set; } + + /// indirizzo + public string? imindiri2 { get; set; } + + /// numero civico + public int? imindiri3 { get; set; } + + /// sottonumero + public string? imindiri4 { get; set; } + + /// scala + public string? imindiri5 { get; set; } + + /// localita + public string? imlocali { get; set; } + + /// Cap + public string? imcodcap { get; set; } + + /// Comune + public string? imcomune { get; set; } + + /// Provincia + public string? improvin { get; set; } + + /// Azienda + public string? imcodazi { get; set; } + + /// cod cliente + public string? imultcli { get; set; } + + /// descrizione cliente + public string? descCliente { get; set; } + + /// Data cancellazione + public DateTime? imfinatt { get; set; } + } +} diff --git a/ApiPolo/Models/ImpiantoTable.cs b/ApiPolo/Models/ImpiantoTable.cs new file mode 100644 index 0000000..29b28cf --- /dev/null +++ b/ApiPolo/Models/ImpiantoTable.cs @@ -0,0 +1,52 @@ +using System.ComponentModel.DataAnnotations; + +namespace ApiPolo.Models +{ + /// + public class ImpiantoTable + { + /// Codice Impianto + [Key] + public string? imcodimp { get; set; } + + /// Azienda + [Key] + public string? imcodazi { get; set; } + + /// Descrizione Impianto + public string? imdescri { get; set; } + + /// Tipo indirizzo (Via, piazza..) + public string? imindiri1 { get; set; } + + /// indirizzo + public string? imindiri2 { get; set; } + + /// numero civico + public int? imindiri3 { get; set; } + + /// sottonumero + public string? imindiri4 { get; set; } + + /// scala + public string? imindiri5 { get; set; } + + /// localita + public string? imlocali { get; set; } + + /// Cap + public string? imcodcap { get; set; } + + /// Comune + public string? imcomune { get; set; } + + /// Provincia + public string? improvin { get; set; } + + /// cliente associato + public string? imultcli { get; set; } + + /// Data cancellazione + public DateTime? imfinatt { get; set; } + } +} diff --git a/ApiPolo/Models/Impianto_out.cs b/ApiPolo/Models/Impianto_out.cs new file mode 100644 index 0000000..9d7d921 --- /dev/null +++ b/ApiPolo/Models/Impianto_out.cs @@ -0,0 +1,36 @@ +namespace ApiPolo.Models +{ + /// Impianto out + public class Impianto_out + { + /// Codice Impianto + public string? codimp { get; set; } + + /// Codice Impianto + public string? descimp { get; set; } + + /// Indirizzo Impianto + public string? indiri { get; set; } + + /// Cap + public string? cap { get; set; } + + /// Comune + public string? comune { get; set; } + + /// Provincia + public string? provin { get; set; } + + /// Località + public string? localita { get; set; } + + /// Error title + public string? err_title { get; set; } + + /// Error deatail + public string? err_detail { get; set; } + + /// Error code + public string? err_status_code { get; set; } + } +} diff --git a/ApiPolo/Models/Input.cs b/ApiPolo/Models/Input.cs new file mode 100644 index 0000000..896a67b --- /dev/null +++ b/ApiPolo/Models/Input.cs @@ -0,0 +1,313 @@ +using System.ComponentModel.DataAnnotations.Schema; + +namespace ApiPolo.Models +{ + /// + /// Contiene i campi di input sia per RAPP_NEW che per PRESE + /// + public class Input + { + #region RAPPNEW + + /// + /// Tabella RAPP_NEW: Seriale rapportini + /// + public string? seriale_rapportino { get; set; } + + /// + /// Tabella RAPP_NEW: Tipo rapportini + /// + public string? tipo_rapportino { get; set; } + + /// + /// Tabella RAPP_NEW: Azienda + /// + public string? azienda_impianto { get; set; } + + /// + /// Tabella RAPP_NEW: Codice Impianto + /// + public string? codice_impianto { get; set; } + + /// + /// Tabella RAPP_NEW: Azienda su cui è la chiamata + /// + public string? azienda_chiamata { get; set; } + + /// + /// Tabella RAPP_NEW: Seriale chiamata + /// + public string? seriale_chiamata { get; set; } + + /// + /// Tabella RAPP_NEW: Seriale chiamata + /// + public string? seriale_commessa { get; set; } + + /// + /// Tabella RAPP_NEW: Data rapportino + /// + public DateTime? data_rapportino { get; set; } + + /// + /// Tabella RAPP_NEW: Ora inizio + /// + public string? ora_ini_rapportino { get; set; } + + /// + /// Tabella RAPP_NEW: Tabella RAPP_NEW: minuto inizio + /// + public string? min_ini_rapportino { get; set; } + + /// + /// Tabella RAPP_NEW: Ora fine + /// + public string? ora_fin_rapportino { get; set; } + + /// + /// Tabella RAPP_NEW: Minuto fine + /// + public string? min_fin_rapportino { get; set; } + + /// + /// Tabella RAPP_NEW: codice chiusura + /// + public string? codice_chiusura_1 { get; set; } + + /// + /// Tabella RAPP_NEW: codice chiusura + /// + public string? codice_chiusura_2 { get; set; } + + /// + /// Tabella RAPP_NEW: codice chiusura + /// + public string? codice_chiusura_3 { get; set; } + + /// + /// Tabella RAPP_NEW: codice chiusura + /// + public string? codice_chiusura_4 { get; set; } + + /// + /// Tabella RAPP_NEW: codice chiusura + /// + public string? codice_chiusura_5 { get; set; } + + /// + /// Tabella RAPP_NEW: codice chiusura + /// + public string? codice_chiusura_6 { get; set; } + + /// + /// Tabella RAPP_NEW: codice chiusura + /// + public string? codice_chiusura_7 { get; set; } + + /// + /// Tabella RAPP_NEW: codice chiusura + /// + public string? codice_chiusura_8 { get; set; } + + /// + /// Tabella RAPP_NEW: codice chiusura + /// + public string? codice_chiusura_9 { get; set; } + + /// + /// Tabella RAPP_NEW: codice chiusura + /// + public string? codice_chiusura_10 { get; set; } + + /// + /// Tabella RAPP_NEW: descrizione intervento + /// + public string? descrizione_intervento { get; set; } + + /// + /// Tabella RAPP_NEW: stato + /// + public string? stato_finale { get; set; } + + /// + /// Tabella RAPP_NEW: generato + /// + public string? generato { get; set; } + + /// + /// Tabella RAPP_NEW: azienda tecnico + /// + public string? azienda_tecnico { get; set; } + + /// + /// Tabella RAPP_NEW: codice tecnico + /// + public string? codice_tecnico { get; set; } + + /// + /// Tabella RAPP_NEW: flag rifiutata + /// + public string? rifiutata { get; set; } + + /// + ///Tabella RAPP_NEW: nominativo firma + /// + public string? firma { get; set; } + + /// + /// Tabella RAPP_NEW: flag stato In Carico + /// + public string? incarico { get; set; } + + /// + /// Tabella RAPP_NEW: data validità + /// + public DateTime? data_validita { get; set; } + + /// + /// Tabella RAPP_NEW: pathg immagine buono o firma + /// + public string? immagine { get; set; } + + /// + /// Tabella RAPP_NEW: seriale del buono + /// + public string? ser_buono { get; set; } + + /// + /// Tabella RAPP_NEW: seriale del buono + /// + public string? codice_intervento { get; set; } + + /// + /// Tabella RAPP_NEW: data/ora effettiva del lavoro (nel caso dispositivo offline) + /// + public DateTime? data_effettiva { get; set; } + #endregion + + #region PRESE + /// Tabella PRESE: Azienda + public string? picodazi { get; set; } + + /// Tabella PRESE: Impianto + public string? pimpianto { get; set; } + + /// Tabella PRESE: Codice intervento QUI=? SEM=SEMESTRALE + public string? picodint { get; set; } + + /// Tabella PRESE: Tecnico + public string? picodtec { get; set; } + + /// Tabella PRESE: data della manutenzione + public DateTime? pidatman { get; set; } + + /// Tabella PRESE: Zona manutenzione + public string? pizona { get; set; } + + /// Tabella PRESE: check presa + public string? pichkpre { get; set; } + #endregion + + #region Campi aggiunti + /// + public string? difetti_riscontrati { get; set; } + + /// + public string? lavoro_eseguito { get; set; } + + /// + public string? esito_intervento { get; set; } + + /// + public string? note_intervento { get; set; } + + /// + public string? note_esito { get; set; } + + /// + public string? nuovo_contratto { get; set; } + + /// + [Column(TypeName = "decimal(7, 2)")] + public int? ore_lavoro { get; set; } + + /// + public string? causale { get; set; } + + /// + [Column(TypeName = "decimal(7, 2)")] + public decimal? materiale { get; set; } + + /// + [Column(TypeName = "decimal(7, 2)")] + public decimal? diritto_chiamata { get; set; } + + /// + [Column(TypeName = "decimal(7, 2)")] + public decimal? manodopera { get; set; } + + /// + [Column(TypeName = "decimal(7, 2)")] + public decimal? spese_viaggio { get; set; } + + /// + public string? pagamento { get; set; } + + /// + [Column(TypeName = "decimal(7, 2)")] + public decimal? anticipo { get; set; } + + /// + [Column(TypeName = "decimal(9, 2)")] + public decimal? totale { get; set; } + + /// + public string? note_pagamento { get; set; } + + /// + public string? tipo_intervento { get; set; } + + /// + public string? rafoto1 { get; set; } + + /// + public string? rafoto2 { get; set; } + + /// + public string? rafoto3 { get; set; } + + /// + public string? rafoto4 { get; set; } + + /// + public string? rafoto5 { get; set; } + + /// + public string? rafoto6 { get; set; } + + /// + public string? rafoto7 { get; set; } + + /// + public string? rafoto8 { get; set; } + + /// + public string? rafoto9 { get; set; } + + /// + public string? rafoto10 { get; set; } + + + #endregion + + #region Componenti impianto + /// Componenti impianto aggiunti + public List? compo_add { get; set; } + + /// Componenti impianto eliminati + public List? compo_del { get; set; } + #endregion + + + } +} diff --git a/ApiPolo/Models/Lifta_dbcontext/LIFTA_CAUS_RAPP_Dbcontext.cs b/ApiPolo/Models/Lifta_dbcontext/LIFTA_CAUS_RAPP_Dbcontext.cs new file mode 100644 index 0000000..d2d5366 --- /dev/null +++ b/ApiPolo/Models/Lifta_dbcontext/LIFTA_CAUS_RAPP_Dbcontext.cs @@ -0,0 +1,23 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Lifta_dbcontext +{ + /// + public class LIFTA_CAUS_RAPP_Dbcontext : DbContext + { + /// + public DbSet? Causali { get; set; } + + /// + public LIFTA_CAUS_RAPP_Dbcontext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_CAUS_RAPP"); + } + } +} diff --git a/ApiPolo/Models/Lifta_dbcontext/LIFTA_CHIAMATE_Dbcontext.cs b/ApiPolo/Models/Lifta_dbcontext/LIFTA_CHIAMATE_Dbcontext.cs new file mode 100644 index 0000000..1485d34 --- /dev/null +++ b/ApiPolo/Models/Lifta_dbcontext/LIFTA_CHIAMATE_Dbcontext.cs @@ -0,0 +1,23 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Lifta_dbcontext +{ + /// + public class LIFTA_CHIAMATE_Dbcontext : DbContext + { + /// + public DbSet? Chiamate { get; set; } + + /// + public LIFTA_CHIAMATE_Dbcontext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_CHIAMATE"); + } + } +} diff --git a/ApiPolo/Models/Lifta_dbcontext/LIFTA_CHIUSURE_Dbcontext.cs b/ApiPolo/Models/Lifta_dbcontext/LIFTA_CHIUSURE_Dbcontext.cs new file mode 100644 index 0000000..3b5f6a5 --- /dev/null +++ b/ApiPolo/Models/Lifta_dbcontext/LIFTA_CHIUSURE_Dbcontext.cs @@ -0,0 +1,23 @@ +using ApiPolo.Models.Marrocco_dbcontext; +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Lifta_dbcontext +{ + /// + public class LIFTA_CHIUSURE_Dbcontext : DbContext + { + /// + public DbSet? Chiusure { get; set; } + + /// + public LIFTA_CHIUSURE_Dbcontext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_CHIUSURE"); + } + } +} diff --git a/ApiPolo/Models/Lifta_dbcontext/LIFTA_CLIENTI_Dbcontext.cs b/ApiPolo/Models/Lifta_dbcontext/LIFTA_CLIENTI_Dbcontext.cs new file mode 100644 index 0000000..d09ca86 --- /dev/null +++ b/ApiPolo/Models/Lifta_dbcontext/LIFTA_CLIENTI_Dbcontext.cs @@ -0,0 +1,22 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Lifta_dbcontext +{ + /// + public class LIFTA_CLIENTI_Dbcontext : DbContext + { + /// + public DbSet? Clienti { get; set; } + + /// + public LIFTA_CLIENTI_Dbcontext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_CLIENTI"); + } + } +} diff --git a/ApiPolo/Models/Lifta_dbcontext/LIFTA_IMPIANTI_Dbcontext.cs b/ApiPolo/Models/Lifta_dbcontext/LIFTA_IMPIANTI_Dbcontext.cs new file mode 100644 index 0000000..bd0769a --- /dev/null +++ b/ApiPolo/Models/Lifta_dbcontext/LIFTA_IMPIANTI_Dbcontext.cs @@ -0,0 +1,22 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Lifta_dbcontext +{ + /// + public class LIFTA_IMPIANTI_Dbcontext : DbContext + { + /// + public DbSet? Impia { get; set; } + + /// + public LIFTA_IMPIANTI_Dbcontext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_IMPIANTI"); + } + } +} diff --git a/ApiPolo/Models/Lifta_dbcontext/LIFTA_MANPROG_TEC_Dbcontext.cs b/ApiPolo/Models/Lifta_dbcontext/LIFTA_MANPROG_TEC_Dbcontext.cs new file mode 100644 index 0000000..19af6c8 --- /dev/null +++ b/ApiPolo/Models/Lifta_dbcontext/LIFTA_MANPROG_TEC_Dbcontext.cs @@ -0,0 +1,23 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Lifta_dbcontext +{ + /// + public class LIFTA_MANPROG_TEC_Dbcontext : DbContext + { + /// + public DbSet? Manutenzioni { get; set; } + + /// + public LIFTA_MANPROG_TEC_Dbcontext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_MANPROG"); + } + } +} diff --git a/ApiPolo/Models/Lifta_dbcontext/LIFTA_PAGAM_Dbcontext.cs b/ApiPolo/Models/Lifta_dbcontext/LIFTA_PAGAM_Dbcontext.cs new file mode 100644 index 0000000..57754f3 --- /dev/null +++ b/ApiPolo/Models/Lifta_dbcontext/LIFTA_PAGAM_Dbcontext.cs @@ -0,0 +1,23 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Lifta_dbcontext +{ + /// + public class LIFTA_PAGAM_Dbcontext : DbContext + { + /// + public DbSet? Pagamenti { get; set; } + + /// + public LIFTA_PAGAM_Dbcontext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_PAGAMENTI"); + } + } +} diff --git a/ApiPolo/Models/Lifta_dbcontext/LIFTA_PRESE_Dbcontext.cs b/ApiPolo/Models/Lifta_dbcontext/LIFTA_PRESE_Dbcontext.cs new file mode 100644 index 0000000..9df14fa --- /dev/null +++ b/ApiPolo/Models/Lifta_dbcontext/LIFTA_PRESE_Dbcontext.cs @@ -0,0 +1,28 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Lifta_dbcontext +{ + /// + public class LIFTA_PRESE_Dbcontext : DbContext + { + /// + public DbSet? Prese { get; set; } + + /// + public LIFTA_PRESE_Dbcontext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("PIPRESA"); + modelBuilder.Entity().HasKey(table => new { + table.picodazi, + table.pimpianto, + table.picodint, + table.pidatman + }); + } + } +} diff --git a/ApiPolo/Models/Lifta_dbcontext/LIFTA_RAPPORTINI_Dbcontext.cs b/ApiPolo/Models/Lifta_dbcontext/LIFTA_RAPPORTINI_Dbcontext.cs new file mode 100644 index 0000000..82f9c48 --- /dev/null +++ b/ApiPolo/Models/Lifta_dbcontext/LIFTA_RAPPORTINI_Dbcontext.cs @@ -0,0 +1,22 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Lifta_dbcontext +{ + /// + public class LIFTA_RAPPORTINI_Dbcontext : DbContext + { + /// Rapportini + public DbSet? rapp { get; set; } + + /// ConfigurazioniDbContext + public LIFTA_RAPPORTINI_Dbcontext(DbContextOptions options) : base(options) + { + } + /// OnModelCreating + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_RAPPORTINI"); + } + } +} diff --git a/ApiPolo/Models/Lifta_dbcontext/LIFTA_RAPP_NEW_Dbcontext.cs b/ApiPolo/Models/Lifta_dbcontext/LIFTA_RAPP_NEW_Dbcontext.cs new file mode 100644 index 0000000..d806d0c --- /dev/null +++ b/ApiPolo/Models/Lifta_dbcontext/LIFTA_RAPP_NEW_Dbcontext.cs @@ -0,0 +1,24 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Lifta_dbcontext +{ + /// + public class LIFTA_RAPP_NEW_Dbcontext : DbContext + { + /// + public DbSet? Rapps { get; set; } + + /// + public LIFTA_RAPP_NEW_Dbcontext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("RAPP_NEW"); + } + } +} + diff --git a/ApiPolo/Models/Lifta_dbcontext/LIFTA_SOSTITUZIONIDbcontext.cs b/ApiPolo/Models/Lifta_dbcontext/LIFTA_SOSTITUZIONIDbcontext.cs new file mode 100644 index 0000000..b1cdced --- /dev/null +++ b/ApiPolo/Models/Lifta_dbcontext/LIFTA_SOSTITUZIONIDbcontext.cs @@ -0,0 +1,22 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Lifta_dbcontext +{ + /// + public class LIFTA_SOSTITUZIONIDbcontext : DbContext + { + /// + public DbSet? Sost { get; set; } + + /// + public LIFTA_SOSTITUZIONIDbcontext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_SOSTITUZIONI"); + } + } +} diff --git a/ApiPolo/Models/Lifta_dbcontext/LIFTA_STO_RAPP_Dbcontext.cs b/ApiPolo/Models/Lifta_dbcontext/LIFTA_STO_RAPP_Dbcontext.cs new file mode 100644 index 0000000..b7842c6 --- /dev/null +++ b/ApiPolo/Models/Lifta_dbcontext/LIFTA_STO_RAPP_Dbcontext.cs @@ -0,0 +1,23 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Lifta_dbcontext +{ + /// + public class LIFTA_STO_RAPP_Dbcontext : DbContext + { + /// + public DbSet? StoRapp { get; set; } + + /// + public LIFTA_STO_RAPP_Dbcontext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_STO_RAPP"); + } + } +} diff --git a/ApiPolo/Models/Lifta_dbcontext/LIFTA_TECNICI_Dbcontext.cs b/ApiPolo/Models/Lifta_dbcontext/LIFTA_TECNICI_Dbcontext.cs new file mode 100644 index 0000000..126aa82 --- /dev/null +++ b/ApiPolo/Models/Lifta_dbcontext/LIFTA_TECNICI_Dbcontext.cs @@ -0,0 +1,23 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Lifta_dbcontext +{ + /// + public class LIFTA_TECNICI_Dbcontext : DbContext + { + /// + public DbSet? Tecnici { get; set; } + + /// + public LIFTA_TECNICI_Dbcontext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_TECNICI"); + } + } +} diff --git a/ApiPolo/Models/LoginModel.cs b/ApiPolo/Models/LoginModel.cs new file mode 100644 index 0000000..059fd98 --- /dev/null +++ b/ApiPolo/Models/LoginModel.cs @@ -0,0 +1,15 @@ +namespace ApiPolo.Models +{ + /// LoginModel + public class LoginModel + { + /// Username + public string? Username { get; set; } + + /// Password + public string? Password { get; set; } + + /// Tenant + public string? Tenant { get; set; } + } +} diff --git a/ApiPolo/Models/LoginOut.cs b/ApiPolo/Models/LoginOut.cs new file mode 100644 index 0000000..9dfb594 --- /dev/null +++ b/ApiPolo/Models/LoginOut.cs @@ -0,0 +1,217 @@ +using Microsoft.EntityFrameworkCore.Metadata.Internal; +using System.ComponentModel.DataAnnotations.Schema; + +namespace ApiPolo.Models +{ + /// Conf (configurazioni app) + public class Conf + { + /// pulsante naviga nelle liste + public bool? abilita_naviga { get; set; } + + /// pulsante telefona nelle liste + public bool? abilita_telefona { get; set; } + + /// abilita funzione + public bool? abilita_chiamate { get; set; } + + /// abilita funzione + public bool? abilita_manutenzioni { get; set; } + + /// barcode abilitato opzionalmente in varie sezioni. Per renderlo obbligatorio vedi flag sott + public bool? abilita_barcode { get; set; } + + /// + public bool? chiamate_accetta { get; set; } + + /// barcode obbligatorio + public bool? chiamate_accetta_barcode { get; set; } + + /// funziona anche offline + public bool? chiamate_accetta_offline { get; set; } + + /// abilita funzione + public bool? chiamate_rifiuta { get; set; } + + /// hiamate_rifiuta_barcode + public bool? chiamate_rifiuta_barcode { get; set; } + + /// funziona anche offline + public bool? chiamate_rifiuta_offline { get; set; } + + /// barcode obbligatorio + public bool? chiamate_chiudi_barcode { get; set; } + + /// barcode obbligatorio + public bool? chiamate_firma_barcode { get; set; } + + /// barcode obbligatorio + public bool? chiamate_chiudi_salva_barcode { get; set; } + + /// abilita funzione + public bool? manutenzioni_accetta { get; set; } + + /// funziona anche offline + public bool? chiamate_chiudi_salva_offline { get; set; } + + /// abilita funzione + public bool? manutenzioni_rifiuta { get; set; } + + /// barcode obbligatorio + public bool? manutenzioni_accetta_barcode { get; set; } + + /// funziona anche offline + public bool? manutenzioni_accetta_offline { get; set; } + + /// barcode obbligatorio + public bool? manutenzioni_chiudi_barcode { get; set; } + + /// barcode obbligatorio + public bool? manutenzioni_firma_barcode { get; set; } + + /// barcode obbligatorio + public bool? manutenzioni_chiudi_salva_barcode { get; set; } + + /// funziona anche offline + public bool? manutenzioni_chiudi_salva_offline { get; set; } + + /// chiede presena DPI prima di scheda + public bool? dpi_checkbox { get; set; } + + /// anagrafica visualizza anagrafica + public bool? anagrafica { get; set; } + + /// abilita stato impianto + public bool? stato_finale { get; set; } + + /// abilita + public bool? descrizione_intervento { get; set; } + + /// abilita + public bool? composizione_impianto { get; set; } + + /// abilita + public bool? note_intervento { get; set; } + + /// abilita + public bool? esito_intervento { get; set; } + + /// abilita + public bool? ora_inizio_fine { get; set; } + + /// abilita + public bool? materiali { get; set; } + + /// abilita + public bool? diritto_chiamata { get; set; } + + /// abilita + public bool? manodopera { get; set; } + + /// abilita + public bool? spese_viaggio { get; set; } + + /// abilita + public bool? tipo_pagamento { get; set; } + + /// abilita + public bool? note_pagamento { get; set; } + + /// abilita + public bool? causale { get; set; } + + /// abilita + public bool? time_sheet { get; set; } + + /// abilita + public bool? time_sheet_offline { get; set; } + + /// Costo orario intervento + [Column(TypeName = "decimal(8, 3)")] + public decimal? costo_orario { get; set; } + + /// porta ftp + public int? ftp_port { get; set; } + + /// barcode obbligatorio + public bool? manutenzioni_rifiuta_barcode { get; set; } + + /// storico rapportini abilita + public bool? storico { get; set; } + + /// storico impianto + public bool? storico_tecnico { get; set; } + + /// Abilita link storico interventi + public bool? storico_interventi { get; set; } + + /// Abilita link ricerca impianti + public bool? ricerca_impianti { get; set; } + + /// Abilita link storico impianto (solo per chi gestisce il magazzino) + public bool? storico_impianto { get; set; } + + /// Calcolo tempo rapportino automatico + public bool? ora_inizio_fine_automatica { get; set; } + + /// Stampa ora inizio-fine su buono + public bool? stampa_orario { get; set; } + + /// Stampa intestazione su buono + public string? intestazione_stampa { get; set; } + + /// Seriale chiamata da usare come teplate per inserire chiamata da app (commessa o normale) + public string? seriale_template_chi { get; set; } + + /// 0=non abilitata 1,2,3=abilitata + public Int16? abilita_inserimento_chiamate { get; set; } + + /// data rapportino editabile + public bool? abilita_data_rapp_edit { get; set; } + + /// articoli impianto in forma decimale + public Int16? numeri_decimali { get; set; } + + /// max num record in ricerca + public int? max_record { get; set; } + + /// rende visibile la riga dei prezzi sul rapportino + public bool? prezzi_visibili { get; set; } + + /// rende visibile la riga dei prezzi sul rapportino + public bool? desc_supp_prodotti_visibile { get; set; } + } + /// LoginOut (token+user) + public class LoginOut + { + /// token + public string? Tok { get; set; } + + /// token + public string? Tccodice { get; set; } + + /// token + public string? Tcdescri { get; set; } + + /// token + public Conf? Config { get; set; } + + /// storico impianto + public List? aziende_coll { get; set; } + + /// Error Message + public string? err_title { get; set; } + + /// Error Message detail + public string? err_detail { get; set; } + + /// Status + public string? err_status_code { get; set; } + + /// flag admin + public string? Tcsuper { get; set; } + + /// tenant + public string? Tenant { get; set; } + } +} diff --git a/ApiPolo/Models/Mag_New.cs b/ApiPolo/Models/Mag_New.cs new file mode 100644 index 0000000..1b8e667 --- /dev/null +++ b/ApiPolo/Models/Mag_New.cs @@ -0,0 +1,67 @@ +using Microsoft.EntityFrameworkCore; +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; + +namespace ApiPolo.Models +{ + /// + /// Contiene i campi di MAG_NEW + /// + public class Mag_New + { + /// + [Key] + public string? seriale_rapportino { get; set; } + + /// + [Key] + public int? riga { get; set; } + + /// + public string? magazzino { get; set; } + + /// + public string? articolo { get; set; } + + /// + public string? tipo_movimento { get; set; } + + /// + [Column(TypeName = "decimal(8, 3)")] + public decimal? quantita { get; set; } + + /// + [Column(TypeName = "decimal(10, 2)")] + public decimal? prezzo { get; set; } + + /// + public string? codice_tecnico { get; set; } + + /// + public string? generato { get; set; } + + /// + public string? codlotto { get; set; } + + /// + public string? matricola { get; set; } + + /// descrizione articolo + public string? desc_art { get; set; } + + /// riga impianto + public int? cprownum { get; set; } + + /// codice impianto + public string? codimp { get; set; } + + /// note + public string? note { get; set; } + + /// cpccchk + public string? cpccchk { get; set; } + + /// descrizione per ogni articolo (se abilitata da configurazioni) + public string? desc_sup { get; set; } + } +} diff --git a/ApiPolo/Models/Mag_New_out.cs b/ApiPolo/Models/Mag_New_out.cs new file mode 100644 index 0000000..e97c5ba --- /dev/null +++ b/ApiPolo/Models/Mag_New_out.cs @@ -0,0 +1,72 @@ +using Microsoft.EntityFrameworkCore; +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; + +namespace ApiPolo.Models +{ + /// + [Keyless] + public class Mag_New_out + { + /// + public string? seriale_rapportino { get; set; } + + /// + public int? riga { get; set; } + + /// + public string? magazzino { get; set; } + + /// + public string? articolo { get; set; } + + /// + public string? tipo_movimento { get; set; } + + /// + [Column(TypeName = "decimal(10, 6)")] + public decimal? quantita { get; set; } + + /// + public decimal? prezzo { get; set; } + + /// + public string? codice_tecnico { get; set; } + + /// + public string? generato { get; set; } + + /// + public string? codlotto { get; set; } + + /// + public string? matricola { get; set; } + + /// descrizione articolo + public string? desc_art { get; set; } + + /// riga impianto + public int? cprownum { get; set; } + + /// codice impianto + public string? codimp { get; set; } + + /// note + public string? note { get; set; } + + /// + /// errore titolo + /// + public string? err_title { get; set; } + + /// + /// errore dettaglio + /// + public string? err_detail { get; set; } + + /// + /// errore status code (200, 500) + /// + public string? err_status_code { get; set; } + } +} diff --git a/ApiPolo/Models/Magazzini.cs b/ApiPolo/Models/Magazzini.cs new file mode 100644 index 0000000..2b03a04 --- /dev/null +++ b/ApiPolo/Models/Magazzini.cs @@ -0,0 +1,20 @@ +using System.ComponentModel.DataAnnotations; +namespace ApiPolo.Models +{ + /// + /// Magazzini azienda + /// + public class Magazzini + { + /// + /// codice magazzino + /// + [Key] + public string? mgcodmag { get; set; } + + /// + /// descrizione + /// + public string? mgdesmag { get; set; } + } +} diff --git a/ApiPolo/Models/Manprog.cs b/ApiPolo/Models/Manprog.cs new file mode 100644 index 0000000..3375e6e --- /dev/null +++ b/ApiPolo/Models/Manprog.cs @@ -0,0 +1,238 @@ +using Microsoft.EntityFrameworkCore; +using System.ComponentModel.DataAnnotations.Schema; + +namespace ApiPolo.Models +{ + /// + /// Manutenzioni Programmate + /// + [Keyless] + public class Manprog + { + /// + /// MANPROG: codice intervento (BIM=bimestrale, SEM=semestarle,..) + /// + public string? ctcodint { get; set; } + + /// + /// MANPROG: data prossima manutenzione + /// + public DateTime ctdatpro { get; set; } + + /// + /// MANPROG: descrizione intervento + /// + public string? ctdesint { get; set; } + + /// + /// MANPROG: indirizzo 1 impianto + /// + public string? imindiri1 { get; set; } + + /// + /// MANPROG: indirizzo 2 impianto + /// + public string? imindiri2 { get; set; } + + /// + /// MANPROG: indirizzo 3 impianto + /// + public int? imindiri3 { get; set; } + + /// + /// MANPROG: indirizzo 4 impianto + /// + public string? imindiri4 { get; set; } + + /// + /// MANPROG: indirizzo 5 impianto + /// + public string? imindiri5 { get; set; } + + /// + /// MANPROG: localita impianto + /// + public string? imlocali { get; set; } + + /// + /// MANPROG: cap impianto + /// + public string? imcodcap { get; set; } + + /// + /// MANPROG: comune impianto + /// + public string? imcomune { get; set; } + + /// + /// MANPROG: matricola impianto + /// + public string? immatric { get; set; } + + /// + /// MANPROG: numero impianto + /// + public string? imnumimp { get; set; } + + /// + /// MANPROG: ubicazione impianto + /// + public string? imubicaz { get; set; } + + /// + /// MANPROG: provincia 5 impianto + /// + public string? improvin { get; set; } + + /// + /// MANPROG: nazione impianto + /// + public string? ctcodazi { get; set; } + + /// + /// MANPROG: codice impianto + /// + public string? ctcodimp { get; set; } + + /// + /// MANPROG: tecnico descrizione + /// + public string? tcdescri { get; set; } + + /// + /// MANPROG: tecnico codice + /// + public string? tccodice { get; set; } + + + /*RAPP_NEW*/ + /// + /// RAPP_NEW: seriale rapportino + /// + public string? seriale_rapportino { get; set; } + + /// + /// RAPP_NEW: seriale buono + /// + public string? ser_buono { get; set; } + + /// + /// RAPP_NEW: flag generato. Rapportino importato in AdHoc + /// + public string? generato { get; set; } + + /*PRESE*/ + /// + /// PRESE: codice impianto + /// + public string? pimpianto { get; set; } + + /// + /// PRESE: codice intervento (BIM=bimestrale,SEM=semestrale) + /// + public string? picodint { get; set; } + + /// + /// PRESE: data manutenzione + /// + public DateTime? pidatman { get; set; } + + /// + /// errore titolo + /// + public string? err_title { get; set; } + + /// + /// errore dettaglio + /// + public string? err_detail { get; set; } + + /// + /// errore status code (200, 500) + /// + public string? err_status_code { get; set; } + + /// + /// Manutenzioni: telefono 1 impianto + /// + public string? telefono1 { get; set; } + + /// + /// Manutenzioni: telefono 1 impianto + /// + public string? telefono2 { get; set; } + + /// + public string? mpmesgen { get; set; } + + /// + public string? mpmesfeb { get; set; } + + /// + public string? mpmesmar { get; set; } + + /// + public string? mpmesapr { get; set; } + + /// + public string? mpmesmag { get; set; } + + /// + public string? mpmesgiu { get; set; } + + /// + public string? mpmeslug { get; set; } + + /// + public string? mpmesago { get; set; } + + /// + public string? mpmesset { get; set; } + + /// + public string? mpmesott { get; set; } + + /// + public string? mpmesnov { get; set; } + + /// + public string? mpmesdic { get; set; } + + /// + public string? cliente { get; set; } + + /// costo chiamata + [Column(TypeName = "decimal(18, 4)")] + public decimal? chiamata { get; set; } + + /// spese viaggio + [Column(TypeName = "decimal(18, 4)")] + public decimal? spe_viaggio { get; set; } + + /// costo orario ordinario + [Column(TypeName = "decimal(18, 4)")] + public decimal? costo_ordinario { get; set; } + + /// costo orario notturno + [Column(TypeName = "decimal(18, 4)")] + public decimal? costo_notturno { get; set; } + + /// costo orario straordinario + [Column(TypeName = "decimal(18, 4)")] + public decimal? costo_straordinario { get; set; } + + /// costo orario festivo + [Column(TypeName = "decimal(18, 4)")] + public decimal? costo_festivo { get; set; } + + /// Azienda di riferimento associata all'impianto (gestione loghi differenti) + public string? imazirif { get; set; } + + /// Zona Impianto + public string? imzonman { get; set; } + + /// Riferimento Impianto + public string? imrefref { get; set; } + + } +} diff --git a/ApiPolo/Models/Manprog_out.cs b/ApiPolo/Models/Manprog_out.cs new file mode 100644 index 0000000..de4a266 --- /dev/null +++ b/ApiPolo/Models/Manprog_out.cs @@ -0,0 +1,216 @@ +using Microsoft.EntityFrameworkCore; +using System.ComponentModel.DataAnnotations.Schema; + +namespace ApiPolo.Models +{ + /// + /// Manutenzioni Programmate uscita + /// + [Keyless] + public class Manprog_out + { + /// + /// MANPROG: codice intervento (BIM=bimestrale, SEM=semestarle,..) + /// + public string? ctcodint { get; set; } + + /// + /// MANPROG: data prossima manutenzione + /// + public DateTime ctdatpro { get; set; } + + /// + /// MANPROG: descrizione intervento + /// + public string? ctdesint { get; set; } + + /// + /// MANPROG: indirizzo 1 impianto + /// + public string? imindiri1 { get; set; } + + /// + /// MANPROG: indirizzo 2 impianto + /// + public string? imindiri2 { get; set; } + + /// + /// MANPROG: indirizzo 3 impianto + /// + public int? imindiri3 { get; set; } + + /// + /// MANPROG: indirizzo 4 impianto + /// + public string? imindiri4 { get; set; } + + /// + /// MANPROG: indirizzo 5 impianto + /// + public string? imindiri5 { get; set; } + + /// + /// MANPROG: localita impianto + /// + public string? imlocali { get; set; } + + /// + /// MANPROG: cap impianto + /// + public string? imcodcap { get; set; } + + /// + /// MANPROG: comune impianto + /// + public string? imcomune { get; set; } + + /// + /// MANPROG: provincia 5 impianto + /// + public string? improvin { get; set; } + + /// + /// matricola impianto + /// + public string? immatric { get; set; } + + /// + /// numero impianto + /// + public string? imnumimp { get; set; } + + /// + /// ubicazione impianto + /// + public string? imubicaz { get; set; } + + /// + /// MANPROG: nazione impianto + /// + public string? ctcodazi { get; set; } + + /// + /// MANPROG: codice impianto + /// + public string? ctcodimp { get; set; } + + /// + /// MANPROG: tecnico descrizione + /// + public string? tcdescri { get; set; } + + /// + /// MANPROG: tecnico codice + /// + public string? tccodice { get; set; } + + + /*RAPP_NEW*/ + /// + /// RAPP_NEW: seriale rapportino + /// + public string? seriale_rapportino { get; set; } + + /// + /// RAPP_NEW: seriale buono + /// + public string? ser_buono { get; set; } + + /// + /// RAPP_NEW: flag generato. Rapportino importato in AdHoc + /// + public string? generato { get; set; } + + /*PRESE*/ + /// + /// PRESE: codice impianto + /// + public string? pimpianto { get; set; } + + /// + /// PRESE: codice intervento (BIM=bimestrale,SEM=semestrale) + /// + public string? picodint { get; set; } + + /// + /// PRESE: data manutenzione + /// + public DateTime? pidatman { get; set; } + + /// + /// errore titolo + /// + public string? err_title { get; set; } + + /// + /// errore dettaglio + /// + public string? err_detail { get; set; } + + /// + /// errore status code (200, 500) + /// + public string? err_status_code { get; set; } + + /// + /// Manutenzioni: telefono 1 impianto + /// + public string? telefono1 { get; set; } + + /// + /// Manutenzioni: telefono 1 impianto + /// + public string? telefono2 { get; set; } + + /// + /// Manutenzioni: cliente + /// + public string? cliente { get; set; } + + /// costo chiamata + [Column(TypeName = "decimal(18, 4)")] + public decimal? chiamata { get; set; } + + /// spese viaggio + [Column(TypeName = "decimal(18, 4)")] + public decimal? spe_viaggio { get; set; } + + /// costo orario ordinario + [Column(TypeName = "decimal(18, 4)")] + public decimal? costo_ordinario { get; set; } + + /// costo orario notturno + [Column(TypeName = "decimal(18, 4)")] + public decimal? costo_notturno { get; set; } + + /// costo orario straordinario + [Column(TypeName = "decimal(18, 4)")] + public decimal? costo_straordinario { get; set; } + + /// costo orario festivo + [Column(TypeName = "decimal(18, 4)")] + public decimal? costo_festivo { get; set; } + + /// altri dati Manutenzione + public Dictionary? altri { get; set; } + + /// Azienda di riferimento associata all'impianto (gestione loghi differenti) + public string? imazirif { get; set; } + + /// Zona Impianto + public string? imzonman { get; set; } + + /// Riferimento Impianto + public string? imrefref { get; set; } + + /// indirizzo stampa (html) + public string? indirizzo_stampa { get; set; } + + /// impianto per lista (html) + public string? impianto_list { get; set; } + + /// riferimento impianto (html) su buono + public string? riferimento_impianto { get; set; } + + } +} diff --git a/ApiPolo/Models/Marrocco_dbcontext/MARRO_CAUS_RAPPDbcontext.cs b/ApiPolo/Models/Marrocco_dbcontext/MARRO_CAUS_RAPPDbcontext.cs new file mode 100644 index 0000000..bde3fc8 --- /dev/null +++ b/ApiPolo/Models/Marrocco_dbcontext/MARRO_CAUS_RAPPDbcontext.cs @@ -0,0 +1,23 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Marrocco_dbcontext +{ + /// + public class MARRO_CAUS_RAPPDbcontext:DbContext + { + /// + public DbSet? Causali { get; set; } + + /// + public MARRO_CAUS_RAPPDbcontext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_CAUS_RAPP"); + } + } +} diff --git a/ApiPolo/Models/Marrocco_dbcontext/MARRO_CHIAMATA_PROG_DbContext.cs b/ApiPolo/Models/Marrocco_dbcontext/MARRO_CHIAMATA_PROG_DbContext.cs new file mode 100644 index 0000000..b261551 --- /dev/null +++ b/ApiPolo/Models/Marrocco_dbcontext/MARRO_CHIAMATA_PROG_DbContext.cs @@ -0,0 +1,25 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Marrocco_dbcontext +{ + /// + public class MARRO_CHIAMATA_PROG_DbContext : DbContext + { + /// + public DbSet? Progressivi { get; set; } + + /// + public MARRO_CHIAMATA_PROG_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("cpwarn"); + modelBuilder.Entity().HasKey(table => new { + table.tablecode, + table.warncode + }); + } + } +} diff --git a/ApiPolo/Models/Marrocco_dbcontext/MARRO_CHIAMATA_SERIALE_DbContext.cs b/ApiPolo/Models/Marrocco_dbcontext/MARRO_CHIAMATA_SERIALE_DbContext.cs new file mode 100644 index 0000000..41d05f1 --- /dev/null +++ b/ApiPolo/Models/Marrocco_dbcontext/MARRO_CHIAMATA_SERIALE_DbContext.cs @@ -0,0 +1,24 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Marrocco_dbcontext +{ + /// + public class MARRO_CHIAMATA_SERIALE_DbContext : DbContext + { + /// + public DbSet? Seriali { get; set; } + + /// + public MARRO_CHIAMATA_SERIALE_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("MARROPINUMCHI"); + modelBuilder.Entity().HasKey(table => new { + table.piditta + }); + } + } +} diff --git a/ApiPolo/Models/Marrocco_dbcontext/MARRO_CHIAMATEDbContext.cs b/ApiPolo/Models/Marrocco_dbcontext/MARRO_CHIAMATEDbContext.cs new file mode 100644 index 0000000..ae6ed58 --- /dev/null +++ b/ApiPolo/Models/Marrocco_dbcontext/MARRO_CHIAMATEDbContext.cs @@ -0,0 +1,22 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Marrocco_dbcontext +{ + /// + public class MARRO_CHIAMATEDbContext:DbContext + { + /// + public DbSet? Chiamate { get; set; } + + /// + public MARRO_CHIAMATEDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_CHIAMATE"); + } + } +} diff --git a/ApiPolo/Models/Marrocco_dbcontext/MARRO_CHIAMATE_TABLE_DbContext.cs b/ApiPolo/Models/Marrocco_dbcontext/MARRO_CHIAMATE_TABLE_DbContext.cs new file mode 100644 index 0000000..083558c --- /dev/null +++ b/ApiPolo/Models/Marrocco_dbcontext/MARRO_CHIAMATE_TABLE_DbContext.cs @@ -0,0 +1,26 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Marrocco_dbcontext +{ + /// + public class MARRO_CHIAMATE_TABLE_DbContext : DbContext + { + /// + public DbSet? Chi { get; set; } + + /// + public MARRO_CHIAMATE_TABLE_DbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("CHIAMATE"); + modelBuilder.Entity().HasKey(table => new { + table.chcodazi, + table.chserial + }); + } + } +} diff --git a/ApiPolo/Models/Marrocco_dbcontext/MARRO_CHIUSUREDbContext.cs b/ApiPolo/Models/Marrocco_dbcontext/MARRO_CHIUSUREDbContext.cs new file mode 100644 index 0000000..f77c53c --- /dev/null +++ b/ApiPolo/Models/Marrocco_dbcontext/MARRO_CHIUSUREDbContext.cs @@ -0,0 +1,22 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Marrocco_dbcontext +{ + /// + public class MARRO_CHIUSUREDbContext : DbContext + { + /// + public DbSet? Chiusure { get; set; } + + /// + public MARRO_CHIUSUREDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_CHIUSURE"); + } + } +} diff --git a/ApiPolo/Models/Marrocco_dbcontext/MARRO_CLIENTIDbContext.cs b/ApiPolo/Models/Marrocco_dbcontext/MARRO_CLIENTIDbContext.cs new file mode 100644 index 0000000..b2ea835 --- /dev/null +++ b/ApiPolo/Models/Marrocco_dbcontext/MARRO_CLIENTIDbContext.cs @@ -0,0 +1,22 @@ +using ApiPolo.Models.Ferrari_dbcontext; +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Marrocco_dbcontext +{ + /// + public class MARRO_CLIENTIDbContext:DbContext + { + /// + public DbSet? Clienti { get; set; } + + /// + public MARRO_CLIENTIDbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_CLIENTI"); + } + } +} diff --git a/ApiPolo/Models/Marrocco_dbcontext/MARRO_COMMESSEDbContext.cs b/ApiPolo/Models/Marrocco_dbcontext/MARRO_COMMESSEDbContext.cs new file mode 100644 index 0000000..9ffbdbf --- /dev/null +++ b/ApiPolo/Models/Marrocco_dbcontext/MARRO_COMMESSEDbContext.cs @@ -0,0 +1,22 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Marrocco_dbcontext +{ + /// + public class MARRO_COMMESSEDbContext : DbContext + { + /// + public DbSet? Commesse { get; set; } + + /// + public MARRO_COMMESSEDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_COMMESSE"); + } + } +} diff --git a/ApiPolo/Models/Marrocco_dbcontext/MARRO_IMPIANTIDbContext.cs b/ApiPolo/Models/Marrocco_dbcontext/MARRO_IMPIANTIDbContext.cs new file mode 100644 index 0000000..57e2cf9 --- /dev/null +++ b/ApiPolo/Models/Marrocco_dbcontext/MARRO_IMPIANTIDbContext.cs @@ -0,0 +1,21 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Marrocco_dbcontext +{ + /// + public class MARRO_IMPIANTIDbContext: DbContext + { + /// + public DbSet? Impia { get; set; } + + /// + public MARRO_IMPIANTIDbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_IMPIANTI"); + } + } +} diff --git a/ApiPolo/Models/Marrocco_dbcontext/MARRO_MANPROG_TECDbContext.cs b/ApiPolo/Models/Marrocco_dbcontext/MARRO_MANPROG_TECDbContext.cs new file mode 100644 index 0000000..2249f27 --- /dev/null +++ b/ApiPolo/Models/Marrocco_dbcontext/MARRO_MANPROG_TECDbContext.cs @@ -0,0 +1,22 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Marrocco_dbcontext +{ + /// + public class MARRO_MANPROG_TECDbContext : DbContext + { + /// + public DbSet? Manutenzioni { get; set; } + + /// + public MARRO_MANPROG_TECDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_MANPROG"); + } + } +} diff --git a/ApiPolo/Models/Marrocco_dbcontext/MARRO_NOTIFICHEDbContext.cs b/ApiPolo/Models/Marrocco_dbcontext/MARRO_NOTIFICHEDbContext.cs new file mode 100644 index 0000000..2975276 --- /dev/null +++ b/ApiPolo/Models/Marrocco_dbcontext/MARRO_NOTIFICHEDbContext.cs @@ -0,0 +1,27 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Marrocco_dbcontext +{ + /// + public class MARRO_NOTIFICHEDbContext : DbContext + { + /// + public DbSet? Notif { get; set; } + + /// + public MARRO_NOTIFICHEDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + //modelBuilder.Entity().ToView("API_NOTIFICHE"); + modelBuilder.Entity().ToTable("PINOTIFI"); + modelBuilder.Entity().HasKey(table => new { + table.picodazi, + table.piserial + }); + } + } +} diff --git a/ApiPolo/Models/Marrocco_dbcontext/MARRO_PAGAMDbContext.cs b/ApiPolo/Models/Marrocco_dbcontext/MARRO_PAGAMDbContext.cs new file mode 100644 index 0000000..e5dc844 --- /dev/null +++ b/ApiPolo/Models/Marrocco_dbcontext/MARRO_PAGAMDbContext.cs @@ -0,0 +1,22 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Marrocco_dbcontext +{ + /// + public class MARRO_PAGAMDbContext:DbContext + { + /// + public DbSet? Pagamenti { get; set; } + + /// + public MARRO_PAGAMDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_PAGAMENTI"); + } + } +} diff --git a/ApiPolo/Models/Marrocco_dbcontext/MARRO_PRESEDbContext.cs b/ApiPolo/Models/Marrocco_dbcontext/MARRO_PRESEDbContext.cs new file mode 100644 index 0000000..b4d7670 --- /dev/null +++ b/ApiPolo/Models/Marrocco_dbcontext/MARRO_PRESEDbContext.cs @@ -0,0 +1,27 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Marrocco_dbcontext +{ + /// + public class MARRO_PRESEDbContext : DbContext + { + /// + public DbSet? Prese { get; set; } + + /// + public MARRO_PRESEDbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("PRESA"); + modelBuilder.Entity().HasKey(table => new { + table.picodazi, + table.pimpianto, + table.picodint, + table.pidatman + }); + } + } +} diff --git a/ApiPolo/Models/Marrocco_dbcontext/MARRO_RAPPORTINIDbContext.cs b/ApiPolo/Models/Marrocco_dbcontext/MARRO_RAPPORTINIDbContext.cs new file mode 100644 index 0000000..1c7af57 --- /dev/null +++ b/ApiPolo/Models/Marrocco_dbcontext/MARRO_RAPPORTINIDbContext.cs @@ -0,0 +1,21 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Marrocco_dbcontext +{ + /// + public class MARRO_RAPPORTINIDbContext: DbContext + { + /// Rapportini + public DbSet? rapp { get; set; } + + /// ConfigurazioniDbContext + public MARRO_RAPPORTINIDbContext(DbContextOptions options) : base(options) + { + } + /// OnModelCreating + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_RAPPORTINI"); + } + } +} diff --git a/ApiPolo/Models/Marrocco_dbcontext/MARRO_RAPP_NEWDbContext.cs b/ApiPolo/Models/Marrocco_dbcontext/MARRO_RAPP_NEWDbContext.cs new file mode 100644 index 0000000..0d2386d --- /dev/null +++ b/ApiPolo/Models/Marrocco_dbcontext/MARRO_RAPP_NEWDbContext.cs @@ -0,0 +1,23 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Marrocco_dbcontext +{ + /// + public class MARRO_RAPP_NEWDbContext : DbContext + { + /// + public DbSet? Rapps { get; set; } + + /// + public MARRO_RAPP_NEWDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + //modelBuilder.Entity().ToView("API_RAPP_NEW"); + modelBuilder.Entity().ToTable("RAPP_NEW"); + } + } +} diff --git a/ApiPolo/Models/Marrocco_dbcontext/MARRO_SOSTITUZIONIDbContext.cs b/ApiPolo/Models/Marrocco_dbcontext/MARRO_SOSTITUZIONIDbContext.cs new file mode 100644 index 0000000..4250447 --- /dev/null +++ b/ApiPolo/Models/Marrocco_dbcontext/MARRO_SOSTITUZIONIDbContext.cs @@ -0,0 +1,22 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Marrocco_dbcontext +{ + /// + public class MARRO_SOSTITUZIONIDbContext : DbContext + { + /// + public DbSet? Sost { get; set; } + + /// + public MARRO_SOSTITUZIONIDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_SOSTITUZIONI"); + } + } +} diff --git a/ApiPolo/Models/Marrocco_dbcontext/MARRO_STO_RAPPDbContext.cs b/ApiPolo/Models/Marrocco_dbcontext/MARRO_STO_RAPPDbContext.cs new file mode 100644 index 0000000..8bee167 --- /dev/null +++ b/ApiPolo/Models/Marrocco_dbcontext/MARRO_STO_RAPPDbContext.cs @@ -0,0 +1,22 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Marrocco_dbcontext +{ + /// + public class MARRO_STO_RAPPDbContext : DbContext + { + /// + public DbSet? StoRapp { get; set; } + + /// + public MARRO_STO_RAPPDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_STO_RAPP"); + } + } +} diff --git a/ApiPolo/Models/Marrocco_dbcontext/MARRO_TECNICIDbContext.cs b/ApiPolo/Models/Marrocco_dbcontext/MARRO_TECNICIDbContext.cs new file mode 100644 index 0000000..b193c4a --- /dev/null +++ b/ApiPolo/Models/Marrocco_dbcontext/MARRO_TECNICIDbContext.cs @@ -0,0 +1,22 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Marrocco_dbcontext +{ + /// + public class MARRO_TECNICIDbContext:DbContext + { + /// + public DbSet? Tecnici { get; set; } + + /// + public MARRO_TECNICIDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_TECNICI"); + } + } +} diff --git a/ApiPolo/Models/Marrocco_dbcontext/MARRO_VT_ANAG_DbContext.cs b/ApiPolo/Models/Marrocco_dbcontext/MARRO_VT_ANAG_DbContext.cs new file mode 100644 index 0000000..63ddf3e --- /dev/null +++ b/ApiPolo/Models/Marrocco_dbcontext/MARRO_VT_ANAG_DbContext.cs @@ -0,0 +1,26 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Marrocco_dbcontext +{ + /// + public class MARRO_VT_ANAG_DbContext : DbContext + { + /// + public DbSet? Anagtable { get; set; } + + /// + public MARRO_VT_ANAG_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("MARROCONTI"); + modelBuilder.Entity().HasKey(table => new + { + table.antipcon, + table.ancodice + }); + } + } +} diff --git a/ApiPolo/Models/Marrocco_dbcontext/MARRO_VT_CHIUSURE_DbContext.cs b/ApiPolo/Models/Marrocco_dbcontext/MARRO_VT_CHIUSURE_DbContext.cs new file mode 100644 index 0000000..a44ff25 --- /dev/null +++ b/ApiPolo/Models/Marrocco_dbcontext/MARRO_VT_CHIUSURE_DbContext.cs @@ -0,0 +1,28 @@ +using ApiPolo.Models.Sicilia_dbcontext; +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Marrocco_dbcontext +{ + /// + public class MARRO_VT_CHIUSURE_DbContext : DbContext + { + /// + public DbSet? Chiutable { get; set; } + + /// + public MARRO_VT_CHIUSURE_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("CCHIUSA"); + modelBuilder.Entity().HasKey(table => new + { + table.cccodazi, + table.cccodice + + }); + } + } +} diff --git a/ApiPolo/Models/Marrocco_dbcontext/MARRO_VT_IMPIANTI_DbContext.cs b/ApiPolo/Models/Marrocco_dbcontext/MARRO_VT_IMPIANTI_DbContext.cs new file mode 100644 index 0000000..9338824 --- /dev/null +++ b/ApiPolo/Models/Marrocco_dbcontext/MARRO_VT_IMPIANTI_DbContext.cs @@ -0,0 +1,26 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Marrocco_dbcontext +{ + /// + public class MARRO_VT_IMPIANTI_DbContext: DbContext + { + /// + public DbSet? Imptable { get; set; } + + /// + public MARRO_VT_IMPIANTI_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("MIMPIANTI"); + modelBuilder.Entity().HasKey(table => new + { + table.imcodazi, + table.imcodimp + }); + } + } +} diff --git a/ApiPolo/Models/Marrocco_dbcontext/MARRO_VT_TECNICI_DbContext.cs b/ApiPolo/Models/Marrocco_dbcontext/MARRO_VT_TECNICI_DbContext.cs new file mode 100644 index 0000000..c96f57a --- /dev/null +++ b/ApiPolo/Models/Marrocco_dbcontext/MARRO_VT_TECNICI_DbContext.cs @@ -0,0 +1,26 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Marrocco_dbcontext +{ + /// + public class MARRO_VT_TECNICI_DbContext : DbContext + { + /// + public DbSet? Tectable { get; set; } + + /// + public MARRO_VT_TECNICI_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("TECNICI"); + modelBuilder.Entity().HasKey(table => new + { + table.tccodazi, + table.tccodice + }); + } + } +} diff --git a/ApiPolo/Models/Notifiche.cs b/ApiPolo/Models/Notifiche.cs new file mode 100644 index 0000000..302a042 --- /dev/null +++ b/ApiPolo/Models/Notifiche.cs @@ -0,0 +1,23 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models +{ + /// ViSTA Chiamate + [Keyless] + public class Notifiche + { + /// Azienda + public string? picodazi { get; set; } + + /// utente destinastario notifica + public string? picodtec { get; set; } + + /// seriale della chiamata + public string? piserial { get; set; } + + /// data di invio della notifica + public DateTime? pidattim { get; set; } + + + } +} diff --git a/ApiPolo/Models/Output_Chiamate.cs b/ApiPolo/Models/Output_Chiamate.cs new file mode 100644 index 0000000..ce92c52 --- /dev/null +++ b/ApiPolo/Models/Output_Chiamate.cs @@ -0,0 +1,31 @@ +namespace ApiPolo.Models +{ + /// Uscita chiamataTable+chiamate + public class Output_Chiamate + { + /// output di chiamataTable (inserimento in tabella Chiamate) + public ChiamateTableOut? chiamataTable { get; set; } + + /// output di Chiamate_out (inserimento in tabella Rapp_new) + public Chiamate_out? chiamate_Out { get; set; } + + /// output di ChiamateSeriale_out (aggiornamento in tabella in tabella PINUMCHI) + public ChiamataSeriale_out? chiaser_Out { get; set; } + + /// output di ChiamateSeriale_out (aggiornamento in tabella in tabella cpwarn) + public Prog_out? prog_Out { get; set; } + + /// output di ChiamateSeriale_out (aggiornamento in tabella in tabella cpwarn) + public Chiamate_out? uscita { get; set; } + + + /// errore titolo + public string? err_title { get; set; } + + /// errore dettaglio + public string? err_detail { get; set; } + + /// errore status code (200, 500) + public string? err_status_code { get; set; } + } +} diff --git a/ApiPolo/Models/Output_Ricerca.cs b/ApiPolo/Models/Output_Ricerca.cs new file mode 100644 index 0000000..180b29b --- /dev/null +++ b/ApiPolo/Models/Output_Ricerca.cs @@ -0,0 +1,70 @@ +namespace ApiPolo.Models +{ + /// Output ricerca impianti e di ricerca commesse + public class Output_Ricerca + { + /// Codice Commessa + public string? codice_commessa { get; set; } + + /// Descrizione Commessa + public string? desc_commessa { get; set; } + + /// data fine validita Commessa + public DateTime? dt_fine_validita { get; set; } + + /// tipo + public string? tipo_cliente_comm { get; set; } + + /// codice cliente + public string? cliente_comm { get; set; } + + /// descrizione cliente + public string? desc_cliente_comm { get; set; } + + /// impianto + public string? codice_impianto { get; set; } + + /// tipo ind + public string? imindiri1 { get; set; } + + /// indirizzo + public string? imindiri2 { get; set; } + + /// numero + public int? imindiri3 { get; set; } + + /// lettera + public string? imindiri4 { get; set; } + + /// scala + public string? imindiri5 { get; set; } + + /// localita + public string? localita_impianto { get; set; } + + /// CAP + public string? cap_impianto { get; set; } + + /// provincia + public string? provincia_impianto { get; set; } + + /// descrizione + public string? descrizione_impianto { get; set; } + + + + /// elemento lista formato html + public string? itemList { get; set; } + + /// Error title + public string? err_title { get; set; } + + /// Error deatail + public string? err_detail { get; set; } + + /// Error code + public string? err_status_code { get; set; } + + + } +} diff --git a/ApiPolo/Models/PMS_dbcontext/PMS_AZIENDA_RIF_DbContext.cs b/ApiPolo/Models/PMS_dbcontext/PMS_AZIENDA_RIF_DbContext.cs new file mode 100644 index 0000000..f83a0d0 --- /dev/null +++ b/ApiPolo/Models/PMS_dbcontext/PMS_AZIENDA_RIF_DbContext.cs @@ -0,0 +1,28 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.PMS_dbcontext +{ + /// + public class PMS_AZIENDA_RIF_DbContext : DbContext + { + /// + public DbSet? Azi { get; set; } + + /// + public PMS_AZIENDA_RIF_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("PIAZIRIF"); + modelBuilder.Entity().HasKey(table => new + { + table.piazihoc, + table.picodtec, + table.pirifazi + }); + } + } +} diff --git a/ApiPolo/Models/PMS_dbcontext/PMS_CAUS_RAPP_DbContext.cs b/ApiPolo/Models/PMS_dbcontext/PMS_CAUS_RAPP_DbContext.cs new file mode 100644 index 0000000..efee70c --- /dev/null +++ b/ApiPolo/Models/PMS_dbcontext/PMS_CAUS_RAPP_DbContext.cs @@ -0,0 +1,23 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.PMS_dbcontext +{ + /// + public class PMS_CAUS_RAPP_DbContext : DbContext + { + /// + public DbSet? Causali { get; set; } + + /// + public PMS_CAUS_RAPP_DbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_CAUS_RAPP"); + } + } +} diff --git a/ApiPolo/Models/PMS_dbcontext/PMS_CHIAMATA_PROG_DbContext.cs b/ApiPolo/Models/PMS_dbcontext/PMS_CHIAMATA_PROG_DbContext.cs new file mode 100644 index 0000000..e374665 --- /dev/null +++ b/ApiPolo/Models/PMS_dbcontext/PMS_CHIAMATA_PROG_DbContext.cs @@ -0,0 +1,26 @@ +using ApiPolo.Models.Sicilia_dbcontext; +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.PMS_dbcontext +{ + /// + public class PMS_CHIAMATA_PROG_DbContext : DbContext + { + /// + public DbSet? Progressivi { get; set; } + + /// + public PMS_CHIAMATA_PROG_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("cpwarn"); + modelBuilder.Entity().HasKey(table => new { + table.tablecode, + table.warncode + }); + } + } +} diff --git a/ApiPolo/Models/PMS_dbcontext/PMS_CHIAMATA_SERIALE_DbContext.cs b/ApiPolo/Models/PMS_dbcontext/PMS_CHIAMATA_SERIALE_DbContext.cs new file mode 100644 index 0000000..03ab0d0 --- /dev/null +++ b/ApiPolo/Models/PMS_dbcontext/PMS_CHIAMATA_SERIALE_DbContext.cs @@ -0,0 +1,25 @@ +using ApiPolo.Models.Sicilia_dbcontext; +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.PMS_dbcontext +{ + /// + public class PMS_CHIAMATA_SERIALE_DbContext : DbContext + { + /// + public DbSet? Seriali { get; set; } + + /// + public PMS_CHIAMATA_SERIALE_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("PMS00PINUMCHI"); + modelBuilder.Entity().HasKey(table => new { + table.piditta + }); + } + } +} diff --git a/ApiPolo/Models/PMS_dbcontext/PMS_CHIAMATE_DbContext.cs b/ApiPolo/Models/PMS_dbcontext/PMS_CHIAMATE_DbContext.cs new file mode 100644 index 0000000..9c4c761 --- /dev/null +++ b/ApiPolo/Models/PMS_dbcontext/PMS_CHIAMATE_DbContext.cs @@ -0,0 +1,23 @@ +using ApiPolo.Models.Sicilia_dbcontext; +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.PMS_dbcontext +{ + /// + public class PMS_CHIAMATE_DbContext : DbContext + { + /// + public DbSet? Chiamate { get; set; } + + /// + public PMS_CHIAMATE_DbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_CHIAMATE"); + } + } +} diff --git a/ApiPolo/Models/PMS_dbcontext/PMS_CHIAMATE_TABLE_DbContext.cs b/ApiPolo/Models/PMS_dbcontext/PMS_CHIAMATE_TABLE_DbContext.cs new file mode 100644 index 0000000..c892ecb --- /dev/null +++ b/ApiPolo/Models/PMS_dbcontext/PMS_CHIAMATE_TABLE_DbContext.cs @@ -0,0 +1,27 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.PMS_dbcontext +{ + /// + public class PMS_CHIAMATE_TABLE_DbContext : DbContext + { + /// + public DbSet? Chi { get; set; } + + /// + public PMS_CHIAMATE_TABLE_DbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("CHIAMATE"); + modelBuilder.Entity().HasKey(table => new { + table.chcodazi, + table.chserial + }); + } + } +} diff --git a/ApiPolo/Models/PMS_dbcontext/PMS_CHIUSURE_DbContext.cs b/ApiPolo/Models/PMS_dbcontext/PMS_CHIUSURE_DbContext.cs new file mode 100644 index 0000000..5aead0f --- /dev/null +++ b/ApiPolo/Models/PMS_dbcontext/PMS_CHIUSURE_DbContext.cs @@ -0,0 +1,23 @@ +using ApiPolo.Models.Sicilia_dbcontext; +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.PMS_dbcontext +{ + /// + public class PMS_CHIUSURE_DbContext : DbContext + { + /// + public DbSet? Chiusure { get; set; } + + /// + public PMS_CHIUSURE_DbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_CHIUSURE"); + } + } +} diff --git a/ApiPolo/Models/PMS_dbcontext/PMS_CLIENTI_DbContext.cs b/ApiPolo/Models/PMS_dbcontext/PMS_CLIENTI_DbContext.cs new file mode 100644 index 0000000..405339d --- /dev/null +++ b/ApiPolo/Models/PMS_dbcontext/PMS_CLIENTI_DbContext.cs @@ -0,0 +1,22 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.PMS_dbcontext +{ + /// + public class PMS_CLIENTI_DbContext: DbContext + { + /// + public DbSet? Clienti { get; set; } + + /// + public PMS_CLIENTI_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_CLIENTI"); + } + } +} diff --git a/ApiPolo/Models/PMS_dbcontext/PMS_COMMESSE_DbContext.cs b/ApiPolo/Models/PMS_dbcontext/PMS_COMMESSE_DbContext.cs new file mode 100644 index 0000000..ca5256a --- /dev/null +++ b/ApiPolo/Models/PMS_dbcontext/PMS_COMMESSE_DbContext.cs @@ -0,0 +1,23 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.PMS_dbcontext +{ + /// + public class PMS_COMMESSE_DbContext : DbContext + { + /// + public DbSet? Commesse { get; set; } + + /// + public PMS_COMMESSE_DbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_COMMESSE"); + } + } +} diff --git a/ApiPolo/Models/PMS_dbcontext/PMS_COMPO_IMPIA_DbContext.cs b/ApiPolo/Models/PMS_dbcontext/PMS_COMPO_IMPIA_DbContext.cs new file mode 100644 index 0000000..e4b149e --- /dev/null +++ b/ApiPolo/Models/PMS_dbcontext/PMS_COMPO_IMPIA_DbContext.cs @@ -0,0 +1,23 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.PMS_dbcontext +{ + /// + public class PMS_COMPO_IMPIA_DbContext : DbContext + { + /// + public DbSet? Componen { get; set; } + + /// + public PMS_COMPO_IMPIA_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_MICOMIMP"); + + } + } +} diff --git a/ApiPolo/Models/PMS_dbcontext/PMS_COMPO_IMPIA_TABLE_DbContext.cs b/ApiPolo/Models/PMS_dbcontext/PMS_COMPO_IMPIA_TABLE_DbContext.cs new file mode 100644 index 0000000..5bf0d52 --- /dev/null +++ b/ApiPolo/Models/PMS_dbcontext/PMS_COMPO_IMPIA_TABLE_DbContext.cs @@ -0,0 +1,28 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.PMS_dbcontext +{ + /// + public class PMS_COMPO_IMPIA_TABLE_DbContext : DbContext + { + /// + public DbSet? Componen { get; set; } + + /// + public PMS_COMPO_IMPIA_TABLE_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("PMS00MICOMIMP"); + modelBuilder.Entity().HasKey(table => new + { + table.cocodimp, + table.cprownum, + table.cocodazi + }); + } + } +} diff --git a/ApiPolo/Models/PMS_dbcontext/PMS_CPWARN_DbContext.cs b/ApiPolo/Models/PMS_dbcontext/PMS_CPWARN_DbContext.cs new file mode 100644 index 0000000..b28d053 --- /dev/null +++ b/ApiPolo/Models/PMS_dbcontext/PMS_CPWARN_DbContext.cs @@ -0,0 +1,26 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.PMS_dbcontext +{ + /// + public class PMS_CPWARN_DbContext : DbContext + { + /// + public DbSet? Progressivi { get; set; } + + /// + public PMS_CPWARN_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("cpwarn"); + modelBuilder.Entity().HasKey(table => new { + table.tablecode, + table.warncode + }); + } + } +} diff --git a/ApiPolo/Models/PMS_dbcontext/PMS_IMPIANTI_DbContext.cs b/ApiPolo/Models/PMS_dbcontext/PMS_IMPIANTI_DbContext.cs new file mode 100644 index 0000000..1db41bf --- /dev/null +++ b/ApiPolo/Models/PMS_dbcontext/PMS_IMPIANTI_DbContext.cs @@ -0,0 +1,22 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.PMS_dbcontext +{ + /// + public class PMS_IMPIANTI_DbContext : DbContext + { + /// + public DbSet? Impia { get; set; } + + /// + public PMS_IMPIANTI_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_IMPIANTI"); + } + } +} diff --git a/ApiPolo/Models/PMS_dbcontext/PMS_MAGAZZINI_DbContext.cs b/ApiPolo/Models/PMS_dbcontext/PMS_MAGAZZINI_DbContext.cs new file mode 100644 index 0000000..db41d80 --- /dev/null +++ b/ApiPolo/Models/PMS_dbcontext/PMS_MAGAZZINI_DbContext.cs @@ -0,0 +1,27 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.PMS_dbcontext +{ + /// + public class PMS_MAGAZZINI_DbContext : DbContext + { + /// + public DbSet? Magaz { get; set; } + + /// + public PMS_MAGAZZINI_DbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("PMS00MAGAZZIN"); + modelBuilder.Entity().HasKey(table => new + { + table.mgcodmag + }); + } + } +} diff --git a/ApiPolo/Models/PMS_dbcontext/PMS_MAG_NEW_DbContext.cs b/ApiPolo/Models/PMS_dbcontext/PMS_MAG_NEW_DbContext.cs new file mode 100644 index 0000000..12f1479 --- /dev/null +++ b/ApiPolo/Models/PMS_dbcontext/PMS_MAG_NEW_DbContext.cs @@ -0,0 +1,29 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.PMS_dbcontext +{ + /// + public class PMS_MAG_NEW_DbContext:DbContext + { + /// + public DbSet? Mag { get; set; } + + /// + public PMS_MAG_NEW_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("PMS00MAG_NEW"); + modelBuilder.Entity().HasKey(table => new + { + table.seriale_rapportino, + table.riga + + }); + } + } +} + diff --git a/ApiPolo/Models/PMS_dbcontext/PMS_MANPROG_TEC_DbContext.cs b/ApiPolo/Models/PMS_dbcontext/PMS_MANPROG_TEC_DbContext.cs new file mode 100644 index 0000000..7d6487f --- /dev/null +++ b/ApiPolo/Models/PMS_dbcontext/PMS_MANPROG_TEC_DbContext.cs @@ -0,0 +1,23 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.PMS_dbcontext +{ + /// + public class PMS_MANPROG_TEC_DbContext : DbContext + { + /// + public DbSet? Manutenzioni { get; set; } + + /// + public PMS_MANPROG_TEC_DbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_MANPROG"); + } + } +} diff --git a/ApiPolo/Models/PMS_dbcontext/PMS_PAGAM_DbContext.cs b/ApiPolo/Models/PMS_dbcontext/PMS_PAGAM_DbContext.cs new file mode 100644 index 0000000..1cc7e02 --- /dev/null +++ b/ApiPolo/Models/PMS_dbcontext/PMS_PAGAM_DbContext.cs @@ -0,0 +1,23 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.PMS_dbcontext +{ + /// + public class PMS_PAGAM_DbContext : DbContext + { + /// + public DbSet? Pagamenti { get; set; } + + /// + public PMS_PAGAM_DbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_PAGAMENTI"); + } + } +} diff --git a/ApiPolo/Models/PMS_dbcontext/PMS_PRESE_DbContext.cs b/ApiPolo/Models/PMS_dbcontext/PMS_PRESE_DbContext.cs new file mode 100644 index 0000000..6deadd1 --- /dev/null +++ b/ApiPolo/Models/PMS_dbcontext/PMS_PRESE_DbContext.cs @@ -0,0 +1,28 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.PMS_dbcontext +{ + /// + public class PMS_PRESE_DbContext : DbContext + { + /// + public DbSet? Prese { get; set; } + + /// + public PMS_PRESE_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("PIPRESA"); + modelBuilder.Entity().HasKey(table => new { + table.picodazi, + table.pimpianto, + table.picodint, + table.pidatman + }); + } + } +} diff --git a/ApiPolo/Models/PMS_dbcontext/PMS_RAPPORTINI_DbContext.cs b/ApiPolo/Models/PMS_dbcontext/PMS_RAPPORTINI_DbContext.cs new file mode 100644 index 0000000..d1f2cc1 --- /dev/null +++ b/ApiPolo/Models/PMS_dbcontext/PMS_RAPPORTINI_DbContext.cs @@ -0,0 +1,22 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.PMS_dbcontext +{ + /// Rapportini + public class PMS_RAPPORTINI_DbContext : DbContext + { + /// Rapportini + public DbSet? rapp { get; set; } + + /// ConfigurazioniDbContext + public PMS_RAPPORTINI_DbContext(DbContextOptions options) : base(options) + { + } + /// OnModelCreating + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_RAPPORTINI"); + } + } +} diff --git a/ApiPolo/Models/PMS_dbcontext/PMS_RAPP_NEW_DbContext.cs b/ApiPolo/Models/PMS_dbcontext/PMS_RAPP_NEW_DbContext.cs new file mode 100644 index 0000000..b2b09b8 --- /dev/null +++ b/ApiPolo/Models/PMS_dbcontext/PMS_RAPP_NEW_DbContext.cs @@ -0,0 +1,23 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.PMS_dbcontext +{ + /// + public class PMS_RAPP_NEW_DbContext : DbContext + { + /// + public DbSet? Rapps { get; set; } + + /// + public PMS_RAPP_NEW_DbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("RAPP_NEW"); + } + } +} diff --git a/ApiPolo/Models/PMS_dbcontext/PMS_SALDIART_DbContext.cs b/ApiPolo/Models/PMS_dbcontext/PMS_SALDIART_DbContext.cs new file mode 100644 index 0000000..5fb53bb --- /dev/null +++ b/ApiPolo/Models/PMS_dbcontext/PMS_SALDIART_DbContext.cs @@ -0,0 +1,22 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.PMS_dbcontext +{ + /// + public class PMS_SALDIART_DbContext : DbContext + { + /// + public DbSet? Saldi { get; set; } + + /// + public PMS_SALDIART_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_SALDIART_PREZZI"); + } + } +} diff --git a/ApiPolo/Models/PMS_dbcontext/PMS_SOSTITUZIONI_DbContext.cs b/ApiPolo/Models/PMS_dbcontext/PMS_SOSTITUZIONI_DbContext.cs new file mode 100644 index 0000000..1a84226 --- /dev/null +++ b/ApiPolo/Models/PMS_dbcontext/PMS_SOSTITUZIONI_DbContext.cs @@ -0,0 +1,23 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.PMS_dbcontext +{ + /// + public class PMS_SOSTITUZIONI_DbContext : DbContext + { + /// + public DbSet? Sost { get; set; } + + /// + public PMS_SOSTITUZIONI_DbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_SOSTITUZIONI"); + } + } +} diff --git a/ApiPolo/Models/PMS_dbcontext/PMS_STO_IMP_DbContext.cs b/ApiPolo/Models/PMS_dbcontext/PMS_STO_IMP_DbContext.cs new file mode 100644 index 0000000..641ea08 --- /dev/null +++ b/ApiPolo/Models/PMS_dbcontext/PMS_STO_IMP_DbContext.cs @@ -0,0 +1,23 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.PMS_dbcontext +{ + /// + public class PMS_STO_IMP_DbContext : DbContext + { + /// + public DbSet? StoImp { get; set; } + + /// + public PMS_STO_IMP_DbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_STO_IMP"); + } + } +} diff --git a/ApiPolo/Models/PMS_dbcontext/PMS_STO_RAPP_DbContext.cs b/ApiPolo/Models/PMS_dbcontext/PMS_STO_RAPP_DbContext.cs new file mode 100644 index 0000000..723508f --- /dev/null +++ b/ApiPolo/Models/PMS_dbcontext/PMS_STO_RAPP_DbContext.cs @@ -0,0 +1,23 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.PMS_dbcontext +{ + /// + public class PMS_STO_RAPP_DbContext : DbContext + { + /// + public DbSet? StoRapp { get; set; } + + /// + public PMS_STO_RAPP_DbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_STO_RAPP"); + } + } +} diff --git a/ApiPolo/Models/PMS_dbcontext/PMS_TECNICI_DbContext.cs b/ApiPolo/Models/PMS_dbcontext/PMS_TECNICI_DbContext.cs new file mode 100644 index 0000000..61135cb --- /dev/null +++ b/ApiPolo/Models/PMS_dbcontext/PMS_TECNICI_DbContext.cs @@ -0,0 +1,23 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.PMS_dbcontext +{ + /// + public class PMS_TECNICI_DbContext : DbContext + { + /// + public DbSet? Tecnici { get; set; } + + /// + public PMS_TECNICI_DbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_TECNICI"); + } + } +} diff --git a/ApiPolo/Models/PMS_dbcontext/PMS_TIMBRATURE_DbContext.cs b/ApiPolo/Models/PMS_dbcontext/PMS_TIMBRATURE_DbContext.cs new file mode 100644 index 0000000..f95f433 --- /dev/null +++ b/ApiPolo/Models/PMS_dbcontext/PMS_TIMBRATURE_DbContext.cs @@ -0,0 +1,23 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.PMS_dbcontext +{ + /// + public class PMS_TIMBRATURE_DbContext : DbContext + { + /// + public DbSet? Timbr { get; set; } + + /// + public PMS_TIMBRATURE_DbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("TIMBRATURE"); + } + } +} diff --git a/ApiPolo/Models/PMS_dbcontext/PMS_VT_ANAG_DbContext.cs b/ApiPolo/Models/PMS_dbcontext/PMS_VT_ANAG_DbContext.cs new file mode 100644 index 0000000..2b37eb9 --- /dev/null +++ b/ApiPolo/Models/PMS_dbcontext/PMS_VT_ANAG_DbContext.cs @@ -0,0 +1,25 @@ +using Microsoft.EntityFrameworkCore; +namespace ApiPolo.Models.PMS_dbcontext +{ + /// + public class PMS_VT_ANAG_DbContext : DbContext + { + /// + public DbSet? Anagtable { get; set; } + + /// + public PMS_VT_ANAG_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("PMS00CONTI"); + modelBuilder.Entity().HasKey(table => new + { + table.antipcon, + table.ancodice + }); + } + } +} diff --git a/ApiPolo/Models/PMS_dbcontext/PMS_VT_CHIUSURE_DbContext.cs b/ApiPolo/Models/PMS_dbcontext/PMS_VT_CHIUSURE_DbContext.cs new file mode 100644 index 0000000..5cb3cff --- /dev/null +++ b/ApiPolo/Models/PMS_dbcontext/PMS_VT_CHIUSURE_DbContext.cs @@ -0,0 +1,27 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.PMS_dbcontext +{ + /// + public class PMS_VT_CHIUSURE_DbContext : DbContext + { + /// + public DbSet? Chiutable { get; set; } + + /// + public PMS_VT_CHIUSURE_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("CCHIUSA"); + modelBuilder.Entity().HasKey(table => new + { + table.cccodazi, + table.cccodice + }); + } + } +} diff --git a/ApiPolo/Models/PMS_dbcontext/PMS_VT_IMPIANTI_DbContext.cs b/ApiPolo/Models/PMS_dbcontext/PMS_VT_IMPIANTI_DbContext.cs new file mode 100644 index 0000000..ab8d189 --- /dev/null +++ b/ApiPolo/Models/PMS_dbcontext/PMS_VT_IMPIANTI_DbContext.cs @@ -0,0 +1,27 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.PMS_dbcontext +{ + /// + public class PMS_VT_IMPIANTI_DbContext : DbContext + { + /// + public DbSet? Imptable { get; set; } + + /// + public PMS_VT_IMPIANTI_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("MIMPIANTI"); + modelBuilder.Entity().HasKey(table => new + { + table.imcodazi, + table.imcodimp + }); + } + } +} diff --git a/ApiPolo/Models/PMS_dbcontext/PMS_VT_TECNICI_DbContext.cs b/ApiPolo/Models/PMS_dbcontext/PMS_VT_TECNICI_DbContext.cs new file mode 100644 index 0000000..d5b9090 --- /dev/null +++ b/ApiPolo/Models/PMS_dbcontext/PMS_VT_TECNICI_DbContext.cs @@ -0,0 +1,27 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.PMS_dbcontext +{ + /// + public class PMS_VT_TECNICI_DbContext : DbContext + { + /// + public DbSet? Tectable { get; set; } + + /// + public PMS_VT_TECNICI_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("TECNICI"); + modelBuilder.Entity().HasKey(table => new + { + table.tccodazi, + table.tccodice + }); + } + } +} diff --git a/ApiPolo/Models/Pagam.cs b/ApiPolo/Models/Pagam.cs new file mode 100644 index 0000000..eb89459 --- /dev/null +++ b/ApiPolo/Models/Pagam.cs @@ -0,0 +1,17 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models +{ + /// + /// Causali pagamento + /// + [Keyless] + public class Pagam + { + /// codice pagamento + public string? pacodice { get; set; } + + /// descrizione pagamento + public string? padescri { get; set; } + } +} diff --git a/ApiPolo/Models/Prese.cs b/ApiPolo/Models/Prese.cs new file mode 100644 index 0000000..5bd28f9 --- /dev/null +++ b/ApiPolo/Models/Prese.cs @@ -0,0 +1,38 @@ +using System.ComponentModel.DataAnnotations; + +namespace ApiPolo.Models +{ + /// + /// Tabella PRESA + /// + public class Prese + { + /// Azienda + [Key] + public string? picodazi { get; set; } + + /// Impianto + [Key] + public string? pimpianto { get; set; } + + /// Codice intervento QUI=? SEM=SEMESTRALE + [Key] + public string? picodint { get; set; } + + /// Tecnico + public string? picodtec { get; set; } + + /// data della manutenzione + [Key] + public DateTime? pidatman { get; set; } + + /// Zona manutenzione + public string? pizona { get; set; } + + /// check presa + public string? pichkpre { get; set; } + + /// cpccchk + public string? cpccchk { get; set; } + } +} diff --git a/ApiPolo/Models/Prog.cs b/ApiPolo/Models/Prog.cs new file mode 100644 index 0000000..3087805 --- /dev/null +++ b/ApiPolo/Models/Prog.cs @@ -0,0 +1,25 @@ +using System.ComponentModel.DataAnnotations; + +namespace ApiPolo.Models +{ + /// + public class Prog + { + /// + [Key] + public string? tablecode { get; set; } + + /// + [Key] + public string? warncode { get; set; } + + /// + public double? autonum { get; set; } + + /// + public string? cpccchk { get; set; } + + /// + public string? autonum_name { get; set; } + } +} diff --git a/ApiPolo/Models/Prog2.cs b/ApiPolo/Models/Prog2.cs new file mode 100644 index 0000000..a78066b --- /dev/null +++ b/ApiPolo/Models/Prog2.cs @@ -0,0 +1,28 @@ +using Microsoft.EntityFrameworkCore.Metadata.Internal; +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; + +namespace ApiPolo.Models +{ + /// + public class Prog2 + { + /// + [Key] + public string? tablecode { get; set; } + + /// + [Key] + public string? warncode { get; set; } + + /// + [Column(TypeName = "decimal(15, 0)")] /// + public decimal? autonum { get; set; } + + /// + public string? cpccchk { get; set; } + + /// + public string? autonum_name { get; set; } + } +} diff --git a/ApiPolo/Models/Prog_out.cs b/ApiPolo/Models/Prog_out.cs new file mode 100644 index 0000000..40543ae --- /dev/null +++ b/ApiPolo/Models/Prog_out.cs @@ -0,0 +1,33 @@ + +namespace ApiPolo.Models +{ + /// + public class Prog_out + { + /// + public string? tablecode { get; set; } + + /// + public string? warncode { get; set; } + + /// + public float? autonum { get; set; } + + /// + public string? cpccchk { get; set; } + + /// + public string? autonum_name { get; set; } + + + + /// errore titolo + public string? err_title { get; set; } + + /// errore dettaglio + public string? err_detail { get; set; } + + /// errore status code (200, 500) + public string? err_status_code { get; set; } + } +} diff --git a/ApiPolo/Models/Progressivo.cs b/ApiPolo/Models/Progressivo.cs new file mode 100644 index 0000000..4073468 --- /dev/null +++ b/ApiPolo/Models/Progressivo.cs @@ -0,0 +1,19 @@ +using System.ComponentModel.DataAnnotations; + +namespace ApiPolo.Models +{ + /// tabella progressivi + public class Progressivo + { + /// Azienda + [Key] + public string? azienda { get; set; } + + /// stringa definisce il tipo di progressivo da gestire + [Key] + public string? tipo_prog { get; set; } + + /// valore progressivo + public int? val_prog { get; set; } + } +} diff --git a/ApiPolo/Models/Progressivo_out.cs b/ApiPolo/Models/Progressivo_out.cs new file mode 100644 index 0000000..e3490c5 --- /dev/null +++ b/ApiPolo/Models/Progressivo_out.cs @@ -0,0 +1,26 @@ +using System.ComponentModel.DataAnnotations; + +namespace ApiPolo.Models +{ + public class Progressivo_out + { + /// Azienda + public string? azienda { get; set; } + + /// stringa definisce il tipo di progressivo da gestire + public string? tipo_prog { get; set; } + + /// valore progressivo + public int? val_prog { get; set; } + + + /// errore titolo + public string? err_title { get; set; } + + /// errore dettaglio + public string? err_detail { get; set; } + + /// errore status code (200, 500) + public string? err_status_code { get; set; } + } +} diff --git a/ApiPolo/Models/Rapp_New.cs b/ApiPolo/Models/Rapp_New.cs new file mode 100644 index 0000000..2a2a8a3 --- /dev/null +++ b/ApiPolo/Models/Rapp_New.cs @@ -0,0 +1,286 @@ +using System.ComponentModel.DataAnnotations; + +namespace ApiPolo.Models +{ + /// Rapp_New + public class Rapp_New + { + /// + /// Seriale rapportini + /// + [Key] + public string? seriale_rapportino { get; set; } + + /// + /// Tipo rapportini + /// + public string? tipo_rapportino { get; set; } + + /// + /// Azienda + /// + public string? azienda_impianto { get; set; } + + /// + /// Codice Impianto + /// + public string? codice_impianto { get; set; } + + /// + /// Azienda su cui è la chiamata + /// + public string? azienda_chiamata { get; set; } + + /// + /// Seriale chiamata + /// + public string? seriale_chiamata { get; set; } + + /// + /// Seriale chiamata + /// + public string? seriale_commessa { get; set; } + + /// + /// Data rapportino + /// + public DateTime? data_rapportino { get; set; } + + /// + /// Ora inizio + /// + public string? ora_ini_rapportino { get; set; } + + /// + /// minuto inizio + /// + public string? min_ini_rapportino { get; set; } + + /// + /// Ora fine + /// + public string? ora_fin_rapportino { get; set; } + + /// + /// Minuto fine + /// + public string? min_fin_rapportino { get; set; } + + /// + /// codice chiusura + /// + public string? codice_chiusura_1 { get; set; } + + /// + /// codice chiusura + /// + public string? codice_chiusura_2 { get; set; } + + /// + /// codice chiusura + /// + public string? codice_chiusura_3 { get; set; } + + /// + /// codice chiusura + /// + public string? codice_chiusura_4 { get; set; } + + /// + /// codice chiusura + /// + public string? codice_chiusura_5 { get; set; } + + /// + /// codice chiusura + /// + public string? codice_chiusura_6 { get; set; } + + /// + /// codice chiusura + /// + public string? codice_chiusura_7 { get; set; } + + /// + /// codice chiusura + /// + public string? codice_chiusura_8 { get; set; } + + /// + /// codice chiusura + /// + public string? codice_chiusura_9 { get; set; } + + /// + /// codice chiusura + /// + public string? codice_chiusura_10 { get; set; } + + /// + /// descrizione intervento + /// + public string? descrizione_intervento { get; set; } + + /// + /// stato + /// + public string? stato_finale { get; set; } + + /// + /// generato + /// + public string? generato { get; set; } + + /// + /// azienda tecnico + /// + public string? azienda_tecnico { get; set; } + + /// + /// codice tecnico + /// + public string? codice_tecnico { get; set; } + + /// + /// flag rifiutata + /// + public string? rifiutata { get; set; } + + /// + /// nminativo firma + /// + public string? firma { get; set; } + + /// + /// flag stato In Carico + /// + public string? incarico { get; set; } + + /// + /// data validità + /// + public DateTime? data_validita { get; set; } + + /// + /// pathg immagine buono o firma + /// + public string? immagine { get; set; } + + /// + /// seriale del buono + /// + public string? ser_buono { get; set; } + + /// + /// data/ora effettiva del lavoro (nel caso dispositivo offline) + /// + public DateTime? data_effettiva { get; set; } + /* + public string? CODICE_GIRO { get; set; } + public string? CODICE_INTERVENTO { get; set; } + */ + + /// + /// codice_intervento (valido per manutenzioni. Esempio: SEM=semestrale) + /// + public string? codice_intervento { get; set; } + + + //Zucchetti sicila + //DIFETTI_RISCONTRATI, LAVORO_ESEGUITO, ESITO_INTERVENTO,NOTE_ESITO, NOTE_INTERVENTO,NUOVO_CONTRATTO, ORE_LAVORO, CAUSALE, MATERIALE, DIRITTO_CHIAMATA, MANODOPERA, SPESE_VIAGGIO, + //PAGAMENTO, ANTICIPO, TOTALE, NOTE_PAGAMENTO, TIPO_INTERVENTO, RAFOTO1, RAFOTO2, RAFOTO3, RAFOTO4, RAFOTO5, RAFOTO6, RAFOTO7, RAFOTO8, RAFOTO9, RAFOTO10, + + /// + public string? difetti_riscontrati { get; set; } + + /// + public string? lavoro_eseguito { get; set; } + + /// + public string? esito_intervento { get; set; } + + /// + public string? note_intervento { get; set; } + + /// + public string? note_esito { get; set; } + + /// + public string? nuovo_contratto { get; set; } + + /// + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(7, 2)")] + public decimal? ore_lavoro { get; set; } + + //public int? ore_lavoro { get; set; } + + /// + public string? causale { get; set; } + + /// + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(7, 2)")] + public decimal? materiale { get; set; } + + /// + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(7, 2)")] + public decimal? diritto_chiamata { get; set; } + + /// + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(7, 2)")] + public decimal? manodopera { get; set; } + + /// + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(7, 2)")] + public decimal? spese_viaggio { get; set; } + + /// + public string? pagamento { get; set; } + + /// + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(7, 2)")] + public decimal? anticipo { get; set; } + + /// + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(9, 2)")] + public decimal? totale { get; set; } + + /// + public string? note_pagamento { get; set; } + + /// + public string? tipo_intervento { get; set; } + + /// + public string? rafoto1 { get; set; } + + /// + public string? rafoto2 { get; set; } + + /// + public string? rafoto3 { get; set; } + + /// + public string? rafoto4 { get; set; } + + /// + public string? rafoto5 { get; set; } + + /// + public string? rafoto6 { get; set; } + + /// + public string? rafoto7 { get; set; } + + /// + public string? rafoto8 { get; set; } + + /// + public string? rafoto9 { get; set; } + + /// + public string? rafoto10 { get; set; } + + + + } +} diff --git a/ApiPolo/Models/Rapp_New_View.cs b/ApiPolo/Models/Rapp_New_View.cs new file mode 100644 index 0000000..05cda46 --- /dev/null +++ b/ApiPolo/Models/Rapp_New_View.cs @@ -0,0 +1,286 @@ +using Microsoft.EntityFrameworkCore; +using System.ComponentModel.DataAnnotations; + +namespace ApiPolo.Models +{ + /// Vista Rapp_New + [Keyless] + public class Rapp_New_View + { + /// Seriale rapportini + public string? seriale_rapportino { get; set; } + + /// + /// Tipo rapportini + /// + public string? tipo_rapportino { get; set; } + + /// + /// Azienda + /// + public string? azienda_impianto { get; set; } + + /// + /// Codice Impianto + /// + public string? codice_impianto { get; set; } + + /// + /// Azienda su cui è la chiamata + /// + public string? azienda_chiamata { get; set; } + + /// + /// Seriale chiamata + /// + public string? seriale_chiamata { get; set; } + + /// + /// Seriale chiamata + /// + public string? seriale_commessa { get; set; } + + /// + /// Data rapportino + /// + public DateTime? data_rapportino { get; set; } + + /// + /// Ora inizio + /// + public string? ora_ini_rapportino { get; set; } + + /// + /// minuto inizio + /// + public string? min_ini_rapportino { get; set; } + + /// + /// Ora fine + /// + public string? ora_fin_rapportino { get; set; } + + /// + /// Minuto fine + /// + public string? min_fin_rapportino { get; set; } + + /// + /// codice chiusura + /// + public string? codice_chiusura_1 { get; set; } + + /// + /// codice chiusura + /// + public string? codice_chiusura_2 { get; set; } + + /// + /// codice chiusura + /// + public string? codice_chiusura_3 { get; set; } + + /// + /// codice chiusura + /// + public string? codice_chiusura_4 { get; set; } + + /// + /// codice chiusura + /// + public string? codice_chiusura_5 { get; set; } + + /// + /// codice chiusura + /// + public string? codice_chiusura_6 { get; set; } + + /// + /// codice chiusura + /// + public string? codice_chiusura_7 { get; set; } + + /// + /// codice chiusura + /// + public string? codice_chiusura_8 { get; set; } + + /// + /// codice chiusura + /// + public string? codice_chiusura_9 { get; set; } + + /// + /// codice chiusura + /// + public string? codice_chiusura_10 { get; set; } + + /// + /// descrizione intervento + /// + public string? descrizione_intervento { get; set; } + + /// + /// stato + /// + public string? stato_finale { get; set; } + + /// + /// generato + /// + public string? generato { get; set; } + + /// + /// azienda tecnico + /// + public string? azienda_tecnico { get; set; } + + /// + /// codice tecnico + /// + public string? codice_tecnico { get; set; } + + /// + /// flag rifiutata + /// + public string? rifiutata { get; set; } + + /// + /// nminativo firma + /// + public string? firma { get; set; } + + /// + /// flag stato In Carico + /// + public string? incarico { get; set; } + + /// + /// data validità + /// + public DateTime? data_validita { get; set; } + + /// + /// pathg immagine buono o firma + /// + public string? immagine { get; set; } + + /// + /// seriale del buono + /// + public string? ser_buono { get; set; } + + /// + /// data/ora effettiva del lavoro (nel caso dispositivo offline) + /// + public DateTime? data_effettiva { get; set; } + /* + public string? CODICE_GIRO { get; set; } + public string? CODICE_INTERVENTO { get; set; } + */ + + /// + /// codice_intervento (valido per manutenzioni. Esempio: SEM=semestrale) + /// + public string? codice_intervento { get; set; } + + + //Zucchetti sicila + //DIFETTI_RISCONTRATI, LAVORO_ESEGUITO, ESITO_INTERVENTO,NOTE_ESITO, NOTE_INTERVENTO,NUOVO_CONTRATTO, ORE_LAVORO, CAUSALE, MATERIALE, DIRITTO_CHIAMATA, MANODOPERA, SPESE_VIAGGIO, + //PAGAMENTO, ANTICIPO, TOTALE, NOTE_PAGAMENTO, TIPO_INTERVENTO, RAFOTO1, RAFOTO2, RAFOTO3, RAFOTO4, RAFOTO5, RAFOTO6, RAFOTO7, RAFOTO8, RAFOTO9, RAFOTO10, + + /// + public string? difetti_riscontrati { get; set; } + + /// + public string? lavoro_eseguito { get; set; } + + /// + public string? esito_intervento { get; set; } + + /// + public string? note_intervento { get; set; } + + /// + public string? note_esito { get; set; } + + /// + public string? nuovo_contratto { get; set; } + + /// + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(7, 2)")] + public decimal? ore_lavoro { get; set; } + + //public int? ore_lavoro { get; set; } + + /// + public string? causale { get; set; } + + /// + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(7, 2)")] + public decimal? materiale { get; set; } + + /// + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(7, 2)")] + public decimal? diritto_chiamata { get; set; } + + /// + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(7, 2)")] + public decimal? manodopera { get; set; } + + /// + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(7, 2)")] + public decimal? spese_viaggio { get; set; } + + /// + public string? pagamento { get; set; } + + /// + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(7, 2)")] + public decimal? anticipo { get; set; } + + /// + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(9, 2)")] + public decimal? totale { get; set; } + + /// + public string? note_pagamento { get; set; } + + /// + public string? tipo_intervento { get; set; } + + /// + public string? rafoto1 { get; set; } + + /// + public string? rafoto2 { get; set; } + + /// + public string? rafoto3 { get; set; } + + /// + public string? rafoto4 { get; set; } + + /// + public string? rafoto5 { get; set; } + + /// + public string? rafoto6 { get; set; } + + /// + public string? rafoto7 { get; set; } + + /// + public string? rafoto8 { get; set; } + + /// + public string? rafoto9 { get; set; } + + /// + public string? rafoto10 { get; set; } + + /// + public byte[]? img2 { get; set; } + + } +} diff --git a/ApiPolo/Models/Rappmast.cs b/ApiPolo/Models/Rappmast.cs new file mode 100644 index 0000000..e24d427 --- /dev/null +++ b/ApiPolo/Models/Rappmast.cs @@ -0,0 +1,515 @@ +using System.ComponentModel.DataAnnotations; + +namespace ApiPolo.Models +{ + /// Rappmast: storico interventi per tecnico + public class Rappmast + { + //raserial, racaurap, raaziimp, racodimp, racodlav, rafaslav, ratipcli, racodcli, racontma, racodver, raazichi, racodchi, racodese, rasergir, raintgir, ranumrap, raalfrap, + //radatrap, raflafat, raflfatt, rautefat, radatfat, racodpag, raazite1, racodte1, raazite2, racodte2, raazite3, racodte3, ranumtec, raorefat, raggfatt, raimpuni, raserint, + //raimptot, radescri, radessup, raserfis, radesfis, raimpfis, rakmvia, raservia, radesvia, raimpuvi, ratotvia, radesmat, rasupmat, raimpmat, radesint, ranotint, rarifcli, ralisrif, + + //racencos, racodcom, racodzon, raseratt, raserpas, radatvis, rastato, ratipint, ramodfat, rascorp, ralcorp, raimpcor, rariclis, radecor, radscor, raflnume, raumvia, raumass, + //cpccchk, raflbloc, raperman, raimpman, raimpmtc, utcc, utcv, utdc, utdv, rascorap, raorefata, raimpunia, raserinta, raimptota, radescria, rastrass, rastrfis, rastrvia, rastrima, + //rastrimv, rastrimf, rastrorf, rastrimat, rastrimvt, rastrda, rastrdf, rastrdv, ranotass, ranotfis, ranotvia, ranotima, ranotimv, ranotimf, ranotorf, ranotimat, ranotimvt, + // ranotda, ranotdf, ranotdv, rafesass, rafesfis, rafesvia, rafesima, rafesimv, rafesimf, rafesorf, rafesimat, rafesimvt, rafesda, rafesdf, rafesdv, raimpuvi2, ratotvia2, raumvia2, + //rakmvia2, racodinte, ranrordi, rastrorfa, ranotorfa, rafesorfa, rastrimaa, ranotimaa, rafesimaa, rastrassa, rastrdaa, ranotassa, ranotdaa, rafesassa, rafesdaa, rastrimata, + // ranotimata, rafesimata, rperiodo, ranumpas, raimppas, raimp_od, raflfoor, piforimp + + /// Seriale rapportini + [Key] + public string? raserial { get; set; } + + /// Causale + public string? racaurap { get; set; } + + /// Azienda + public string? raaziimp { get; set; } + + /// Impianto + public string? racodimp { get; set; } + + /// Lavoro + public string? racodlav { get; set; } + + /// fase Lavoro + public int? rafaslav { get; set; } + + /// tipo cliente + public string? ratipcli { get; set; } + + /// codice cliente + public string? racodcli { get; set; } + + /// contratto manutenzione + public string? racontma { get; set; } + + /// verbale + public string? racodver { get; set; } + + /// azienda chiamata + public string? raazichi { get; set; } + + /// chiamata + public string? racodchi { get; set; } + + /// esercizio + public string? racodese { get; set; } + + /// codice giro + public string? rasergir { get; set; } + + /// intervento giro + public string? raintgir { get; set; } + + /// numero rapportino + public int? ranumrap { get; set; } + + /// serie rapportino + public string? raalfrap { get; set; } + + + // , , , , , , , , , , + /// data rapportino + public DateTime? radatrap { get; set; } + + /// flag da fatturare + public string? raflafat { get; set; } + + /// flag fatturabile + public string? raflfatt { get; set; } + + /// utente fatturabile + public int? rautefat { get; set; } + + /// data fatturabilità + public DateTime? radatfat { get; set; } + + /// codice pagamento + public string? racodpag { get; set; } + + /// azienda tecnico 1 + public string? raazite1 { get; set; } + + /// tecnico 1 + public string? racodte1 { get; set; } + + /// azienda tecnico 2 + public string? raazite2 { get; set; } + + /// tecnico 2 + public string? racodte2 { get; set; } + + /// azienda tecnico 3 + public string? raazite3 { get; set; } + + /// tecnico 3 + public string? racodte3 { get; set; } + + /// tecnici fatturabili + public int? ranumtec { get; set; } + + //11111111111111111111 + + + /// Ore fatturabili + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(7, 4)")] + public decimal? raorefat { get; set; } + + /// giornate fatturabili + public int? raggfatt { get; set; } + + /// Importo unitario + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")] + public decimal? raimpuni { get; set; } + + /// servizio assistenza + public string? raserint { get; set; } + + // , , , , , , , , , , , , , , , , , + + /// Importo totale + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")] + public decimal? raimptot { get; set; } + + /// descrizione + public string? radescri { get; set; } + + /// Note + public string? radessup { get; set; } + + /// Servizio dir. fisso + public string? raserfis { get; set; } + + /// descrizione dir. fisso + public string? radesfis { get; set; } + + /// Importo dir. fisso + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")] + public decimal? raimpfis { get; set; } + + //2222222222222222 + + /// Importo dir. fisso + public int? rakmvia { get; set; } + + /// servizio viaggio + public string? raservia { get; set; } + + /// descrizione viaggio + public string? radesvia { get; set; } + + /// Importo viaggio + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")] + public decimal? raimpuvi { get; set; } + + /// Totale viaggio + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")] + public decimal? ratotvia { get; set; } + + /// descrizione meteriale + public string? radesmat { get; set; } + + /// Note meteriale + public string? rasupmat { get; set; } + + /// Importo materiali + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")] + public decimal? raimpmat { get; set; } + + /// Descrizione intervento + public string? radesint { get; set; } + + /// Note intervento + public string? ranotint { get; set; } + + /// Riferimento cliente + public string? rarifcli { get; set; } + + /// Listino costi + public string? ralisrif { get; set; } + + + + //, , , , , , , , , , , , , , , , , , + + /// centro di costo + public string? racencos { get; set; } + + /// commessa + public string? racodcom { get; set; } + + /// Zona analitica + public string? racodzon { get; set; } + + /// Seriale doc attivo + public string? raseratt { get; set; } + + /// Seriale doc passivo + public string? raserpas { get; set; } + + /// Seriale doc passivo + public DateTime? radatvis { get; set; } + + /// Stato rapportino (Controllato S/N) + public string? rastato { get; set; } + + /// Tipo intervento (Reperibile S/N) + public string? ratipint { get; set; } + + /// Modalita fatturazione + public string? ramodfat { get; set; } + + /// Servizio per fatture a corpo + public string? rascorp { get; set; } + + /// Listino per fatture a corpo + public string? ralcorp { get; set; } + + + //44444444444444444444444444444 + + /// Importo servizio a corpo + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")] + public decimal? raimpcor { get; set; } + + /// percentuale ricarico costi materiali + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(6, 2)")] + public decimal? rariclis { get; set; } + + /// descrizione servizio a corpo + public string? radecor { get; set; } + + /// descrizione suppl servizio a corpo + public string? radscor { get; set; } + + /// Numerazione automatica + public string? raflnume { get; set; } + + /// U.M. viaggio + public string? raumvia { get; set; } + + /// U.M. assistenza + public string? raumass { get; set; } + + //, , , , , , , , , , , , , , , , , , + + /// flag assegnazione tecnico da blocchetto + public string? raflbloc { get; set; } + + /// percentuale manodopera + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(6, 2)")] + public decimal? raperman { get; set; } + + /// importo manodopera a corpo + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")] + public decimal? raimpman { get; set; } + + /// importo materiale a corpo + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")] + public decimal? raimpmtc { get; set; } + + + + //cpccchk, , , , , utcc, utcv, utdc, utdv, rascorap, raorefata, raimpunia, raserinta, raimptota, radescria, + + /// Servizio assistenza ore straordinario + public string? rastrass { get; set; } + + /// Servizio dir. fisso ore straordinario + public string? rastrfis { get; set; } + + /// Servizio viaggio straordinario + public string? rastrvia { get; set; } + + /// importo straord assistenza + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")] + public decimal? rastrima { get; set; } + //, , , , + + /// importo straord viaggio + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")] + public decimal? rastrimv { get; set; } + + /// importo straord dir. fisso + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")] + public decimal? rastrimf { get; set; } + + /// ore fatturabili straordinario + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(7, 4)")] + public decimal? rastrorf { get; set; } + + /// importo totale straord assistenza + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")] + public decimal? rastrimat { get; set; } + + /// importo totale straord viaggio + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")] + public decimal? rastrimvt { get; set; } + + /// Desc assistenza straordinario + public string? rastrda { get; set; } + + //66666666666666 + + /// Desc dir. fisso straordinario + public string? rastrdf { get; set; } + + /// Desc viaggio straordinario + public string? rastrdv { get; set; } + + /// Servizio assistenza ore notturno + public string? ranotass { get; set; } + + /// Servizio dir. fisso ore notturno + public string? ranotfis { get; set; } + + /// Servizio viaggio notturno + public string? ranotvia { get; set; } + + /// importo notturno assistenza + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")] + public decimal? ranotima { get; set; } + + /// importo notturno viaggio + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")] + public decimal? ranotimv { get; set; } + + /// importo notturno dir.fisso + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")] + public decimal? ranotimf { get; set; } + + /// Ore fatturabili notturno + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(7, 4)")] + public decimal? ranotorf { get; set; } + + /// importo totale notturno assistenza + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")] + public decimal? ranotimat { get; set; } + + /// importo totale notturno viaggio + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")] + public decimal? ranotimvt { get; set; } + // , , , , , , , , , , , , , , , , , + + ///77777777 + + /// Desc assistenza notturno + public string? ranotda { get; set; } + + /// Desc dir fisso notturno + public string? ranotdf { get; set; } + + /// Desc viaggio notturno + public string? ranotdv { get; set; } + + /// servizio assistenza ore festivo + public string? rafesass { get; set; } + + /// servizio dir. fisso ore festivo + public string? rafesfis { get; set; } + + /// servizio viaggio festivo + public string? rafesvia { get; set; } + + /// importo festivo assistenza + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")] + public decimal? rafesima { get; set; } + + /// importo festivo viaggio + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")] + public decimal? rafesimv { get; set; } + + /// importo festivo dir. fisso + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")] + public decimal? rafesimf { get; set; } + + /// ore fatturabili festivo + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(7, 4)")] + public decimal? rafesorf { get; set; } + + /// importo totale festivo assistenza + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")] + public decimal? rafesimat { get; set; } + + /// importo totale festivo viaggio + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")] + public decimal? rafesimvt { get; set; } + + /// desc assistenza festivo + public string? rafesda { get; set; } + + /// desc dir fisso festivo + public string? rafesdf { get; set; } + + /// desc viaggio festivo + public string? rafesdv { get; set; } + + //888888888888888888888 + + /// importo unitario viaggio 2 + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")] + public decimal? raimpuvi2 { get; set; } + + /// importo totale viaggio 2 + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")] + public decimal? ratotvia2 { get; set; } + + /// U.M. viaggio 2 + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")] + public decimal? raumvia2 { get; set; } + // , , , , , , , , , , , , , , , , , , + + /// Km totali viaggio 2 + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(6, 2)")] + public decimal? rakmvia2 { get; set; } + + /// codice intervento + public string? racodinte { get; set; } + + /// Numero ordine + public string? ranrordi { get; set; } + + /// ore fatturabili starordinario aiutante + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(7, 4)")] + public decimal? rastrorfa { get; set; } + + /// ore fatturabili notturne aiutante + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(7, 4)")] + public decimal? ranotorfa { get; set; } + + /// ore fatturabili festive aiutante + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(7, 4)")] + public decimal? rafesorfa { get; set; } + + /// importo straordinario aiutante + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")] + public decimal? rastrimaa { get; set; } + + /// importo notte aiutante + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")] + public decimal? ranotimaa { get; set; } + + /// importo festivo aiutante + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")] + public decimal? rafesimaa { get; set; } + + /// servizio assistenza straordinario aiutante + public string? rastrassa { get; set; } + + /// descrizione servizio assistenza aiutante + public string? rastrdaa { get; set; } + + /// descrizione servizio notte aiutante + public string? ranotassa { get; set; } + + /// descrizione servizio festivo aiutante + public string? ranotdaa { get; set; } + + /// servizio festivo aiutante + public string? rafesassa { get; set; } + + /// descrizione festivo aiutante + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")] + public decimal? rafesdaa { get; set; } + + /// importo ore straordinario aiutante + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")] + public decimal? rastrimata { get; set; } + + //99999999999999999999999999999999 + + // , , , , , , , , , , , , , , , , + + /// importo ore notturne aiutante + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")] + public decimal? ranotimata { get; set; } + + /// importo ore festive aiutante + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")] + public decimal? rafesimata { get; set; } + + /// periodo + public string? rperiodo { get; set; } + + /// numero pasti + public int? ranumpas { get; set; } + + /// importo pasti + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")] + public decimal? raimppas { get; set; } + + /// + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")] + public decimal? raimp_od { get; set; } + + /// flag forza ore lavoro + public string? raflfoor { get; set; } + + /// flag forza impianto + public string? piforimp { get; set; } + + + // , , , , , , , + } +} diff --git a/ApiPolo/Models/Rapportino.cs b/ApiPolo/Models/Rapportino.cs new file mode 100644 index 0000000..4343733 --- /dev/null +++ b/ApiPolo/Models/Rapportino.cs @@ -0,0 +1,41 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models +{ + /// + /// + [Keyless] + public class Rapportino + { + /// + /// Seriale + /// + public string? seriale_rapportino { get; set; } + + /// + /// Azienda + /// + public string? azienda_impianto { get; set; } + + /// + /// Codice Impianto + /// + public string? codice_impianto { get; set; } + + + /// + /// Seriale chiamata + /// + public string? seriale_chiamata { get; set; } + + /// + /// Seriale chiamata + /// + public string? seriale_commessa { get; set; } + + /// + /// Data rapportino + /// + public DateTime? data_rapportino { get; set; } + } +} diff --git a/ApiPolo/Models/Registrazione.cs b/ApiPolo/Models/Registrazione.cs new file mode 100644 index 0000000..e0a89bb --- /dev/null +++ b/ApiPolo/Models/Registrazione.cs @@ -0,0 +1,55 @@ +using System.ComponentModel.DataAnnotations; + +namespace ApiPolo.Models +{ + /// Form di registrazione + public class Registrazione + { + /// tipo + [Key] + public int Id { get; set; } + + /// Nome + public string? Nome { get; set; } + + /// Cognome + public string? Cognome { get; set; } + + /// Telefono + public string? Telefono { get; set; } + + /// Cellulare + public string? Cellulare { get; set; } + + /// Email + public string? Email { get; set; } + + /// Email di conferma + public string? EmailConf { get; set; } + + /// Azienda + public string? Azienda { get; set; } + + /// Username + public string? Username { get; set; } + + /// Password + public string? Passwd { get; set; } + + /// Città + public string? Citta { get; set; } + + /// Provincia (sigla) + public string? Provincia { get; set; } + + /// Nazione (sigla) + public string? Nazione { get; set; } + + /// Attivato (S/N) + public string? Attivato { get; set; } + + /// Token registrazione + public string? Token { get; set; } + + } +} diff --git a/ApiPolo/Models/Saldiart.cs b/ApiPolo/Models/Saldiart.cs new file mode 100644 index 0000000..a91004b --- /dev/null +++ b/ApiPolo/Models/Saldiart.cs @@ -0,0 +1,73 @@ +using Microsoft.EntityFrameworkCore; +using System.ComponentModel.DataAnnotations.Schema; + +namespace ApiPolo.Models +{ + /// + /// Contiene i campi di SALDIART + /// + [Keyless] + public class Saldiart + { + /// articolo + public string? slcodice { get; set; } + + /// descrizione articolo + public string? ardesart { get; set; } + + /// magazzino + public string? slcodmag { get; set; } + + /// quantita + [Column(TypeName = "decimal(13, 3)")] + public decimal? slqtaper { get; set; } + + /// matricola + public string? amcodice { get; set; } + + /// lotto + public string? locodice { get; set; } + + /// listino + public string? licodlis { get; set; } + + /// articolo del listino + public string? licodart { get; set; } + + /// data validità listino + public DateTime? lidatatt { get; set; } + + /// quantita + [Column(TypeName = "decimal(12, 3)")] + public decimal? liquanti { get; set; } + + /// prezzo + [Column(TypeName = "decimal(18, 5)")] + public decimal? liprezzo { get; set; } + + /// sconto1 + [Column(TypeName = "decimal(6, 2)")] + public decimal? liscont1 { get; set; } + + /// sconto2 + [Column(TypeName = "decimal(6, 2)")] + public decimal? liscont2 { get; set; } + + /// sconto3 + [Column(TypeName = "decimal(6, 2)")] + public decimal? liscont3 { get; set; } + + /// sconto4 + [Column(TypeName = "decimal(6, 2)")] + public decimal? liscont4 { get; set; } + + /// articolo gestito a matricole(S/N) + public string? gest_matr { get; set; } + + /// articolo gestito a lotti (S e C=si, N=no) + public string? gest_lotti { get; set; } + + /// descrizione per ogni articolo (se abilitata da configurazioni) + public string? desc_sup { get; set; } + } +} diff --git a/ApiPolo/Models/Sarom_dbcontext/SAROM_CAUS_RAPPDbcontext.cs b/ApiPolo/Models/Sarom_dbcontext/SAROM_CAUS_RAPPDbcontext.cs new file mode 100644 index 0000000..1acc292 --- /dev/null +++ b/ApiPolo/Models/Sarom_dbcontext/SAROM_CAUS_RAPPDbcontext.cs @@ -0,0 +1,22 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Sarom_dbcontext +{ + /// + public class SAROM_CAUS_RAPPDbcontext : DbContext + { + /// + public DbSet? Causali { get; set; } + + /// + public SAROM_CAUS_RAPPDbcontext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_CAUS_RAPP"); + } + } +} diff --git a/ApiPolo/Models/Sarom_dbcontext/SAROM_CHIAMATEDbContext.cs b/ApiPolo/Models/Sarom_dbcontext/SAROM_CHIAMATEDbContext.cs new file mode 100644 index 0000000..79115c0 --- /dev/null +++ b/ApiPolo/Models/Sarom_dbcontext/SAROM_CHIAMATEDbContext.cs @@ -0,0 +1,21 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Sarom_dbcontext +{ + /// SAROM_CHIAMATEDbContext + public class SAROM_CHIAMATEDbContext : DbContext + { + /// SAROM_CHIAMATEDbContext + public DbSet? Chiamate { get; set; } + + /// SAROM_CHIAMATEDbContext + public SAROM_CHIAMATEDbContext(DbContextOptions options) : base(options) + { + } + /// OnModelCreating + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_CHIAMATE"); + } + } +} diff --git a/ApiPolo/Models/Sarom_dbcontext/SAROM_CHIUSUREDbContext.cs b/ApiPolo/Models/Sarom_dbcontext/SAROM_CHIUSUREDbContext.cs new file mode 100644 index 0000000..f271451 --- /dev/null +++ b/ApiPolo/Models/Sarom_dbcontext/SAROM_CHIUSUREDbContext.cs @@ -0,0 +1,21 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Sarom_dbcontext +{ + /// + public class SAROM_CHIUSUREDbContext : DbContext + { + /// Chiusure + public DbSet? Chiusure { get; set; } + + /// + public SAROM_CHIUSUREDbContext(DbContextOptions options) : base(options) + { + } + /// OnModelCreating + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_CHIUSURE"); + } + } +} diff --git a/ApiPolo/Models/Sarom_dbcontext/SAROM_CLIENTIDbContext.cs b/ApiPolo/Models/Sarom_dbcontext/SAROM_CLIENTIDbContext.cs new file mode 100644 index 0000000..0b5acc2 --- /dev/null +++ b/ApiPolo/Models/Sarom_dbcontext/SAROM_CLIENTIDbContext.cs @@ -0,0 +1,21 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Sarom_dbcontext +{ + /// + public class SAROM_CLIENTIDbContext : DbContext + { + /// + public DbSet? Clienti { get; set; } + + /// + public SAROM_CLIENTIDbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_CLIENTI"); + } + } +} diff --git a/ApiPolo/Models/Sarom_dbcontext/SAROM_COMMESSEDbContext.cs b/ApiPolo/Models/Sarom_dbcontext/SAROM_COMMESSEDbContext.cs new file mode 100644 index 0000000..4289071 --- /dev/null +++ b/ApiPolo/Models/Sarom_dbcontext/SAROM_COMMESSEDbContext.cs @@ -0,0 +1,22 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Sarom_dbcontext +{ + /// + public class SAROM_COMMESSEDbContext : DbContext + { + /// + public DbSet? Commesse { get; set; } + + /// + public SAROM_COMMESSEDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_COMMESSE"); + } + } +} diff --git a/ApiPolo/Models/Sarom_dbcontext/SAROM_IMPIANTIDbContext.cs b/ApiPolo/Models/Sarom_dbcontext/SAROM_IMPIANTIDbContext.cs new file mode 100644 index 0000000..ee7c343 --- /dev/null +++ b/ApiPolo/Models/Sarom_dbcontext/SAROM_IMPIANTIDbContext.cs @@ -0,0 +1,22 @@ +using ApiPolo.Models.Ferrari_dbcontext; +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Sarom_dbcontext +{ + /// + public class SAROM_IMPIANTIDbContext : DbContext + { + /// + public DbSet? Impia { get; set; } + + /// + public SAROM_IMPIANTIDbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_IMPIANTI"); + } + } +} diff --git a/ApiPolo/Models/Sarom_dbcontext/SAROM_MAGAZZINIDbContext.cs b/ApiPolo/Models/Sarom_dbcontext/SAROM_MAGAZZINIDbContext.cs new file mode 100644 index 0000000..c38e60e --- /dev/null +++ b/ApiPolo/Models/Sarom_dbcontext/SAROM_MAGAZZINIDbContext.cs @@ -0,0 +1,26 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Sarom_dbcontext +{ + /// + public class SAROM_MAGAZZINIDbContext : DbContext + { + /// + public DbSet? Magaz { get; set; } + + /// + public SAROM_MAGAZZINIDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("SAROMMAGAZZIN"); + modelBuilder.Entity().HasKey(table => new + { + table.mgcodmag + }); + } + } +} diff --git a/ApiPolo/Models/Sarom_dbcontext/SAROM_MANPROG_TECDbContext.cs b/ApiPolo/Models/Sarom_dbcontext/SAROM_MANPROG_TECDbContext.cs new file mode 100644 index 0000000..87c319a --- /dev/null +++ b/ApiPolo/Models/Sarom_dbcontext/SAROM_MANPROG_TECDbContext.cs @@ -0,0 +1,20 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Sarom_dbcontext +{ + /// + public class SAROM_MANPROG_TECDbContext : DbContext + { + /// Manutenzioni + public DbSet? Manutenzioni { get; set; } + /// Manutenzioni + public SAROM_MANPROG_TECDbContext(DbContextOptions options) : base(options) + { + } + /// OnModelCreating + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_MANPROG"); + } + } +} diff --git a/ApiPolo/Models/Sarom_dbcontext/SAROM_PAGAMDbContext.cs b/ApiPolo/Models/Sarom_dbcontext/SAROM_PAGAMDbContext.cs new file mode 100644 index 0000000..43d82cb --- /dev/null +++ b/ApiPolo/Models/Sarom_dbcontext/SAROM_PAGAMDbContext.cs @@ -0,0 +1,22 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Sarom_dbcontext +{ + /// + public class SAROM_PAGAMDbContext : DbContext + { + /// + public DbSet? Pagamenti { get; set; } + + /// + public SAROM_PAGAMDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_PAGAMENTI"); + } + } +} diff --git a/ApiPolo/Models/Sarom_dbcontext/SAROM_PRESEDbContext.cs b/ApiPolo/Models/Sarom_dbcontext/SAROM_PRESEDbContext.cs new file mode 100644 index 0000000..213c772 --- /dev/null +++ b/ApiPolo/Models/Sarom_dbcontext/SAROM_PRESEDbContext.cs @@ -0,0 +1,27 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Sarom_dbcontext +{ + /// + public class SAROM_PRESEDbContext : DbContext + { + /// + public DbSet? Prese { get; set; } + + /// + public SAROM_PRESEDbContext(DbContextOptions options) : base(options) + { + } + /// A + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("PIPRESA"); + modelBuilder.Entity().HasKey(table => new { + table.picodazi, + table.pimpianto, + table.picodint, + table.pidatman + }); + } + } +} diff --git a/ApiPolo/Models/Sarom_dbcontext/SAROM_RAPPORTINIDbContext.cs b/ApiPolo/Models/Sarom_dbcontext/SAROM_RAPPORTINIDbContext.cs new file mode 100644 index 0000000..f8688c4 --- /dev/null +++ b/ApiPolo/Models/Sarom_dbcontext/SAROM_RAPPORTINIDbContext.cs @@ -0,0 +1,21 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Sarom_dbcontext +{ + /// + public class SAROM_RAPPORTINIDbContext : DbContext + { + /// Rapportini + public DbSet? rapp { get; set; } + + /// ConfigurazioniDbContext + public SAROM_RAPPORTINIDbContext(DbContextOptions options) : base(options) + { + } + /// OnModelCreating + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_RAPPORTINI"); + } + } +} diff --git a/ApiPolo/Models/Sarom_dbcontext/SAROM_RAPP_NEWDbContext.cs b/ApiPolo/Models/Sarom_dbcontext/SAROM_RAPP_NEWDbContext.cs new file mode 100644 index 0000000..53ebc53 --- /dev/null +++ b/ApiPolo/Models/Sarom_dbcontext/SAROM_RAPP_NEWDbContext.cs @@ -0,0 +1,20 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Sarom_dbcontext +{ + /// + public class SAROM_RAPP_NEWDbContext : DbContext + { + /// + public DbSet? Rapps { get; set; } + /// + public SAROM_RAPP_NEWDbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("RAPP_NEW"); + } + } +} diff --git a/ApiPolo/Models/Sarom_dbcontext/SAROM_SOSTITUZIONIDbcontext.cs b/ApiPolo/Models/Sarom_dbcontext/SAROM_SOSTITUZIONIDbcontext.cs new file mode 100644 index 0000000..cf5de91 --- /dev/null +++ b/ApiPolo/Models/Sarom_dbcontext/SAROM_SOSTITUZIONIDbcontext.cs @@ -0,0 +1,22 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Sarom_dbcontext +{ + /// + public class SAROM_SOSTITUZIONIDbcontext : DbContext + { + /// + public DbSet? Sost { get; set; } + + /// + public SAROM_SOSTITUZIONIDbcontext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_SOSTITUZIONI"); + } + } +} diff --git a/ApiPolo/Models/Sarom_dbcontext/SAROM_STO_RAPPDbContext.cs b/ApiPolo/Models/Sarom_dbcontext/SAROM_STO_RAPPDbContext.cs new file mode 100644 index 0000000..5fa1852 --- /dev/null +++ b/ApiPolo/Models/Sarom_dbcontext/SAROM_STO_RAPPDbContext.cs @@ -0,0 +1,22 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Sarom_dbcontext +{ + /// + public class SAROM_STO_RAPPDbContext : DbContext + { + /// + public DbSet? StoRapp { get; set; } + + /// + public SAROM_STO_RAPPDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_STO_RAPP"); + } + } +} diff --git a/ApiPolo/Models/Sarom_dbcontext/SAROM_TECNICIDbContext.cs b/ApiPolo/Models/Sarom_dbcontext/SAROM_TECNICIDbContext.cs new file mode 100644 index 0000000..f255f7e --- /dev/null +++ b/ApiPolo/Models/Sarom_dbcontext/SAROM_TECNICIDbContext.cs @@ -0,0 +1,22 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Sarom_dbcontext +{ + /// + public class SAROM_TECNICIDbContext : DbContext + { + /// + public DbSet? Tecnici { get; set; } + + /// + public SAROM_TECNICIDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_TECNICI"); + } + } +} diff --git a/ApiPolo/Models/Sicilia_dbcontext/SICILIA_AZIENDA_RIF_DbContext.cs b/ApiPolo/Models/Sicilia_dbcontext/SICILIA_AZIENDA_RIF_DbContext.cs new file mode 100644 index 0000000..e7e1392 --- /dev/null +++ b/ApiPolo/Models/Sicilia_dbcontext/SICILIA_AZIENDA_RIF_DbContext.cs @@ -0,0 +1,28 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Sicilia_dbcontext +{ + /// + public class SICILIA_AZIENDA_RIF_DbContext: DbContext + { + /// + public DbSet? Azi { get; set; } + + /// + public SICILIA_AZIENDA_RIF_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("PIAZIRIF"); + modelBuilder.Entity().HasKey(table => new + { + table.piazihoc, + table.picodtec, + table.pirifazi + }); + } + } +} diff --git a/ApiPolo/Models/Sicilia_dbcontext/SICILIA_CAUS_RAPPDbContext.cs b/ApiPolo/Models/Sicilia_dbcontext/SICILIA_CAUS_RAPPDbContext.cs new file mode 100644 index 0000000..f4bad5a --- /dev/null +++ b/ApiPolo/Models/Sicilia_dbcontext/SICILIA_CAUS_RAPPDbContext.cs @@ -0,0 +1,22 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Sicilia_dbcontext +{ + /// + public class SICILIA_CAUS_RAPPDbContext:DbContext + { + /// + public DbSet? Causali { get; set; } + + /// + public SICILIA_CAUS_RAPPDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_CAUS_RAPP"); + } + } +} diff --git a/ApiPolo/Models/Sicilia_dbcontext/SICILIA_CHIAMATA_PROG_DbContext.cs b/ApiPolo/Models/Sicilia_dbcontext/SICILIA_CHIAMATA_PROG_DbContext.cs new file mode 100644 index 0000000..cada472 --- /dev/null +++ b/ApiPolo/Models/Sicilia_dbcontext/SICILIA_CHIAMATA_PROG_DbContext.cs @@ -0,0 +1,26 @@ +using ApiPolo.Models.Siet_dbcontext; +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Sicilia_dbcontext +{ + /// + public class SICILIA_CHIAMATA_PROG_DbContext : DbContext + { + /// + public DbSet? Progressivi { get; set; } + + /// + public SICILIA_CHIAMATA_PROG_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("cpwarn"); + modelBuilder.Entity().HasKey(table => new { + table.tablecode, + table.warncode + }); + } + } +} diff --git a/ApiPolo/Models/Sicilia_dbcontext/SICILIA_CHIAMATA_SERIALE_DbContext.cs b/ApiPolo/Models/Sicilia_dbcontext/SICILIA_CHIAMATA_SERIALE_DbContext.cs new file mode 100644 index 0000000..8a33191 --- /dev/null +++ b/ApiPolo/Models/Sicilia_dbcontext/SICILIA_CHIAMATA_SERIALE_DbContext.cs @@ -0,0 +1,25 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Sicilia_dbcontext +{ + /// + public class SICILIA_CHIAMATA_SERIALE_DbContext : DbContext + { + /// + public DbSet? Seriali { get; set; } + + /// + public SICILIA_CHIAMATA_SERIALE_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("LABSEPINUMCHI"); + modelBuilder.Entity().HasKey(table => new { + table.piditta + }); + } + } +} diff --git a/ApiPolo/Models/Sicilia_dbcontext/SICILIA_CHIAMATEDbContext.cs b/ApiPolo/Models/Sicilia_dbcontext/SICILIA_CHIAMATEDbContext.cs new file mode 100644 index 0000000..7c80c44 --- /dev/null +++ b/ApiPolo/Models/Sicilia_dbcontext/SICILIA_CHIAMATEDbContext.cs @@ -0,0 +1,22 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Sicilia_dbcontext +{ + /// + public class SICILIA_CHIAMATEDbContext:DbContext + { + /// + public DbSet? Chiamate { get; set; } + + /// + public SICILIA_CHIAMATEDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_CHIAMATE"); + } + } +} diff --git a/ApiPolo/Models/Sicilia_dbcontext/SICILIA_CHIAMATE_TABLE_DbContext.cs b/ApiPolo/Models/Sicilia_dbcontext/SICILIA_CHIAMATE_TABLE_DbContext.cs new file mode 100644 index 0000000..682c231 --- /dev/null +++ b/ApiPolo/Models/Sicilia_dbcontext/SICILIA_CHIAMATE_TABLE_DbContext.cs @@ -0,0 +1,27 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Sicilia_dbcontext +{ + /// + public class SICILIA_CHIAMATE_TABLE_DbContext : DbContext + { + /// + public DbSet? Chi { get; set; } + + /// + public SICILIA_CHIAMATE_TABLE_DbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("CHIAMATE"); + modelBuilder.Entity().HasKey(table => new { + table.chcodazi, + table.chserial + }); + } + } +} diff --git a/ApiPolo/Models/Sicilia_dbcontext/SICILIA_CHIUSUREDbContext.cs b/ApiPolo/Models/Sicilia_dbcontext/SICILIA_CHIUSUREDbContext.cs new file mode 100644 index 0000000..280449a --- /dev/null +++ b/ApiPolo/Models/Sicilia_dbcontext/SICILIA_CHIUSUREDbContext.cs @@ -0,0 +1,22 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Sicilia_dbcontext +{ + /// + public class SICILIA_CHIUSUREDbContext:DbContext + { + /// + public DbSet? Chiusure { get; set; } + + /// + public SICILIA_CHIUSUREDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_CHIUSURE"); + } + } +} diff --git a/ApiPolo/Models/Sicilia_dbcontext/SICILIA_CLIENTIDbContext.cs b/ApiPolo/Models/Sicilia_dbcontext/SICILIA_CLIENTIDbContext.cs new file mode 100644 index 0000000..ef56c2f --- /dev/null +++ b/ApiPolo/Models/Sicilia_dbcontext/SICILIA_CLIENTIDbContext.cs @@ -0,0 +1,21 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Sicilia_dbcontext +{ + /// + public class SICILIA_CLIENTIDbContext:DbContext + { + /// + public DbSet? Clienti { get; set; } + + /// + public SICILIA_CLIENTIDbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_CLIENTI"); + } + } +} diff --git a/ApiPolo/Models/Sicilia_dbcontext/SICILIA_COMMESSEDbContext.cs b/ApiPolo/Models/Sicilia_dbcontext/SICILIA_COMMESSEDbContext.cs new file mode 100644 index 0000000..6d8da05 --- /dev/null +++ b/ApiPolo/Models/Sicilia_dbcontext/SICILIA_COMMESSEDbContext.cs @@ -0,0 +1,22 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Sicilia_dbcontext +{ + /// + public class SICILIA_COMMESSEDbContext : DbContext + { + /// + public DbSet? Commesse { get; set; } + + /// + public SICILIA_COMMESSEDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_COMMESSE"); + } + } +} diff --git a/ApiPolo/Models/Sicilia_dbcontext/SICILIA_COMPO_IMPIADbContext.cs b/ApiPolo/Models/Sicilia_dbcontext/SICILIA_COMPO_IMPIADbContext.cs new file mode 100644 index 0000000..737ebc9 --- /dev/null +++ b/ApiPolo/Models/Sicilia_dbcontext/SICILIA_COMPO_IMPIADbContext.cs @@ -0,0 +1,26 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Sicilia_dbcontext +{ + /// + public class SICILIA_COMPO_IMPIADbContext:DbContext + { + /// + public DbSet? Componen { get; set; } + + /// + public SICILIA_COMPO_IMPIADbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_MICOMIMP"); + //modelBuilder.Entity().HasKey(table => new { + // table.cocodimp, + // table.cprownum, + // table.cocodazi + //}); + } + } +} diff --git a/ApiPolo/Models/Sicilia_dbcontext/SICILIA_COMPO_IMPIA_TABLEDbContext.cs b/ApiPolo/Models/Sicilia_dbcontext/SICILIA_COMPO_IMPIA_TABLEDbContext.cs new file mode 100644 index 0000000..7647dc3 --- /dev/null +++ b/ApiPolo/Models/Sicilia_dbcontext/SICILIA_COMPO_IMPIA_TABLEDbContext.cs @@ -0,0 +1,27 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Sicilia_dbcontext +{ + /// + public class SICILIA_COMPO_IMPIA_TABLEDbContext:DbContext + { + /// + public DbSet? Componen { get; set; } + + /// + public SICILIA_COMPO_IMPIA_TABLEDbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("LABSEMICOMIMP"); + modelBuilder.Entity().HasKey(table => new + { + table.cocodimp, + table.cprownum, + table.cocodazi + }); + } + } +} diff --git a/ApiPolo/Models/Sicilia_dbcontext/SICILIA_CPWARN_DbContext.cs b/ApiPolo/Models/Sicilia_dbcontext/SICILIA_CPWARN_DbContext.cs new file mode 100644 index 0000000..3957cdb --- /dev/null +++ b/ApiPolo/Models/Sicilia_dbcontext/SICILIA_CPWARN_DbContext.cs @@ -0,0 +1,25 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Sicilia_dbcontext +{ + /// + public class SICILIA_CPWARN_DbContext : DbContext + { + /// + public DbSet? Progressivi { get; set; } + + /// + public SICILIA_CPWARN_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("cpwarn"); + modelBuilder.Entity().HasKey(table => new { + table.tablecode, + table.warncode + }); + } + } +} diff --git a/ApiPolo/Models/Sicilia_dbcontext/SICILIA_IMPIANTIDbContext.cs b/ApiPolo/Models/Sicilia_dbcontext/SICILIA_IMPIANTIDbContext.cs new file mode 100644 index 0000000..79967cb --- /dev/null +++ b/ApiPolo/Models/Sicilia_dbcontext/SICILIA_IMPIANTIDbContext.cs @@ -0,0 +1,21 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Sicilia_dbcontext +{ + /// + public class SICILIA_IMPIANTIDbContext : DbContext + { + /// + public DbSet? Impia { get; set; } + + /// + public SICILIA_IMPIANTIDbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_IMPIANTI"); + } + } +} diff --git a/ApiPolo/Models/Sicilia_dbcontext/SICILIA_MAGAZZINIDbContext.cs b/ApiPolo/Models/Sicilia_dbcontext/SICILIA_MAGAZZINIDbContext.cs new file mode 100644 index 0000000..4b657c9 --- /dev/null +++ b/ApiPolo/Models/Sicilia_dbcontext/SICILIA_MAGAZZINIDbContext.cs @@ -0,0 +1,26 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Sicilia_dbcontext +{ + /// + public class SICILIA_MAGAZZINIDbContext: DbContext + { + /// + public DbSet? Magaz { get; set; } + + /// + public SICILIA_MAGAZZINIDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("LABSEMAGAZZIN"); + modelBuilder.Entity().HasKey(table => new + { + table.mgcodmag + }); + } + } +} diff --git a/ApiPolo/Models/Sicilia_dbcontext/SICILIA_MAG_NEWDbContext.cs b/ApiPolo/Models/Sicilia_dbcontext/SICILIA_MAG_NEWDbContext.cs new file mode 100644 index 0000000..39fb7fb --- /dev/null +++ b/ApiPolo/Models/Sicilia_dbcontext/SICILIA_MAG_NEWDbContext.cs @@ -0,0 +1,27 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Sicilia_dbcontext +{ + /// + public class SICILIA_MAG_NEWDbContext:DbContext + { + /// + public DbSet? Mag { get; set; } + + /// + public SICILIA_MAG_NEWDbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("LABSEMAG_NEW"); + modelBuilder.Entity().HasKey(table => new + { + table.seriale_rapportino, + table.riga + + }); + } + } +} diff --git a/ApiPolo/Models/Sicilia_dbcontext/SICILIA_MANPROG_TECDbContext.cs b/ApiPolo/Models/Sicilia_dbcontext/SICILIA_MANPROG_TECDbContext.cs new file mode 100644 index 0000000..0e23225 --- /dev/null +++ b/ApiPolo/Models/Sicilia_dbcontext/SICILIA_MANPROG_TECDbContext.cs @@ -0,0 +1,22 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Sicilia_dbcontext +{ + /// + public class SICILIA_MANPROG_TECDbContext:DbContext + { + /// + public DbSet? Manutenzioni { get; set; } + + /// + public SICILIA_MANPROG_TECDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_MANPROG"); + } + } +} diff --git a/ApiPolo/Models/Sicilia_dbcontext/SICILIA_PAGAMDbContext.cs b/ApiPolo/Models/Sicilia_dbcontext/SICILIA_PAGAMDbContext.cs new file mode 100644 index 0000000..12d1984 --- /dev/null +++ b/ApiPolo/Models/Sicilia_dbcontext/SICILIA_PAGAMDbContext.cs @@ -0,0 +1,22 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Sicilia_dbcontext +{ + /// + public class SICILIA_PAGAMDbContext:DbContext + { + /// + public DbSet? Pagamenti { get; set; } + + /// + public SICILIA_PAGAMDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_PAGAMENTI"); + } + } +} diff --git a/ApiPolo/Models/Sicilia_dbcontext/SICILIA_PRESEDbContext.cs b/ApiPolo/Models/Sicilia_dbcontext/SICILIA_PRESEDbContext.cs new file mode 100644 index 0000000..a68b9dd --- /dev/null +++ b/ApiPolo/Models/Sicilia_dbcontext/SICILIA_PRESEDbContext.cs @@ -0,0 +1,27 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Sicilia_dbcontext +{ + /// + public class SICILIA_PRESEDbContext:DbContext + { + /// + public DbSet? Prese { get; set; } + + /// + public SICILIA_PRESEDbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("PRESA"); + modelBuilder.Entity().HasKey(table => new { + table.picodazi, + table.pimpianto, + table.picodint, + table.pidatman + }); + } + } +} diff --git a/ApiPolo/Models/Sicilia_dbcontext/SICILIA_RAPPORTINIDbContext.cs b/ApiPolo/Models/Sicilia_dbcontext/SICILIA_RAPPORTINIDbContext.cs new file mode 100644 index 0000000..d1a7805 --- /dev/null +++ b/ApiPolo/Models/Sicilia_dbcontext/SICILIA_RAPPORTINIDbContext.cs @@ -0,0 +1,21 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Sicilia_dbcontext +{ + /// + public class SICILIA_RAPPORTINIDbContext : DbContext + { + /// Rapportini + public DbSet? rapp { get; set; } + + /// ConfigurazioniDbContext + public SICILIA_RAPPORTINIDbContext(DbContextOptions options) : base(options) + { + } + /// OnModelCreating + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_RAPPORTINI"); + } + } +} diff --git a/ApiPolo/Models/Sicilia_dbcontext/SICILIA_RAPP_NEWDbContext.cs b/ApiPolo/Models/Sicilia_dbcontext/SICILIA_RAPP_NEWDbContext.cs new file mode 100644 index 0000000..81442aa --- /dev/null +++ b/ApiPolo/Models/Sicilia_dbcontext/SICILIA_RAPP_NEWDbContext.cs @@ -0,0 +1,22 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Sicilia_dbcontext +{ + /// + public class SICILIA_RAPP_NEWDbContext:DbContext + { + /// + public DbSet? Rapps { get; set; } + + /// + public SICILIA_RAPP_NEWDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("RAPP_NEW"); + } + } +} diff --git a/ApiPolo/Models/Sicilia_dbcontext/SICILIA_SALDIARTDbContext.cs b/ApiPolo/Models/Sicilia_dbcontext/SICILIA_SALDIARTDbContext.cs new file mode 100644 index 0000000..8701c4e --- /dev/null +++ b/ApiPolo/Models/Sicilia_dbcontext/SICILIA_SALDIARTDbContext.cs @@ -0,0 +1,21 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Sicilia_dbcontext +{ + /// + public class SICILIA_SALDIARTDbContext:DbContext + { + /// + public DbSet? Saldi { get; set; } + + /// + public SICILIA_SALDIARTDbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_SALDIART_PREZZI"); + } + } +} diff --git a/ApiPolo/Models/Sicilia_dbcontext/SICILIA_SOSTITUZIONIDbcontext.cs b/ApiPolo/Models/Sicilia_dbcontext/SICILIA_SOSTITUZIONIDbcontext.cs new file mode 100644 index 0000000..9aa9b1a --- /dev/null +++ b/ApiPolo/Models/Sicilia_dbcontext/SICILIA_SOSTITUZIONIDbcontext.cs @@ -0,0 +1,22 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Sicilia_dbcontext +{ + /// + public class SICILIA_SOSTITUZIONIDbcontext : DbContext + { + /// + public DbSet? Sost { get; set; } + + /// + public SICILIA_SOSTITUZIONIDbcontext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_SOSTITUZIONI"); + } + } +} diff --git a/ApiPolo/Models/Sicilia_dbcontext/SICILIA_SOSTITUZIONI_DbContext.cs b/ApiPolo/Models/Sicilia_dbcontext/SICILIA_SOSTITUZIONI_DbContext.cs new file mode 100644 index 0000000..c402916 --- /dev/null +++ b/ApiPolo/Models/Sicilia_dbcontext/SICILIA_SOSTITUZIONI_DbContext.cs @@ -0,0 +1,24 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Sicilia_dbcontext +{ + /// + public class SICILIA_SOSTITUZIONI_DbContext : DbContext + { + /// + public DbSet? Sost { get; set; } + + /// + public SICILIA_SOSTITUZIONI_DbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_SOSTITUZIONI"); + } + } +} + diff --git a/ApiPolo/Models/Sicilia_dbcontext/SICILIA_STO_IMPDbContext.cs b/ApiPolo/Models/Sicilia_dbcontext/SICILIA_STO_IMPDbContext.cs new file mode 100644 index 0000000..19cefc4 --- /dev/null +++ b/ApiPolo/Models/Sicilia_dbcontext/SICILIA_STO_IMPDbContext.cs @@ -0,0 +1,22 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Sicilia_dbcontext +{ + /// + public class SICILIA_STO_IMPDbContext : DbContext + { + /// + public DbSet? StoImp { get; set; } + + /// + public SICILIA_STO_IMPDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_STO_IMP"); + } + } +} diff --git a/ApiPolo/Models/Sicilia_dbcontext/SICILIA_STO_RAPPDbContext.cs b/ApiPolo/Models/Sicilia_dbcontext/SICILIA_STO_RAPPDbContext.cs new file mode 100644 index 0000000..c37f208 --- /dev/null +++ b/ApiPolo/Models/Sicilia_dbcontext/SICILIA_STO_RAPPDbContext.cs @@ -0,0 +1,22 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Sicilia_dbcontext +{ + /// + public class SICILIA_STO_RAPPDbContext:DbContext + { + /// + public DbSet? StoRapp { get; set; } + + /// + public SICILIA_STO_RAPPDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_STO_RAPP"); + } + } +} diff --git a/ApiPolo/Models/Sicilia_dbcontext/SICILIA_TECNICIDbContext.cs b/ApiPolo/Models/Sicilia_dbcontext/SICILIA_TECNICIDbContext.cs new file mode 100644 index 0000000..eb7d2af --- /dev/null +++ b/ApiPolo/Models/Sicilia_dbcontext/SICILIA_TECNICIDbContext.cs @@ -0,0 +1,22 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Sicilia_dbcontext +{ + /// + public class SICILIA_TECNICIDbContext:DbContext + { + /// + public DbSet? Tecnici { get; set; } + + /// + public SICILIA_TECNICIDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_TECNICI"); + } + } +} diff --git a/ApiPolo/Models/Sicilia_dbcontext/SICILIA_TIMBRATUREDbContext.cs b/ApiPolo/Models/Sicilia_dbcontext/SICILIA_TIMBRATUREDbContext.cs new file mode 100644 index 0000000..d5e8453 --- /dev/null +++ b/ApiPolo/Models/Sicilia_dbcontext/SICILIA_TIMBRATUREDbContext.cs @@ -0,0 +1,22 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Sicilia_dbcontext +{ + /// + public class SICILIA_TIMBRATUREDbContext : DbContext + { + /// + public DbSet? Timbr { get; set; } + + /// + public SICILIA_TIMBRATUREDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("TIMBRATURE"); + } + } +} diff --git a/ApiPolo/Models/Siet_dbcontext/SIET_AZIENDA_RIF_DbContext.cs b/ApiPolo/Models/Siet_dbcontext/SIET_AZIENDA_RIF_DbContext.cs new file mode 100644 index 0000000..76fbc16 --- /dev/null +++ b/ApiPolo/Models/Siet_dbcontext/SIET_AZIENDA_RIF_DbContext.cs @@ -0,0 +1,28 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Siet_dbcontext +{ + /// + public class SIET_AZIENDA_RIF_DbContext : DbContext + { + /// + public DbSet? Azi { get; set; } + + /// + public SIET_AZIENDA_RIF_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("PIAZIRIF"); + modelBuilder.Entity().HasKey(table => new + { + table.piazihoc, + table.picodtec, + table.pirifazi + }); + } + } +} diff --git a/ApiPolo/Models/Siet_dbcontext/SIET_CAUS_RAPP_DbContext.cs b/ApiPolo/Models/Siet_dbcontext/SIET_CAUS_RAPP_DbContext.cs new file mode 100644 index 0000000..26e09fb --- /dev/null +++ b/ApiPolo/Models/Siet_dbcontext/SIET_CAUS_RAPP_DbContext.cs @@ -0,0 +1,22 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Siet_dbcontext +{ + /// + public class SIET_CAUS_RAPP_DbContext:DbContext + { + /// + public DbSet? Causali { get; set; } + + /// + public SIET_CAUS_RAPP_DbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_CAUS_RAPP"); + } + } +} diff --git a/ApiPolo/Models/Siet_dbcontext/SIET_CHIAMATA_PROG_DbContext.cs b/ApiPolo/Models/Siet_dbcontext/SIET_CHIAMATA_PROG_DbContext.cs new file mode 100644 index 0000000..a26cb42 --- /dev/null +++ b/ApiPolo/Models/Siet_dbcontext/SIET_CHIAMATA_PROG_DbContext.cs @@ -0,0 +1,26 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Siet_dbcontext +{ + /// + public class SIET_CHIAMATA_PROG_DbContext : DbContext + { + /// + public DbSet? Progressivi { get; set; } + + /// + public SIET_CHIAMATA_PROG_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("cpwarn"); + modelBuilder.Entity().HasKey(table => new { + table.tablecode, + table.warncode + }); + } + } +} diff --git a/ApiPolo/Models/Siet_dbcontext/SIET_CHIAMATA_SERIALE_DbContext.cs b/ApiPolo/Models/Siet_dbcontext/SIET_CHIAMATA_SERIALE_DbContext.cs new file mode 100644 index 0000000..6307d8f --- /dev/null +++ b/ApiPolo/Models/Siet_dbcontext/SIET_CHIAMATA_SERIALE_DbContext.cs @@ -0,0 +1,25 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Siet_dbcontext +{ + /// + public class SIET_CHIAMATA_SERIALE_DbContext : DbContext + { + /// + public DbSet? Seriali { get; set; } + + /// + public SIET_CHIAMATA_SERIALE_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("SIET2PINUMCHI"); + modelBuilder.Entity().HasKey(table => new { + table.piditta + }); + } + } +} diff --git a/ApiPolo/Models/Siet_dbcontext/SIET_CHIAMATE_DbContext.cs b/ApiPolo/Models/Siet_dbcontext/SIET_CHIAMATE_DbContext.cs new file mode 100644 index 0000000..2c47dc7 --- /dev/null +++ b/ApiPolo/Models/Siet_dbcontext/SIET_CHIAMATE_DbContext.cs @@ -0,0 +1,23 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Siet_dbcontext +{ + /// + public class SIET_CHIAMATE_DbContext : DbContext + { + /// + public DbSet? Chiamate { get; set; } + + /// + public SIET_CHIAMATE_DbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_CHIAMATE"); + } + } +} diff --git a/ApiPolo/Models/Siet_dbcontext/SIET_CHIAMATE_TABLE_DbContext.cs b/ApiPolo/Models/Siet_dbcontext/SIET_CHIAMATE_TABLE_DbContext.cs new file mode 100644 index 0000000..cecb408 --- /dev/null +++ b/ApiPolo/Models/Siet_dbcontext/SIET_CHIAMATE_TABLE_DbContext.cs @@ -0,0 +1,27 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Siet_dbcontext +{ + /// + public class SIET_CHIAMATE_TABLE_DbContext : DbContext + { + /// + public DbSet? Chi { get; set; } + + /// + public SIET_CHIAMATE_TABLE_DbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("CHIAMATE"); + modelBuilder.Entity().HasKey(table => new { + table.chcodazi, + table.chserial + }); + } + } +} diff --git a/ApiPolo/Models/Siet_dbcontext/SIET_CHIUSURE_DbContext.cs b/ApiPolo/Models/Siet_dbcontext/SIET_CHIUSURE_DbContext.cs new file mode 100644 index 0000000..2f85c4e --- /dev/null +++ b/ApiPolo/Models/Siet_dbcontext/SIET_CHIUSURE_DbContext.cs @@ -0,0 +1,23 @@ +using ApiPolo.Models.Sicilia_dbcontext; +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Siet_dbcontext +{ + /// + public class SIET_CHIUSURE_DbContext : DbContext + { + /// + public DbSet? Chiusure { get; set; } + + /// + public SIET_CHIUSURE_DbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_CHIUSURE"); + } + } +} diff --git a/ApiPolo/Models/Siet_dbcontext/SIET_CLIENTI_DbContext.cs b/ApiPolo/Models/Siet_dbcontext/SIET_CLIENTI_DbContext.cs new file mode 100644 index 0000000..85be40d --- /dev/null +++ b/ApiPolo/Models/Siet_dbcontext/SIET_CLIENTI_DbContext.cs @@ -0,0 +1,22 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Siet_dbcontext +{ + /// + public class SIET_CLIENTI_DbContext:DbContext + { + /// + public DbSet? Clienti { get; set; } + + /// + public SIET_CLIENTI_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_CLIENTI"); + } + } +} diff --git a/ApiPolo/Models/Siet_dbcontext/SIET_COMMESSE_DbContext.cs b/ApiPolo/Models/Siet_dbcontext/SIET_COMMESSE_DbContext.cs new file mode 100644 index 0000000..dfba401 --- /dev/null +++ b/ApiPolo/Models/Siet_dbcontext/SIET_COMMESSE_DbContext.cs @@ -0,0 +1,23 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Siet_dbcontext +{ + /// + public class SIET_COMMESSE_DbContext : DbContext + { + /// + public DbSet? Commesse { get; set; } + + /// + public SIET_COMMESSE_DbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_COMMESSE"); + } + } +} diff --git a/ApiPolo/Models/Siet_dbcontext/SIET_COMPO_IMPIA_DbContext.cs b/ApiPolo/Models/Siet_dbcontext/SIET_COMPO_IMPIA_DbContext.cs new file mode 100644 index 0000000..cd875ed --- /dev/null +++ b/ApiPolo/Models/Siet_dbcontext/SIET_COMPO_IMPIA_DbContext.cs @@ -0,0 +1,22 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Siet_dbcontext +{ + /// + public class SIET_COMPO_IMPIA_DbContext : DbContext + { + /// + public DbSet? Componen { get; set; } + + /// + public SIET_COMPO_IMPIA_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_MICOMIMP"); + } + } +} diff --git a/ApiPolo/Models/Siet_dbcontext/SIET_COMPO_IMPIA_TABLE_DbContext.cs b/ApiPolo/Models/Siet_dbcontext/SIET_COMPO_IMPIA_TABLE_DbContext.cs new file mode 100644 index 0000000..9cec516 --- /dev/null +++ b/ApiPolo/Models/Siet_dbcontext/SIET_COMPO_IMPIA_TABLE_DbContext.cs @@ -0,0 +1,28 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Siet_dbcontext +{ + /// + public class SIET_COMPO_IMPIA_TABLE_DbContext : DbContext + { + /// + public DbSet? Componen { get; set; } + + /// + public SIET_COMPO_IMPIA_TABLE_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("SIET2MICOMIMP"); + modelBuilder.Entity().HasKey(table => new + { + table.cocodimp, + table.cprownum, + table.cocodazi + }); + } + } +} diff --git a/ApiPolo/Models/Siet_dbcontext/SIET_CPWARN_DbContext.cs b/ApiPolo/Models/Siet_dbcontext/SIET_CPWARN_DbContext.cs new file mode 100644 index 0000000..5fae401 --- /dev/null +++ b/ApiPolo/Models/Siet_dbcontext/SIET_CPWARN_DbContext.cs @@ -0,0 +1,26 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Siet_dbcontext +{ + /// + public class SIET_CPWARN_DbContext : DbContext + { + /// + public DbSet? Progressivi { get; set; } + + /// + public SIET_CPWARN_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("cpwarn"); + modelBuilder.Entity().HasKey(table => new { + table.tablecode, + table.warncode + }); + } + } +} diff --git a/ApiPolo/Models/Siet_dbcontext/SIET_IMPIANTI_DbContext.cs b/ApiPolo/Models/Siet_dbcontext/SIET_IMPIANTI_DbContext.cs new file mode 100644 index 0000000..0d2e394 --- /dev/null +++ b/ApiPolo/Models/Siet_dbcontext/SIET_IMPIANTI_DbContext.cs @@ -0,0 +1,22 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Siet_dbcontext +{ + /// + public class SIET_IMPIANTI_DbContext : DbContext + { + /// + public DbSet? Impia { get; set; } + + /// + public SIET_IMPIANTI_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_IMPIANTI"); + } + } +} diff --git a/ApiPolo/Models/Siet_dbcontext/SIET_MAGAZZINI_DbContext.cs b/ApiPolo/Models/Siet_dbcontext/SIET_MAGAZZINI_DbContext.cs new file mode 100644 index 0000000..04b96a1 --- /dev/null +++ b/ApiPolo/Models/Siet_dbcontext/SIET_MAGAZZINI_DbContext.cs @@ -0,0 +1,27 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Siet_dbcontext +{ + /// + public class SIET_MAGAZZINI_DbContext : DbContext + { + /// + public DbSet? Magaz { get; set; } + + /// + public SIET_MAGAZZINI_DbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("SIET2MAGAZZIN"); + modelBuilder.Entity().HasKey(table => new + { + table.mgcodmag + }); + } + } +} diff --git a/ApiPolo/Models/Siet_dbcontext/SIET_MAG_NEW_DbContext.cs b/ApiPolo/Models/Siet_dbcontext/SIET_MAG_NEW_DbContext.cs new file mode 100644 index 0000000..87aa599 --- /dev/null +++ b/ApiPolo/Models/Siet_dbcontext/SIET_MAG_NEW_DbContext.cs @@ -0,0 +1,28 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Siet_dbcontext +{ + /// + public class SIET_MAG_NEW_DbContext : DbContext + { + /// + public DbSet? Mag { get; set; } + + /// + public SIET_MAG_NEW_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("SIET2MAG_NEW"); + modelBuilder.Entity().HasKey(table => new + { + table.seriale_rapportino, + table.riga + + }); + } + } +} diff --git a/ApiPolo/Models/Siet_dbcontext/SIET_MANPROG_TEC_DbContext.cs b/ApiPolo/Models/Siet_dbcontext/SIET_MANPROG_TEC_DbContext.cs new file mode 100644 index 0000000..cb9e8f1 --- /dev/null +++ b/ApiPolo/Models/Siet_dbcontext/SIET_MANPROG_TEC_DbContext.cs @@ -0,0 +1,23 @@ +using ApiPolo.Models.Sicilia_dbcontext; +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Siet_dbcontext +{ + /// + public class SIET_MANPROG_TEC_DbContext : DbContext + { + /// + public DbSet? Manutenzioni { get; set; } + + /// + public SIET_MANPROG_TEC_DbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_MANPROG"); + } + } +} diff --git a/ApiPolo/Models/Siet_dbcontext/SIET_NOTIFICHE_DbContext.cs b/ApiPolo/Models/Siet_dbcontext/SIET_NOTIFICHE_DbContext.cs new file mode 100644 index 0000000..15d1073 --- /dev/null +++ b/ApiPolo/Models/Siet_dbcontext/SIET_NOTIFICHE_DbContext.cs @@ -0,0 +1,27 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Siet_dbcontext +{ + /// + public class SIET_NOTIFICHE_DbContext : DbContext + { + /// + public DbSet? Notif { get; set; } + + /// + public SIET_NOTIFICHE_DbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("PINOTIFI"); + modelBuilder.Entity().HasKey(table => new { + table.picodazi, + table.piserial + }); + } + } +} diff --git a/ApiPolo/Models/Siet_dbcontext/SIET_PAGAM_DbContext.cs b/ApiPolo/Models/Siet_dbcontext/SIET_PAGAM_DbContext.cs new file mode 100644 index 0000000..1b4545e --- /dev/null +++ b/ApiPolo/Models/Siet_dbcontext/SIET_PAGAM_DbContext.cs @@ -0,0 +1,23 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Siet_dbcontext +{ + /// + public class SIET_PAGAM_DbContext : DbContext + { + /// + public DbSet? Pagamenti { get; set; } + + /// + public SIET_PAGAM_DbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_PAGAMENTI"); + } + } +} diff --git a/ApiPolo/Models/Siet_dbcontext/SIET_PRESE_DbContext.cs b/ApiPolo/Models/Siet_dbcontext/SIET_PRESE_DbContext.cs new file mode 100644 index 0000000..1ef511f --- /dev/null +++ b/ApiPolo/Models/Siet_dbcontext/SIET_PRESE_DbContext.cs @@ -0,0 +1,28 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Siet_dbcontext +{ + /// + public class SIET_PRESE_DbContext : DbContext + { + /// + public DbSet? Prese { get; set; } + + /// + public SIET_PRESE_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("PRESA"); + modelBuilder.Entity().HasKey(table => new { + table.picodazi, + table.pimpianto, + table.picodint, + table.pidatman + }); + } + } +} diff --git a/ApiPolo/Models/Siet_dbcontext/SIET_RAPPORTINI_DbContext.cs b/ApiPolo/Models/Siet_dbcontext/SIET_RAPPORTINI_DbContext.cs new file mode 100644 index 0000000..5e1801b --- /dev/null +++ b/ApiPolo/Models/Siet_dbcontext/SIET_RAPPORTINI_DbContext.cs @@ -0,0 +1,22 @@ +using ApiPolo.Models.Sicilia_dbcontext; +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Siet_dbcontext +{ + /// Rapportini + public class SIET_RAPPORTINI_DbContext : DbContext + { + /// Rapportini + public DbSet? rapp { get; set; } + + /// ConfigurazioniDbContext + public SIET_RAPPORTINI_DbContext(DbContextOptions options) : base(options) + { + } + /// OnModelCreating + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_RAPPORTINI"); + } + } +} diff --git a/ApiPolo/Models/Siet_dbcontext/SIET_RAPP_NEW_DbContext.cs b/ApiPolo/Models/Siet_dbcontext/SIET_RAPP_NEW_DbContext.cs new file mode 100644 index 0000000..44884b9 --- /dev/null +++ b/ApiPolo/Models/Siet_dbcontext/SIET_RAPP_NEW_DbContext.cs @@ -0,0 +1,23 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Siet_dbcontext +{ + /// + public class SIET_RAPP_NEW_DbContext : DbContext + { + /// + public DbSet? Rapps { get; set; } + + /// + public SIET_RAPP_NEW_DbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("RAPP_NEW"); + } + } +} diff --git a/ApiPolo/Models/Siet_dbcontext/SIET_SALDIART_DbContext.cs b/ApiPolo/Models/Siet_dbcontext/SIET_SALDIART_DbContext.cs new file mode 100644 index 0000000..01b2301 --- /dev/null +++ b/ApiPolo/Models/Siet_dbcontext/SIET_SALDIART_DbContext.cs @@ -0,0 +1,22 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Siet_dbcontext +{ + /// + public class SIET_SALDIART_DbContext : DbContext + { + /// + public DbSet? Saldi { get; set; } + + /// + public SIET_SALDIART_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_SALDIART_PREZZI"); + } + } +} diff --git a/ApiPolo/Models/Siet_dbcontext/SIET_SOSTITUZIONI_DbContext.cs b/ApiPolo/Models/Siet_dbcontext/SIET_SOSTITUZIONI_DbContext.cs new file mode 100644 index 0000000..8388e3e --- /dev/null +++ b/ApiPolo/Models/Siet_dbcontext/SIET_SOSTITUZIONI_DbContext.cs @@ -0,0 +1,23 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Siet_dbcontext +{ + /// + public class SIET_SOSTITUZIONI_DbContext : DbContext + { + /// + public DbSet? Sost { get; set; } + + /// + public SIET_SOSTITUZIONI_DbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_SOSTITUZIONI"); + } + } +} diff --git a/ApiPolo/Models/Siet_dbcontext/SIET_STO_IMP_DbContext.cs b/ApiPolo/Models/Siet_dbcontext/SIET_STO_IMP_DbContext.cs new file mode 100644 index 0000000..035b070 --- /dev/null +++ b/ApiPolo/Models/Siet_dbcontext/SIET_STO_IMP_DbContext.cs @@ -0,0 +1,23 @@ +using ApiPolo.Models.Sicilia_dbcontext; +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Siet_dbcontext +{ + /// + public class SIET_STO_IMP_DbContext : DbContext + { + /// + public DbSet? StoImp { get; set; } + + /// + public SIET_STO_IMP_DbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_STO_IMP"); + } + } +} diff --git a/ApiPolo/Models/Siet_dbcontext/SIET_STO_RAPP_DbContext.cs b/ApiPolo/Models/Siet_dbcontext/SIET_STO_RAPP_DbContext.cs new file mode 100644 index 0000000..d6d6858 --- /dev/null +++ b/ApiPolo/Models/Siet_dbcontext/SIET_STO_RAPP_DbContext.cs @@ -0,0 +1,23 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Siet_dbcontext +{ + /// + public class SIET_STO_RAPP_DbContext : DbContext + { + /// + public DbSet? StoRapp { get; set; } + + /// + public SIET_STO_RAPP_DbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_STO_RAPP"); + } + } +} diff --git a/ApiPolo/Models/Siet_dbcontext/SIET_TECNICI_DbContext.cs b/ApiPolo/Models/Siet_dbcontext/SIET_TECNICI_DbContext.cs new file mode 100644 index 0000000..32141a6 --- /dev/null +++ b/ApiPolo/Models/Siet_dbcontext/SIET_TECNICI_DbContext.cs @@ -0,0 +1,23 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Siet_dbcontext +{ + /// + public class SIET_TECNICI_DbContext : DbContext + { + /// + public DbSet? Tecnici { get; set; } + + /// + public SIET_TECNICI_DbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_TECNICI"); + } + } +} diff --git a/ApiPolo/Models/Siet_dbcontext/SIET_TIMBRATURE_DbContext.cs b/ApiPolo/Models/Siet_dbcontext/SIET_TIMBRATURE_DbContext.cs new file mode 100644 index 0000000..da6c136 --- /dev/null +++ b/ApiPolo/Models/Siet_dbcontext/SIET_TIMBRATURE_DbContext.cs @@ -0,0 +1,23 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Siet_dbcontext +{ + /// + public class SIET_TIMBRATURE_DbContext : DbContext + { + /// + public DbSet? Timbr { get; set; } + + /// + public SIET_TIMBRATURE_DbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("TIMBRATURE"); + } + } +} diff --git a/ApiPolo/Models/Sinergo_dbcontext/SINERGO_COMMESSEDbContext.cs b/ApiPolo/Models/Sinergo_dbcontext/SINERGO_COMMESSEDbContext.cs new file mode 100644 index 0000000..b6d55ac --- /dev/null +++ b/ApiPolo/Models/Sinergo_dbcontext/SINERGO_COMMESSEDbContext.cs @@ -0,0 +1,23 @@ +using ApiPolo.Models.Sicilia_dbcontext; +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Sinergo_dbcontext +{ + /// + public class SINERGO_COMMESSEDbContext : DbContext + { + /// + public DbSet? Commesse { get; set; } + + /// + public SINERGO_COMMESSEDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_COMMESSE"); + } + } +} diff --git a/ApiPolo/Models/Sinergo_dbcontext/SINERGO_TECNICIDbContext.cs b/ApiPolo/Models/Sinergo_dbcontext/SINERGO_TECNICIDbContext.cs new file mode 100644 index 0000000..b5c14ef --- /dev/null +++ b/ApiPolo/Models/Sinergo_dbcontext/SINERGO_TECNICIDbContext.cs @@ -0,0 +1,23 @@ +using ApiPolo.Models.Sicilia_dbcontext; +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Sinergo_dbcontext +{ + /// + public class SINERGO_TECNICIDbContext : DbContext + { + /// + public DbSet? Tecnici { get; set; } + + /// + public SINERGO_TECNICIDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_TECNICI"); + } + } +} diff --git a/ApiPolo/Models/Sinergo_dbcontext/SINERGO_TIMBRATUREDbContext.cs b/ApiPolo/Models/Sinergo_dbcontext/SINERGO_TIMBRATUREDbContext.cs new file mode 100644 index 0000000..50284ba --- /dev/null +++ b/ApiPolo/Models/Sinergo_dbcontext/SINERGO_TIMBRATUREDbContext.cs @@ -0,0 +1,22 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Sinergo_dbcontext +{ + /// + public class SINERGO_TIMBRATUREDbContext : DbContext + { + /// + public DbSet? Timbr { get; set; } + + /// + public SINERGO_TIMBRATUREDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("TIMBRATURE"); + } + } +} diff --git a/ApiPolo/Models/Sostituzione.cs b/ApiPolo/Models/Sostituzione.cs new file mode 100644 index 0000000..614c3c0 --- /dev/null +++ b/ApiPolo/Models/Sostituzione.cs @@ -0,0 +1,27 @@ +using Microsoft.EntityFrameworkCore; +namespace ApiPolo.Models +{ + /// + [Keyless] + public class Sostituzione + { + /// azienda + public string? tscodazi { get; set; } + + /// tecnico + public string? tscodtec { get; set; } + + /// zona + public string? tscodzon { get; set; } + + /// Inizio sostituzione + public DateTime? tsdatain { get; set; } + + /// Fine sostituzione + public DateTime? tsdatafi { get; set; } + + /// codice sostituzione + public string? tscodsos { get; set; } + + } +} diff --git a/ApiPolo/Models/Sto_Imp.cs b/ApiPolo/Models/Sto_Imp.cs new file mode 100644 index 0000000..f39b887 --- /dev/null +++ b/ApiPolo/Models/Sto_Imp.cs @@ -0,0 +1,86 @@ +using Microsoft.EntityFrameworkCore.Metadata.Internal; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models +{ + /// Storico impianti + [Keyless] + public class Sto_Imp + { + /// seriale rapportino + public string? seriale_rapportino { get; set; } + + /// seriale rapportino + public DateTime? data_rapportino { get; set; } + + /// indice riga + public int? riga { get; set; } + + /// codice magazzino + public string? magazzino { get; set; } + + /// codice articolo + public string? articolo { get; set; } + + /// descrizione articolo + public string? desc_art { get; set; } + + /// tipologia movimento (E=eliminato,A=aggiunto,S=sotituito) + public string? tipo_movimento { get; set; } + + /// quantità articolo + [Column(TypeName = "decimal(7, 2)")] + public decimal? quantita { get; set; } + + /// prezzo articolo + [Column(TypeName = "decimal(10, 2)")] + public decimal? prezzo { get; set; } + + /// codice tecnico + public string? codice_tecnico { get; set; } + + /// descrizione tecnico + public string? desc_tecnico { get; set; } + + /// documento generato + public string? generato { get; set; } + + /// note + public string? note { get; set; } + + /// codice lotto articolo + public string? codlotto { get; set; } + + /// matricola articolo + public string? matricola { get; set; } + + /// + public int? cprownum { get; set; } + + /// codice impianto + public string? codimp { get; set; } + + /// descrizione impianto + public string? desc_impianto { get; set; } + + /// azienda impianto + public string? azienda_impianto { get; set; } + + /// tipo indirizzo (via, strada) + public string? indirizzo_tipo { get; set; } + + /// indirizzo + public string? indirizzo { get; set; } + + /// indirizzo numero + public int? indirizzo_num { get; set; } + + /// indirizzo scala + public string? indirizzo_scala { get; set; } + + /// indirizzo sottonumero + public string? indirizzo_num2 { get; set; } + + } +} diff --git a/ApiPolo/Models/Sto_Imp_out.cs b/ApiPolo/Models/Sto_Imp_out.cs new file mode 100644 index 0000000..824e313 --- /dev/null +++ b/ApiPolo/Models/Sto_Imp_out.cs @@ -0,0 +1,31 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models +{ + /// Storico impianti- output + [Keyless] + public class Sto_Imp_out + { + /// (LISTA)data rapportino + public DateTime? data_rapportino { get; set; } + + /// (LISTA) codice articolo + public string? articolo { get; set; } + + /// (LISTA) tipologia movimento (E=eliminato,A=aggiunto,S=sotituito) + public string? tipo_movimento { get; set; } + + /// dettaglio movimento impianto + public Dictionary? dettaglio { get; set; } + + /// errore titolo + public string? err_title { get; set; } + + /// errore dettaglio + public string? err_detail { get; set; } + + /// errore status code (200, 500) + public string? err_status_code { get; set; } + + } +} diff --git a/ApiPolo/Models/Sto_Rapp.cs b/ApiPolo/Models/Sto_Rapp.cs new file mode 100644 index 0000000..9677120 --- /dev/null +++ b/ApiPolo/Models/Sto_Rapp.cs @@ -0,0 +1,234 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore.Metadata.Internal; + +namespace ApiPolo.Models +{ + /// + /// Storico interventi New + /// + [Keyless] + public class Sto_Rapp + { + + + /// (LISTA) codice tecnico + public string? tccodice { get; set; } + + /// (LISTA) descrizione tecnico + public string? tcdescri { get; set; } + + /// (LISTA) note esito + public string? note_esito { get; set; } + + /// (LISTA) note esito + public DateTime? data_rapportino { get; set; } + + /// stato finale + public string? stato_finale { get; set; } + + /// esito intervento + public string? esito_intervento { get; set; } + + /// descrizione intervento + public string? descrizione_intervento { get; set; } + + /// firma rapportino + public string? firma { get; set; } + + /// seriale chiamata (se chiamata, altrimenti null + public string? seriale_chiamata { get; set; } + + /// seriale buono + public string? ser_buono { get; set; } + + /// difetti riscontrati + public string? difetti_riscontrati { get; set; } + + /// lavoro eseguito + public string? lavoro_eseguito { get; set; } + + /// note intervento + public string? note_intervento { get; set; } + + /// ore lavoro + [Column(TypeName = "decimal(7, 2)")] + public decimal? ore_lavoro { get; set; } + + /// costo materiale + [Column(TypeName = "decimal(7, 2)")] + public decimal? materiale { get; set; } + + /// diritto chiamata + [Column(TypeName = "decimal(7, 2)")] + public decimal? diritto_chiamata { get; set; } + + /// anticipo + [Column(TypeName = "decimal(7, 2)")] + public decimal? anticipo { get; set; } + + /// manodopera + [Column(TypeName = "decimal(7, 2)")] + public decimal? manodopera { get; set; } + + /// spese viaggio + [Column(TypeName = "decimal(7, 2)")] + public decimal? spese_viaggio { get; set; } + + /// pagamento + public string? pagamento { get; set; } + + /// codice impianto + public string? codice_impianto { get; set; } + + /// totale + [Column(TypeName = "decimal(9, 2)")] + public decimal? totale { get; set; } + + /// note pagamento + public string? note_pagamento { get; set; } + + /// tipo intervento + public string? tipo_intervento { get; set; } + + /// rapportino generato in adhoc S/N + public string? generato { get; set; } + + /// azienda tecnico + public string? azienda_tecnico { get; set; } + + /// azienda impianto + public string? azienda_impianto { get; set; } + + /// azienda chiamata + public string? azienda_chiamata { get; set; } + + /// cod chiusura 1 + public string? codice_chiusura_1 { get; set; } + + /// cod chiusura 2 + public string? codice_chiusura_2 { get; set; } + + /// cod chiusura 3 + public string? codice_chiusura_3 { get; set; } + + /// cod chiusura 4 + public string? codice_chiusura_4 { get; set; } + + /// cod chiusura 5 + public string? codice_chiusura_5 { get; set; } + + /// cod chiusura 6 + public string? codice_chiusura_6 { get; set; } + + /// cod chiusura 7 + public string? codice_chiusura_7 { get; set; } + + /// cod chiusura 8 + public string? codice_chiusura_8 { get; set; } + + /// cod chiusura 9 + public string? codice_chiusura_9 { get; set; } + + /// cod chiusura 10 + public string? codice_chiusura_10 { get; set; } + + /// des cod chiusura 1 + public string? cc1 { get; set; } + + /// des cod chiusura 2 + public string? cc2 { get; set; } + + /// des cod chiusura 3 + public string? cc3 { get; set; } + + /// des cod chiusura 4 + public string? cc4 { get; set; } + + /// des cod chiusura 5 + public string? cc5 { get; set; } + + /// des cod chiusura 6 + public string? cc6 { get; set; } + + /// des cod chiusura 7 + public string? cc7 { get; set; } + + /// des cod chiusura 8 + public string? cc8 { get; set; } + + /// des cod chiusura 9 + public string? cc9 { get; set; } + + /// des cod chiusura 10 + public string? cc10 { get; set; } + + + /// des supp cod chiusura 1 + public string? ccds1 { get; set; } + + /// des supp cod chiusura 2 + public string? ccds2 { get; set; } + + /// des supp cod chiusura 3 + public string? ccds3 { get; set; } + + /// des supp cod chiusura 4 + public string? ccds4 { get; set; } + + /// des supp cod chiusura 5 + public string? ccds5 { get; set; } + + /// des supp cod chiusura 6 + public string? ccds6 { get; set; } + + /// des supp cod chiusura 7 + public string? ccds7 { get; set; } + + /// des supp cod chiusura 8 + public string? ccds8 { get; set; } + + /// des supp cod chiusura 9 + public string? ccds9 { get; set; } + + /// des supp cod chiusura 10 + public string? ccds10 { get; set; } + + /// seriale rapportino + public string? seriale_rapportino { get; set; } + + + /// codice intervento manutenzione + public string? codice_intervento { get; set; } + + /// descrizione intervento manutenzione + public string? cidescri { get; set; } + + /// descrizione suppl. intervento manutenzione + public string? cidessup { get; set; } + + /// descrizione suppl. codice intervento manutenzione + public DateTime? data_manutenzione { get; set; } + + /// codice segnalazione chiamata + public string? codice_segnalazione { get; set; } + + /// tipo indirizzo (via, strada) + public string? indirizzo_tipo { get; set; } + + /// indirizzo + public string? indirizzo { get; set; } + + /// indirizzo numero + public int? indirizzo_num { get; set; } + + /// indirizzo scala + public string? indirizzo_scala { get; set; } + + /// indirizzo sottonumero + public string? indirizzo_num2 { get; set; } + + + } +} diff --git a/ApiPolo/Models/Sto_Rapp_out.cs b/ApiPolo/Models/Sto_Rapp_out.cs new file mode 100644 index 0000000..7d6193c --- /dev/null +++ b/ApiPolo/Models/Sto_Rapp_out.cs @@ -0,0 +1,33 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models +{ + /// ViSTA Chiamate + [Keyless] + public class Sto_Rapp_out + { + /// (LISTA) codice tecnico + public string? tccodice { get; set; } + + /// (LISTA) descrizione tecnico + public string? tcdescri { get; set; } + + /// (LISTA) note esito + public string? note_esito { get; set; } + + /// (LISTA) note esito + public DateTime? data_rapportino { get; set; } + + /// dettaglio rapportino + public Dictionary? dettaglio { get; set; } + + /// errore titolo + public string? err_title { get; set; } + + /// errore dettaglio + public string? err_detail { get; set; } + + /// errore status code (200, 500) + public string? err_status_code { get; set; } + } +} diff --git a/ApiPolo/Models/TabelleDominio.cs b/ApiPolo/Models/TabelleDominio.cs new file mode 100644 index 0000000..c0c87f1 --- /dev/null +++ b/ApiPolo/Models/TabelleDominio.cs @@ -0,0 +1,29 @@ +namespace ApiPolo.Models +{ + /// Tabelle di Dominio + public class TabelleDominio + { + /// lista causali rapportino + public List? cau_rapp { get; set; } + + /// lista causali pagamento + public List? cau_pag { get; set; } + + /// stati impianto + public List? statoImpianto { get; set; } + + /// esito intervento + public List? esito { get; set; } + + } + /// + public class ComboItem + { + /// + public string? chiave { get; set; } + + /// + public string? valore { get; set; } + } + +} diff --git a/ApiPolo/Models/Tecnici.cs b/ApiPolo/Models/Tecnici.cs new file mode 100644 index 0000000..d1938eb --- /dev/null +++ b/ApiPolo/Models/Tecnici.cs @@ -0,0 +1,70 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models +{ + /// tecnici + [Keyless] + public class Tecnici + { + /// + /// Codice tecnico + /// + public string? tccodice { get; set; } + + /// + /// Descrizione tecnico + /// + public string? Tcdescri { get; set; } + + /// + /// telefono tecnico + /// + public string? tctelef1 { get; set; } + + /// + /// Qualifica tecnico chiamatista + /// + public string? tcchiam { get; set; } + + /// + /// Qualifica tecnico manutentore + /// + public string? tcmanut { get; set; } + + /// + /// Azienda tecnico + /// + public string? tccodazi { get; set; } + + /// + /// Qualifica tecnico supervisore + /// + public string? tcsuper { get; set; } + + /// + /// Username tecnico + /// + public string? tcuser { get; set; } + + /// + /// Password tecnico + /// + public string? tcpwd { get; set; } + + /// + /// Zona tecnico + /// + public string? tdcodzon { get; set; } + + /// + /// data inizio attività tecnico + /// + public DateTime? tddatain { get; set; } + + /// + /// data fine attività tecnico + /// + public DateTime? tddatafi { get; set; } + + } +} diff --git a/ApiPolo/Models/TecniciTable.cs b/ApiPolo/Models/TecniciTable.cs new file mode 100644 index 0000000..205e63a --- /dev/null +++ b/ApiPolo/Models/TecniciTable.cs @@ -0,0 +1,51 @@ +using Microsoft.EntityFrameworkCore.Metadata.Internal; +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; + +namespace ApiPolo.Models +{ + /// + /// (Virtual Task) Contiene i campi di TECNICI + /// + public class TecniciTable + { + /// + [Key] + public string? tccodazi { get; set; } + + /// + [Key] + public string? tccodice { get; set; } + + /// + public string? tcdescri { get; set; } + + /// + public string? tctelef1 { get; set; } + + /// + public string? tcuser { get; set; } + + /// + public string? tcpwd { get; set; } + + /// costo ordinario + [Column(TypeName = "decimal(18, 4)")] + public decimal? tccoor { get; set; } + + /// costo notturno + [Column(TypeName = "decimal(18, 4)")] + public decimal? tccono { get; set; } + + /// costo straordinario + [Column(TypeName = "decimal(18, 4)")] + public decimal? tccost { get; set; } + + /// costo festivo + [Column(TypeName = "decimal(18, 4)")] + public decimal? tccofe { get; set; } + + /// data cancellazione + public DateTime? tcdatobs { get; set; } + } +} diff --git a/ApiPolo/Models/Tedesco_dbcontext/TEDES_AZIENDA_RIF_DbContext.cs b/ApiPolo/Models/Tedesco_dbcontext/TEDES_AZIENDA_RIF_DbContext.cs new file mode 100644 index 0000000..2036650 --- /dev/null +++ b/ApiPolo/Models/Tedesco_dbcontext/TEDES_AZIENDA_RIF_DbContext.cs @@ -0,0 +1,28 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Tedesco_dbcontext +{ + /// + public class TEDES_AZIENDA_RIF_DbContext : DbContext + { + /// + public DbSet? Azi { get; set; } + + /// + public TEDES_AZIENDA_RIF_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("PIAZIRIF"); + modelBuilder.Entity().HasKey(table => new + { + table.piazihoc, + table.picodtec, + table.pirifazi + }); + } + } + +} diff --git a/ApiPolo/Models/Tedesco_dbcontext/TEDES_CAUS_RAPP_DbContext.cs b/ApiPolo/Models/Tedesco_dbcontext/TEDES_CAUS_RAPP_DbContext.cs new file mode 100644 index 0000000..b4b9c3f --- /dev/null +++ b/ApiPolo/Models/Tedesco_dbcontext/TEDES_CAUS_RAPP_DbContext.cs @@ -0,0 +1,23 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Tedesco_dbcontext +{ + /// + public class TEDES_CAUS_RAPP_DbContext : DbContext + { + /// + public DbSet? Causali { get; set; } + + /// + public TEDES_CAUS_RAPP_DbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_CAUS_RAPP"); + } + } +} diff --git a/ApiPolo/Models/Tedesco_dbcontext/TEDES_CHIAMATA_PROG_DbContext.cs b/ApiPolo/Models/Tedesco_dbcontext/TEDES_CHIAMATA_PROG_DbContext.cs new file mode 100644 index 0000000..594c7c9 --- /dev/null +++ b/ApiPolo/Models/Tedesco_dbcontext/TEDES_CHIAMATA_PROG_DbContext.cs @@ -0,0 +1,26 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Tedesco_dbcontext +{ + /// + public class TEDES_CHIAMATA_PROG_DbContext : DbContext + { + /// + public DbSet? Progressivi { get; set; } + + /// + public TEDES_CHIAMATA_PROG_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("cpwarn"); + modelBuilder.Entity().HasKey(table => new { + table.tablecode, + table.warncode + }); + } + } +} diff --git a/ApiPolo/Models/Tedesco_dbcontext/TEDES_CHIAMATA_SERIALE_DbContext.cs b/ApiPolo/Models/Tedesco_dbcontext/TEDES_CHIAMATA_SERIALE_DbContext.cs new file mode 100644 index 0000000..0170d5b --- /dev/null +++ b/ApiPolo/Models/Tedesco_dbcontext/TEDES_CHIAMATA_SERIALE_DbContext.cs @@ -0,0 +1,25 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Tedesco_dbcontext +{ + /// + public class TEDES_CHIAMATA_SERIALE_DbContext : DbContext + { + /// + public DbSet? Seriali { get; set; } + + /// + public TEDES_CHIAMATA_SERIALE_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("LABSEPINUMCHI"); + modelBuilder.Entity().HasKey(table => new { + table.piditta + }); + } + } +} diff --git a/ApiPolo/Models/Tedesco_dbcontext/TEDES_CHIAMATE_DbContext.cs b/ApiPolo/Models/Tedesco_dbcontext/TEDES_CHIAMATE_DbContext.cs new file mode 100644 index 0000000..b6cc90d --- /dev/null +++ b/ApiPolo/Models/Tedesco_dbcontext/TEDES_CHIAMATE_DbContext.cs @@ -0,0 +1,27 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Tedesco_dbcontext +{ + /// + public class TEDES_CHIAMATE_DbContext : DbContext + { + /// + public DbSet? Chi { get; set; } + + /// + public TEDES_CHIAMATE_DbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("CHIAMATE"); + modelBuilder.Entity().HasKey(table => new { + table.chcodazi, + table.chserial + }); + } + } +} diff --git a/ApiPolo/Models/Tedesco_dbcontext/TEDES_CHIUSUREDbContext.cs b/ApiPolo/Models/Tedesco_dbcontext/TEDES_CHIUSUREDbContext.cs new file mode 100644 index 0000000..437de4b --- /dev/null +++ b/ApiPolo/Models/Tedesco_dbcontext/TEDES_CHIUSUREDbContext.cs @@ -0,0 +1,22 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Tedesco_dbcontext +{ + /// + public class TEDES_CHIUSUREDbContext:DbContext + { + /// + public DbSet? Chiusure { get; set; } + + /// + public TEDES_CHIUSUREDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_CHIUSURE"); + } + } +} diff --git a/ApiPolo/Models/Tedesco_dbcontext/TEDES_CLIENTIDbContext.cs b/ApiPolo/Models/Tedesco_dbcontext/TEDES_CLIENTIDbContext.cs new file mode 100644 index 0000000..aeb59fc --- /dev/null +++ b/ApiPolo/Models/Tedesco_dbcontext/TEDES_CLIENTIDbContext.cs @@ -0,0 +1,21 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Tedesco_dbcontext +{ + /// + public class TEDES_CLIENTIDbContext:DbContext + { + /// + public DbSet? Clienti { get; set; } + + /// + public TEDES_CLIENTIDbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_CLIENTI"); + } + } +} diff --git a/ApiPolo/Models/Tedesco_dbcontext/TEDES_COMMESSEDbContext.cs b/ApiPolo/Models/Tedesco_dbcontext/TEDES_COMMESSEDbContext.cs new file mode 100644 index 0000000..496e7a0 --- /dev/null +++ b/ApiPolo/Models/Tedesco_dbcontext/TEDES_COMMESSEDbContext.cs @@ -0,0 +1,22 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Tedesco_dbcontext +{ + /// + public class TEDES_COMMESSEDbContext : DbContext + { + /// + public DbSet? Commesse { get; set; } + + /// + public TEDES_COMMESSEDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_COMMESSE"); + } + } +} diff --git a/ApiPolo/Models/Tedesco_dbcontext/TEDES_COMPO_IMPIADbContext.cs b/ApiPolo/Models/Tedesco_dbcontext/TEDES_COMPO_IMPIADbContext.cs new file mode 100644 index 0000000..f16df3e --- /dev/null +++ b/ApiPolo/Models/Tedesco_dbcontext/TEDES_COMPO_IMPIADbContext.cs @@ -0,0 +1,21 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Tedesco_dbcontext +{ + /// + public class TEDES_COMPO_IMPIADbContext:DbContext + { + /// + public DbSet? Componen { get; set; } + + /// + public TEDES_COMPO_IMPIADbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_MICOMIMP"); + } + } +} diff --git a/ApiPolo/Models/Tedesco_dbcontext/TEDES_COMPO_IMPIA_TABLEDbContext.cs b/ApiPolo/Models/Tedesco_dbcontext/TEDES_COMPO_IMPIA_TABLEDbContext.cs new file mode 100644 index 0000000..df5743d --- /dev/null +++ b/ApiPolo/Models/Tedesco_dbcontext/TEDES_COMPO_IMPIA_TABLEDbContext.cs @@ -0,0 +1,27 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Tedesco_dbcontext +{ + /// + public class TEDES_COMPO_IMPIA_TABLEDbContext:DbContext + { + /// + public DbSet? Componen { get; set; } + + /// + public TEDES_COMPO_IMPIA_TABLEDbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("LABSEMICOMIMP"); + modelBuilder.Entity().HasKey(table => new + { + table.cocodimp, + table.cprownum, + table.cocodazi + }); + } + } +} diff --git a/ApiPolo/Models/Tedesco_dbcontext/TEDES_CPWARN_DbContext.cs b/ApiPolo/Models/Tedesco_dbcontext/TEDES_CPWARN_DbContext.cs new file mode 100644 index 0000000..4a5800c --- /dev/null +++ b/ApiPolo/Models/Tedesco_dbcontext/TEDES_CPWARN_DbContext.cs @@ -0,0 +1,25 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Tedesco_dbcontext +{ + /// + public class TEDES_CPWARN_DbContext : DbContext + { + /// + public DbSet? Progressivi { get; set; } + + /// + public TEDES_CPWARN_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("cpwarn"); + modelBuilder.Entity().HasKey(table => new { + table.tablecode, + table.warncode + }); + } + } +} diff --git a/ApiPolo/Models/Tedesco_dbcontext/TEDES_IMPIANTIDbContext.cs b/ApiPolo/Models/Tedesco_dbcontext/TEDES_IMPIANTIDbContext.cs new file mode 100644 index 0000000..5154c40 --- /dev/null +++ b/ApiPolo/Models/Tedesco_dbcontext/TEDES_IMPIANTIDbContext.cs @@ -0,0 +1,21 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Tedesco_dbcontext +{ + /// + public class TEDES_IMPIANTIDbContext : DbContext + { + /// + public DbSet? Impia { get; set; } + + /// + public TEDES_IMPIANTIDbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_IMPIANTI"); + } + } +} diff --git a/ApiPolo/Models/Tedesco_dbcontext/TEDES_MAGAZZINIDbContext.cs b/ApiPolo/Models/Tedesco_dbcontext/TEDES_MAGAZZINIDbContext.cs new file mode 100644 index 0000000..14d315b --- /dev/null +++ b/ApiPolo/Models/Tedesco_dbcontext/TEDES_MAGAZZINIDbContext.cs @@ -0,0 +1,26 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Tedesco_dbcontext +{ + /// + public class TEDES_MAGAZZINIDbContext: DbContext + { + /// + public DbSet? Magaz { get; set; } + + /// + public TEDES_MAGAZZINIDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("LABSEMAGAZZIN"); + modelBuilder.Entity().HasKey(table => new + { + table.mgcodmag + }); + } + } +} diff --git a/ApiPolo/Models/Tedesco_dbcontext/TEDES_MAG_NEWDbContext.cs b/ApiPolo/Models/Tedesco_dbcontext/TEDES_MAG_NEWDbContext.cs new file mode 100644 index 0000000..0ab677c --- /dev/null +++ b/ApiPolo/Models/Tedesco_dbcontext/TEDES_MAG_NEWDbContext.cs @@ -0,0 +1,27 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Tedesco_dbcontext +{ + /// + public class TEDES_MAG_NEWDbContext:DbContext + { + /// + public DbSet? Mag { get; set; } + + /// + public TEDES_MAG_NEWDbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("LABSEMAG_NEW"); + modelBuilder.Entity().HasKey(table => new + { + table.seriale_rapportino, + table.riga + + }); + } + } +} diff --git a/ApiPolo/Models/Tedesco_dbcontext/TEDES_MANPROG_TECDbContext.cs b/ApiPolo/Models/Tedesco_dbcontext/TEDES_MANPROG_TECDbContext.cs new file mode 100644 index 0000000..eecc362 --- /dev/null +++ b/ApiPolo/Models/Tedesco_dbcontext/TEDES_MANPROG_TECDbContext.cs @@ -0,0 +1,22 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Tedesco_dbcontext +{ + /// + public class TEDES_MANPROG_TECDbContext:DbContext + { + /// + public DbSet? Manutenzioni { get; set; } + + /// + public TEDES_MANPROG_TECDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_MANPROG"); + } + } +} diff --git a/ApiPolo/Models/Tedesco_dbcontext/TEDES_PAGAMDbContext.cs b/ApiPolo/Models/Tedesco_dbcontext/TEDES_PAGAMDbContext.cs new file mode 100644 index 0000000..3632199 --- /dev/null +++ b/ApiPolo/Models/Tedesco_dbcontext/TEDES_PAGAMDbContext.cs @@ -0,0 +1,22 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Tedesco_dbcontext +{ + /// + public class TEDES_PAGAMDbContext:DbContext + { + /// + public DbSet? Pagamenti { get; set; } + + /// + public TEDES_PAGAMDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_PAGAMENTI"); + } + } +} diff --git a/ApiPolo/Models/Tedesco_dbcontext/TEDES_PRESEDbContext.cs b/ApiPolo/Models/Tedesco_dbcontext/TEDES_PRESEDbContext.cs new file mode 100644 index 0000000..d16ae26 --- /dev/null +++ b/ApiPolo/Models/Tedesco_dbcontext/TEDES_PRESEDbContext.cs @@ -0,0 +1,27 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Tedesco_dbcontext +{ + /// + public class TEDES_PRESEDbContext:DbContext + { + /// + public DbSet? Prese { get; set; } + + /// + public TEDES_PRESEDbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("PRESA"); + modelBuilder.Entity().HasKey(table => new { + table.picodazi, + table.pimpianto, + table.picodint, + table.pidatman + }); + } + } +} diff --git a/ApiPolo/Models/Tedesco_dbcontext/TEDES_RAPPORTINIDbContext.cs b/ApiPolo/Models/Tedesco_dbcontext/TEDES_RAPPORTINIDbContext.cs new file mode 100644 index 0000000..e03023d --- /dev/null +++ b/ApiPolo/Models/Tedesco_dbcontext/TEDES_RAPPORTINIDbContext.cs @@ -0,0 +1,21 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Tedesco_dbcontext +{ + /// + public class TEDES_RAPPORTINIDbContext : DbContext + { + /// Rapportini + public DbSet? rapp { get; set; } + + /// ConfigurazioniDbContext + public TEDES_RAPPORTINIDbContext(DbContextOptions options) : base(options) + { + } + /// OnModelCreating + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_RAPPORTINI"); + } + } +} diff --git a/ApiPolo/Models/Tedesco_dbcontext/TEDES_RAPP_NEWDbContext.cs b/ApiPolo/Models/Tedesco_dbcontext/TEDES_RAPP_NEWDbContext.cs new file mode 100644 index 0000000..f1ace7d --- /dev/null +++ b/ApiPolo/Models/Tedesco_dbcontext/TEDES_RAPP_NEWDbContext.cs @@ -0,0 +1,22 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Tedesco_dbcontext +{ + /// + public class TEDES_RAPP_NEWDbContext:DbContext + { + /// + public DbSet? Rapps { get; set; } + + /// + public TEDES_RAPP_NEWDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("RAPP_NEW"); + } + } +} diff --git a/ApiPolo/Models/Tedesco_dbcontext/TEDES_SALDIARTDbContext.cs b/ApiPolo/Models/Tedesco_dbcontext/TEDES_SALDIARTDbContext.cs new file mode 100644 index 0000000..cfee707 --- /dev/null +++ b/ApiPolo/Models/Tedesco_dbcontext/TEDES_SALDIARTDbContext.cs @@ -0,0 +1,21 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Tedesco_dbcontext +{ + /// + public class TEDES_SALDIARTDbContext:DbContext + { + /// + public DbSet? Saldi { get; set; } + + /// + public TEDES_SALDIARTDbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_SALDIART_PREZZI"); + } + } +} diff --git a/ApiPolo/Models/Tedesco_dbcontext/TEDES_SOSTITUZIONIDbcontext.cs b/ApiPolo/Models/Tedesco_dbcontext/TEDES_SOSTITUZIONIDbcontext.cs new file mode 100644 index 0000000..129704c --- /dev/null +++ b/ApiPolo/Models/Tedesco_dbcontext/TEDES_SOSTITUZIONIDbcontext.cs @@ -0,0 +1,22 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Tedesco_dbcontext +{ + /// + public class TEDES_SOSTITUZIONIDbcontext : DbContext + { + /// + public DbSet? Sost { get; set; } + + /// + public TEDES_SOSTITUZIONIDbcontext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_SOSTITUZIONI"); + } + } +} diff --git a/ApiPolo/Models/Tedesco_dbcontext/TEDES_SOSTITUZIONI_DbContext.cs b/ApiPolo/Models/Tedesco_dbcontext/TEDES_SOSTITUZIONI_DbContext.cs new file mode 100644 index 0000000..b4d2346 --- /dev/null +++ b/ApiPolo/Models/Tedesco_dbcontext/TEDES_SOSTITUZIONI_DbContext.cs @@ -0,0 +1,24 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Tedesco_dbcontext +{ + /// + public class TEDES_SOSTITUZIONI_DbContext : DbContext + { + /// + public DbSet? Sost { get; set; } + + /// + public TEDES_SOSTITUZIONI_DbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_SOSTITUZIONI"); + } + } +} + diff --git a/ApiPolo/Models/Tedesco_dbcontext/TEDES_STO_IMPDbContext.cs b/ApiPolo/Models/Tedesco_dbcontext/TEDES_STO_IMPDbContext.cs new file mode 100644 index 0000000..2a82817 --- /dev/null +++ b/ApiPolo/Models/Tedesco_dbcontext/TEDES_STO_IMPDbContext.cs @@ -0,0 +1,22 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Tedesco_dbcontext +{ + /// + public class TEDES_STO_IMPDbContext : DbContext + { + /// + public DbSet? StoImp { get; set; } + + /// + public TEDES_STO_IMPDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_STO_IMP"); + } + } +} diff --git a/ApiPolo/Models/Tedesco_dbcontext/TEDES_STO_RAPPDbContext.cs b/ApiPolo/Models/Tedesco_dbcontext/TEDES_STO_RAPPDbContext.cs new file mode 100644 index 0000000..9e3ebcc --- /dev/null +++ b/ApiPolo/Models/Tedesco_dbcontext/TEDES_STO_RAPPDbContext.cs @@ -0,0 +1,22 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Tedesco_dbcontext +{ + /// + public class TEDES_STO_RAPPDbContext:DbContext + { + /// + public DbSet? StoRapp { get; set; } + + /// + public TEDES_STO_RAPPDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_STO_RAPP"); + } + } +} diff --git a/ApiPolo/Models/Tedesco_dbcontext/TEDES_TECNICIDbContext.cs b/ApiPolo/Models/Tedesco_dbcontext/TEDES_TECNICIDbContext.cs new file mode 100644 index 0000000..f5b9db8 --- /dev/null +++ b/ApiPolo/Models/Tedesco_dbcontext/TEDES_TECNICIDbContext.cs @@ -0,0 +1,22 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Tedesco_dbcontext +{ + /// + public class TEDES_TECNICIDbContext:DbContext + { + /// + public DbSet? Tecnici { get; set; } + + /// + public TEDES_TECNICIDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_TECNICI"); + } + } +} diff --git a/ApiPolo/Models/Tedesco_dbcontext/TEDES_TIMBRATUREDbContext.cs b/ApiPolo/Models/Tedesco_dbcontext/TEDES_TIMBRATUREDbContext.cs new file mode 100644 index 0000000..06a1c48 --- /dev/null +++ b/ApiPolo/Models/Tedesco_dbcontext/TEDES_TIMBRATUREDbContext.cs @@ -0,0 +1,22 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Tedesco_dbcontext +{ + /// + public class TEDES_TIMBRATUREDbContext : DbContext + { + /// + public DbSet? Timbr { get; set; } + + /// + public TEDES_TIMBRATUREDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("TIMBRATURE"); + } + } +} diff --git a/ApiPolo/Models/Timbratura.cs b/ApiPolo/Models/Timbratura.cs new file mode 100644 index 0000000..fda3b62 --- /dev/null +++ b/ApiPolo/Models/Timbratura.cs @@ -0,0 +1,53 @@ +using System.ComponentModel.DataAnnotations; + +namespace ApiPolo.Models +{ + /// Tabella Timbrature + public class Timbratura + { + /// chiave primaria + [Key] + public int id { get; set; } + + /// data + public DateTime? data_timbratura { get; set; } + + /// ora inizio + public int ora_ini { get; set; } + + /// minuto inizio + public int min_ini { get; set; } + + /// ora fine + public int ora_fin { get; set; } + + /// minuto fine + public int min_fin { get; set; } + + /// commessa + public string? commessa { get; set; } + + /// ore viaggio + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(7, 2)")] + public decimal? ore_viaggio { get; set; } + + /// totale ore + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(7, 2)")] + public decimal? tot_ore { get; set; } + + /// giorno settimana + public int? giorno { get; set; } + + /// azienda + public string? azienda { get; set; } + + /// tecnico + public string? tecnico { get; set; } + + /// cpccchk + public string? cpccchk { get; set; } + + /// note + public string? note { get; set; } + } +} diff --git a/ApiPolo/Models/Timbratura_out.cs b/ApiPolo/Models/Timbratura_out.cs new file mode 100644 index 0000000..9dc0ebb --- /dev/null +++ b/ApiPolo/Models/Timbratura_out.cs @@ -0,0 +1,52 @@ +namespace ApiPolo.Models +{ + /// Timbrature OUT + public class Timbratura_out + { + /// id: chiave + public int id { get; set; } + + /// data + public DateTime? data_timbratura { get; set; } + + /// ora inizio + public int ora_ini { get; set; } + + /// minuto inizio + public int min_ini { get; set; } + + /// ora fine + public int ora_fin { get; set; } + + /// minuto fine + public int min_fin { get; set; } + + /// commessa + public string? commessa { get; set; } + + /// ore viaggio + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(7, 2)")] + public decimal? ore_viaggio { get; set; } + + /// giorno settimana + public int? giorno { get; set; } + + /// azienda + public string? azienda { get; set; } + + /// tecnico + public string? tecnico { get; set; } + + /// errore titolo + public string? err_title { get; set; } + + /// errore dettaglio + public string? err_detail { get; set; } + + /// errore status code (200, 500) + public string? err_status_code { get; set; } + + /// note + public string? note { get; set; } + } +} diff --git a/ApiPolo/Models/Token.cs b/ApiPolo/Models/Token.cs new file mode 100644 index 0000000..b47798a --- /dev/null +++ b/ApiPolo/Models/Token.cs @@ -0,0 +1,28 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; + +namespace ApiPolo.Models +{ + /// token di login sul device + public class Token + { + /// id + [DatabaseGenerated(DatabaseGeneratedOption.Identity)] + [Key] + public int Id { get; set; } + + /// tenant azienda + public string? tenant { get; set; } + + /// utente login + public string? usr { get; set; } + + /// token device + public string? token { get; set; } + + /// timestamp inserimento + public DateTime? ts { get; set; } + + + } +} diff --git a/ApiPolo/Models/TokenDbContext.cs b/ApiPolo/Models/TokenDbContext.cs new file mode 100644 index 0000000..b362e44 --- /dev/null +++ b/ApiPolo/Models/TokenDbContext.cs @@ -0,0 +1,23 @@ +using Microsoft.EntityFrameworkCore; +using System.ComponentModel.DataAnnotations.Schema; + +namespace ApiPolo.Models +{ + /// TokenDbContext + public class TokenDbContext : DbContext + { + /// conf + public DbSet? tok { get; set; } + + /// ConfigurazioniDbContext + public TokenDbContext(DbContextOptions options) : base(options) + { + } + /// OnModelCreating + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("Token"); + //modelBuilder.Entity().Property(p => p.Id).HasDatabaseGeneratedOption(DatabaseGeneratedOption.Identity); + } + } +} diff --git a/ApiPolo/Models/Token_out.cs b/ApiPolo/Models/Token_out.cs new file mode 100644 index 0000000..e8730aa --- /dev/null +++ b/ApiPolo/Models/Token_out.cs @@ -0,0 +1,30 @@ +namespace ApiPolo.Models +{ + /// token di login sul device- output + public class Token_out + { + /// tenant azienda + public string? tenant { get; set; } + + /// utente login + public string? usr { get; set; } + + /// token device + public string? token { get; set; } + + /// timestamp inserimento + public DateTime? ts { get; set; } + + /// Error Message + public string? err_title { get; set; } + + /// Error Message detail + public string? err_detail { get; set; } + + /// Status + public string? err_status_code { get; set; } + + /// response + public string? response { get; set; } + } +} diff --git a/ApiPolo/Models/VT_Buoni_DbContext.cs b/ApiPolo/Models/VT_Buoni_DbContext.cs new file mode 100644 index 0000000..726b093 --- /dev/null +++ b/ApiPolo/Models/VT_Buoni_DbContext.cs @@ -0,0 +1,27 @@ +using ApiPolo.Models.VT_dbcontext; +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models +{ + /// + public class VT_Buoni_DbContext : DbContext + { + /// + public DbSet? buoni { get; set; } + + /// + public VT_Buoni_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("BUONI"); + modelBuilder.Entity().HasKey(table => new + { + table.azienda, + table.ser_buono + }); + } + } +} diff --git a/ApiPolo/Models/VT_dbcontext/VT_AZIENDA_RIF_DbContext.cs b/ApiPolo/Models/VT_dbcontext/VT_AZIENDA_RIF_DbContext.cs new file mode 100644 index 0000000..5a9e195 --- /dev/null +++ b/ApiPolo/Models/VT_dbcontext/VT_AZIENDA_RIF_DbContext.cs @@ -0,0 +1,28 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.VT_dbcontext +{ + /// + public class VT_AZIENDA_RIF_DbContext : DbContext + { + /// + public DbSet? Azi { get; set; } + + /// + public VT_AZIENDA_RIF_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("PIAZIRIF"); + modelBuilder.Entity().HasKey(table => new + { + table.piazihoc, + table.picodtec, + table.pirifazi + }); + } + } +} diff --git a/ApiPolo/Models/VT_dbcontext/VT_AZIENDE_PRESENTI_DbContext.cs b/ApiPolo/Models/VT_dbcontext/VT_AZIENDE_PRESENTI_DbContext.cs new file mode 100644 index 0000000..240b5e7 --- /dev/null +++ b/ApiPolo/Models/VT_dbcontext/VT_AZIENDE_PRESENTI_DbContext.cs @@ -0,0 +1,22 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.VT_dbcontext +{ + /// + public class VT_AZIENDE_PRESENTI_DbContext : DbContext + { + /// + public DbSet? Aziende { get; set; } + + /// + public VT_AZIENDE_PRESENTI_DbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_AZIENDE_PRESENTI"); + } + } +} diff --git a/ApiPolo/Models/VT_dbcontext/VT_CHIAMATE_DbContext.cs b/ApiPolo/Models/VT_dbcontext/VT_CHIAMATE_DbContext.cs new file mode 100644 index 0000000..2e43dab --- /dev/null +++ b/ApiPolo/Models/VT_dbcontext/VT_CHIAMATE_DbContext.cs @@ -0,0 +1,23 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.VT_dbcontext +{ + /// + public class VT_CHIAMATE_DbContext : DbContext + { + /// + public DbSet? Chiamate { get; set; } + + /// + public VT_CHIAMATE_DbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_CHIAMATE"); + } + } +} diff --git a/ApiPolo/Models/VT_dbcontext/VT_CHIAMATE_MANAGER_DbContext.cs b/ApiPolo/Models/VT_dbcontext/VT_CHIAMATE_MANAGER_DbContext.cs new file mode 100644 index 0000000..435a362 --- /dev/null +++ b/ApiPolo/Models/VT_dbcontext/VT_CHIAMATE_MANAGER_DbContext.cs @@ -0,0 +1,22 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.VT_dbcontext +{ + /// + public class VT_CHIAMATE_MANAGER_DbContext : DbContext + { + /// + public DbSet? Chiamate { get; set; } + + /// + public VT_CHIAMATE_MANAGER_DbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_CHIAMATE_VT"); + } + } +} diff --git a/ApiPolo/Models/VT_dbcontext/VT_CHIAMATE_TABLE_DbContext.cs b/ApiPolo/Models/VT_dbcontext/VT_CHIAMATE_TABLE_DbContext.cs new file mode 100644 index 0000000..833e7a8 --- /dev/null +++ b/ApiPolo/Models/VT_dbcontext/VT_CHIAMATE_TABLE_DbContext.cs @@ -0,0 +1,27 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.VT_dbcontext +{ + /// + public class VT_CHIAMATE_TABLE_DbContext : DbContext + { + /// + public DbSet? Chi { get; set; } + + /// + public VT_CHIAMATE_TABLE_DbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("CHIAMATE"); + modelBuilder.Entity().HasKey(table => new { + table.chcodazi, + table.chserial + }); + } + } +} diff --git a/ApiPolo/Models/VT_dbcontext/VT_CHIUSURE_DbContext.cs b/ApiPolo/Models/VT_dbcontext/VT_CHIUSURE_DbContext.cs new file mode 100644 index 0000000..cdd734d --- /dev/null +++ b/ApiPolo/Models/VT_dbcontext/VT_CHIUSURE_DbContext.cs @@ -0,0 +1,23 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.VT_dbcontext +{ + /// + public class VT_CHIUSURE_DbContext : DbContext + { + /// + public DbSet? Chiu { get; set; } + + /// + public VT_CHIUSURE_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_CHIUSURE"); + + } + } +} diff --git a/ApiPolo/Models/VT_dbcontext/VT_CHIUSURE_TABLE_DbContext.cs b/ApiPolo/Models/VT_dbcontext/VT_CHIUSURE_TABLE_DbContext.cs new file mode 100644 index 0000000..857c3f2 --- /dev/null +++ b/ApiPolo/Models/VT_dbcontext/VT_CHIUSURE_TABLE_DbContext.cs @@ -0,0 +1,27 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.VT_dbcontext +{ + /// + public class VT_CHIUSURE_TABLE_DbContext : DbContext + { + /// + public DbSet? Chiutable { get; set; } + + /// + public VT_CHIUSURE_TABLE_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("CCHIUSA"); + modelBuilder.Entity().HasKey(table => new + { + table.cccodazi, + table.cccodice + }); + } + } +} diff --git a/ApiPolo/Models/VT_dbcontext/VT_COMMESSE_DbContext.cs b/ApiPolo/Models/VT_dbcontext/VT_COMMESSE_DbContext.cs new file mode 100644 index 0000000..5c71a24 --- /dev/null +++ b/ApiPolo/Models/VT_dbcontext/VT_COMMESSE_DbContext.cs @@ -0,0 +1,22 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.VT_dbcontext +{ + /// + public class VT_COMMESSE_DbContext : DbContext + { + /// + public DbSet? Comm { get; set; } + + /// + public VT_COMMESSE_DbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_COMMESSE"); + } + } +} diff --git a/ApiPolo/Models/VT_dbcontext/VT_COMMESSE_TABLE_DbContext.cs b/ApiPolo/Models/VT_dbcontext/VT_COMMESSE_TABLE_DbContext.cs new file mode 100644 index 0000000..afee5a0 --- /dev/null +++ b/ApiPolo/Models/VT_dbcontext/VT_COMMESSE_TABLE_DbContext.cs @@ -0,0 +1,26 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.VT_dbcontext +{ + /// + public class VT_COMMESSE_TABLE_DbContext : DbContext + { + /// + public DbSet? CommTable { get; set; } + + /// + public VT_COMMESSE_TABLE_DbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("COMMESSE"); + modelBuilder.Entity().HasKey(table => new { + table.laserial, + table.lacodazi + }); + } + } +} diff --git a/ApiPolo/Models/VT_dbcontext/VT_CONTI_DbContext.cs b/ApiPolo/Models/VT_dbcontext/VT_CONTI_DbContext.cs new file mode 100644 index 0000000..adc20d0 --- /dev/null +++ b/ApiPolo/Models/VT_dbcontext/VT_CONTI_DbContext.cs @@ -0,0 +1,23 @@ +using ApiPolo.Models.PMS_dbcontext; +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.VT_dbcontext +{ + /// + public class VT_CONTI_DbContext : DbContext + { + /// + public DbSet? Anag { get; set; } + + /// + public VT_CONTI_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_CLIENTI"); + + } + } +} diff --git a/ApiPolo/Models/VT_dbcontext/VT_CONTI_TABLE_DbContext.cs b/ApiPolo/Models/VT_dbcontext/VT_CONTI_TABLE_DbContext.cs new file mode 100644 index 0000000..17d17c2 --- /dev/null +++ b/ApiPolo/Models/VT_dbcontext/VT_CONTI_TABLE_DbContext.cs @@ -0,0 +1,28 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.VT_dbcontext +{ + /// + public class VT_CONTI_TABLE_DbContext : DbContext + { + /// + public DbSet? Anagtable { get; set; } + + /// + public VT_CONTI_TABLE_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("CONTI"); + modelBuilder.Entity().HasKey(table => new + { + table.antipcon, + table.ancodice, + table.ancodazi + }); + } + } +} diff --git a/ApiPolo/Models/VT_dbcontext/VT_DATI_AZIENDA_DbContext.cs b/ApiPolo/Models/VT_dbcontext/VT_DATI_AZIENDA_DbContext.cs new file mode 100644 index 0000000..6fe6935 --- /dev/null +++ b/ApiPolo/Models/VT_dbcontext/VT_DATI_AZIENDA_DbContext.cs @@ -0,0 +1,26 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.VT_dbcontext +{ + /// + public class VT_DATI_AZIENDA_DbContext : DbContext + { + /// + public DbSet? Dati { get; set; } + + /// + public VT_DATI_AZIENDA_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("DATI_AZIENDA"); + modelBuilder.Entity().HasKey(table => new + { + table.azienda, + table.tecnico + }); + } + } +} diff --git a/ApiPolo/Models/VT_dbcontext/VT_IMPIANTI_DbContext.cs b/ApiPolo/Models/VT_dbcontext/VT_IMPIANTI_DbContext.cs new file mode 100644 index 0000000..93b0fb5 --- /dev/null +++ b/ApiPolo/Models/VT_dbcontext/VT_IMPIANTI_DbContext.cs @@ -0,0 +1,22 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.VT_dbcontext +{ + /// + public class VT_IMPIANTI_DbContext : DbContext + { + /// + public DbSet? Impia { get; set; } + + /// + public VT_IMPIANTI_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_IMPIANTI"); + } + } +} diff --git a/ApiPolo/Models/VT_dbcontext/VT_IMPIANTI_MANAGER_DbContext.cs b/ApiPolo/Models/VT_dbcontext/VT_IMPIANTI_MANAGER_DbContext.cs new file mode 100644 index 0000000..250e16b --- /dev/null +++ b/ApiPolo/Models/VT_dbcontext/VT_IMPIANTI_MANAGER_DbContext.cs @@ -0,0 +1,21 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.VT_dbcontext +{ + /// + public class VT_IMPIANTI_MANAGER_DbContext : DbContext + { + /// + public DbSet? Impia { get; set; } + + /// + public VT_IMPIANTI_MANAGER_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_IMPIANTI_VT"); + } + } +} diff --git a/ApiPolo/Models/VT_dbcontext/VT_IMPIANTI_TABLE_DbContext.cs b/ApiPolo/Models/VT_dbcontext/VT_IMPIANTI_TABLE_DbContext.cs new file mode 100644 index 0000000..44d47f8 --- /dev/null +++ b/ApiPolo/Models/VT_dbcontext/VT_IMPIANTI_TABLE_DbContext.cs @@ -0,0 +1,26 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.VT_dbcontext +{ + /// + public class VT_IMPIANTI_TABLE_DbContext : DbContext + { + /// + public DbSet? Impia { get; set; } + + /// + public VT_IMPIANTI_TABLE_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("MIMPIANTI"); + modelBuilder.Entity().HasKey(table => new + { + table.imcodimp, + table.imcodazi + }); + } + } +} diff --git a/ApiPolo/Models/VT_dbcontext/VT_PROGRESSIVI_DbContext.cs b/ApiPolo/Models/VT_dbcontext/VT_PROGRESSIVI_DbContext.cs new file mode 100644 index 0000000..476913a --- /dev/null +++ b/ApiPolo/Models/VT_dbcontext/VT_PROGRESSIVI_DbContext.cs @@ -0,0 +1,27 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.VT_dbcontext +{ + /// + public class VT_PROGRESSIVI_DbContext: DbContext + { + /// + public DbSet? progr { get; set; } + + /// + public VT_PROGRESSIVI_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("PROGRESSIVI"); + modelBuilder.Entity().HasKey(table => new + { + table.azienda, + table.tipo_prog + }); + + } + } +} diff --git a/ApiPolo/Models/VT_dbcontext/VT_RAPPORTINI_DbContext.cs b/ApiPolo/Models/VT_dbcontext/VT_RAPPORTINI_DbContext.cs new file mode 100644 index 0000000..a6d307d --- /dev/null +++ b/ApiPolo/Models/VT_dbcontext/VT_RAPPORTINI_DbContext.cs @@ -0,0 +1,22 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.VT_dbcontext +{ + /// + public class VT_RAPPORTINI_DbContext : DbContext + { + /// + public DbSet? Rapportini { get; set; } + + /// + public VT_RAPPORTINI_DbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_RAPPORTINI"); + } + } +} diff --git a/ApiPolo/Models/VT_dbcontext/VT_RAPP_NEW_DbContext.cs b/ApiPolo/Models/VT_dbcontext/VT_RAPP_NEW_DbContext.cs new file mode 100644 index 0000000..34ebbc9 --- /dev/null +++ b/ApiPolo/Models/VT_dbcontext/VT_RAPP_NEW_DbContext.cs @@ -0,0 +1,23 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.VT_dbcontext +{ + /// + public class VT_RAPP_NEW_DbContext : DbContext + { + /// + public DbSet? Rapps { get; set; } + + /// + public VT_RAPP_NEW_DbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_RAPP_NEW"); + } + } +} diff --git a/ApiPolo/Models/VT_dbcontext/VT_RAPP_NEW_TABLE_DbContext.cs b/ApiPolo/Models/VT_dbcontext/VT_RAPP_NEW_TABLE_DbContext.cs new file mode 100644 index 0000000..8167e1c --- /dev/null +++ b/ApiPolo/Models/VT_dbcontext/VT_RAPP_NEW_TABLE_DbContext.cs @@ -0,0 +1,27 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.VT_dbcontext +{ + /// + public class VT_RAPP_NEW_TABLE_DbContext : DbContext + { + /// + public DbSet? Rapps { get; set; } + + /// + public VT_RAPP_NEW_TABLE_DbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("RAPP_NEW"); + modelBuilder.Entity().HasKey(table => new + { + table.seriale_rapportino + }); + } + } +} diff --git a/ApiPolo/Models/VT_dbcontext/VT_REGISTRAZIONE_DbContext.cs b/ApiPolo/Models/VT_dbcontext/VT_REGISTRAZIONE_DbContext.cs new file mode 100644 index 0000000..1c94d2f --- /dev/null +++ b/ApiPolo/Models/VT_dbcontext/VT_REGISTRAZIONE_DbContext.cs @@ -0,0 +1,25 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.VT_dbcontext +{ + /// + public class VT_REGISTRAZIONE_DbContext : DbContext + { + /// + public DbSet? Reg { get; set; } + + /// + public VT_REGISTRAZIONE_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("REGISTRAZIONI"); + modelBuilder.Entity().HasKey(table => new + { + table.Id + }); + } + } +} diff --git a/ApiPolo/Models/VT_dbcontext/VT_TECNICI_DbContext.cs b/ApiPolo/Models/VT_dbcontext/VT_TECNICI_DbContext.cs new file mode 100644 index 0000000..6fbdef5 --- /dev/null +++ b/ApiPolo/Models/VT_dbcontext/VT_TECNICI_DbContext.cs @@ -0,0 +1,23 @@ +using ApiPolo.Models.PMS_dbcontext; +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.VT_dbcontext +{ + /// + public class VT_TECNICI_DbContext : DbContext + { + /// + public DbSet? Tecnici { get; set; } + + /// + public VT_TECNICI_DbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_TECNICI"); + } + } +} diff --git a/ApiPolo/Models/VT_dbcontext/VT_TECNICI_TABLE_DbContext.cs b/ApiPolo/Models/VT_dbcontext/VT_TECNICI_TABLE_DbContext.cs new file mode 100644 index 0000000..eb2b54c --- /dev/null +++ b/ApiPolo/Models/VT_dbcontext/VT_TECNICI_TABLE_DbContext.cs @@ -0,0 +1,27 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.VT_dbcontext +{ + /// + public class VT_TECNICI_TABLE_DbContext : DbContext + { + /// + public DbSet? Tectable { get; set; } + + /// + public VT_TECNICI_TABLE_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("TECNICI"); + modelBuilder.Entity().HasKey(table => new + { + table.tccodazi, + table.tccodice + }); + } + } +} diff --git a/ApiPolo/Program.cs b/ApiPolo/Program.cs new file mode 100644 index 0000000..b52b560 --- /dev/null +++ b/ApiPolo/Program.cs @@ -0,0 +1,65 @@ +/*using Microsoft.AspNetCore.Authentication.Negotiate; + +var builder = WebApplication.CreateBuilder(args); + +// Add services to the container. + +builder.Services.AddControllers(); +// Learn more about configuring Swagger/OpenAPI at https://aka.ms/aspnetcore/swashbuckle +builder.Services.AddEndpointsApiExplorer(); +builder.Services.AddSwaggerGen(); + +builder.Services.AddAuthentication(NegotiateDefaults.AuthenticationScheme) + .AddNegotiate(); + +builder.Services.AddAuthorization(options => +{ + // By default, all incoming requests will be authorized according to the default policy. + options.FallbackPolicy = options.DefaultPolicy; +}); + +var app = builder.Build(); + +// Configure the HTTP request pipeline. +if (app.Environment.IsDevelopment()) +{ + app.UseSwagger(); + app.UseSwaggerUI(); +} + +app.UseHttpsRedirection(); + +app.UseAuthentication(); +app.UseAuthorization(); + +app.MapControllers(); + +app.Run(); +*/ + +namespace ApiPolo +{ + /// + public class Program + { + /// + public static void Main(string[] args) + { + CreateHostBuilder(args).Build().Run(); + } + + /// + public static IHostBuilder CreateHostBuilder(string[] args) => + Host.CreateDefaultBuilder(args) + .ConfigureWebHostDefaults(webBuilder => + { + webBuilder.UseStartup(); + webBuilder.ConfigureKestrel(options => + { + options.Limits.KeepAliveTimeout = TimeSpan.FromMinutes(5); + }); + //webBuilder.UseUrls("http://10.0.0.187:5000").UseStartup(); + }); + } +} + diff --git a/ApiPolo/Properties/PublishProfiles/FolderProfile.pubxml b/ApiPolo/Properties/PublishProfiles/FolderProfile.pubxml new file mode 100644 index 0000000..fc96288 --- /dev/null +++ b/ApiPolo/Properties/PublishProfiles/FolderProfile.pubxml @@ -0,0 +1,20 @@ + + + + + true + false + true + Release + Any CPU + FileSystem + C:\SORGENTI\_publish + FileSystem + + net6.0 + fcb070a4-cb11-48f7-8245-a609151a95f7 + false + + \ No newline at end of file diff --git a/ApiPolo/Properties/PublishProfiles/FolderProfile.pubxml.user b/ApiPolo/Properties/PublishProfiles/FolderProfile.pubxml.user new file mode 100644 index 0000000..978b427 --- /dev/null +++ b/ApiPolo/Properties/PublishProfiles/FolderProfile.pubxml.user @@ -0,0 +1,16 @@ + + + + + <_PublishTargetUrl>C:\SORGENTI\_publish + True|2024-01-12T14:28:14.3310950Z;True|2024-01-11T12:17:47.0416265+01:00;True|2024-01-09T10:56:10.6108110+01:00;True|2024-01-09T10:01:29.4419062+01:00;True|2024-01-09T09:09:56.0678886+01:00;False|2024-01-09T09:09:34.2552726+01:00;True|2024-01-08T17:12:45.9831372+01:00;True|2024-01-08T14:29:20.6298939+01:00;True|2024-01-05T16:13:20.1834182+01:00;True|2024-01-04T16:37:06.7941235+01:00;True|2023-12-21T17:18:34.0526998+01:00;True|2023-12-21T16:15:05.7983943+01:00;False|2023-12-21T16:14:46.9213541+01:00;True|2023-12-21T15:37:56.3166908+01:00;True|2023-12-21T15:06:45.2960170+01:00;True|2023-12-19T10:07:15.3406839+01:00;True|2023-12-19T09:40:37.4542645+01:00;True|2023-12-18T18:10:38.7733804+01:00;True|2023-12-18T17:52:35.2759182+01:00;True|2023-12-18T17:27:30.6925247+01:00;False|2023-12-18T17:27:18.6654468+01:00;True|2023-12-18T17:19:53.6193809+01:00;True|2023-12-18T11:34:31.9683375+01:00;True|2023-12-18T10:49:14.0195219+01:00;True|2023-12-14T15:24:45.4235825+01:00;True|2023-12-14T12:12:59.2505838+01:00;True|2023-12-14T10:06:03.4821381+01:00;False|2023-12-14T10:05:56.1675464+01:00;True|2023-12-13T17:46:06.5114228+01:00;True|2023-12-13T17:18:32.9967555+01:00;True|2023-12-13T17:09:02.2153382+01:00;True|2023-12-13T16:54:26.3998101+01:00;True|2023-12-12T12:29:15.4496576+01:00;True|2023-12-12T10:07:33.8605887+01:00;True|2023-12-07T16:48:32.3661089+01:00;False|2023-12-07T16:48:16.7800909+01:00;True|2023-12-07T15:59:01.9494614+01:00;True|2023-12-06T16:37:11.4189532+01:00;False|2023-12-06T16:36:58.1903924+01:00;True|2023-12-06T15:04:14.7658513+01:00;True|2023-12-06T15:03:56.8183271+01:00;False|2023-12-06T15:02:43.1658892+01:00;True|2023-12-05T14:56:58.6533793+01:00;True|2023-12-05T11:27:46.7461820+01:00;False|2023-12-05T11:27:33.9312828+01:00;True|2023-12-05T10:50:28.4716173+01:00;True|2023-11-30T16:42:31.8596611+01:00;True|2023-11-30T15:55:03.2495195+01:00;True|2023-11-27T15:56:29.4491507+01:00;True|2023-11-27T12:01:19.1611383+01:00;True|2023-11-24T16:17:46.6740447+01:00;True|2023-11-24T14:45:39.1983088+01:00;True|2023-11-21T12:27:46.1304045+01:00;True|2023-11-20T14:46:36.7367797+01:00;True|2023-11-16T15:24:40.0316829+01:00;True|2023-11-16T11:01:34.3117013+01:00;True|2023-11-16T11:00:55.7387444+01:00;True|2023-11-14T09:11:56.7615009+01:00;True|2023-11-09T09:52:23.5464533+01:00;True|2023-11-07T16:06:54.6961557+01:00;False|2023-11-07T16:06:44.9066723+01:00;True|2023-11-06T12:13:06.8671991+01:00;True|2023-10-26T10:42:14.4857090+02:00;True|2023-10-24T09:42:38.9743258+02:00;True|2023-10-23T17:12:45.9054585+02:00;True|2023-10-23T16:29:52.5174378+02:00;True|2023-10-19T16:09:03.8796311+02:00;True|2023-10-19T15:59:31.4939287+02:00;True|2023-10-19T15:40:14.7096576+02:00;True|2023-10-19T14:56:26.8783257+02:00;True|2023-10-19T14:42:33.0463171+02:00;True|2023-10-17T16:39:01.8740450+02:00;True|2023-10-17T16:33:03.8236421+02:00;False|2023-10-17T16:32:49.7163540+02:00;True|2023-10-17T15:55:56.9396463+02:00;True|2023-10-17T15:38:05.1800302+02:00;True|2023-10-17T12:42:35.7979137+02:00;True|2023-10-13T17:43:19.5350513+02:00;True|2023-10-13T15:09:29.1892333+02:00;True|2023-10-10T10:40:11.4271446+02:00;True|2023-10-10T10:25:36.0756310+02:00;True|2023-10-10T10:12:13.5785443+02:00;True|2023-10-09T18:26:44.2790166+02:00;True|2023-10-09T17:20:03.1205720+02:00;False|2023-10-09T17:19:49.5869638+02:00;True|2023-10-09T16:21:22.1396153+02:00;True|2023-10-09T12:30:29.0785113+02:00;True|2023-10-09T11:51:35.1476417+02:00;True|2023-10-06T15:52:46.5217950+02:00;True|2023-10-05T17:12:51.6409719+02:00;True|2023-10-05T16:57:41.2838348+02:00;True|2023-10-05T15:09:47.2469186+02:00;True|2023-10-05T13:01:26.6213524+02:00;True|2023-10-05T11:28:28.2625915+02:00;True|2023-10-05T10:57:51.2833086+02:00;True|2023-10-05T09:50:51.3238703+02:00;True|2023-10-04T17:49:34.0728040+02:00;True|2023-10-02T11:56:53.6875755+02:00;True|2023-09-29T16:37:01.0471211+02:00;True|2023-09-29T15:24:54.9626631+02:00; + + + + + 10/19/2023 16:00:51 + + + \ No newline at end of file diff --git a/ApiPolo/Properties/launchSettings.json b/ApiPolo/Properties/launchSettings.json new file mode 100644 index 0000000..af0004a --- /dev/null +++ b/ApiPolo/Properties/launchSettings.json @@ -0,0 +1,33 @@ +{ + "$schema": "https://json.schemastore.org/launchsettings.json", + "iisSettings": { + "windowsAuthentication": true, + "anonymousAuthentication": false, + "iisExpress": { + "applicationUrl": "http://localhost:15743", + "sslPort": 44322 + } + }, + "profiles": { + "ApiPolo": { + "commandName": "Project", + "dotnetRunMessages": true, + "launchBrowser": true, + "launchUrl": "swagger", + "applicationUrl": "https://localhost:7068;http://localhost:5068;http://10.0.0.187:5068;https://10.0.0.187:7068", + + + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + }, + "IIS Express": { + "commandName": "IISExpress", + "launchBrowser": true, + "launchUrl": "swagger", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + } + } +} diff --git a/ApiPolo/SQL/CreaVisteGitoga.txt b/ApiPolo/SQL/CreaVisteGitoga.txt new file mode 100644 index 0000000..9d59fcf --- /dev/null +++ b/ApiPolo/SQL/CreaVisteGitoga.txt @@ -0,0 +1,273 @@ +USE [R80_GITSR] +GO + +/****** Object: View [dbo].[API_CAUS_RAPP] Script Date: 01/02/2023 15:02:43 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +CREATE VIEW [dbo].[API_CAUS_RAPP] +AS +select CRCODICE,CRDESCRI,CRRIFATT from [R80_MARROCCO_TEST].dbo.GITSRCAUSRAPP +GO +/****** Object: View [dbo].[API_CHIUSURE] Script Date: 01/02/2023 15:08:38 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +CREATE VIEW [dbo].[API_CHIUSURE] +AS +SELECT CCCODAZI, CCCODICE, CCDESCR, cpccchk, CCFLFATT, CCFLREP, CCDESSUP, CCTIPCOD, CCGRUPPO, CCIMPINT, CCIMPMAN, CCSERINT, CCSERMAN, CCNUMORE, CCPERMAN, CORECOM, CODTOBSO, + 0 as CCRAPABI, CCRIAPRE, '' as CCCHIINT, 0 as CCRAPOBB +FROM [R80_MARROCCO_TEST].dbo.CCHIUSA where COALESCE(CODTOBSO, '') = '' and CCCODAZI='GITSR' +GO +/****** Object: View [dbo].[API_CLIENTI] Script Date: 01/02/2023 16:53:11 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + + +CREATE VIEW [dbo].[API_CLIENTI] +AS +SELECT ANTIPCON, ANCODICE, AN_EMAIL,ANCODFIS,ANPARIVA,ANINDIRI, ANTELEFO, ANNUMCEL, AN_EMPEC,ANDESCRI,ANNUMLIS +FROM [R80_MARROCCO_TEST].dbo.GITSRCONTI +WHERE (ANTIPCON = 'C') +GO +/****** Object: View [dbo].[API_PAGAMENTI] Script Date: 01/02/2023 15:10:15 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +CREATE VIEW [dbo].[API_PAGAMENTI] +AS +select PACODICE,PADESCRI from [R80_MARROCCO_TEST].dbo.GITSRPAG_AMEN +GO + + + +/****** Object: View [dbo].[API_RAPP_NEW] Script Date: 01/02/2023 16:55:27 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + + +CREATE VIEW [dbo].[API_RAPP_NEW] +AS +SELECT SERIALE_RAPPORTINO, TIPO_RAPPORTINO, AZIENDA_IMPIANTO, CODICE_IMPIANTO, AZIENDA_CHIAMATA, SERIALE_CHIAMATA, SERIALE_COMMESSA, DATA_RAPPORTINO, ORA_INI_RAPPORTINO, + MIN_INI_RAPPORTINO, ORA_FIN_RAPPORTINO, MIN_FIN_RAPPORTINO, CODICE_CHIUSURA_1, CODICE_CHIUSURA_2, CODICE_CHIUSURA_3, CODICE_CHIUSURA_4, CODICE_CHIUSURA_5, + CODICE_CHIUSURA_6, CODICE_CHIUSURA_7, CODICE_CHIUSURA_8, CODICE_CHIUSURA_9, CODICE_CHIUSURA_10, DESCRIZIONE_INTERVENTO, STATO_FINALE, GENERATO, AZIENDA_TECNICO, + CODICE_TECNICO, RIFIUTATA, FIRMA, INCARICO, DATA_VALIDITA, IMMAGINE, '' as SER_BUONO,'' as CODICE_INTERVENTO, + DIFETTI_RISCONTRATI, LAVORO_ESEGUITO, ESITO_INTERVENTO,NOTE_ESITO, NOTE_INTERVENTO,NUOVO_CONTRATTO, ORE_LAVORO, CAUSALE, MATERIALE, DIRITTO_CHIAMATA, MANODOPERA, SPESE_VIAGGIO, + PAGAMENTO, ANTICIPO, TOTALE, NOTE_PAGAMENTO, TIPO_INTERVENTO, RAFOTO1, RAFOTO2, RAFOTO3, RAFOTO4, RAFOTO5, RAFOTO6, RAFOTO7, RAFOTO8, RAFOTO9, RAFOTO10 +FROM [R80_MARROCCO_TEST].dbo.RAPP_NEW where AZIENDA_IMPIANTO='GITSR' +GO +/****** Object: View [dbo].[API_STO_RAPP] Script Date: 01/02/2023 15:13:05 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +CREATE VIEW [dbo].[API_STO_RAPP] +AS +select + +PICODINT as codice_intervento, +PIDATMAN as data_manutenzione +,CODINTE.CIDESCRI,CIDESSUP, +TCCODICE,TCDESCRI,/*RAPPMAST.NOTE_ESITO,*/'' as NOTE_ESITO,DATA_RAPPORTINO +, STATO_FINALE,/*RAPPMAST.ESITO_INTERVENTO,*/'' as ESITO_INTERVENTO,DESCRIZIONE_INTERVENTO,FIRMA +,SERIALE_CHIAMATA,TIPO_RAPPORTINO,CHCODSEG as codice_segnalazione,SER_BUONO,DIFETTI_RISCONTRATI,LAVORO_ESEGUITO,NOTE_INTERVENTO +,ORE_LAVORO,MATERIALE,DIRITTO_CHIAMATA,ANTICIPO, MANODOPERA, SPESE_VIAGGIO,pagamento,CODICE_IMPIANTO, +TOTALE,NOTE_PAGAMENTO,TIPO_INTERVENTO,GENERATO,AZIENDA_TECNICO,AZIENDA_IMPIANTO,AZIENDA_CHIAMATA + +,CODICE_CHIUSURA_1,CODICE_CHIUSURA_2,CODICE_CHIUSURA_3,CODICE_CHIUSURA_4,CODICE_CHIUSURA_5, +CODICE_CHIUSURA_6,CODICE_CHIUSURA_7,CODICE_CHIUSURA_8,CODICE_CHIUSURA_9,CODICE_CHIUSURA_10 +,SERIALE_RAPPORTINO + +,DATA_EFFETTIVA +,IMINDIRI1 as indirizzo_tipo ,IMINDIRI2 as indirizzo,IMINDIRI3 as indirizzo_num ,IMINDIRI4 as indirizzo_num2,IMINDIRI5 as indirizzo_scala +,(select CCDESCR from [R80_MARROCCO_TEST].dbo.CCHIUSA where CCCODAZI='GITSR' and CCCODICE=CODICE_CHIUSURA_1) as cc1 +,(select CCDESCR from [R80_MARROCCO_TEST].dbo.CCHIUSA where CCCODAZI='GITSR' and CCCODICE=CODICE_CHIUSURA_2) as cc2 +,(select CCDESCR from [R80_MARROCCO_TEST].dbo.CCHIUSA where CCCODAZI='GITSR' and CCCODICE=CODICE_CHIUSURA_3) as cc3 +,(select CCDESCR from [R80_MARROCCO_TEST].dbo.CCHIUSA where CCCODAZI='GITSR' and CCCODICE=CODICE_CHIUSURA_4) as cc4 +,(select CCDESCR from [R80_MARROCCO_TEST].dbo.CCHIUSA where CCCODAZI='GITSR' and CCCODICE=CODICE_CHIUSURA_5) as cc5 +,(select CCDESCR from [R80_MARROCCO_TEST].dbo.CCHIUSA where CCCODAZI='GITSR' and CCCODICE=CODICE_CHIUSURA_6) as cc6 +,(select CCDESCR from [R80_MARROCCO_TEST].dbo.CCHIUSA where CCCODAZI='GITSR' and CCCODICE=CODICE_CHIUSURA_7) as cc7 +,(select CCDESCR from [R80_MARROCCO_TEST].dbo.CCHIUSA where CCCODAZI='GITSR' and CCCODICE=CODICE_CHIUSURA_8) as cc8 +,(select CCDESCR from [R80_MARROCCO_TEST].dbo.CCHIUSA where CCCODAZI='GITSR' and CCCODICE=CODICE_CHIUSURA_9) as cc9 +,(select CCDESCR from [R80_MARROCCO_TEST].dbo.CCHIUSA where CCCODAZI='GITSR' and CCCODICE=CODICE_CHIUSURA_10) as cc10 + +,(select CCDESSUP from [R80_MARROCCO_TEST].dbo.CCHIUSA where CCCODAZI='GITSR' and CCCODICE=CODICE_CHIUSURA_1) as ccds1 +,(select CCDESSUP from [R80_MARROCCO_TEST].dbo.CCHIUSA where CCCODAZI='GITSR' and CCCODICE=CODICE_CHIUSURA_2) as ccds2 +,(select CCDESSUP from [R80_MARROCCO_TEST].dbo.CCHIUSA where CCCODAZI='GITSR' and CCCODICE=CODICE_CHIUSURA_3) as ccds3 +,(select CCDESSUP from [R80_MARROCCO_TEST].dbo.CCHIUSA where CCCODAZI='GITSR' and CCCODICE=CODICE_CHIUSURA_4) as ccds4 +,(select CCDESSUP from [R80_MARROCCO_TEST].dbo.CCHIUSA where CCCODAZI='GITSR' and CCCODICE=CODICE_CHIUSURA_5) as ccds5 +,(select CCDESSUP from [R80_MARROCCO_TEST].dbo.CCHIUSA where CCCODAZI='GITSR' and CCCODICE=CODICE_CHIUSURA_6) as ccds6 +,(select CCDESSUP from [R80_MARROCCO_TEST].dbo.CCHIUSA where CCCODAZI='GITSR' and CCCODICE=CODICE_CHIUSURA_7) as ccds7 +,(select CCDESSUP from [R80_MARROCCO_TEST].dbo.CCHIUSA where CCCODAZI='GITSR' and CCCODICE=CODICE_CHIUSURA_8) as ccds8 +,(select CCDESSUP from [R80_MARROCCO_TEST].dbo.CCHIUSA where CCCODAZI='GITSR' and CCCODICE=CODICE_CHIUSURA_9) as ccds9 +,(select CCDESSUP from [R80_MARROCCO_TEST].dbo.CCHIUSA where CCCODAZI='GITSR' and CCCODICE=CODICE_CHIUSURA_10) as ccds10 + +from [R80_MARROCCO_TEST].dbo.GITSRRAPPMAST RAPPMAST left outer join [R80_MARROCCO_TEST].dbo.RAPP_NEW on RASERIAL=SERIALE_RAPPORTINO +left outer join [R80_MARROCCO_TEST].dbo.TECNICI on RACODTE1=TCCODICE +left outer join [R80_MARROCCO_TEST].dbo.CHIAMATE on CHCODAZI='GITSR' and CHSERIAL=SERIALE_CHIAMATA and TIPO_RAPPORTINO='3' +left outer join [R80_MARROCCO_TEST].dbo.PIPRESA on PIMPIANTO=CODICE_IMPIANTO and PICODINT=CODICE_INTERVENTO and PICODAZI='GITSR' +LEFT OUTER JOIN [R80_MARROCCO_TEST].dbo.CODINTE ON PICODINT = [R80_MARROCCO_TEST].dbo.CODINTE.CICODICE +LEFT OUTER JOIN [R80_MARROCCO_TEST].dbo.MIMPIANTI ON AZIENDA_IMPIANTO = [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMCODAZI AND CODICE_IMPIANTO = [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMCODIMP +where SERIALE_RAPPORTINO is not null +and DATA_RAPPORTINO>=DATEADD(month, -2, GETDATE()) +GO +/****** Object: View [dbo].[API_IMPIANTI] Script Date: 01/02/2023 15:24:18 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +CREATE VIEW [dbo].[API_IMPIANTI] +AS +SELECT +[R80_MARROCCO_TEST].dbo.MIMPIANTI.IMCODAZI, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMCODIMP, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMDESCRI, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMTIPOIM, +[R80_MARROCCO_TEST].dbo.MIMPIANTI.IMMATRIC, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMNUMIMP, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMULTCLI, +[R80_MARROCCO_TEST].dbo.MIMPIANTI.IMULTDCL, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMULTAMM, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMULTDAM, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMULTTAM, +[R80_MARROCCO_TEST].dbo.MIMPIANTI.IMINDIRI1, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMINDIRI2, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMINDIRI3, +[R80_MARROCCO_TEST].dbo.MIMPIANTI.IMINDIRI4, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMINDIRI5, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMLOCALI, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMCODCAP, +[R80_MARROCCO_TEST].dbo.MIMPIANTI.IMCOMUNE, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMPROVIN, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMCODNAZ, +[R80_MARROCCO_TEST].dbo.MIMPIANTI.IMUBICAZ, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMZONMAN, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMFLPUPR, [R80_MARROCCO_TEST].dbo.MIMPIANTI.UTDC, +[R80_MARROCCO_TEST].dbo.MIMPIANTI.UTDV, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMPIAMAN, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMDATATT, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMZONCHI, +[R80_MARROCCO_TEST].dbo.MIMPIANTI.IMZONSUP, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMDAINMA, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMDAFIMA, +[R80_MARROCCO_TEST].dbo.MIMPIANTI.IMDATCOS, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMTELESO, [R80_MARROCCO_TEST].dbo.API_CLIENTI.AN_EMAIL,'' as IMAZIRIF +FROM +[R80_MARROCCO_TEST].dbo.MIMPIANTI INNER JOIN +[R80_MARROCCO_TEST].dbo.API_CLIENTI ON [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMULTCLI = [R80_MARROCCO_TEST].dbo.API_CLIENTI.ANCODICE +where [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMCODAZI='GITSR' +GO +/****** Object: View [dbo].[API_TECNICI] Script Date: 01/02/2023 15:31:11 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +CREATE VIEW [dbo].[API_TECNICI] +AS +SELECT +[R80_MARROCCO_TEST].dbo.TECNICI.TCCODICE, [R80_MARROCCO_TEST].dbo.TECNICI.TCDESCRI, [R80_MARROCCO_TEST].dbo.TECNICI.TCTELEF1, [R80_MARROCCO_TEST].dbo.TECNICI.TCCHIAM, [R80_MARROCCO_TEST].dbo.TECNICI.TCMANUT, +[R80_MARROCCO_TEST].dbo.TECNICI.TCCODAZI, [R80_MARROCCO_TEST].dbo.TECNICI.TCSUPER, [R80_MARROCCO_TEST].dbo.TECNICI.TCUSER, [R80_MARROCCO_TEST].dbo.TECNICI.TCPWD, +[R80_MARROCCO_TEST].dbo.TECDISP.TDCODZON, [R80_MARROCCO_TEST].dbo.TECDISP.TDDATAIN, [R80_MARROCCO_TEST].dbo.TECDISP.TDDATAFI,TCCOOR as costo_ordinario,TCCONO as costo_notturno, +TCCOST as costo_straordinario,TCCOFE as costo_festivo +FROM +[R80_MARROCCO_TEST].dbo.TECNICI INNER JOIN +[R80_MARROCCO_TEST].dbo.TECDISP ON [R80_MARROCCO_TEST].dbo.TECNICI.TCCODICE = [R80_MARROCCO_TEST].dbo.TECDISP.TDCODTEC AND [R80_MARROCCO_TEST].dbo.TECNICI.TCCODAZI = [R80_MARROCCO_TEST].dbo.TECDISP.TDCODAZI +GO +/****** Object: View [dbo].[API_CHIAMATE] Script Date: 01/02/2023 15:38:15 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +CREATE VIEW [dbo].[API_CHIAMATE] +AS +select +ic.SERIALE_RAPPORTINO as ser_rapp_ic,ic.TIPO_RAPPORTINO as tipo_rapp_ic,/*pc.GENERATO,pc.RIFIUTATA,*/ic.INCARICO as ic, +rif.SERIALE_RAPPORTINO as ser_rapp_rif,rif.TIPO_RAPPORTINO as tipo_rapp_rif,/*rif.GENERATO,*/rif.RIFIUTATA as rif,/*rif.INCARICO,*/ +chiu.SERIALE_RAPPORTINO as ser_rapp_chiu,chiu.TIPO_RAPPORTINO as tipo_rapp_chiu,chiu.SER_BUONO as ser_buono_chiu, +'' as err_title,''as err_detail,'' as err_status_code, +[R80_MARROCCO_TEST].dbo.CHIAMATE.CHCODAZI, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHSERIAL, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHCODESE, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHTIPO, +[R80_MARROCCO_TEST].dbo.CHIAMATE.CHNUMERO, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHDATA, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHORA, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHMIN, +[R80_MARROCCO_TEST].dbo.CHIAMATE.CHOPASS, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHOPCHI, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHCODIMP, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHAZIIMP, +[R80_MARROCCO_TEST].dbo.CHIAMATE.CHSTATO, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHDTAPP, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHORAAPI, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHMINAPI, +[R80_MARROCCO_TEST].dbo.CHIAMATE.CHORAAPF, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHMINAPF, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHRIFER, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHTELEF, +[R80_MARROCCO_TEST].dbo.CHIAMATE.CHCODSEG, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHSTOPI, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHNOTE, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHDTASS, +[R80_MARROCCO_TEST].dbo.CHIAMATE.CHORASS, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHMINASS, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHDTCHI, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHORACHI, +[R80_MARROCCO_TEST].dbo.CHIAMATE.CHMINCHI, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHDTLIN, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHORALI, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHMINLI, +[R80_MARROCCO_TEST].dbo.CHIAMATE.CHDTLFI, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHORALF, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHMINLF, [R80_MARROCCO_TEST].dbo.CHIAMATE.cpccchk, +[R80_MARROCCO_TEST].dbo.CHIAMATE.CHNRAP1, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHSRAP1, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHNRAP2, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHSRAP2, +[R80_MARROCCO_TEST].dbo.CHIAMATE.CHMODRAC, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHPRGANN, [R80_MARROCCO_TEST].dbo.CHIAMATE.UTCC, [R80_MARROCCO_TEST].dbo.CHIAMATE.UTCV, +[R80_MARROCCO_TEST].dbo.CHIAMATE.CHIMPMAN, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHPERMAN, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHFLSTIM, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHFLESTE, +[R80_MARROCCO_TEST].dbo.CHIAMATE.CHTCHIAM as TCCODICE, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHSEREXT, API_IMPIANTI.IMDESCRI, API_IMPIANTI.IMTIPOIM, +API_IMPIANTI.IMMATRIC, API_IMPIANTI.IMNUMIMP, API_IMPIANTI.IMULTAMM, API_IMPIANTI.IMULTDAM, +API_IMPIANTI.IMULTTAM, API_IMPIANTI.IMINDIRI1, API_IMPIANTI.IMINDIRI2, API_IMPIANTI.IMINDIRI3, +API_IMPIANTI.IMINDIRI4, API_IMPIANTI.IMINDIRI5, API_IMPIANTI.IMLOCALI, +API_IMPIANTI.IMCODCAP, API_IMPIANTI.IMCOMUNE, API_IMPIANTI.IMPROVIN, API_IMPIANTI.IMCODNAZ, +API_IMPIANTI.IMUBICAZ, API_IMPIANTI.IMZONMAN, API_IMPIANTI.IMFLPUPR, API_IMPIANTI.IMZONCHI, +API_IMPIANTI.IMZONSUP, API_IMPIANTI.IMDAINMA, API_IMPIANTI.IMDAFIMA, API_IMPIANTI.IMDATCOS, +API_IMPIANTI.IMTELESO, API_IMPIANTI.AN_EMAIL,API_IMPIANTI.IMULTCLI, [R80_MARROCCO_TEST].dbo.GITSRCONTI.ANCODICE, +[R80_MARROCCO_TEST].dbo.GITSRCONTI.ANTIPCON, [R80_MARROCCO_TEST].dbo.GITSRCONTI.ANDESCRI, [R80_MARROCCO_TEST].dbo.GITSRCONTI.ANTELEFO, [R80_MARROCCO_TEST].dbo.CODSEGN.CSDESCR, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHTCHIAM +,'' as IMAZIRIF +,(select top 1 tcdescri from dbo.API_TECNICI where TCCODICE=CHIAMATE.CHTCHIAM) as TCDESCRI +,(select top 1 CTIMPCHI from [R80_MARROCCO_TEST].dbo.GITSRMCONMAST where CTCODCLI=ANCODICE and CTFLSTAT='A' order by CTDATREG desc) as chiamata +,(select top 1 CTIMPVIA from [R80_MARROCCO_TEST].dbo.GITSRMCONMAST where CTCODCLI=ANCODICE and CTFLSTAT='A' order by CTDATREG desc) as spe_viaggio +,(select top 1 costo_ordinario from API_TECNICI where TCCODICE=CHIAMATE.CHTCHIAM) as costo_ordinario +,(select top 1 costo_notturno from API_TECNICI where TCCODICE=CHIAMATE.CHTCHIAM) as costo_notturno +,(select top 1 costo_straordinario from API_TECNICI where TCCODICE=CHIAMATE.CHTCHIAM) as costo_straordinario +,(select top 1 costo_festivo from API_TECNICI where TCCODICE=CHIAMATE.CHTCHIAM) as costo_festivo +from [R80_MARROCCO_TEST].dbo.CHIAMATE +left outer join [R80_MARROCCO_TEST].dbo.RAPP_NEW as ic on (ic.SERIALE_CHIAMATA=CHSERIAL and ic.AZIENDA_CHIAMATA=CHCODAZI and ic.CODICE_TECNICO=CHTCHIAM and LTRIM(RTRIM(coalesce(ic.TIPO_RAPPORTINO,'')))='' /*and ic.GENERATO is NULL*/ and (ic.RIFIUTATA='N' )) +left outer join [R80_MARROCCO_TEST].dbo.RAPP_NEW as rif on (rif.SERIALE_CHIAMATA=CHSERIAL and rif.AZIENDA_CHIAMATA=CHCODAZI and rif.CODICE_TECNICO=CHTCHIAM and LTRIM(RTRIM(coalesce(rif.TIPO_RAPPORTINO,'')))='' /*and rif.GENERATO is NULL*/ and (rif.RIFIUTATA='S' )) +left outer join [R80_MARROCCO_TEST].dbo.RAPP_NEW as chiu on (chiu.SERIALE_CHIAMATA=CHSERIAL and chiu.AZIENDA_CHIAMATA=CHCODAZI and chiu.CODICE_TECNICO=CHTCHIAM and LTRIM(RTRIM(coalesce(chiu.TIPO_RAPPORTINO,'')))='3' /*and chiu.GENERATO is NULL*/ ) +left outer join [R80_MARROCCO_TEST].dbo.CODSEGN ON [R80_MARROCCO_TEST].dbo.CODSEGN.CSCODICE = [R80_MARROCCO_TEST].dbo.CHIAMATE.CHCODSEG AND [R80_MARROCCO_TEST].dbo.CODSEGN.CSCODAZI = [R80_MARROCCO_TEST].dbo.CHIAMATE.CHCODAZI +LEFT OUTER JOIN [R80_MARROCCO_TEST].dbo.GITSRCONTI +INNER JOIN dbo.API_IMPIANTI ON [R80_MARROCCO_TEST].dbo.GITSRCONTI.ANCODICE = dbo.API_IMPIANTI.IMULTCLI AND [R80_MARROCCO_TEST].dbo.GITSRCONTI.ANTIPCON = 'C' ON [R80_MARROCCO_TEST].dbo.CHIAMATE.CHAZIIMP = dbo.API_IMPIANTI.IMCODAZI AND [R80_MARROCCO_TEST].dbo.CHIAMATE.CHCODIMP = dbo.API_IMPIANTI.IMCODIMP + +where 1=1 +and [R80_MARROCCO_TEST].dbo.CHIAMATE.CHSTATO = 'C' +and [R80_MARROCCO_TEST].dbo.CHIAMATE.CHDATA>=DATEADD(month, -3, GETDATE()) +and [R80_MARROCCO_TEST].dbo.CHIAMATE.CHDATA<=DATEADD(month, 3, GETDATE()) +and [R80_MARROCCO_TEST].dbo.CHIAMATE.CHCODAZI='GITSR' +GO + +/****** Object: View [dbo].[API_MANPROG] Script Date: 01/02/2023 15:43:35 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +CREATE VIEW [dbo].[API_MANPROG] +AS + +SELECT +PRESA.PIMPIANTO,PRESA.PICODINT,PRESA.PIDATMAN +,RAPP_NEW.SERIALE_RAPPORTINO,RAPP_NEW.SER_BUONO,RAPP_NEW.GENERATO,RAPP_NEW.CODICE_INTERVENTO +,'' as err_title,''as err_detail,'' as err_status_code +,[R80_MARROCCO_TEST].dbo.MANPROG.MPCODAZI AS CTCODAZI, [R80_MARROCCO_TEST].dbo.MANPROG.MPCODIMP AS CTCODIMP, [R80_MARROCCO_TEST].dbo.MANPROG.MPCODINT AS CTCODINT, +[R80_MARROCCO_TEST].dbo.CODINTE.CIDESCRI AS CTDESINT, [R80_MARROCCO_TEST].dbo.MANPROG.MPDATPRO AS CTDATPRO, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMDESCRI, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMTIPOIM, +[R80_MARROCCO_TEST].dbo.MIMPIANTI.IMMATRIC, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMNUMIMP, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMULTDAM, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMULTAMM, +[R80_MARROCCO_TEST].dbo.MIMPIANTI.IMINDIRI1, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMINDIRI2, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMINDIRI3, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMINDIRI4, +[R80_MARROCCO_TEST].dbo.MIMPIANTI.IMINDIRI5, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMLOCALI, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMCODCAP, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMCOMUNE, +[R80_MARROCCO_TEST].dbo.MIMPIANTI.IMPROVIN, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMCODNAZ, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMUBICAZ, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMZONMAN, +[R80_MARROCCO_TEST].dbo.MIMPIANTI.IMRIFERI, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMZONCHI, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMZONSUP,[R80_MARROCCO_TEST].dbo.MIMPIANTI.IMULTTAM as TELEFONO1, +[R80_MARROCCO_TEST].dbo.MIMPIANTI.IMULTFAM as TELEFONO2,[R80_MARROCCO_TEST].dbo.MIMPIANTI.IMULTCLI as CLIENTE,[R80_MARROCCO_TEST].dbo.MANPROG.MPMESGEN, [R80_MARROCCO_TEST].dbo.MANPROG.MPMESFEB, +[R80_MARROCCO_TEST].dbo.MANPROG.MPMESMAR, [R80_MARROCCO_TEST].dbo.MANPROG.MPMESAPR, [R80_MARROCCO_TEST].dbo.MANPROG.MPMESMAG, [R80_MARROCCO_TEST].dbo.MANPROG.MPMESLUG, +[R80_MARROCCO_TEST].dbo.MANPROG.MPMESGIU, [R80_MARROCCO_TEST].dbo.MANPROG.MPMESAGO, [R80_MARROCCO_TEST].dbo.MANPROG.MPMESSET, [R80_MARROCCO_TEST].dbo.MANPROG.MPMESOTT, +[R80_MARROCCO_TEST].dbo.MANPROG.MPMESNOV, [R80_MARROCCO_TEST].dbo.MANPROG.MPMESDIC,T.TCDESCRI,T.TCCODICE,'' as IMAZIRIF +,(select top 1 CTIMPCHI from [R80_MARROCCO_TEST].dbo.GITSRMCONMAST where CTCODCLI=IMULTCLI and CTFLSTAT='A' order by CTDATREG desc) as chiamata +,(select top 1 CTIMPVIA from [R80_MARROCCO_TEST].dbo.GITSRMCONMAST where CTCODCLI=IMULTCLI and CTFLSTAT='A' order by CTDATREG desc) as spe_viaggio +,(select top 1 costo_ordinario from API_TECNICI where TCCODICE=T.TCCODICE) as costo_ordinario +,(select top 1 costo_notturno from API_TECNICI where TCCODICE=T.TCCODICE) as costo_notturno +,(select top 1 costo_straordinario from API_TECNICI where TCCODICE=T.TCCODICE) as costo_straordinario +,(select top 1 costo_festivo from API_TECNICI where TCCODICE=T.TCCODICE) as costo_festivo + +FROM [R80_MARROCCO_TEST].dbo.MANPROG INNER JOIN [R80_MARROCCO_TEST].dbo.MIMPIANTI ON [R80_MARROCCO_TEST].dbo.MANPROG.MPCODAZI = [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMCODAZI AND [R80_MARROCCO_TEST].dbo.MANPROG.MPCODIMP = [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMCODIMP +LEFT OUTER JOIN [R80_MARROCCO_TEST].dbo.CODINTE ON [R80_MARROCCO_TEST].dbo.MANPROG.MPCODINT = [R80_MARROCCO_TEST].dbo.CODINTE.CICODICE +INNER JOIN API_TECNICI T ON MIMPIANTI.IMZONMAN=T.TDCODZON AND MANPROG.MPCODAZI=T.TCCODAZI and t.TDDATAFI>=GETDATE() +left outer join PRESA on (PICODAZI=MPCODAZI and MPCODIMP=PIMPIANTO and MPCODINT=PICODINT /*and TCCODICE=picodtec*/ and MPDATPRO=PIDATMAN) +left outer join [R80_MARROCCO_TEST].dbo.RAPP_NEW on (MANPROG.MPCODAZI=AZIENDA_CHIAMATA and MANPROG.MPCODIMP=CODICE_IMPIANTO and LTRIM(RTRIM(coalesce(TIPO_RAPPORTINO,'')))='2' and MANPROG.MPCODINT=CODICE_INTERVENTO /*and GENERATO is null*/and MPDATPRO=DATA_VALIDITA) +where MANPROG.MPDATPRO>=DATEADD(month, -3, GETDATE()) +and MANPROG.MPDATPRO<=EOMONTH(GETDATE(),0) +and LTRIM(rtrim(coalesce(GENERATO,'')))<>'S' +and MANPROG.MPCODAZI='GITSR' +GO diff --git a/ApiPolo/SQL/CreaVisteLifta.txt b/ApiPolo/SQL/CreaVisteLifta.txt new file mode 100644 index 0000000..2e6c1b0 --- /dev/null +++ b/ApiPolo/SQL/CreaVisteLifta.txt @@ -0,0 +1,273 @@ +USE [R80_LIFTA] +GO + +/****** Object: View [dbo].[API_CAUS_RAPP] Script Date: 01/02/2023 15:02:43 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +CREATE VIEW [dbo].[API_CAUS_RAPP] +AS +select CRCODICE,CRDESCRI,CRRIFATT from [R80_MARROCCO_TEST].dbo.LIFTACAUSRAPP +GO +/****** Object: View [dbo].[API_CHIUSURE] Script Date: 01/02/2023 15:08:38 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +CREATE VIEW [dbo].[API_CHIUSURE] +AS +SELECT CCCODAZI, CCCODICE, CCDESCR, cpccchk, CCFLFATT, CCFLREP, CCDESSUP, CCTIPCOD, CCGRUPPO, CCIMPINT, CCIMPMAN, CCSERINT, CCSERMAN, CCNUMORE, CCPERMAN, CORECOM, CODTOBSO, + 0 as CCRAPABI, CCRIAPRE, '' as CCCHIINT, 0 as CCRAPOBB +FROM [R80_MARROCCO_TEST].dbo.CCHIUSA where COALESCE(CODTOBSO, '') = '' and CCCODAZI='LIFTA' +GO +/****** Object: View [dbo].[API_CLIENTI] Script Date: 01/02/2023 16:53:11 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + + +CREATE VIEW [dbo].[API_CLIENTI] +AS +SELECT ANTIPCON, ANCODICE, AN_EMAIL,ANCODFIS,ANPARIVA,ANINDIRI, ANTELEFO, ANNUMCEL, AN_EMPEC,ANDESCRI,ANNUMLIS +FROM [R80_MARROCCO_TEST].dbo.LIFTACONTI +WHERE (ANTIPCON = 'C') +GO +/****** Object: View [dbo].[API_PAGAMENTI] Script Date: 01/02/2023 15:10:15 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +CREATE VIEW [dbo].[API_PAGAMENTI] +AS +select PACODICE,PADESCRI from [R80_MARROCCO_TEST].dbo.LIFTAPAG_AMEN +GO + + + +/****** Object: View [dbo].[API_RAPP_NEW] Script Date: 01/02/2023 16:55:27 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + + +CREATE VIEW [dbo].[API_RAPP_NEW] +AS +SELECT SERIALE_RAPPORTINO, TIPO_RAPPORTINO, AZIENDA_IMPIANTO, CODICE_IMPIANTO, AZIENDA_CHIAMATA, SERIALE_CHIAMATA, SERIALE_COMMESSA, DATA_RAPPORTINO, ORA_INI_RAPPORTINO, + MIN_INI_RAPPORTINO, ORA_FIN_RAPPORTINO, MIN_FIN_RAPPORTINO, CODICE_CHIUSURA_1, CODICE_CHIUSURA_2, CODICE_CHIUSURA_3, CODICE_CHIUSURA_4, CODICE_CHIUSURA_5, + CODICE_CHIUSURA_6, CODICE_CHIUSURA_7, CODICE_CHIUSURA_8, CODICE_CHIUSURA_9, CODICE_CHIUSURA_10, DESCRIZIONE_INTERVENTO, STATO_FINALE, GENERATO, AZIENDA_TECNICO, + CODICE_TECNICO, RIFIUTATA, FIRMA, INCARICO, DATA_VALIDITA, IMMAGINE, '' as SER_BUONO,'' as CODICE_INTERVENTO, + DIFETTI_RISCONTRATI, LAVORO_ESEGUITO, ESITO_INTERVENTO,NOTE_ESITO, NOTE_INTERVENTO,NUOVO_CONTRATTO, ORE_LAVORO, CAUSALE, MATERIALE, DIRITTO_CHIAMATA, MANODOPERA, SPESE_VIAGGIO, + PAGAMENTO, ANTICIPO, TOTALE, NOTE_PAGAMENTO, TIPO_INTERVENTO, RAFOTO1, RAFOTO2, RAFOTO3, RAFOTO4, RAFOTO5, RAFOTO6, RAFOTO7, RAFOTO8, RAFOTO9, RAFOTO10 +FROM [R80_MARROCCO_TEST].dbo.RAPP_NEW where AZIENDA_IMPIANTO='LIFTA' +GO +/****** Object: View [dbo].[API_STO_RAPP] Script Date: 01/02/2023 15:13:05 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +CREATE VIEW [dbo].[API_STO_RAPP] +AS +select + +PICODINT as codice_intervento, +PIDATMAN as data_manutenzione +,CODINTE.CIDESCRI,CIDESSUP, +TCCODICE,TCDESCRI,/*RAPPMAST.NOTE_ESITO,*/'' as NOTE_ESITO,DATA_RAPPORTINO +, STATO_FINALE,/*RAPPMAST.ESITO_INTERVENTO,*/'' as ESITO_INTERVENTO,DESCRIZIONE_INTERVENTO,FIRMA +,SERIALE_CHIAMATA,TIPO_RAPPORTINO,CHCODSEG as codice_segnalazione,SER_BUONO,DIFETTI_RISCONTRATI,LAVORO_ESEGUITO,NOTE_INTERVENTO +,ORE_LAVORO,MATERIALE,DIRITTO_CHIAMATA,ANTICIPO, MANODOPERA, SPESE_VIAGGIO,pagamento,CODICE_IMPIANTO, +TOTALE,NOTE_PAGAMENTO,TIPO_INTERVENTO,GENERATO,AZIENDA_TECNICO,AZIENDA_IMPIANTO,AZIENDA_CHIAMATA + +,CODICE_CHIUSURA_1,CODICE_CHIUSURA_2,CODICE_CHIUSURA_3,CODICE_CHIUSURA_4,CODICE_CHIUSURA_5, +CODICE_CHIUSURA_6,CODICE_CHIUSURA_7,CODICE_CHIUSURA_8,CODICE_CHIUSURA_9,CODICE_CHIUSURA_10 +,SERIALE_RAPPORTINO + +,DATA_EFFETTIVA +,IMINDIRI1 as indirizzo_tipo ,IMINDIRI2 as indirizzo,IMINDIRI3 as indirizzo_num ,IMINDIRI4 as indirizzo_num2,IMINDIRI5 as indirizzo_scala +,(select CCDESCR from [R80_MARROCCO_TEST].dbo.CCHIUSA where CCCODAZI='LIFTA' and CCCODICE=CODICE_CHIUSURA_1) as cc1 +,(select CCDESCR from [R80_MARROCCO_TEST].dbo.CCHIUSA where CCCODAZI='LIFTA' and CCCODICE=CODICE_CHIUSURA_2) as cc2 +,(select CCDESCR from [R80_MARROCCO_TEST].dbo.CCHIUSA where CCCODAZI='LIFTA' and CCCODICE=CODICE_CHIUSURA_3) as cc3 +,(select CCDESCR from [R80_MARROCCO_TEST].dbo.CCHIUSA where CCCODAZI='LIFTA' and CCCODICE=CODICE_CHIUSURA_4) as cc4 +,(select CCDESCR from [R80_MARROCCO_TEST].dbo.CCHIUSA where CCCODAZI='LIFTA' and CCCODICE=CODICE_CHIUSURA_5) as cc5 +,(select CCDESCR from [R80_MARROCCO_TEST].dbo.CCHIUSA where CCCODAZI='LIFTA' and CCCODICE=CODICE_CHIUSURA_6) as cc6 +,(select CCDESCR from [R80_MARROCCO_TEST].dbo.CCHIUSA where CCCODAZI='LIFTA' and CCCODICE=CODICE_CHIUSURA_7) as cc7 +,(select CCDESCR from [R80_MARROCCO_TEST].dbo.CCHIUSA where CCCODAZI='LIFTA' and CCCODICE=CODICE_CHIUSURA_8) as cc8 +,(select CCDESCR from [R80_MARROCCO_TEST].dbo.CCHIUSA where CCCODAZI='LIFTA' and CCCODICE=CODICE_CHIUSURA_9) as cc9 +,(select CCDESCR from [R80_MARROCCO_TEST].dbo.CCHIUSA where CCCODAZI='LIFTA' and CCCODICE=CODICE_CHIUSURA_10) as cc10 + +,(select CCDESSUP from [R80_MARROCCO_TEST].dbo.CCHIUSA where CCCODAZI='LIFTA' and CCCODICE=CODICE_CHIUSURA_1) as ccds1 +,(select CCDESSUP from [R80_MARROCCO_TEST].dbo.CCHIUSA where CCCODAZI='LIFTA' and CCCODICE=CODICE_CHIUSURA_2) as ccds2 +,(select CCDESSUP from [R80_MARROCCO_TEST].dbo.CCHIUSA where CCCODAZI='LIFTA' and CCCODICE=CODICE_CHIUSURA_3) as ccds3 +,(select CCDESSUP from [R80_MARROCCO_TEST].dbo.CCHIUSA where CCCODAZI='LIFTA' and CCCODICE=CODICE_CHIUSURA_4) as ccds4 +,(select CCDESSUP from [R80_MARROCCO_TEST].dbo.CCHIUSA where CCCODAZI='LIFTA' and CCCODICE=CODICE_CHIUSURA_5) as ccds5 +,(select CCDESSUP from [R80_MARROCCO_TEST].dbo.CCHIUSA where CCCODAZI='LIFTA' and CCCODICE=CODICE_CHIUSURA_6) as ccds6 +,(select CCDESSUP from [R80_MARROCCO_TEST].dbo.CCHIUSA where CCCODAZI='LIFTA' and CCCODICE=CODICE_CHIUSURA_7) as ccds7 +,(select CCDESSUP from [R80_MARROCCO_TEST].dbo.CCHIUSA where CCCODAZI='LIFTA' and CCCODICE=CODICE_CHIUSURA_8) as ccds8 +,(select CCDESSUP from [R80_MARROCCO_TEST].dbo.CCHIUSA where CCCODAZI='LIFTA' and CCCODICE=CODICE_CHIUSURA_9) as ccds9 +,(select CCDESSUP from [R80_MARROCCO_TEST].dbo.CCHIUSA where CCCODAZI='LIFTA' and CCCODICE=CODICE_CHIUSURA_10) as ccds10 + +from [R80_MARROCCO_TEST].dbo.LIFTARAPPMAST RAPPMAST left outer join [R80_MARROCCO_TEST].dbo.RAPP_NEW on RASERIAL=SERIALE_RAPPORTINO +left outer join [R80_MARROCCO_TEST].dbo.TECNICI on RACODTE1=TCCODICE +left outer join [R80_MARROCCO_TEST].dbo.CHIAMATE on CHCODAZI='LIFTA' and CHSERIAL=SERIALE_CHIAMATA and TIPO_RAPPORTINO='3' +left outer join [R80_MARROCCO_TEST].dbo.PIPRESA on PIMPIANTO=CODICE_IMPIANTO and PICODINT=CODICE_INTERVENTO and PICODAZI='LIFTA' +LEFT OUTER JOIN [R80_MARROCCO_TEST].dbo.CODINTE ON PICODINT = [R80_MARROCCO_TEST].dbo.CODINTE.CICODICE +LEFT OUTER JOIN [R80_MARROCCO_TEST].dbo.MIMPIANTI ON AZIENDA_IMPIANTO = [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMCODAZI AND CODICE_IMPIANTO = [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMCODIMP +where SERIALE_RAPPORTINO is not null +and DATA_RAPPORTINO>=DATEADD(month, -2, GETDATE()) +GO +/****** Object: View [dbo].[API_IMPIANTI] Script Date: 01/02/2023 15:24:18 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +CREATE VIEW [dbo].[API_IMPIANTI] +AS +SELECT +[R80_MARROCCO_TEST].dbo.MIMPIANTI.IMCODAZI, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMCODIMP, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMDESCRI, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMTIPOIM, +[R80_MARROCCO_TEST].dbo.MIMPIANTI.IMMATRIC, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMNUMIMP, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMULTCLI, +[R80_MARROCCO_TEST].dbo.MIMPIANTI.IMULTDCL, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMULTAMM, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMULTDAM, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMULTTAM, +[R80_MARROCCO_TEST].dbo.MIMPIANTI.IMINDIRI1, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMINDIRI2, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMINDIRI3, +[R80_MARROCCO_TEST].dbo.MIMPIANTI.IMINDIRI4, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMINDIRI5, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMLOCALI, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMCODCAP, +[R80_MARROCCO_TEST].dbo.MIMPIANTI.IMCOMUNE, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMPROVIN, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMCODNAZ, +[R80_MARROCCO_TEST].dbo.MIMPIANTI.IMUBICAZ, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMZONMAN, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMFLPUPR, [R80_MARROCCO_TEST].dbo.MIMPIANTI.UTDC, +[R80_MARROCCO_TEST].dbo.MIMPIANTI.UTDV, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMPIAMAN, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMDATATT, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMZONCHI, +[R80_MARROCCO_TEST].dbo.MIMPIANTI.IMZONSUP, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMDAINMA, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMDAFIMA, +[R80_MARROCCO_TEST].dbo.MIMPIANTI.IMDATCOS, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMTELESO, [R80_MARROCCO_TEST].dbo.API_CLIENTI.AN_EMAIL,'' as IMAZIRIF +FROM +[R80_MARROCCO_TEST].dbo.MIMPIANTI INNER JOIN +[R80_MARROCCO_TEST].dbo.API_CLIENTI ON [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMULTCLI = [R80_MARROCCO_TEST].dbo.API_CLIENTI.ANCODICE +where [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMCODAZI='LIFTA' +GO +/****** Object: View [dbo].[API_TECNICI] Script Date: 01/02/2023 15:31:11 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +CREATE VIEW [dbo].[API_TECNICI] +AS +SELECT +[R80_MARROCCO_TEST].dbo.TECNICI.TCCODICE, [R80_MARROCCO_TEST].dbo.TECNICI.TCDESCRI, [R80_MARROCCO_TEST].dbo.TECNICI.TCTELEF1, [R80_MARROCCO_TEST].dbo.TECNICI.TCCHIAM, [R80_MARROCCO_TEST].dbo.TECNICI.TCMANUT, +[R80_MARROCCO_TEST].dbo.TECNICI.TCCODAZI, [R80_MARROCCO_TEST].dbo.TECNICI.TCSUPER, [R80_MARROCCO_TEST].dbo.TECNICI.TCUSER, [R80_MARROCCO_TEST].dbo.TECNICI.TCPWD, +[R80_MARROCCO_TEST].dbo.TECDISP.TDCODZON, [R80_MARROCCO_TEST].dbo.TECDISP.TDDATAIN, [R80_MARROCCO_TEST].dbo.TECDISP.TDDATAFI,TCCOOR as costo_ordinario,TCCONO as costo_notturno, +TCCOST as costo_straordinario,TCCOFE as costo_festivo +FROM +[R80_MARROCCO_TEST].dbo.TECNICI INNER JOIN +[R80_MARROCCO_TEST].dbo.TECDISP ON [R80_MARROCCO_TEST].dbo.TECNICI.TCCODICE = [R80_MARROCCO_TEST].dbo.TECDISP.TDCODTEC AND [R80_MARROCCO_TEST].dbo.TECNICI.TCCODAZI = [R80_MARROCCO_TEST].dbo.TECDISP.TDCODAZI +GO +/****** Object: View [dbo].[API_CHIAMATE] Script Date: 01/02/2023 15:38:15 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +CREATE VIEW [dbo].[API_CHIAMATE] +AS +select +ic.SERIALE_RAPPORTINO as ser_rapp_ic,ic.TIPO_RAPPORTINO as tipo_rapp_ic,/*pc.GENERATO,pc.RIFIUTATA,*/ic.INCARICO as ic, +rif.SERIALE_RAPPORTINO as ser_rapp_rif,rif.TIPO_RAPPORTINO as tipo_rapp_rif,/*rif.GENERATO,*/rif.RIFIUTATA as rif,/*rif.INCARICO,*/ +chiu.SERIALE_RAPPORTINO as ser_rapp_chiu,chiu.TIPO_RAPPORTINO as tipo_rapp_chiu,chiu.SER_BUONO as ser_buono_chiu, +'' as err_title,''as err_detail,'' as err_status_code, +[R80_MARROCCO_TEST].dbo.CHIAMATE.CHCODAZI, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHSERIAL, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHCODESE, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHTIPO, +[R80_MARROCCO_TEST].dbo.CHIAMATE.CHNUMERO, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHDATA, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHORA, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHMIN, +[R80_MARROCCO_TEST].dbo.CHIAMATE.CHOPASS, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHOPCHI, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHCODIMP, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHAZIIMP, +[R80_MARROCCO_TEST].dbo.CHIAMATE.CHSTATO, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHDTAPP, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHORAAPI, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHMINAPI, +[R80_MARROCCO_TEST].dbo.CHIAMATE.CHORAAPF, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHMINAPF, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHRIFER, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHTELEF, +[R80_MARROCCO_TEST].dbo.CHIAMATE.CHCODSEG, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHSTOPI, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHNOTE, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHDTASS, +[R80_MARROCCO_TEST].dbo.CHIAMATE.CHORASS, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHMINASS, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHDTCHI, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHORACHI, +[R80_MARROCCO_TEST].dbo.CHIAMATE.CHMINCHI, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHDTLIN, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHORALI, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHMINLI, +[R80_MARROCCO_TEST].dbo.CHIAMATE.CHDTLFI, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHORALF, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHMINLF, [R80_MARROCCO_TEST].dbo.CHIAMATE.cpccchk, +[R80_MARROCCO_TEST].dbo.CHIAMATE.CHNRAP1, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHSRAP1, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHNRAP2, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHSRAP2, +[R80_MARROCCO_TEST].dbo.CHIAMATE.CHMODRAC, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHPRGANN, [R80_MARROCCO_TEST].dbo.CHIAMATE.UTCC, [R80_MARROCCO_TEST].dbo.CHIAMATE.UTCV, +[R80_MARROCCO_TEST].dbo.CHIAMATE.CHIMPMAN, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHPERMAN, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHFLSTIM, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHFLESTE, +[R80_MARROCCO_TEST].dbo.CHIAMATE.CHTCHIAM as TCCODICE, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHSEREXT, API_IMPIANTI.IMDESCRI, API_IMPIANTI.IMTIPOIM, +API_IMPIANTI.IMMATRIC, API_IMPIANTI.IMNUMIMP, API_IMPIANTI.IMULTAMM, API_IMPIANTI.IMULTDAM, +API_IMPIANTI.IMULTTAM, API_IMPIANTI.IMINDIRI1, API_IMPIANTI.IMINDIRI2, API_IMPIANTI.IMINDIRI3, +API_IMPIANTI.IMINDIRI4, API_IMPIANTI.IMINDIRI5, API_IMPIANTI.IMLOCALI, +API_IMPIANTI.IMCODCAP, API_IMPIANTI.IMCOMUNE, API_IMPIANTI.IMPROVIN, API_IMPIANTI.IMCODNAZ, +API_IMPIANTI.IMUBICAZ, API_IMPIANTI.IMZONMAN, API_IMPIANTI.IMFLPUPR, API_IMPIANTI.IMZONCHI, +API_IMPIANTI.IMZONSUP, API_IMPIANTI.IMDAINMA, API_IMPIANTI.IMDAFIMA, API_IMPIANTI.IMDATCOS, +API_IMPIANTI.IMTELESO, API_IMPIANTI.AN_EMAIL,API_IMPIANTI.IMULTCLI, [R80_MARROCCO_TEST].dbo.LIFTACONTI.ANCODICE, +[R80_MARROCCO_TEST].dbo.LIFTACONTI.ANTIPCON, [R80_MARROCCO_TEST].dbo.LIFTACONTI.ANDESCRI, [R80_MARROCCO_TEST].dbo.LIFTACONTI.ANTELEFO, [R80_MARROCCO_TEST].dbo.CODSEGN.CSDESCR, [R80_MARROCCO_TEST].dbo.CHIAMATE.CHTCHIAM +,'' as IMAZIRIF +,(select top 1 tcdescri from dbo.API_TECNICI where TCCODICE=CHIAMATE.CHTCHIAM) as TCDESCRI +,(select top 1 CTIMPCHI from [R80_MARROCCO_TEST].dbo.LIFTAMCONMAST where CTCODCLI=ANCODICE and CTFLSTAT='A' order by CTDATREG desc) as chiamata +,(select top 1 CTIMPVIA from [R80_MARROCCO_TEST].dbo.LIFTAMCONMAST where CTCODCLI=ANCODICE and CTFLSTAT='A' order by CTDATREG desc) as spe_viaggio +,(select top 1 costo_ordinario from API_TECNICI where TCCODICE=CHIAMATE.CHTCHIAM) as costo_ordinario +,(select top 1 costo_notturno from API_TECNICI where TCCODICE=CHIAMATE.CHTCHIAM) as costo_notturno +,(select top 1 costo_straordinario from API_TECNICI where TCCODICE=CHIAMATE.CHTCHIAM) as costo_straordinario +,(select top 1 costo_festivo from API_TECNICI where TCCODICE=CHIAMATE.CHTCHIAM) as costo_festivo +from [R80_MARROCCO_TEST].dbo.CHIAMATE +left outer join [R80_MARROCCO_TEST].dbo.RAPP_NEW as ic on (ic.SERIALE_CHIAMATA=CHSERIAL and ic.AZIENDA_CHIAMATA=CHCODAZI and ic.CODICE_TECNICO=CHTCHIAM and LTRIM(RTRIM(coalesce(ic.TIPO_RAPPORTINO,'')))='' /*and ic.GENERATO is NULL*/ and (ic.RIFIUTATA='N' )) +left outer join [R80_MARROCCO_TEST].dbo.RAPP_NEW as rif on (rif.SERIALE_CHIAMATA=CHSERIAL and rif.AZIENDA_CHIAMATA=CHCODAZI and rif.CODICE_TECNICO=CHTCHIAM and LTRIM(RTRIM(coalesce(rif.TIPO_RAPPORTINO,'')))='' /*and rif.GENERATO is NULL*/ and (rif.RIFIUTATA='S' )) +left outer join [R80_MARROCCO_TEST].dbo.RAPP_NEW as chiu on (chiu.SERIALE_CHIAMATA=CHSERIAL and chiu.AZIENDA_CHIAMATA=CHCODAZI and chiu.CODICE_TECNICO=CHTCHIAM and LTRIM(RTRIM(coalesce(chiu.TIPO_RAPPORTINO,'')))='3' /*and chiu.GENERATO is NULL*/ ) +left outer join [R80_MARROCCO_TEST].dbo.CODSEGN ON [R80_MARROCCO_TEST].dbo.CODSEGN.CSCODICE = [R80_MARROCCO_TEST].dbo.CHIAMATE.CHCODSEG AND [R80_MARROCCO_TEST].dbo.CODSEGN.CSCODAZI = [R80_MARROCCO_TEST].dbo.CHIAMATE.CHCODAZI +LEFT OUTER JOIN [R80_MARROCCO_TEST].dbo.LIFTACONTI +INNER JOIN dbo.API_IMPIANTI ON [R80_MARROCCO_TEST].dbo.LIFTACONTI.ANCODICE = dbo.API_IMPIANTI.IMULTCLI AND [R80_MARROCCO_TEST].dbo.LIFTACONTI.ANTIPCON = 'C' ON [R80_MARROCCO_TEST].dbo.CHIAMATE.CHAZIIMP = dbo.API_IMPIANTI.IMCODAZI AND [R80_MARROCCO_TEST].dbo.CHIAMATE.CHCODIMP = dbo.API_IMPIANTI.IMCODIMP + +where 1=1 +and [R80_MARROCCO_TEST].dbo.CHIAMATE.CHSTATO = 'C' +and [R80_MARROCCO_TEST].dbo.CHIAMATE.CHDATA>=DATEADD(month, -3, GETDATE()) +and [R80_MARROCCO_TEST].dbo.CHIAMATE.CHDATA<=DATEADD(month, 3, GETDATE()) +and [R80_MARROCCO_TEST].dbo.CHIAMATE.CHCODAZI='LIFTA' +GO + +/****** Object: View [dbo].[API_MANPROG] Script Date: 01/02/2023 15:43:35 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +CREATE VIEW [dbo].[API_MANPROG] +AS + +SELECT +PRESA.PIMPIANTO,PRESA.PICODINT,PRESA.PIDATMAN +,RAPP_NEW.SERIALE_RAPPORTINO,RAPP_NEW.SER_BUONO,RAPP_NEW.GENERATO,RAPP_NEW.CODICE_INTERVENTO +,'' as err_title,''as err_detail,'' as err_status_code +,[R80_MARROCCO_TEST].dbo.MANPROG.MPCODAZI AS CTCODAZI, [R80_MARROCCO_TEST].dbo.MANPROG.MPCODIMP AS CTCODIMP, [R80_MARROCCO_TEST].dbo.MANPROG.MPCODINT AS CTCODINT, +[R80_MARROCCO_TEST].dbo.CODINTE.CIDESCRI AS CTDESINT, [R80_MARROCCO_TEST].dbo.MANPROG.MPDATPRO AS CTDATPRO, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMDESCRI, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMTIPOIM, +[R80_MARROCCO_TEST].dbo.MIMPIANTI.IMMATRIC, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMNUMIMP, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMULTDAM, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMULTAMM, +[R80_MARROCCO_TEST].dbo.MIMPIANTI.IMINDIRI1, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMINDIRI2, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMINDIRI3, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMINDIRI4, +[R80_MARROCCO_TEST].dbo.MIMPIANTI.IMINDIRI5, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMLOCALI, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMCODCAP, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMCOMUNE, +[R80_MARROCCO_TEST].dbo.MIMPIANTI.IMPROVIN, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMCODNAZ, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMUBICAZ, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMZONMAN, +[R80_MARROCCO_TEST].dbo.MIMPIANTI.IMRIFERI, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMZONCHI, [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMZONSUP,[R80_MARROCCO_TEST].dbo.MIMPIANTI.IMULTTAM as TELEFONO1, +[R80_MARROCCO_TEST].dbo.MIMPIANTI.IMULTFAM as TELEFONO2,[R80_MARROCCO_TEST].dbo.MIMPIANTI.IMULTCLI as CLIENTE,[R80_MARROCCO_TEST].dbo.MANPROG.MPMESGEN, [R80_MARROCCO_TEST].dbo.MANPROG.MPMESFEB, +[R80_MARROCCO_TEST].dbo.MANPROG.MPMESMAR, [R80_MARROCCO_TEST].dbo.MANPROG.MPMESAPR, [R80_MARROCCO_TEST].dbo.MANPROG.MPMESMAG, [R80_MARROCCO_TEST].dbo.MANPROG.MPMESLUG, +[R80_MARROCCO_TEST].dbo.MANPROG.MPMESGIU, [R80_MARROCCO_TEST].dbo.MANPROG.MPMESAGO, [R80_MARROCCO_TEST].dbo.MANPROG.MPMESSET, [R80_MARROCCO_TEST].dbo.MANPROG.MPMESOTT, +[R80_MARROCCO_TEST].dbo.MANPROG.MPMESNOV, [R80_MARROCCO_TEST].dbo.MANPROG.MPMESDIC,T.TCDESCRI,T.TCCODICE,'' as IMAZIRIF +,(select top 1 CTIMPCHI from [R80_MARROCCO_TEST].dbo.LIFTAMCONMAST where CTCODCLI=IMULTCLI and CTFLSTAT='A' order by CTDATREG desc) as chiamata +,(select top 1 CTIMPVIA from [R80_MARROCCO_TEST].dbo.LIFTAMCONMAST where CTCODCLI=IMULTCLI and CTFLSTAT='A' order by CTDATREG desc) as spe_viaggio +,(select top 1 costo_ordinario from API_TECNICI where TCCODICE=T.TCCODICE) as costo_ordinario +,(select top 1 costo_notturno from API_TECNICI where TCCODICE=T.TCCODICE) as costo_notturno +,(select top 1 costo_straordinario from API_TECNICI where TCCODICE=T.TCCODICE) as costo_straordinario +,(select top 1 costo_festivo from API_TECNICI where TCCODICE=T.TCCODICE) as costo_festivo + +FROM [R80_MARROCCO_TEST].dbo.MANPROG INNER JOIN [R80_MARROCCO_TEST].dbo.MIMPIANTI ON [R80_MARROCCO_TEST].dbo.MANPROG.MPCODAZI = [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMCODAZI AND [R80_MARROCCO_TEST].dbo.MANPROG.MPCODIMP = [R80_MARROCCO_TEST].dbo.MIMPIANTI.IMCODIMP +LEFT OUTER JOIN [R80_MARROCCO_TEST].dbo.CODINTE ON [R80_MARROCCO_TEST].dbo.MANPROG.MPCODINT = [R80_MARROCCO_TEST].dbo.CODINTE.CICODICE +INNER JOIN API_TECNICI T ON MIMPIANTI.IMZONMAN=T.TDCODZON AND MANPROG.MPCODAZI=T.TCCODAZI and t.TDDATAFI>=GETDATE() +left outer join PRESA on (PICODAZI=MPCODAZI and MPCODIMP=PIMPIANTO and MPCODINT=PICODINT /*and TCCODICE=picodtec*/ and MPDATPRO=PIDATMAN) +left outer join [R80_MARROCCO_TEST].dbo.RAPP_NEW on (MANPROG.MPCODAZI=AZIENDA_CHIAMATA and MANPROG.MPCODIMP=CODICE_IMPIANTO and LTRIM(RTRIM(coalesce(TIPO_RAPPORTINO,'')))='2' and MANPROG.MPCODINT=CODICE_INTERVENTO /*and GENERATO is null*/and MPDATPRO=DATA_VALIDITA) +where MANPROG.MPDATPRO>=DATEADD(month, -3, GETDATE()) +and MANPROG.MPDATPRO<=EOMONTH(GETDATE(),0) +and LTRIM(rtrim(coalesce(GENERATO,'')))<>'S' +and MANPROG.MPCODAZI='LIFTA' +GO diff --git a/ApiPolo/SQL/CreaVisteMarrocco.txt b/ApiPolo/SQL/CreaVisteMarrocco.txt new file mode 100644 index 0000000..1d17483 --- /dev/null +++ b/ApiPolo/SQL/CreaVisteMarrocco.txt @@ -0,0 +1,222 @@ +/* +[API_CAUS_RAPP] +[API_CHIUSURE] +[API_CLIENTI] +[API_PAGAMENTI] +[API_RAPP_NEW] +[API_STO_RAPP] +[API_IMPIANTI] +[API_TECNICI] +[API_CHIAMATE] +[API_MANPROG] + +per magazzino +[API_MAG_NEW] +[API_MICOMIMP] +[API_SALDIART] +[API_SALDIART_PREZZI] +[API_STO_IMP] +*/ + +USE [R80_MARROCCO] +GO + +/****** Object: View [dbo].[API_CAUS_RAPP] Script Date: 19/01/2023 14:39:58 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +CREATE VIEW [dbo].[API_CAUS_RAPP] +AS +select CRCODICE,CRDESCRI,CRRIFATT from MARROCAUSRAPP +GO +/****** Object: View [dbo].[API_CHIUSURE] Script Date: 19/01/2023 14:40:35 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +CREATE VIEW [dbo].[API_CHIUSURE] +AS +SELECT CCCODAZI, CCCODICE, CCDESCR, cpccchk, CCFLFATT, CCFLREP, CCDESSUP, CCTIPCOD, CCGRUPPO, CCIMPINT, CCIMPMAN, CCSERINT, CCSERMAN, CCNUMORE, CCPERMAN, CORECOM, CODTOBSO, + 0 as CCRAPABI, CCRIAPRE, '' as CCCHIINT, 0 as CCRAPOBB +FROM dbo.CCHIUSA where COALESCE(CODTOBSO, '') = '' +GO +/****** Object: View [dbo].[API_CLIENTI] Script Date: 19/01/2023 14:40:54 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + + +CREATE VIEW [dbo].[API_CLIENTI] +AS +SELECT ANTIPCON, ANCODICE, AN_EMAIL,ANCODFIS,ANPARIVA,ANINDIRI, ANTELEFO, ANNUMCEL, AN_EMPEC,ANDESCRI,ANNUMLIS +FROM dbo.MARROCONTI +WHERE (ANTIPCON = 'C') +GO +/****** Object: View [dbo].[API_PAGAMENTI] Script Date: 19/01/2023 14:41:21 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +CREATE VIEW [dbo].[API_PAGAMENTI] +AS +select PACODICE,PADESCRI from MARROPAG_AMEN +GO +/****** Object: View [dbo].[API_RAPP_NEW] Script Date: 19/01/2023 14:42:20 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +CREATE VIEW [dbo].[API_RAPP_NEW] +AS +SELECT SERIALE_RAPPORTINO, TIPO_RAPPORTINO, AZIENDA_IMPIANTO, CODICE_IMPIANTO, AZIENDA_CHIAMATA, SERIALE_CHIAMATA, SERIALE_COMMESSA, DATA_RAPPORTINO, ORA_INI_RAPPORTINO, + MIN_INI_RAPPORTINO, ORA_FIN_RAPPORTINO, MIN_FIN_RAPPORTINO, CODICE_CHIUSURA_1, CODICE_CHIUSURA_2, CODICE_CHIUSURA_3, CODICE_CHIUSURA_4, CODICE_CHIUSURA_5, + CODICE_CHIUSURA_6, CODICE_CHIUSURA_7, CODICE_CHIUSURA_8, CODICE_CHIUSURA_9, CODICE_CHIUSURA_10, DESCRIZIONE_INTERVENTO, STATO_FINALE, GENERATO, AZIENDA_TECNICO, + CODICE_TECNICO, RIFIUTATA, FIRMA, INCARICO, DATA_VALIDITA, IMMAGINE, '' as SER_BUONO,'' as CODICE_INTERVENTO, + DIFETTI_RISCONTRATI, LAVORO_ESEGUITO, ESITO_INTERVENTO,NOTE_ESITO, NOTE_INTERVENTO,NUOVO_CONTRATTO, ORE_LAVORO, CAUSALE, MATERIALE, DIRITTO_CHIAMATA, MANODOPERA, SPESE_VIAGGIO, + PAGAMENTO, ANTICIPO, TOTALE, NOTE_PAGAMENTO, TIPO_INTERVENTO, RAFOTO1, RAFOTO2, RAFOTO3, RAFOTO4, RAFOTO5, RAFOTO6, RAFOTO7, RAFOTO8, RAFOTO9, RAFOTO10 +FROM dbo.RAPP_NEW +GO +/****** Object: View [dbo].[API_STO_RAPP] Script Date: 19/01/2023 14:43:07 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +CREATE VIEW [dbo].[API_STO_RAPP] +AS select RAPPMAST.RACAURAP,RAPPMAST.RAAZIIMP,RAPPMAST.RACODIMP,RAPPMAST.RATIPCLI,RAPPMAST.RACODCLI,RAPPMAST.RANUMRAP,RAPPMAST.RAALFRAP,RAPPMAST.RADATRAP,RAPPMAST.RAAZITE1, +RAPPMAST.RACODTE1,CAST(RAPPMAST.RADESINT AS CHAR(250)) as RADESINT,CAST(RAPPMAST.RANOTINT AS CHAR(250)) as RANOTINT,RAPPMAST.RADESCRI +from MARRORAPPMAST RAPPMAST +GO +/****** Object: View [dbo].[API_IMPIANTI] Script Date: 19/01/2023 14:43:30 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +CREATE VIEW [dbo].[API_IMPIANTI] +AS +SELECT dbo.MIMPIANTI.IMCODAZI, dbo.MIMPIANTI.IMCODIMP, dbo.MIMPIANTI.IMDESCRI, dbo.MIMPIANTI.IMTIPOIM, dbo.MIMPIANTI.IMMATRIC, dbo.MIMPIANTI.IMNUMIMP, dbo.MIMPIANTI.IMULTCLI, + dbo.MIMPIANTI.IMULTDCL, dbo.MIMPIANTI.IMULTAMM, dbo.MIMPIANTI.IMULTDAM, dbo.MIMPIANTI.IMULTTAM, dbo.MIMPIANTI.IMINDIRI1, dbo.MIMPIANTI.IMINDIRI2, dbo.MIMPIANTI.IMINDIRI3, + dbo.MIMPIANTI.IMINDIRI4, dbo.MIMPIANTI.IMINDIRI5, dbo.MIMPIANTI.IMLOCALI, dbo.MIMPIANTI.IMCODCAP, dbo.MIMPIANTI.IMCOMUNE, dbo.MIMPIANTI.IMPROVIN, dbo.MIMPIANTI.IMCODNAZ, + dbo.MIMPIANTI.IMUBICAZ, dbo.MIMPIANTI.IMZONMAN, dbo.MIMPIANTI.IMFLPUPR, dbo.MIMPIANTI.UTDC, dbo.MIMPIANTI.UTDV, dbo.MIMPIANTI.IMPIAMAN, dbo.MIMPIANTI.IMDATATT, dbo.MIMPIANTI.IMZONCHI, + dbo.MIMPIANTI.IMZONSUP, dbo.MIMPIANTI.IMDAINMA, dbo.MIMPIANTI.IMDAFIMA, dbo.MIMPIANTI.IMDATCOS, dbo.MIMPIANTI.IMTELESO, + dbo.API_CLIENTI.AN_EMAIL +FROM dbo.MIMPIANTI INNER JOIN + dbo.API_CLIENTI ON dbo.MIMPIANTI.IMULTCLI = dbo.API_CLIENTI.ANCODICE +GO +/****** Object: View [dbo].[API_TECNICI] Script Date: 19/01/2023 14:44:10 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +CREATE VIEW [dbo].[API_TECNICI] +AS +SELECT dbo.TECNICI.TCCODICE, dbo.TECNICI.TCDESCRI, dbo.TECNICI.TCTELEF1, dbo.TECNICI.TCCHIAM, dbo.TECNICI.TCMANUT, dbo.TECNICI.TCCODAZI, dbo.TECNICI.TCSUPER, dbo.TECNICI.TCUSER, dbo.TECNICI.TCPWD, + dbo.TECDISP.TDCODZON, dbo.TECDISP.TDDATAIN, dbo.TECDISP.TDDATAFI,TCCOOR as costo_ordinario,TCCONO as costo_notturno,TCCOST as costo_straordinario,TCCOFE as costo_festivo +FROM dbo.TECNICI INNER JOIN + dbo.TECDISP ON dbo.TECNICI.TCCODICE = dbo.TECDISP.TDCODTEC AND dbo.TECNICI.TCCODAZI = dbo.TECDISP.TDCODAZI +GO +/****** Object: View [dbo].[API_CHIAMATE] Script Date: 19/01/2023 14:44:37 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +CREATE VIEW [dbo].[API_CHIAMATE] +AS +select +ic.SERIALE_RAPPORTINO as ser_rapp_ic,ic.TIPO_RAPPORTINO as tipo_rapp_ic,/*pc.GENERATO,pc.RIFIUTATA,*/ic.INCARICO as ic, +rif.SERIALE_RAPPORTINO as ser_rapp_rif,rif.TIPO_RAPPORTINO as tipo_rapp_rif,/*rif.GENERATO,*/rif.RIFIUTATA as rif,/*rif.INCARICO,*/ +chiu.SERIALE_RAPPORTINO as ser_rapp_chiu,chiu.TIPO_RAPPORTINO as tipo_rapp_chiu,chiu.SER_BUONO as ser_buono_chiu, +'' as err_title,''as err_detail,'' as err_status_code, +dbo.CHIAMATE.CHCODAZI, dbo.CHIAMATE.CHSERIAL, dbo.CHIAMATE.CHCODESE, dbo.CHIAMATE.CHTIPO, dbo.CHIAMATE.CHNUMERO, dbo.CHIAMATE.CHDATA, dbo.CHIAMATE.CHORA, dbo.CHIAMATE.CHMIN, +dbo.CHIAMATE.CHOPASS, dbo.CHIAMATE.CHOPCHI, dbo.CHIAMATE.CHCODIMP, dbo.CHIAMATE.CHAZIIMP, dbo.CHIAMATE.CHSTATO, dbo.CHIAMATE.CHDTAPP, dbo.CHIAMATE.CHORAAPI, dbo.CHIAMATE.CHMINAPI, +dbo.CHIAMATE.CHORAAPF, dbo.CHIAMATE.CHMINAPF, dbo.CHIAMATE.CHRIFER, dbo.CHIAMATE.CHTELEF, dbo.CHIAMATE.CHCODSEG, dbo.CHIAMATE.CHSTOPI, dbo.CHIAMATE.CHNOTE, dbo.CHIAMATE.CHDTASS, +dbo.CHIAMATE.CHORASS, dbo.CHIAMATE.CHMINASS, dbo.CHIAMATE.CHDTCHI, dbo.CHIAMATE.CHORACHI, dbo.CHIAMATE.CHMINCHI, dbo.CHIAMATE.CHDTLIN, dbo.CHIAMATE.CHORALI, dbo.CHIAMATE.CHMINLI, +dbo.CHIAMATE.CHDTLFI, dbo.CHIAMATE.CHORALF, dbo.CHIAMATE.CHMINLF, dbo.CHIAMATE.cpccchk, dbo.CHIAMATE.CHNRAP1, dbo.CHIAMATE.CHSRAP1, dbo.CHIAMATE.CHNRAP2, dbo.CHIAMATE.CHSRAP2, +dbo.CHIAMATE.CHMODRAC, dbo.CHIAMATE.CHPRGANN, dbo.CHIAMATE.UTCC, dbo.CHIAMATE.UTCV, dbo.CHIAMATE.CHIMPMAN, dbo.CHIAMATE.CHPERMAN, dbo.CHIAMATE.CHFLSTIM, dbo.CHIAMATE.CHFLESTE,CHIAMATE.CHTCHIAM as TCCODICE, +dbo.CHIAMATE.CHSEREXT, dbo.API_IMPIANTI.IMDESCRI, dbo.API_IMPIANTI.IMTIPOIM, dbo.API_IMPIANTI.IMMATRIC, dbo.API_IMPIANTI.IMNUMIMP, dbo.API_IMPIANTI.IMULTAMM, dbo.API_IMPIANTI.IMULTDAM, +dbo.API_IMPIANTI.IMULTTAM, dbo.API_IMPIANTI.IMINDIRI1, dbo.API_IMPIANTI.IMINDIRI2, dbo.API_IMPIANTI.IMINDIRI3, dbo.API_IMPIANTI.IMINDIRI4, dbo.API_IMPIANTI.IMINDIRI5, dbo.API_IMPIANTI.IMLOCALI, +dbo.API_IMPIANTI.IMCODCAP, dbo.API_IMPIANTI.IMCOMUNE, dbo.API_IMPIANTI.IMPROVIN, dbo.API_IMPIANTI.IMCODNAZ, dbo.API_IMPIANTI.IMUBICAZ, dbo.API_IMPIANTI.IMZONMAN, dbo.API_IMPIANTI.IMFLPUPR, +dbo.API_IMPIANTI.IMZONCHI, dbo.API_IMPIANTI.IMZONSUP, dbo.API_IMPIANTI.IMDAINMA, dbo.API_IMPIANTI.IMDAFIMA, dbo.API_IMPIANTI.IMDATCOS, dbo.API_IMPIANTI.IMTELESO, dbo.API_IMPIANTI.AN_EMAIL, +dbo.API_IMPIANTI.IMULTCLI, dbo.MARROCONTI.ANCODICE, dbo.MARROCONTI.ANTIPCON, dbo.MARROCONTI.ANDESCRI, dbo.MARROCONTI.ANTELEFO, dbo.CODSEGN.CSDESCR, dbo.CHIAMATE.CHTCHIAM + +,(select top 1 tcdescri from API_TECNICI where TCCODICE=CHIAMATE.CHTCHIAM) as TCDESCRI +,(select top 1 CTIMPCHI from MARROMCONMAST where CTCODCLI=ANCODICE and CTFLSTAT='A' order by CTDATREG desc) as chiamata +,(select top 1 CTIMPVIA from MARROMCONMAST where CTCODCLI=ANCODICE and CTFLSTAT='A' order by CTDATREG desc) as spe_viaggio +,(select top 1 costo_ordinario from API_TECNICI where TCCODICE=CHIAMATE.CHTCHIAM) as costo_ordinario +,(select top 1 costo_notturno from API_TECNICI where TCCODICE=CHIAMATE.CHTCHIAM) as costo_notturno +,(select top 1 costo_straordinario from API_TECNICI where TCCODICE=CHIAMATE.CHTCHIAM) as costo_straordinario +,(select top 1 costo_festivo from API_TECNICI where TCCODICE=CHIAMATE.CHTCHIAM) as costo_festivo +from CHIAMATE +left outer join RAPP_NEW as ic on (ic.SERIALE_CHIAMATA=CHSERIAL and ic.AZIENDA_CHIAMATA=CHCODAZI and ic.CODICE_TECNICO=CHTCHIAM and LTRIM(RTRIM(coalesce(ic.TIPO_RAPPORTINO,'')))='' /*and ic.GENERATO is NULL*/ and (ic.RIFIUTATA='N' )) +left outer join RAPP_NEW as rif on (rif.SERIALE_CHIAMATA=CHSERIAL and rif.AZIENDA_CHIAMATA=CHCODAZI and rif.CODICE_TECNICO=CHTCHIAM and LTRIM(RTRIM(coalesce(rif.TIPO_RAPPORTINO,'')))='' /*and rif.GENERATO is NULL*/ and (rif.RIFIUTATA='S' )) +left outer join RAPP_NEW as chiu on (chiu.SERIALE_CHIAMATA=CHSERIAL and chiu.AZIENDA_CHIAMATA=CHCODAZI and chiu.CODICE_TECNICO=CHTCHIAM and LTRIM(RTRIM(coalesce(chiu.TIPO_RAPPORTINO,'')))='3' /*and chiu.GENERATO is NULL*/ ) +left outer join CODSEGN ON dbo.CODSEGN.CSCODICE = dbo.CHIAMATE.CHCODSEG AND dbo.CODSEGN.CSCODAZI = dbo.CHIAMATE.CHCODAZI +LEFT OUTER JOIN dbo.MARROCONTI +INNER JOIN dbo.API_IMPIANTI ON dbo.MARROCONTI.ANCODICE = dbo.API_IMPIANTI.IMULTCLI AND dbo.MARROCONTI.ANTIPCON = 'C' ON dbo.CHIAMATE.CHAZIIMP = dbo.API_IMPIANTI.IMCODAZI AND dbo.CHIAMATE.CHCODIMP = dbo.API_IMPIANTI.IMCODIMP + +where 1=1 +and dbo.CHIAMATE.CHSTATO = 'C' +and CHIAMATE.CHDATA>=DATEADD(month, -3, GETDATE()) +and CHIAMATE.CHDATA<=DATEADD(month, 3, GETDATE()) +--and dbo.CHIAMATE.CHSERIAL='0000282320' +--and CHIAMATE.CHTCHIAM='002' and CHIAMATE.CHCODAZI='MARRO' +GO + +/****** Object: View [dbo].[API_MANPROG] Script Date: 19/01/2023 14:45:46 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +CREATE VIEW [dbo].[API_MANPROG] +AS + +SELECT +PRESA.PIMPIANTO,PRESA.PICODINT,PRESA.PIDATMAN +,RAPP_NEW.SERIALE_RAPPORTINO,RAPP_NEW.SER_BUONO,RAPP_NEW.GENERATO,RAPP_NEW.CODICE_INTERVENTO +,'' as err_title,''as err_detail,'' as err_status_code +,dbo.MANPROG.MPCODAZI AS CTCODAZI, dbo.MANPROG.MPCODIMP AS CTCODIMP, dbo.MANPROG.MPCODINT AS CTCODINT, dbo.CODINTE.CIDESCRI AS CTDESINT, dbo.MANPROG.MPDATPRO AS CTDATPRO, + dbo.MIMPIANTI.IMDESCRI, dbo.MIMPIANTI.IMTIPOIM, dbo.MIMPIANTI.IMMATRIC, dbo.MIMPIANTI.IMNUMIMP, dbo.MIMPIANTI.IMULTDAM, dbo.MIMPIANTI.IMULTAMM, dbo.MIMPIANTI.IMINDIRI1, dbo.MIMPIANTI.IMINDIRI2, + dbo.MIMPIANTI.IMINDIRI3, dbo.MIMPIANTI.IMINDIRI4, dbo.MIMPIANTI.IMINDIRI5, dbo.MIMPIANTI.IMLOCALI, dbo.MIMPIANTI.IMCODCAP, dbo.MIMPIANTI.IMCOMUNE, dbo.MIMPIANTI.IMPROVIN, dbo.MIMPIANTI.IMCODNAZ, + dbo.MIMPIANTI.IMUBICAZ, dbo.MIMPIANTI.IMZONMAN, dbo.MIMPIANTI.IMRIFERI, dbo.MIMPIANTI.IMZONCHI, dbo.MIMPIANTI.IMZONSUP, + dbo.MIMPIANTI.IMULTTAM as TELEFONO1,dbo.MIMPIANTI.IMULTFAM as TELEFONO2,dbo.MIMPIANTI.IMULTCLI as CLIENTE, + dbo.MANPROG.MPMESGEN, dbo.MANPROG.MPMESFEB, dbo.MANPROG.MPMESMAR, dbo.MANPROG.MPMESAPR, dbo.MANPROG.MPMESMAG, dbo.MANPROG.MPMESLUG, + dbo.MANPROG.MPMESGIU, dbo.MANPROG.MPMESAGO, dbo.MANPROG.MPMESSET, dbo.MANPROG.MPMESOTT, dbo.MANPROG.MPMESNOV, dbo.MANPROG.MPMESDIC, + T.TCDESCRI,T.TCCODICE +,(select top 1 CTIMPCHI from MARROMCONMAST where CTCODCLI=IMULTCLI and CTFLSTAT='A' order by CTDATREG desc) as chiamata +,(select top 1 CTIMPVIA from MARROMCONMAST where CTCODCLI=IMULTCLI and CTFLSTAT='A' order by CTDATREG desc) as spe_viaggio +,(select top 1 costo_ordinario from API_TECNICI where TCCODICE=T.TCCODICE) as costo_ordinario +,(select top 1 costo_notturno from API_TECNICI where TCCODICE=T.TCCODICE) as costo_notturno +,(select top 1 costo_straordinario from API_TECNICI where TCCODICE=T.TCCODICE) as costo_straordinario +,(select top 1 costo_festivo from API_TECNICI where TCCODICE=T.TCCODICE) as costo_festivo + +FROM dbo.MANPROG INNER JOIN dbo.MIMPIANTI ON dbo.MANPROG.MPCODAZI = dbo.MIMPIANTI.IMCODAZI AND dbo.MANPROG.MPCODIMP = dbo.MIMPIANTI.IMCODIMP +LEFT OUTER JOIN dbo.CODINTE ON dbo.MANPROG.MPCODINT = dbo.CODINTE.CICODICE +INNER JOIN API_TECNICI T ON MIMPIANTI.IMZONMAN=T.TDCODZON AND MANPROG.MPCODAZI=T.TCCODAZI and t.TDDATAFI>=GETDATE() +left outer join PRESA on (PICODAZI=MPCODAZI and MPCODIMP=PIMPIANTO and MPCODINT=PICODINT /*and TCCODICE=picodtec*/ and MPDATPRO=PIDATMAN) +left outer join RAPP_NEW on (MANPROG.MPCODAZI=AZIENDA_CHIAMATA and MANPROG.MPCODIMP=CODICE_IMPIANTO and LTRIM(RTRIM(coalesce(TIPO_RAPPORTINO,'')))='2' and MANPROG.MPCODINT=CODICE_INTERVENTO /*and GENERATO is null*/and MPDATPRO=DATA_VALIDITA) +where MANPROG.MPDATPRO>=DATEADD(month, -3, GETDATE()) +--and MANPROG.MPDATPRO<=DATEADD(month, 2, GETDATE()) +and MANPROG.MPDATPRO<=EOMONTH(GETDATE(),0) +and LTRIM(rtrim(coalesce(GENERATO,'')))<>'S' + +GO \ No newline at end of file diff --git a/ApiPolo/SQL/Discovery_1_8.txt b/ApiPolo/SQL/Discovery_1_8.txt new file mode 100644 index 0000000..c40d839 --- /dev/null +++ b/ApiPolo/SQL/Discovery_1_8.txt @@ -0,0 +1,266 @@ +USE [TEST_APP_NEW] +GO + +/****** Object: View [dbo].[API_CAUS_RAPP] Script Date: 22/03/2023 14:15:42 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +ALTER VIEW [dbo].[API_CAUS_RAPP] +AS +select CRCODICE,CRDESCRI,CRRIFATT from DISCOCAUSRAPP +GO +/****** Object: View [dbo].[API_CHIUSURE] Script Date: 22/03/2023 14:18:36 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +ALTER VIEW [dbo].[API_CHIUSURE] +AS +SELECT CCCODAZI, CCCODICE, CCDESCR, cpccchk, CCFLFATT, CCFLREP, CCDESSUP, CCTIPCOD, CCGRUPPO, CCIMPINT, CCIMPMAN, CCSERINT, CCSERMAN, CCNUMORE, CCPERMAN, CORECOM, CODTOBSO, + 0 as CCRAPABI, CCRIAPRE, '' as CCCHIINT, 0 as CCRAPOBB +FROM dbo.CCHIUSA where COALESCE(CODTOBSO, '') = '' and coalesce(CCCODICE,'')<>'' +GO +/****** Object: View [dbo].[API_CLIENTI] Script Date: 22/03/2023 14:19:54 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +ALTER VIEW [dbo].[API_CLIENTI] +AS +SELECT ANTIPCON, ANCODICE, AN_EMAIL,ANCODFIS,ANPARIVA,ANINDIRI, ANTELEFO, ANNUMCEL, AN_EMPEC,ANDESCRI,ANNUMLIS +FROM dbo.DISCOCONTI +WHERE (ANTIPCON = 'C') +GO +/****** Object: View [dbo].[API_PAGAMENTI] Script Date: 22/03/2023 14:20:28 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +ALTER VIEW [dbo].[API_PAGAMENTI] +AS +select PACODICE,PADESCRI from DISCOPAG_AMEN +GO +/****** Object: View [dbo].[API_RAPP_NEW] Script Date: 22/03/2023 14:21:13 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +ALTER VIEW [dbo].[API_RAPP_NEW] +AS +SELECT SERIALE_RAPPORTINO, TIPO_RAPPORTINO, AZIENDA_IMPIANTO, CODICE_IMPIANTO, AZIENDA_CHIAMATA, SERIALE_CHIAMATA, SERIALE_COMMESSA, DATA_RAPPORTINO, ORA_INI_RAPPORTINO, + MIN_INI_RAPPORTINO, ORA_FIN_RAPPORTINO, MIN_FIN_RAPPORTINO, CODICE_CHIUSURA_1, CODICE_CHIUSURA_2, CODICE_CHIUSURA_3, CODICE_CHIUSURA_4, CODICE_CHIUSURA_5, + CODICE_CHIUSURA_6, CODICE_CHIUSURA_7, CODICE_CHIUSURA_8, CODICE_CHIUSURA_9, CODICE_CHIUSURA_10, DESCRIZIONE_INTERVENTO, STATO_FINALE, GENERATO, AZIENDA_TECNICO, + CODICE_TECNICO, RIFIUTATA, FIRMA, INCARICO, DATA_VALIDITA, IMMAGINE, SER_BUONO,CODICE_INTERVENTO, + + '' as DIFETTI_RISCONTRATI, '' as LAVORO_ESEGUITO, '' as ESITO_INTERVENTO,'' as NOTE_ESITO, '' as NOTE_INTERVENTO,'' as NUOVO_CONTRATTO, 0.00 as ORE_LAVORO, '' as CAUSALE, + 0.00 as MATERIALE, 0.00 as DIRITTO_CHIAMATA, 0.00 as MANODOPERA, 0.00 as SPESE_VIAGGIO, + '' as PAGAMENTO, 0.00 as ANTICIPO, 0.00 as TOTALE, '' as NOTE_PAGAMENTO, '' as TIPO_INTERVENTO, '' as RAFOTO1, '' as RAFOTO2, '' as RAFOTO3, '' as RAFOTO4, '' as RAFOTO5, + '' as RAFOTO6, '' as RAFOTO7, '' as RAFOTO8, '' as RAFOTO9, '' as RAFOTO10, + DATA_EFFETTIVA +FROM dbo.RAPP_NEW +GO +/****** Object: View [dbo].[API_STO_RAPP] Script Date: 22/03/2023 14:22:26 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + + +ALTER VIEW [dbo].[API_STO_RAPP] +AS + +select +PICODINT as codice_intervento, +PIDATMAN as data_manutenzione +,CODINTE.CIDESCRI,CIDESSUP, +TCCODICE,TCDESCRI,DATA_RAPPORTINO +, STATO_FINALE,DESCRIZIONE_INTERVENTO,FIRMA +,SERIALE_CHIAMATA,TIPO_RAPPORTINO,CHCODSEG as codice_segnalazione,SER_BUONO, +--campi rappmast +'' as NOTE_ESITO,'' as ESITO_INTERVENTO, +--fine campi rappmast +'' as DIFETTI_RISCONTRATI,'' as LAVORO_ESEGUITO,'' as NOTE_INTERVENTO +,0.00 as ORE_LAVORO,0.00 as MATERIALE,0.00 as DIRITTO_CHIAMATA,0.00 as ANTICIPO, 0.00 as MANODOPERA, 0.00 as SPESE_VIAGGIO,'' as pagamento,CODICE_IMPIANTO, +0.00 as TOTALE,'' as NOTE_PAGAMENTO,'' as TIPO_INTERVENTO,GENERATO,AZIENDA_TECNICO,AZIENDA_IMPIANTO,AZIENDA_CHIAMATA + +,CODICE_CHIUSURA_1,CODICE_CHIUSURA_2,CODICE_CHIUSURA_3,CODICE_CHIUSURA_4,CODICE_CHIUSURA_5, +CODICE_CHIUSURA_6,CODICE_CHIUSURA_7,CODICE_CHIUSURA_8,CODICE_CHIUSURA_9,CODICE_CHIUSURA_10 +,SERIALE_RAPPORTINO + +,DATA_EFFETTIVA +,IMINDIRI1 as indirizzo_tipo ,IMINDIRI2 as indirizzo,IMINDIRI3 as indirizzo_num ,IMINDIRI4 as indirizzo_num2,IMINDIRI5 as indirizzo_scala +,(select CCDESCR from CCHIUSA where CCCODAZI='DISCO' and CCCODICE=CODICE_CHIUSURA_1) as cc1 +,(select CCDESCR from CCHIUSA where CCCODAZI='DISCO' and CCCODICE=CODICE_CHIUSURA_2) as cc2 +,(select CCDESCR from CCHIUSA where CCCODAZI='DISCO' and CCCODICE=CODICE_CHIUSURA_3) as cc3 +,(select CCDESCR from CCHIUSA where CCCODAZI='DISCO' and CCCODICE=CODICE_CHIUSURA_4) as cc4 +,(select CCDESCR from CCHIUSA where CCCODAZI='DISCO' and CCCODICE=CODICE_CHIUSURA_5) as cc5 +,(select CCDESCR from CCHIUSA where CCCODAZI='DISCO' and CCCODICE=CODICE_CHIUSURA_6) as cc6 +,(select CCDESCR from CCHIUSA where CCCODAZI='DISCO' and CCCODICE=CODICE_CHIUSURA_7) as cc7 +,(select CCDESCR from CCHIUSA where CCCODAZI='DISCO' and CCCODICE=CODICE_CHIUSURA_8) as cc8 +,(select CCDESCR from CCHIUSA where CCCODAZI='DISCO' and CCCODICE=CODICE_CHIUSURA_9) as cc9 +,(select CCDESCR from CCHIUSA where CCCODAZI='DISCO' and CCCODICE=CODICE_CHIUSURA_10) as cc10 + +,(select CCDESSUP from CCHIUSA where CCCODAZI='DISCO' and CCCODICE=CODICE_CHIUSURA_1) as ccds1 +,(select CCDESSUP from CCHIUSA where CCCODAZI='DISCO' and CCCODICE=CODICE_CHIUSURA_2) as ccds2 +,(select CCDESSUP from CCHIUSA where CCCODAZI='DISCO' and CCCODICE=CODICE_CHIUSURA_3) as ccds3 +,(select CCDESSUP from CCHIUSA where CCCODAZI='DISCO' and CCCODICE=CODICE_CHIUSURA_4) as ccds4 +,(select CCDESSUP from CCHIUSA where CCCODAZI='DISCO' and CCCODICE=CODICE_CHIUSURA_5) as ccds5 +,(select CCDESSUP from CCHIUSA where CCCODAZI='DISCO' and CCCODICE=CODICE_CHIUSURA_6) as ccds6 +,(select CCDESSUP from CCHIUSA where CCCODAZI='DISCO' and CCCODICE=CODICE_CHIUSURA_7) as ccds7 +,(select CCDESSUP from CCHIUSA where CCCODAZI='DISCO' and CCCODICE=CODICE_CHIUSURA_8) as ccds8 +,(select CCDESSUP from CCHIUSA where CCCODAZI='DISCO' and CCCODICE=CODICE_CHIUSURA_9) as ccds9 +,(select CCDESSUP from CCHIUSA where CCCODAZI='DISCO' and CCCODICE=CODICE_CHIUSURA_10) as ccds10 + +from DISCORAPPMAST RAPPMAST left outer join RAPP_NEW on RASERIAL=SERIALE_RAPPORTINO +left outer join TECNICI on RACODTE1=TCCODICE and TCCODAZI='DISCO' +left outer join CHIAMATE on CHCODAZI='DISCO' and CHSERIAL=SERIALE_CHIAMATA and TIPO_RAPPORTINO='3' +left outer join PIPRESA on PIMPIANTO=CODICE_IMPIANTO and PICODINT=CODICE_INTERVENTO and PICODAZI='DISCO' and PIDATMAN=DATA_EFFETTIVA +LEFT OUTER JOIN CODINTE ON PICODINT = dbo.CODINTE.CICODICE +LEFT OUTER JOIN dbo.MIMPIANTI ON AZIENDA_IMPIANTO = dbo.MIMPIANTI.IMCODAZI AND CODICE_IMPIANTO = dbo.MIMPIANTI.IMCODIMP +where SERIALE_RAPPORTINO is not null +and DATA_RAPPORTINO>=DATEADD(month, -2, GETDATE()) +GO +/****** Object: View [dbo].[API_IMPIANTI] Script Date: 22/03/2023 14:26:02 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +ALTER VIEW [dbo].[API_IMPIANTI] +AS +SELECT dbo.MIMPIANTI.IMCODAZI, dbo.MIMPIANTI.IMCODIMP, dbo.MIMPIANTI.IMDESCRI, dbo.MIMPIANTI.IMTIPOIM, dbo.MIMPIANTI.IMMATRIC, dbo.MIMPIANTI.IMNUMIMP, dbo.MIMPIANTI.IMULTCLI, + dbo.MIMPIANTI.IMULTDCL, dbo.MIMPIANTI.IMULTAMM, dbo.MIMPIANTI.IMULTDAM, dbo.MIMPIANTI.IMULTTAM, dbo.MIMPIANTI.IMINDIRI1, dbo.MIMPIANTI.IMINDIRI2, dbo.MIMPIANTI.IMINDIRI3, + dbo.MIMPIANTI.IMINDIRI4, dbo.MIMPIANTI.IMINDIRI5, dbo.MIMPIANTI.IMLOCALI, dbo.MIMPIANTI.IMCODCAP, dbo.MIMPIANTI.IMCOMUNE, dbo.MIMPIANTI.IMPROVIN, dbo.MIMPIANTI.IMCODNAZ, + dbo.MIMPIANTI.IMUBICAZ, dbo.MIMPIANTI.IMZONMAN, dbo.MIMPIANTI.IMFLPUPR, dbo.MIMPIANTI.UTDC, dbo.MIMPIANTI.UTDV, dbo.MIMPIANTI.IMPIAMAN, dbo.MIMPIANTI.IMDATATT, dbo.MIMPIANTI.IMZONCHI, + dbo.MIMPIANTI.IMZONSUP, dbo.MIMPIANTI.IMDAINMA, dbo.MIMPIANTI.IMDAFIMA, dbo.MIMPIANTI.IMDATCOS, dbo.MIMPIANTI.IMTELESO, + dbo.API_CLIENTI.AN_EMAIL,dbo.MIMPIANTI.IMAZIRIF,dbo.MIMPIANTI.IMREFREF +FROM dbo.MIMPIANTI INNER JOIN + dbo.API_CLIENTI ON dbo.MIMPIANTI.IMULTCLI = dbo.API_CLIENTI.ANCODICE +GO +/****** Object: View [dbo].[API_TECNICI] Script Date: 22/03/2023 14:27:11 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +ALTER VIEW [dbo].[API_TECNICI] +AS +SELECT dbo.TECNICI.TCCODICE, dbo.TECNICI.TCDESCRI, dbo.TECNICI.TCTELEF1, dbo.TECNICI.TCCHIAM, dbo.TECNICI.TCMANUT, dbo.TECNICI.TCCODAZI, dbo.TECNICI.TCSUPER, dbo.TECNICI.TCUSER, dbo.TECNICI.TCPWD, + dbo.TECDISP.TDCODZON, dbo.TECDISP.TDDATAIN, dbo.TECDISP.TDDATAFI,TCCOOR as costo_ordinario,TCCONO as costo_notturno,TCCOST as costo_straordinario,TCCOFE as costo_festivo +FROM dbo.TECNICI INNER JOIN + dbo.TECDISP ON dbo.TECNICI.TCCODICE = dbo.TECDISP.TDCODTEC AND dbo.TECNICI.TCCODAZI = dbo.TECDISP.TDCODAZI +GO +/****** Object: View [dbo].[API_CHIAMATE] Script Date: 20/03/2023 08:58:18 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +ALTER VIEW [dbo].[API_CHIAMATE] +AS +select +ic.SERIALE_RAPPORTINO as ser_rapp_ic,ic.TIPO_RAPPORTINO as tipo_rapp_ic,/*pc.GENERATO,pc.RIFIUTATA,*/ic.INCARICO as ic, +rif.SERIALE_RAPPORTINO as ser_rapp_rif,rif.TIPO_RAPPORTINO as tipo_rapp_rif,/*rif.GENERATO,*/rif.RIFIUTATA as rif,/*rif.INCARICO,*/ +chiu.SERIALE_RAPPORTINO as ser_rapp_chiu,chiu.TIPO_RAPPORTINO as tipo_rapp_chiu,chiu.SER_BUONO as ser_buono_chiu, +'' as err_title,''as err_detail,'' as err_status_code, +dbo.CHIAMATE.CHCODAZI, dbo.CHIAMATE.CHSERIAL, dbo.CHIAMATE.CHCODESE, dbo.CHIAMATE.CHTIPO, dbo.CHIAMATE.CHNUMERO, dbo.CHIAMATE.CHDATA, dbo.CHIAMATE.CHORA, dbo.CHIAMATE.CHMIN, +dbo.CHIAMATE.CHOPASS, dbo.CHIAMATE.CHOPCHI, dbo.CHIAMATE.CHCODIMP, dbo.CHIAMATE.CHAZIIMP, dbo.CHIAMATE.CHSTATO, dbo.CHIAMATE.CHDTAPP, dbo.CHIAMATE.CHORAAPI, dbo.CHIAMATE.CHMINAPI, +dbo.CHIAMATE.CHORAAPF, dbo.CHIAMATE.CHMINAPF, dbo.CHIAMATE.CHRIFER, dbo.CHIAMATE.CHTELEF, dbo.CHIAMATE.CHCODSEG, dbo.CHIAMATE.CHSTOPI, dbo.CHIAMATE.CHNOTE, dbo.CHIAMATE.CHDTASS, +dbo.CHIAMATE.CHORASS, dbo.CHIAMATE.CHMINASS, dbo.CHIAMATE.CHDTCHI, dbo.CHIAMATE.CHORACHI, dbo.CHIAMATE.CHMINCHI, dbo.CHIAMATE.CHDTLIN, dbo.CHIAMATE.CHORALI, dbo.CHIAMATE.CHMINLI, +dbo.CHIAMATE.CHDTLFI, dbo.CHIAMATE.CHORALF, dbo.CHIAMATE.CHMINLF, dbo.CHIAMATE.cpccchk, dbo.CHIAMATE.CHNRAP1, dbo.CHIAMATE.CHSRAP1, dbo.CHIAMATE.CHNRAP2, dbo.CHIAMATE.CHSRAP2, +dbo.CHIAMATE.CHMODRAC, dbo.CHIAMATE.CHPRGANN, dbo.CHIAMATE.UTCC, dbo.CHIAMATE.UTCV, dbo.CHIAMATE.CHIMPMAN, dbo.CHIAMATE.CHPERMAN, dbo.CHIAMATE.CHFLSTIM, dbo.CHIAMATE.CHFLESTE,CHIAMATE.CHTCHIAM as TCCODICE, +dbo.CHIAMATE.CHSEREXT, dbo.API_IMPIANTI.IMDESCRI, dbo.API_IMPIANTI.IMTIPOIM, dbo.API_IMPIANTI.IMMATRIC, dbo.API_IMPIANTI.IMNUMIMP, dbo.API_IMPIANTI.IMULTAMM, dbo.API_IMPIANTI.IMULTDAM, +dbo.API_IMPIANTI.IMULTTAM, dbo.API_IMPIANTI.IMINDIRI1, dbo.API_IMPIANTI.IMINDIRI2, dbo.API_IMPIANTI.IMINDIRI3, dbo.API_IMPIANTI.IMINDIRI4, dbo.API_IMPIANTI.IMINDIRI5, dbo.API_IMPIANTI.IMLOCALI, +dbo.API_IMPIANTI.IMCODCAP, dbo.API_IMPIANTI.IMCOMUNE, dbo.API_IMPIANTI.IMPROVIN, dbo.API_IMPIANTI.IMCODNAZ, dbo.API_IMPIANTI.IMUBICAZ, dbo.API_IMPIANTI.IMZONMAN, dbo.API_IMPIANTI.IMFLPUPR, +dbo.API_IMPIANTI.IMZONCHI, dbo.API_IMPIANTI.IMZONSUP, dbo.API_IMPIANTI.IMDAINMA, dbo.API_IMPIANTI.IMDAFIMA, dbo.API_IMPIANTI.IMDATCOS, dbo.API_IMPIANTI.IMTELESO, dbo.API_IMPIANTI.AN_EMAIL, +dbo.API_IMPIANTI.IMULTCLI, dbo.DISCOCONTI.ANCODICE, dbo.DISCOCONTI.ANTIPCON, dbo.DISCOCONTI.ANDESCRI, dbo.DISCOCONTI.ANTELEFO, dbo.CODSEGN.CSDESCR, dbo.CHIAMATE.CHTCHIAM +,dbo.API_IMPIANTI.IMAZIRIF as IMAZIRIF,dbo.API_IMPIANTI.IMREFREF +,(select top 1 tcdescri from API_TECNICI where TCCODICE=CHIAMATE.CHTCHIAM) as TCDESCRI +,(select top 1 CTIMPCHI from DISCOMCONMAST where CTCODCLI=ANCODICE and CTFLSTAT='A' order by CTDATREG desc) as chiamata +,(select top 1 CTIMPVIA from DISCOMCONMAST where CTCODCLI=ANCODICE and CTFLSTAT='A' order by CTDATREG desc) as spe_viaggio +,(select top 1 costo_ordinario from API_TECNICI where TCCODICE=CHIAMATE.CHTCHIAM) as costo_ordinario +,(select top 1 costo_notturno from API_TECNICI where TCCODICE=CHIAMATE.CHTCHIAM) as costo_notturno +,(select top 1 costo_straordinario from API_TECNICI where TCCODICE=CHIAMATE.CHTCHIAM) as costo_straordinario +,(select top 1 costo_festivo from API_TECNICI where TCCODICE=CHIAMATE.CHTCHIAM) as costo_festivo +from CHIAMATE +left outer join RAPP_NEW as ic on (ic.SERIALE_CHIAMATA=CHSERIAL and ic.AZIENDA_CHIAMATA=CHCODAZI and ic.CODICE_TECNICO=CHTCHIAM and LTRIM(RTRIM(coalesce(ic.TIPO_RAPPORTINO,'')))='' /*and ic.GENERATO is NULL*/ and (ic.RIFIUTATA='N' )) +left outer join RAPP_NEW as rif on (rif.SERIALE_CHIAMATA=CHSERIAL and rif.AZIENDA_CHIAMATA=CHCODAZI and rif.CODICE_TECNICO=CHTCHIAM and LTRIM(RTRIM(coalesce(rif.TIPO_RAPPORTINO,'')))='' /*and rif.GENERATO is NULL*/ and (rif.RIFIUTATA='S' )) +left outer join RAPP_NEW as chiu on (chiu.SERIALE_CHIAMATA=CHSERIAL and chiu.AZIENDA_CHIAMATA=CHCODAZI and chiu.CODICE_TECNICO=CHTCHIAM and LTRIM(RTRIM(coalesce(chiu.TIPO_RAPPORTINO,'')))='3' /*and chiu.GENERATO is NULL*/ ) +left outer join CODSEGN ON dbo.CODSEGN.CSCODICE = dbo.CHIAMATE.CHCODSEG AND dbo.CODSEGN.CSCODAZI = dbo.CHIAMATE.CHCODAZI +LEFT OUTER JOIN dbo.DISCOCONTI +INNER JOIN dbo.API_IMPIANTI ON dbo.DISCOCONTI.ANCODICE = dbo.API_IMPIANTI.IMULTCLI AND dbo.DISCOCONTI.ANTIPCON = 'C' ON dbo.CHIAMATE.CHAZIIMP = dbo.API_IMPIANTI.IMCODAZI AND dbo.CHIAMATE.CHCODIMP = dbo.API_IMPIANTI.IMCODIMP + +where 1=1 +and dbo.CHIAMATE.CHSTATO = 'C' +and CHIAMATE.CHDATA>=DATEADD(month, -3, GETDATE()) +and CHIAMATE.CHDATA<=DATEADD(month, 3, GETDATE()) + +GO +/****** Object: View [dbo].[API_MANPROG] Script Date: 20/03/2023 08:59:11 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +ALTER VIEW [dbo].[API_MANPROG] +AS + +SELECT +PRESA.PIMPIANTO,PRESA.PICODINT,PRESA.PIDATMAN +,RAPP_NEW.SERIALE_RAPPORTINO,RAPP_NEW.SER_BUONO,RAPP_NEW.GENERATO,RAPP_NEW.CODICE_INTERVENTO +,'' as err_title,''as err_detail,'' as err_status_code +,dbo.MANPROG.MPCODAZI AS CTCODAZI, dbo.MANPROG.MPCODIMP AS CTCODIMP, dbo.MANPROG.MPCODINT AS CTCODINT, dbo.CODINTE.CIDESCRI AS CTDESINT, dbo.MANPROG.MPDATPRO AS CTDATPRO, +dbo.MIMPIANTI.IMDESCRI, dbo.MIMPIANTI.IMTIPOIM, dbo.MIMPIANTI.IMMATRIC, dbo.MIMPIANTI.IMNUMIMP, dbo.MIMPIANTI.IMULTDAM, dbo.MIMPIANTI.IMULTAMM, dbo.MIMPIANTI.IMINDIRI1, dbo.MIMPIANTI.IMINDIRI2, +dbo.MIMPIANTI.IMINDIRI3, dbo.MIMPIANTI.IMINDIRI4, dbo.MIMPIANTI.IMINDIRI5, dbo.MIMPIANTI.IMLOCALI, dbo.MIMPIANTI.IMCODCAP, dbo.MIMPIANTI.IMCOMUNE, dbo.MIMPIANTI.IMPROVIN, dbo.MIMPIANTI.IMCODNAZ, +dbo.MIMPIANTI.IMUBICAZ, dbo.MIMPIANTI.IMZONMAN, dbo.MIMPIANTI.IMRIFERI, dbo.MIMPIANTI.IMZONCHI, dbo.MIMPIANTI.IMZONSUP, +dbo.MIMPIANTI.IMULTTAM as TELEFONO1,dbo.MIMPIANTI.IMULTFAM as TELEFONO2,dbo.MIMPIANTI.IMULTCLI as CLIENTE, +dbo.MANPROG.MPMESGEN, dbo.MANPROG.MPMESFEB, dbo.MANPROG.MPMESMAR, dbo.MANPROG.MPMESAPR, dbo.MANPROG.MPMESMAG, dbo.MANPROG.MPMESLUG, +dbo.MANPROG.MPMESGIU, dbo.MANPROG.MPMESAGO, dbo.MANPROG.MPMESSET, dbo.MANPROG.MPMESOTT, dbo.MANPROG.MPMESNOV, dbo.MANPROG.MPMESDIC, +T.TCDESCRI,T.TCCODICE,dbo.API_IMPIANTI.IMAZIRIF as IMAZIRIF,dbo.MIMPIANTI.IMREFREF +,(select top 1 CTIMPCHI from DISCOMCONMAST where CTCODCLI=IMULTCLI and CTFLSTAT='A' order by CTDATREG desc) as chiamata +,(select top 1 CTIMPVIA from DISCOMCONMAST where CTCODCLI=IMULTCLI and CTFLSTAT='A' order by CTDATREG desc) as spe_viaggio +,(select top 1 costo_ordinario from API_TECNICI where TCCODICE=T.TCCODICE) as costo_ordinario +,(select top 1 costo_notturno from API_TECNICI where TCCODICE=T.TCCODICE) as costo_notturno +,(select top 1 costo_straordinario from API_TECNICI where TCCODICE=T.TCCODICE) as costo_straordinario +,(select top 1 costo_festivo from API_TECNICI where TCCODICE=T.TCCODICE) as costo_festivo + +FROM dbo.MANPROG INNER JOIN dbo.MIMPIANTI ON dbo.MANPROG.MPCODAZI = dbo.MIMPIANTI.IMCODAZI AND dbo.MANPROG.MPCODIMP = dbo.MIMPIANTI.IMCODIMP +LEFT OUTER JOIN dbo.CODINTE ON dbo.MANPROG.MPCODINT = dbo.CODINTE.CICODICE +INNER JOIN API_TECNICI T ON MIMPIANTI.IMZONMAN=T.TDCODZON AND MANPROG.MPCODAZI=T.TCCODAZI and t.TDDATAFI>=GETDATE() +left outer join PIPRESA as PRESA on (PICODAZI=MPCODAZI and MPCODIMP=PIMPIANTO and MPCODINT=PICODINT and TCCODICE=picodtec) +left outer join RAPP_NEW on (MANPROG.MPCODAZI=AZIENDA_CHIAMATA and MANPROG.MPCODIMP=CODICE_IMPIANTO and LTRIM(RTRIM(coalesce(TIPO_RAPPORTINO,'')))='2' and MANPROG.MPCODINT=CODICE_INTERVENTO /*and GENERATO is null*/and MPDATPRO=DATA_VALIDITA) +where MANPROG.MPDATPRO>=DATEADD(month, -3, GETDATE()) +and MANPROG.MPDATPRO<=EOMONTH(GETDATE(),0) +and LTRIM(rtrim(coalesce(GENERATO,'')))<>'S' +GO +/****** Object: View [dbo].[API_SOSTITUZIONI] Script Date: 20/03/2023 09:01:39 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +CREATE VIEW [dbo].[API_SOSTITUZIONI] +AS +SELECT [TSCODAZI],[TSCODTEC],[TSCODZON],[TSDATAIN],[TSDATAFI],[TSCODSOS] + FROM [dbo].[TECSOS] + where [TSDATAIN]<=DATEADD(DAY, -1, GETDATE()) + and [TSDATAFI]>=DATEADD(DAY, 1, GETDATE()) + and [TSCODAZI]='DISCO' +GO \ No newline at end of file diff --git a/ApiPolo/SQL/Gitoga_1_8.txt b/ApiPolo/SQL/Gitoga_1_8.txt new file mode 100644 index 0000000..3f6c747 --- /dev/null +++ b/ApiPolo/SQL/Gitoga_1_8.txt @@ -0,0 +1,314 @@ +USE [R80_GITSR] +GO + +/****** Object: View [dbo].[API_CAUS_RAPP] Script Date: 20/03/2023 09:52:57 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +ALTER VIEW [dbo].[API_CAUS_RAPP] +AS +select CRCODICE,CRDESCRI,CRRIFATT from [R80_MARROCCO].dbo.GITSRCAUSRAPP +GO +/****** Object: View [dbo].[API_CHIUSURE] Script Date: 20/03/2023 09:53:46 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +ALTER VIEW [dbo].[API_CHIUSURE] +AS +SELECT CCCODAZI, CCCODICE, CCDESCR, cpccchk, CCFLFATT, CCFLREP, CCDESSUP, CCTIPCOD, CCGRUPPO, CCIMPINT, CCIMPMAN, CCSERINT, CCSERMAN, CCNUMORE, CCPERMAN, CORECOM, CODTOBSO, + 0 as CCRAPABI, CCRIAPRE, '' as CCCHIINT, 0 as CCRAPOBB +FROM [R80_MARROCCO].dbo.CCHIUSA where COALESCE(CODTOBSO, '') = '' and CCCODAZI='GITSR' +GO +/****** Object: View [dbo].[API_CLIENTI] Script Date: 20/03/2023 09:54:39 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +ALTER VIEW [dbo].[API_CLIENTI] +AS +SELECT ANTIPCON, ANCODICE, AN_EMAIL,ANCODFIS,ANPARIVA,ANINDIRI, ANTELEFO, ANNUMCEL, AN_EMPEC,ANDESCRI,ANNUMLIS +FROM [R80_MARROCCO].dbo.GITSRCONTI +WHERE (ANTIPCON = 'C') +GO +/****** Object: View [dbo].[API_PAGAMENTI] Script Date: 20/03/2023 09:55:24 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +ALTER VIEW [dbo].[API_PAGAMENTI] +AS +select PACODICE,PADESCRI from [R80_MARROCCO].dbo.GITSRPAG_AMEN +GO +/****** Object: View [dbo].[API_RAPP_NEW] Script Date: 20/03/2023 09:56:43 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +ALTER VIEW [dbo].[API_RAPP_NEW] +AS +SELECT SERIALE_RAPPORTINO, TIPO_RAPPORTINO, AZIENDA_IMPIANTO, CODICE_IMPIANTO, AZIENDA_CHIAMATA, SERIALE_CHIAMATA, SERIALE_COMMESSA, DATA_RAPPORTINO, ORA_INI_RAPPORTINO, + MIN_INI_RAPPORTINO, ORA_FIN_RAPPORTINO, MIN_FIN_RAPPORTINO, CODICE_CHIUSURA_1, CODICE_CHIUSURA_2, CODICE_CHIUSURA_3, CODICE_CHIUSURA_4, CODICE_CHIUSURA_5, + CODICE_CHIUSURA_6, CODICE_CHIUSURA_7, CODICE_CHIUSURA_8, CODICE_CHIUSURA_9, CODICE_CHIUSURA_10, DESCRIZIONE_INTERVENTO, STATO_FINALE, GENERATO, AZIENDA_TECNICO, + CODICE_TECNICO, RIFIUTATA, FIRMA, INCARICO, DATA_VALIDITA, IMMAGINE, '' as SER_BUONO,'' as CODICE_INTERVENTO, + DIFETTI_RISCONTRATI, LAVORO_ESEGUITO, ESITO_INTERVENTO,NOTE_ESITO, NOTE_INTERVENTO,NUOVO_CONTRATTO, ORE_LAVORO, CAUSALE, MATERIALE, DIRITTO_CHIAMATA, MANODOPERA, SPESE_VIAGGIO, + PAGAMENTO, ANTICIPO, TOTALE, NOTE_PAGAMENTO, TIPO_INTERVENTO, RAFOTO1, RAFOTO2, RAFOTO3, RAFOTO4, RAFOTO5, RAFOTO6, RAFOTO7, RAFOTO8, RAFOTO9, RAFOTO10 +FROM [R80_MARROCCO].dbo.RAPP_NEW where AZIENDA_IMPIANTO='GITSR' +GO +/****** Object: View [dbo].[API_STO_RAPP] Script Date: 20/03/2023 09:57:39 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +ALTER VIEW [dbo].[API_STO_RAPP] +AS +select + +PICODINT as codice_intervento, +PIDATMAN as data_manutenzione +,CODINTE.CIDESCRI,CIDESSUP, +TCCODICE,TCDESCRI,/*RAPPMAST.NOTE_ESITO,*/'' as NOTE_ESITO,DATA_RAPPORTINO +, STATO_FINALE,/*RAPPMAST.ESITO_INTERVENTO,*/'' as ESITO_INTERVENTO,DESCRIZIONE_INTERVENTO,FIRMA +,SERIALE_CHIAMATA,TIPO_RAPPORTINO,CHCODSEG as codice_segnalazione,SER_BUONO,DIFETTI_RISCONTRATI,LAVORO_ESEGUITO,NOTE_INTERVENTO +,ORE_LAVORO,MATERIALE,DIRITTO_CHIAMATA,ANTICIPO, MANODOPERA, SPESE_VIAGGIO,pagamento,CODICE_IMPIANTO, +TOTALE,NOTE_PAGAMENTO,TIPO_INTERVENTO,GENERATO,AZIENDA_TECNICO,AZIENDA_IMPIANTO,AZIENDA_CHIAMATA + +,CODICE_CHIUSURA_1,CODICE_CHIUSURA_2,CODICE_CHIUSURA_3,CODICE_CHIUSURA_4,CODICE_CHIUSURA_5, +CODICE_CHIUSURA_6,CODICE_CHIUSURA_7,CODICE_CHIUSURA_8,CODICE_CHIUSURA_9,CODICE_CHIUSURA_10 +,SERIALE_RAPPORTINO + +,DATA_EFFETTIVA +,IMINDIRI1 as indirizzo_tipo ,IMINDIRI2 as indirizzo,IMINDIRI3 as indirizzo_num ,IMINDIRI4 as indirizzo_num2,IMINDIRI5 as indirizzo_scala +,(select CCDESCR from [R80_MARROCCO].dbo.CCHIUSA where CCCODAZI='GITSR' and CCCODICE=CODICE_CHIUSURA_1) as cc1 +,(select CCDESCR from [R80_MARROCCO].dbo.CCHIUSA where CCCODAZI='GITSR' and CCCODICE=CODICE_CHIUSURA_2) as cc2 +,(select CCDESCR from [R80_MARROCCO].dbo.CCHIUSA where CCCODAZI='GITSR' and CCCODICE=CODICE_CHIUSURA_3) as cc3 +,(select CCDESCR from [R80_MARROCCO].dbo.CCHIUSA where CCCODAZI='GITSR' and CCCODICE=CODICE_CHIUSURA_4) as cc4 +,(select CCDESCR from [R80_MARROCCO].dbo.CCHIUSA where CCCODAZI='GITSR' and CCCODICE=CODICE_CHIUSURA_5) as cc5 +,(select CCDESCR from [R80_MARROCCO].dbo.CCHIUSA where CCCODAZI='GITSR' and CCCODICE=CODICE_CHIUSURA_6) as cc6 +,(select CCDESCR from [R80_MARROCCO].dbo.CCHIUSA where CCCODAZI='GITSR' and CCCODICE=CODICE_CHIUSURA_7) as cc7 +,(select CCDESCR from [R80_MARROCCO].dbo.CCHIUSA where CCCODAZI='GITSR' and CCCODICE=CODICE_CHIUSURA_8) as cc8 +,(select CCDESCR from [R80_MARROCCO].dbo.CCHIUSA where CCCODAZI='GITSR' and CCCODICE=CODICE_CHIUSURA_9) as cc9 +,(select CCDESCR from [R80_MARROCCO].dbo.CCHIUSA where CCCODAZI='GITSR' and CCCODICE=CODICE_CHIUSURA_10) as cc10 + +,(select CCDESSUP from [R80_MARROCCO].dbo.CCHIUSA where CCCODAZI='GITSR' and CCCODICE=CODICE_CHIUSURA_1) as ccds1 +,(select CCDESSUP from [R80_MARROCCO].dbo.CCHIUSA where CCCODAZI='GITSR' and CCCODICE=CODICE_CHIUSURA_2) as ccds2 +,(select CCDESSUP from [R80_MARROCCO].dbo.CCHIUSA where CCCODAZI='GITSR' and CCCODICE=CODICE_CHIUSURA_3) as ccds3 +,(select CCDESSUP from [R80_MARROCCO].dbo.CCHIUSA where CCCODAZI='GITSR' and CCCODICE=CODICE_CHIUSURA_4) as ccds4 +,(select CCDESSUP from [R80_MARROCCO].dbo.CCHIUSA where CCCODAZI='GITSR' and CCCODICE=CODICE_CHIUSURA_5) as ccds5 +,(select CCDESSUP from [R80_MARROCCO].dbo.CCHIUSA where CCCODAZI='GITSR' and CCCODICE=CODICE_CHIUSURA_6) as ccds6 +,(select CCDESSUP from [R80_MARROCCO].dbo.CCHIUSA where CCCODAZI='GITSR' and CCCODICE=CODICE_CHIUSURA_7) as ccds7 +,(select CCDESSUP from [R80_MARROCCO].dbo.CCHIUSA where CCCODAZI='GITSR' and CCCODICE=CODICE_CHIUSURA_8) as ccds8 +,(select CCDESSUP from [R80_MARROCCO].dbo.CCHIUSA where CCCODAZI='GITSR' and CCCODICE=CODICE_CHIUSURA_9) as ccds9 +,(select CCDESSUP from [R80_MARROCCO].dbo.CCHIUSA where CCCODAZI='GITSR' and CCCODICE=CODICE_CHIUSURA_10) as ccds10 + +from [R80_MARROCCO].dbo.GITSRRAPPMAST RAPPMAST left outer join [R80_MARROCCO].dbo.RAPP_NEW on RASERIAL=SERIALE_RAPPORTINO +left outer join [R80_MARROCCO].dbo.TECNICI on RACODTE1=TCCODICE and TCCODAZI='GITSR' +left outer join [R80_MARROCCO].dbo.CHIAMATE on CHCODAZI='GITSR' and CHSERIAL=SERIALE_CHIAMATA and TIPO_RAPPORTINO='3' +left outer join [R80_MARROCCO].dbo.PIPRESA on PIMPIANTO=CODICE_IMPIANTO and PICODINT=CODICE_INTERVENTO and PICODAZI='GITSR' and PIDATMAN=DATA_EFFETTIVA +LEFT OUTER JOIN [R80_MARROCCO].dbo.CODINTE ON PICODINT = [R80_MARROCCO].dbo.CODINTE.CICODICE +LEFT OUTER JOIN [R80_MARROCCO].dbo.MIMPIANTI ON AZIENDA_IMPIANTO = [R80_MARROCCO].dbo.MIMPIANTI.IMCODAZI AND CODICE_IMPIANTO = [R80_MARROCCO].dbo.MIMPIANTI.IMCODIMP +where SERIALE_RAPPORTINO is not null +and DATA_RAPPORTINO>=DATEADD(month, -2, GETDATE()) +GO +/****** Object: View [dbo].[API_IMPIANTI] Script Date: 20/03/2023 10:01:23 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +ALTER VIEW [dbo].[API_IMPIANTI] +AS +SELECT +[R80_MARROCCO].dbo.MIMPIANTI.IMCODAZI, [R80_MARROCCO].dbo.MIMPIANTI.IMCODIMP, [R80_MARROCCO].dbo.MIMPIANTI.IMDESCRI, [R80_MARROCCO].dbo.MIMPIANTI.IMTIPOIM, +[R80_MARROCCO].dbo.MIMPIANTI.IMMATRIC, [R80_MARROCCO].dbo.MIMPIANTI.IMNUMIMP, [R80_MARROCCO].dbo.MIMPIANTI.IMULTCLI, +[R80_MARROCCO].dbo.MIMPIANTI.IMULTDCL, [R80_MARROCCO].dbo.MIMPIANTI.IMULTAMM, [R80_MARROCCO].dbo.MIMPIANTI.IMULTDAM, [R80_MARROCCO].dbo.MIMPIANTI.IMULTTAM, +[R80_MARROCCO].dbo.MIMPIANTI.IMINDIRI1, [R80_MARROCCO].dbo.MIMPIANTI.IMINDIRI2, [R80_MARROCCO].dbo.MIMPIANTI.IMINDIRI3, +[R80_MARROCCO].dbo.MIMPIANTI.IMINDIRI4, [R80_MARROCCO].dbo.MIMPIANTI.IMINDIRI5, [R80_MARROCCO].dbo.MIMPIANTI.IMLOCALI, [R80_MARROCCO].dbo.MIMPIANTI.IMCODCAP, +[R80_MARROCCO].dbo.MIMPIANTI.IMCOMUNE, [R80_MARROCCO].dbo.MIMPIANTI.IMPROVIN, [R80_MARROCCO].dbo.MIMPIANTI.IMCODNAZ, +[R80_MARROCCO].dbo.MIMPIANTI.IMUBICAZ, [R80_MARROCCO].dbo.MIMPIANTI.IMZONMAN, [R80_MARROCCO].dbo.MIMPIANTI.IMFLPUPR, [R80_MARROCCO].dbo.MIMPIANTI.UTDC, +[R80_MARROCCO].dbo.MIMPIANTI.UTDV, [R80_MARROCCO].dbo.MIMPIANTI.IMPIAMAN, [R80_MARROCCO].dbo.MIMPIANTI.IMDATATT, [R80_MARROCCO].dbo.MIMPIANTI.IMZONCHI, +[R80_MARROCCO].dbo.MIMPIANTI.IMZONSUP, [R80_MARROCCO].dbo.MIMPIANTI.IMDAINMA, [R80_MARROCCO].dbo.MIMPIANTI.IMDAFIMA, +[R80_MARROCCO].dbo.MIMPIANTI.IMDATCOS, [R80_MARROCCO].dbo.MIMPIANTI.IMTELESO, [R80_MARROCCO].dbo.API_CLIENTI.AN_EMAIL,'' as IMAZIRIF,[R80_MARROCCO].dbo.MIMPIANTI.IMREFREF +FROM [R80_MARROCCO].dbo.MIMPIANTI INNER JOIN + [R80_MARROCCO].dbo.API_CLIENTI ON [R80_MARROCCO].dbo.MIMPIANTI.IMULTCLI = [R80_MARROCCO].dbo.API_CLIENTI.ANCODICE +where [R80_MARROCCO].dbo.MIMPIANTI.IMCODAZI='GITSR' + +GO +/****** Object: View [dbo].[API_TECNICI] Script Date: 20/03/2023 10:02:53 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +ALTER VIEW [dbo].[API_TECNICI] +AS +SELECT +[R80_MARROCCO].dbo.TECNICI.TCCODICE, [R80_MARROCCO].dbo.TECNICI.TCDESCRI, [R80_MARROCCO].dbo.TECNICI.TCTELEF1, [R80_MARROCCO].dbo.TECNICI.TCCHIAM, [R80_MARROCCO].dbo.TECNICI.TCMANUT, +[R80_MARROCCO].dbo.TECNICI.TCCODAZI, [R80_MARROCCO].dbo.TECNICI.TCSUPER, [R80_MARROCCO].dbo.TECNICI.TCUSER, [R80_MARROCCO].dbo.TECNICI.TCPWD, +[R80_MARROCCO].dbo.TECDISP.TDCODZON, [R80_MARROCCO].dbo.TECDISP.TDDATAIN, [R80_MARROCCO].dbo.TECDISP.TDDATAFI,TCCOOR as costo_ordinario,TCCONO as costo_notturno, +TCCOST as costo_straordinario,TCCOFE as costo_festivo +FROM +[R80_MARROCCO].dbo.TECNICI INNER JOIN +[R80_MARROCCO].dbo.TECDISP ON [R80_MARROCCO].dbo.TECNICI.TCCODICE = [R80_MARROCCO].dbo.TECDISP.TDCODTEC AND [R80_MARROCCO].dbo.TECNICI.TCCODAZI = [R80_MARROCCO].dbo.TECDISP.TDCODAZI +GO +/****** Object: View [dbo].[API_CHIAMATE] Script Date: 20/03/2023 10:05:01 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +ALTER VIEW [dbo].[API_CHIAMATE] +AS +select +ic.SERIALE_RAPPORTINO as ser_rapp_ic,ic.TIPO_RAPPORTINO as tipo_rapp_ic,/*pc.GENERATO,pc.RIFIUTATA,*/ic.INCARICO as ic, +rif.SERIALE_RAPPORTINO as ser_rapp_rif,rif.TIPO_RAPPORTINO as tipo_rapp_rif,/*rif.GENERATO,*/rif.RIFIUTATA as rif,/*rif.INCARICO,*/ +chiu.SERIALE_RAPPORTINO as ser_rapp_chiu,chiu.TIPO_RAPPORTINO as tipo_rapp_chiu,chiu.SER_BUONO as ser_buono_chiu, +'' as err_title,''as err_detail,'' as err_status_code, +[R80_MARROCCO].dbo.CHIAMATE.CHCODAZI, [R80_MARROCCO].dbo.CHIAMATE.CHSERIAL, [R80_MARROCCO].dbo.CHIAMATE.CHCODESE, [R80_MARROCCO].dbo.CHIAMATE.CHTIPO, +[R80_MARROCCO].dbo.CHIAMATE.CHNUMERO, [R80_MARROCCO].dbo.CHIAMATE.CHDATA, [R80_MARROCCO].dbo.CHIAMATE.CHORA, [R80_MARROCCO].dbo.CHIAMATE.CHMIN, +[R80_MARROCCO].dbo.CHIAMATE.CHOPASS, [R80_MARROCCO].dbo.CHIAMATE.CHOPCHI, [R80_MARROCCO].dbo.CHIAMATE.CHCODIMP, [R80_MARROCCO].dbo.CHIAMATE.CHAZIIMP, +[R80_MARROCCO].dbo.CHIAMATE.CHSTATO, [R80_MARROCCO].dbo.CHIAMATE.CHDTAPP, [R80_MARROCCO].dbo.CHIAMATE.CHORAAPI, [R80_MARROCCO].dbo.CHIAMATE.CHMINAPI, +[R80_MARROCCO].dbo.CHIAMATE.CHORAAPF, [R80_MARROCCO].dbo.CHIAMATE.CHMINAPF, [R80_MARROCCO].dbo.CHIAMATE.CHRIFER, [R80_MARROCCO].dbo.CHIAMATE.CHTELEF, +[R80_MARROCCO].dbo.CHIAMATE.CHCODSEG, [R80_MARROCCO].dbo.CHIAMATE.CHSTOPI, [R80_MARROCCO].dbo.CHIAMATE.CHNOTE, [R80_MARROCCO].dbo.CHIAMATE.CHDTASS, +[R80_MARROCCO].dbo.CHIAMATE.CHORASS, [R80_MARROCCO].dbo.CHIAMATE.CHMINASS, [R80_MARROCCO].dbo.CHIAMATE.CHDTCHI, [R80_MARROCCO].dbo.CHIAMATE.CHORACHI, +[R80_MARROCCO].dbo.CHIAMATE.CHMINCHI, [R80_MARROCCO].dbo.CHIAMATE.CHDTLIN, [R80_MARROCCO].dbo.CHIAMATE.CHORALI, [R80_MARROCCO].dbo.CHIAMATE.CHMINLI, +[R80_MARROCCO].dbo.CHIAMATE.CHDTLFI, [R80_MARROCCO].dbo.CHIAMATE.CHORALF, [R80_MARROCCO].dbo.CHIAMATE.CHMINLF, [R80_MARROCCO].dbo.CHIAMATE.cpccchk, +[R80_MARROCCO].dbo.CHIAMATE.CHNRAP1, [R80_MARROCCO].dbo.CHIAMATE.CHSRAP1, [R80_MARROCCO].dbo.CHIAMATE.CHNRAP2, [R80_MARROCCO].dbo.CHIAMATE.CHSRAP2, +[R80_MARROCCO].dbo.CHIAMATE.CHMODRAC, [R80_MARROCCO].dbo.CHIAMATE.CHPRGANN, [R80_MARROCCO].dbo.CHIAMATE.UTCC, [R80_MARROCCO].dbo.CHIAMATE.UTCV, +[R80_MARROCCO].dbo.CHIAMATE.CHIMPMAN, [R80_MARROCCO].dbo.CHIAMATE.CHPERMAN, [R80_MARROCCO].dbo.CHIAMATE.CHFLSTIM, [R80_MARROCCO].dbo.CHIAMATE.CHFLESTE, +[R80_MARROCCO].dbo.CHIAMATE.CHTCHIAM as TCCODICE, [R80_MARROCCO].dbo.CHIAMATE.CHSEREXT, API_IMPIANTI.IMDESCRI, API_IMPIANTI.IMTIPOIM, +API_IMPIANTI.IMMATRIC, API_IMPIANTI.IMNUMIMP, API_IMPIANTI.IMULTAMM, API_IMPIANTI.IMULTDAM, +API_IMPIANTI.IMULTTAM, API_IMPIANTI.IMINDIRI1, API_IMPIANTI.IMINDIRI2, API_IMPIANTI.IMINDIRI3, +API_IMPIANTI.IMINDIRI4, API_IMPIANTI.IMINDIRI5, API_IMPIANTI.IMLOCALI, +API_IMPIANTI.IMCODCAP, API_IMPIANTI.IMCOMUNE, API_IMPIANTI.IMPROVIN, API_IMPIANTI.IMCODNAZ, +API_IMPIANTI.IMUBICAZ, API_IMPIANTI.IMZONMAN, API_IMPIANTI.IMFLPUPR, API_IMPIANTI.IMZONCHI, +API_IMPIANTI.IMZONSUP, API_IMPIANTI.IMDAINMA, API_IMPIANTI.IMDAFIMA, API_IMPIANTI.IMDATCOS, +API_IMPIANTI.IMTELESO, API_IMPIANTI.AN_EMAIL,API_IMPIANTI.IMULTCLI, [R80_MARROCCO].dbo.GITSRCONTI.ANCODICE, +[R80_MARROCCO].dbo.GITSRCONTI.ANTIPCON, [R80_MARROCCO].dbo.GITSRCONTI.ANDESCRI, [R80_MARROCCO].dbo.GITSRCONTI.ANTELEFO, [R80_MARROCCO].dbo.CODSEGN.CSDESCR, [R80_MARROCCO].dbo.CHIAMATE.CHTCHIAM +,'' as IMAZIRIF,dbo.API_IMPIANTI.IMREFREF +,(select top 1 tcdescri from dbo.API_TECNICI where TCCODICE=CHIAMATE.CHTCHIAM) as TCDESCRI +,(select top 1 CTIMPCHI from [R80_MARROCCO].dbo.GITSRMCONMAST where CTCODCLI=ANCODICE and CTFLSTAT='A' order by CTDATREG desc) as chiamata +,(select top 1 CTIMPVIA from [R80_MARROCCO].dbo.GITSRMCONMAST where CTCODCLI=ANCODICE and CTFLSTAT='A' order by CTDATREG desc) as spe_viaggio +,(select top 1 costo_ordinario from API_TECNICI where TCCODICE=CHIAMATE.CHTCHIAM) as costo_ordinario +,(select top 1 costo_notturno from API_TECNICI where TCCODICE=CHIAMATE.CHTCHIAM) as costo_notturno +,(select top 1 costo_straordinario from API_TECNICI where TCCODICE=CHIAMATE.CHTCHIAM) as costo_straordinario +,(select top 1 costo_festivo from API_TECNICI where TCCODICE=CHIAMATE.CHTCHIAM) as costo_festivo +from [R80_MARROCCO].dbo.CHIAMATE +left outer join [R80_MARROCCO].dbo.RAPP_NEW as ic on (ic.SERIALE_CHIAMATA=CHSERIAL and ic.AZIENDA_CHIAMATA=CHCODAZI and ic.CODICE_TECNICO=CHTCHIAM and LTRIM(RTRIM(coalesce(ic.TIPO_RAPPORTINO,'')))='' /*and ic.GENERATO is NULL*/ and (ic.RIFIUTATA='N' )) +left outer join [R80_MARROCCO].dbo.RAPP_NEW as rif on (rif.SERIALE_CHIAMATA=CHSERIAL and rif.AZIENDA_CHIAMATA=CHCODAZI and rif.CODICE_TECNICO=CHTCHIAM and LTRIM(RTRIM(coalesce(rif.TIPO_RAPPORTINO,'')))='' /*and rif.GENERATO is NULL*/ and (rif.RIFIUTATA='S' )) +left outer join [R80_MARROCCO].dbo.RAPP_NEW as chiu on (chiu.SERIALE_CHIAMATA=CHSERIAL and chiu.AZIENDA_CHIAMATA=CHCODAZI and chiu.CODICE_TECNICO=CHTCHIAM and LTRIM(RTRIM(coalesce(chiu.TIPO_RAPPORTINO,'')))='3' /*and chiu.GENERATO is NULL*/ ) +left outer join [R80_MARROCCO].dbo.CODSEGN ON [R80_MARROCCO].dbo.CODSEGN.CSCODICE = [R80_MARROCCO].dbo.CHIAMATE.CHCODSEG AND [R80_MARROCCO].dbo.CODSEGN.CSCODAZI = [R80_MARROCCO].dbo.CHIAMATE.CHCODAZI +LEFT OUTER JOIN [R80_MARROCCO].dbo.GITSRCONTI +INNER JOIN dbo.API_IMPIANTI ON [R80_MARROCCO].dbo.GITSRCONTI.ANCODICE = dbo.API_IMPIANTI.IMULTCLI AND [R80_MARROCCO].dbo.GITSRCONTI.ANTIPCON = 'C' ON [R80_MARROCCO].dbo.CHIAMATE.CHAZIIMP = dbo.API_IMPIANTI.IMCODAZI AND [R80_MARROCCO].dbo.CHIAMATE.CHCODIMP = dbo.API_IMPIANTI.IMCODIMP + +where 1=1 +and [R80_MARROCCO].dbo.CHIAMATE.CHSTATO = 'C' +and [R80_MARROCCO].dbo.CHIAMATE.CHDATA>=DATEADD(month, -3, GETDATE()) +and [R80_MARROCCO].dbo.CHIAMATE.CHDATA<=DATEADD(month, 3, GETDATE()) +and [R80_MARROCCO].dbo.CHIAMATE.CHCODAZI='GITSR' +GO +/****** Object: View [dbo].[API_MANPROG] Script Date: 20/03/2023 10:07:55 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +ALTER VIEW [dbo].[API_MANPROG] +AS + +select +[PIMPIANTO] + ,[PICODINT] + ,[PIDATMAN] + ,[SERIALE_RAPPORTINO] + ,[SER_BUONO] + ,[GENERATO] + ,[CODICE_INTERVENTO] + ,[err_title] + ,[err_detail] + ,[err_status_code] + ,[CTCODAZI] + ,[CTCODIMP] + ,[CTCODINT] + ,[CTDESINT] + ,[CTDATPRO] + ,[IMDESCRI] + ,[IMTIPOIM] + ,[IMMATRIC] + ,[IMNUMIMP] + ,[IMULTDAM] + ,[IMULTAMM] + ,[IMINDIRI1] + ,[IMINDIRI2] + ,[IMINDIRI3] + ,[IMINDIRI4] + ,[IMINDIRI5] + ,[IMLOCALI] + ,[IMCODCAP] + ,[IMCOMUNE] + ,[IMPROVIN] + ,[IMCODNAZ] + ,[IMUBICAZ] + ,[IMZONMAN] + ,[IMRIFERI] + ,[IMZONCHI] + ,[IMZONSUP] + ,[TELEFONO1] + ,[TELEFONO2] + ,[CLIENTE] + ,[MPMESGEN] + ,[MPMESFEB] + ,[MPMESMAR] + ,[MPMESAPR] + ,[MPMESMAG] + ,[MPMESLUG] + ,[MPMESGIU] + ,[MPMESAGO] + ,[MPMESSET] + ,[MPMESOTT] + ,[MPMESNOV] + ,[MPMESDIC] + ,[TCDESCRI] + ,[TCCODICE] + ,[IMAZIRIF] + ,IMREFREF + ,[chiamata] + ,[spe_viaggio] + ,[costo_ordinario] + ,[costo_notturno] + ,[costo_straordinario] + ,[costo_festivo] +from [R80_MARROCCO].dbo.API_MANPROG where CTCODAZI='GITSR' +GO +/****** Object: View [dbo].[API_SOSTITUZIONI] Script Date: 20/03/2023 10:56:17 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +ALTER VIEW [dbo].[API_SOSTITUZIONI] +AS +SELECT [TSCODAZI],[TSCODTEC],[TSCODZON],[TSDATAIN],[TSDATAFI],[TSCODSOS] + FROM [R80_MARROCCO].[dbo].[TECSOS] + where [TSDATAIN]<=DATEADD(DAY, -1, GETDATE()) + and [TSDATAFI]>=DATEADD(DAY, 1, GETDATE()) + and [TSCODAZI]='GITSR' +GO \ No newline at end of file diff --git a/ApiPolo/SQL/Lifta_1_8.txt b/ApiPolo/SQL/Lifta_1_8.txt new file mode 100644 index 0000000..17e2513 --- /dev/null +++ b/ApiPolo/SQL/Lifta_1_8.txt @@ -0,0 +1,308 @@ +USE [R80_LIFTA] +GO + +/****** Object: View [dbo].[API_CAUS_RAPP] Script Date: 20/03/2023 10:59:22 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +ALTER VIEW [dbo].[API_CAUS_RAPP] +AS +select CRCODICE,CRDESCRI,CRRIFATT from [R80_MARROCCO].dbo.LIFTACAUSRAPP +GO +/****** Object: View [dbo].[API_CHIUSURE] Script Date: 20/03/2023 11:00:14 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +ALTER VIEW [dbo].[API_CHIUSURE] +AS +SELECT CCCODAZI, CCCODICE, CCDESCR, cpccchk, CCFLFATT, CCFLREP, CCDESSUP, CCTIPCOD, CCGRUPPO, CCIMPINT, CCIMPMAN, CCSERINT, CCSERMAN, CCNUMORE, CCPERMAN, CORECOM, CODTOBSO, + 0 as CCRAPABI, CCRIAPRE, '' as CCCHIINT, 0 as CCRAPOBB +FROM [R80_MARROCCO].dbo.CCHIUSA where COALESCE(CODTOBSO, '') = '' and CCCODAZI='LIFTA' +GO +/****** Object: View [dbo].[API_CLIENTI] Script Date: 20/03/2023 11:01:43 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +ALTER VIEW [dbo].[API_CLIENTI] +AS +SELECT ANTIPCON, ANCODICE, AN_EMAIL,ANCODFIS,ANPARIVA,ANINDIRI, ANTELEFO, ANNUMCEL, AN_EMPEC,ANDESCRI,ANNUMLIS +FROM [R80_MARROCCO].dbo.LIFTACONTI +WHERE (ANTIPCON = 'C') +GO +/****** Object: View [dbo].[API_RAPP_NEW] Script Date: 20/03/2023 11:02:19 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +ALTER VIEW [dbo].[API_RAPP_NEW] +AS +SELECT SERIALE_RAPPORTINO, TIPO_RAPPORTINO, AZIENDA_IMPIANTO, CODICE_IMPIANTO, AZIENDA_CHIAMATA, SERIALE_CHIAMATA, SERIALE_COMMESSA, DATA_RAPPORTINO, ORA_INI_RAPPORTINO, + MIN_INI_RAPPORTINO, ORA_FIN_RAPPORTINO, MIN_FIN_RAPPORTINO, CODICE_CHIUSURA_1, CODICE_CHIUSURA_2, CODICE_CHIUSURA_3, CODICE_CHIUSURA_4, CODICE_CHIUSURA_5, + CODICE_CHIUSURA_6, CODICE_CHIUSURA_7, CODICE_CHIUSURA_8, CODICE_CHIUSURA_9, CODICE_CHIUSURA_10, DESCRIZIONE_INTERVENTO, STATO_FINALE, GENERATO, AZIENDA_TECNICO, + CODICE_TECNICO, RIFIUTATA, FIRMA, INCARICO, DATA_VALIDITA, IMMAGINE, '' as SER_BUONO,'' as CODICE_INTERVENTO, + DIFETTI_RISCONTRATI, LAVORO_ESEGUITO, ESITO_INTERVENTO,NOTE_ESITO, NOTE_INTERVENTO,NUOVO_CONTRATTO, ORE_LAVORO, CAUSALE, MATERIALE, DIRITTO_CHIAMATA, MANODOPERA, SPESE_VIAGGIO, + PAGAMENTO, ANTICIPO, TOTALE, NOTE_PAGAMENTO, TIPO_INTERVENTO, RAFOTO1, RAFOTO2, RAFOTO3, RAFOTO4, RAFOTO5, RAFOTO6, RAFOTO7, RAFOTO8, RAFOTO9, RAFOTO10 +FROM [R80_MARROCCO].dbo.RAPP_NEW where AZIENDA_IMPIANTO='LIFTA' +GO +/****** Object: View [dbo].[API_STO_RAPP] Script Date: 20/03/2023 11:03:30 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + + +ALTER VIEW [dbo].[API_STO_RAPP] +AS + +select +PICODINT as codice_intervento, +PIDATMAN as data_manutenzione +,CODINTE.CIDESCRI,CIDESSUP, +TCCODICE,TCDESCRI,/*RAPPMAST.NOTE_ESITO,*/'' as NOTE_ESITO,DATA_RAPPORTINO +, STATO_FINALE,/*RAPPMAST.ESITO_INTERVENTO,*/'' as ESITO_INTERVENTO,DESCRIZIONE_INTERVENTO,FIRMA +,SERIALE_CHIAMATA,TIPO_RAPPORTINO,CHCODSEG as codice_segnalazione,SER_BUONO,DIFETTI_RISCONTRATI,LAVORO_ESEGUITO,NOTE_INTERVENTO +,ORE_LAVORO,MATERIALE,DIRITTO_CHIAMATA,ANTICIPO, MANODOPERA, SPESE_VIAGGIO,pagamento,CODICE_IMPIANTO, +TOTALE,NOTE_PAGAMENTO,TIPO_INTERVENTO,GENERATO,AZIENDA_TECNICO,AZIENDA_IMPIANTO,AZIENDA_CHIAMATA + +,CODICE_CHIUSURA_1,CODICE_CHIUSURA_2,CODICE_CHIUSURA_3,CODICE_CHIUSURA_4,CODICE_CHIUSURA_5, +CODICE_CHIUSURA_6,CODICE_CHIUSURA_7,CODICE_CHIUSURA_8,CODICE_CHIUSURA_9,CODICE_CHIUSURA_10 +,SERIALE_RAPPORTINO + +,DATA_EFFETTIVA +,IMINDIRI1 as indirizzo_tipo ,IMINDIRI2 as indirizzo,IMINDIRI3 as indirizzo_num ,IMINDIRI4 as indirizzo_num2,IMINDIRI5 as indirizzo_scala +,(select CCDESCR from [R80_MARROCCO].dbo.CCHIUSA where CCCODAZI='LIFTA' and CCCODICE=CODICE_CHIUSURA_1) as cc1 +,(select CCDESCR from [R80_MARROCCO].dbo.CCHIUSA where CCCODAZI='LIFTA' and CCCODICE=CODICE_CHIUSURA_2) as cc2 +,(select CCDESCR from [R80_MARROCCO].dbo.CCHIUSA where CCCODAZI='LIFTA' and CCCODICE=CODICE_CHIUSURA_3) as cc3 +,(select CCDESCR from [R80_MARROCCO].dbo.CCHIUSA where CCCODAZI='LIFTA' and CCCODICE=CODICE_CHIUSURA_4) as cc4 +,(select CCDESCR from [R80_MARROCCO].dbo.CCHIUSA where CCCODAZI='LIFTA' and CCCODICE=CODICE_CHIUSURA_5) as cc5 +,(select CCDESCR from [R80_MARROCCO].dbo.CCHIUSA where CCCODAZI='LIFTA' and CCCODICE=CODICE_CHIUSURA_6) as cc6 +,(select CCDESCR from [R80_MARROCCO].dbo.CCHIUSA where CCCODAZI='LIFTA' and CCCODICE=CODICE_CHIUSURA_7) as cc7 +,(select CCDESCR from [R80_MARROCCO].dbo.CCHIUSA where CCCODAZI='LIFTA' and CCCODICE=CODICE_CHIUSURA_8) as cc8 +,(select CCDESCR from [R80_MARROCCO].dbo.CCHIUSA where CCCODAZI='LIFTA' and CCCODICE=CODICE_CHIUSURA_9) as cc9 +,(select CCDESCR from [R80_MARROCCO].dbo.CCHIUSA where CCCODAZI='LIFTA' and CCCODICE=CODICE_CHIUSURA_10) as cc10 + +,(select CCDESSUP from [R80_MARROCCO].dbo.CCHIUSA where CCCODAZI='LIFTA' and CCCODICE=CODICE_CHIUSURA_1) as ccds1 +,(select CCDESSUP from [R80_MARROCCO].dbo.CCHIUSA where CCCODAZI='LIFTA' and CCCODICE=CODICE_CHIUSURA_2) as ccds2 +,(select CCDESSUP from [R80_MARROCCO].dbo.CCHIUSA where CCCODAZI='LIFTA' and CCCODICE=CODICE_CHIUSURA_3) as ccds3 +,(select CCDESSUP from [R80_MARROCCO].dbo.CCHIUSA where CCCODAZI='LIFTA' and CCCODICE=CODICE_CHIUSURA_4) as ccds4 +,(select CCDESSUP from [R80_MARROCCO].dbo.CCHIUSA where CCCODAZI='LIFTA' and CCCODICE=CODICE_CHIUSURA_5) as ccds5 +,(select CCDESSUP from [R80_MARROCCO].dbo.CCHIUSA where CCCODAZI='LIFTA' and CCCODICE=CODICE_CHIUSURA_6) as ccds6 +,(select CCDESSUP from [R80_MARROCCO].dbo.CCHIUSA where CCCODAZI='LIFTA' and CCCODICE=CODICE_CHIUSURA_7) as ccds7 +,(select CCDESSUP from [R80_MARROCCO].dbo.CCHIUSA where CCCODAZI='LIFTA' and CCCODICE=CODICE_CHIUSURA_8) as ccds8 +,(select CCDESSUP from [R80_MARROCCO].dbo.CCHIUSA where CCCODAZI='LIFTA' and CCCODICE=CODICE_CHIUSURA_9) as ccds9 +,(select CCDESSUP from [R80_MARROCCO].dbo.CCHIUSA where CCCODAZI='LIFTA' and CCCODICE=CODICE_CHIUSURA_10) as ccds10 + +from [R80_MARROCCO].dbo.LIFTARAPPMAST RAPPMAST left outer join [R80_MARROCCO].dbo.RAPP_NEW on RASERIAL=SERIALE_RAPPORTINO +left outer join [R80_MARROCCO].dbo.TECNICI on RACODTE1=TCCODICE and TCCODAZI='LIFTA' +left outer join [R80_MARROCCO].dbo.CHIAMATE on CHCODAZI='LIFTA' and CHSERIAL=SERIALE_CHIAMATA and TIPO_RAPPORTINO='3' +left outer join [R80_MARROCCO].dbo.PIPRESA on PIMPIANTO=CODICE_IMPIANTO and PICODINT=CODICE_INTERVENTO and PICODAZI='LIFTA' and PIDATMAN=DATA_EFFETTIVA +LEFT OUTER JOIN [R80_MARROCCO].dbo.CODINTE ON PICODINT = [R80_MARROCCO].dbo.CODINTE.CICODICE +LEFT OUTER JOIN [R80_MARROCCO].dbo.MIMPIANTI ON AZIENDA_IMPIANTO = [R80_MARROCCO].dbo.MIMPIANTI.IMCODAZI AND CODICE_IMPIANTO = [R80_MARROCCO].dbo.MIMPIANTI.IMCODIMP +where SERIALE_RAPPORTINO is not null +and DATA_RAPPORTINO>=DATEADD(month, -2, GETDATE()) +GO +/****** Object: View [dbo].[API_IMPIANTI] Script Date: 20/03/2023 11:06:39 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +ALTER VIEW [dbo].[API_IMPIANTI] +AS +SELECT +[R80_MARROCCO].dbo.MIMPIANTI.IMCODAZI, [R80_MARROCCO].dbo.MIMPIANTI.IMCODIMP, [R80_MARROCCO].dbo.MIMPIANTI.IMDESCRI, [R80_MARROCCO].dbo.MIMPIANTI.IMTIPOIM, +[R80_MARROCCO].dbo.MIMPIANTI.IMMATRIC, [R80_MARROCCO].dbo.MIMPIANTI.IMNUMIMP, [R80_MARROCCO].dbo.MIMPIANTI.IMULTCLI, +[R80_MARROCCO].dbo.MIMPIANTI.IMULTDCL, [R80_MARROCCO].dbo.MIMPIANTI.IMULTAMM, [R80_MARROCCO].dbo.MIMPIANTI.IMULTDAM, [R80_MARROCCO].dbo.MIMPIANTI.IMULTTAM, +[R80_MARROCCO].dbo.MIMPIANTI.IMINDIRI1, [R80_MARROCCO].dbo.MIMPIANTI.IMINDIRI2, [R80_MARROCCO].dbo.MIMPIANTI.IMINDIRI3, +[R80_MARROCCO].dbo.MIMPIANTI.IMINDIRI4, [R80_MARROCCO].dbo.MIMPIANTI.IMINDIRI5, [R80_MARROCCO].dbo.MIMPIANTI.IMLOCALI, [R80_MARROCCO].dbo.MIMPIANTI.IMCODCAP, +[R80_MARROCCO].dbo.MIMPIANTI.IMCOMUNE, [R80_MARROCCO].dbo.MIMPIANTI.IMPROVIN, [R80_MARROCCO].dbo.MIMPIANTI.IMCODNAZ, +[R80_MARROCCO].dbo.MIMPIANTI.IMUBICAZ, [R80_MARROCCO].dbo.MIMPIANTI.IMZONMAN, [R80_MARROCCO].dbo.MIMPIANTI.IMFLPUPR, [R80_MARROCCO].dbo.MIMPIANTI.UTDC, +[R80_MARROCCO].dbo.MIMPIANTI.UTDV, [R80_MARROCCO].dbo.MIMPIANTI.IMPIAMAN, [R80_MARROCCO].dbo.MIMPIANTI.IMDATATT, [R80_MARROCCO].dbo.MIMPIANTI.IMZONCHI, +[R80_MARROCCO].dbo.MIMPIANTI.IMZONSUP, [R80_MARROCCO].dbo.MIMPIANTI.IMDAINMA, [R80_MARROCCO].dbo.MIMPIANTI.IMDAFIMA, +[R80_MARROCCO].dbo.MIMPIANTI.IMDATCOS, [R80_MARROCCO].dbo.MIMPIANTI.IMTELESO, [R80_MARROCCO].dbo.API_CLIENTI.AN_EMAIL,'' as IMAZIRIF +,[R80_MARROCCO].dbo.MIMPIANTI.IMREFREF +FROM +[R80_MARROCCO].dbo.MIMPIANTI INNER JOIN +[R80_MARROCCO].dbo.API_CLIENTI ON [R80_MARROCCO].dbo.MIMPIANTI.IMULTCLI = [R80_MARROCCO].dbo.API_CLIENTI.ANCODICE +where [R80_MARROCCO].dbo.MIMPIANTI.IMCODAZI='LIFTA' +GO +/****** Object: View [dbo].[API_TECNICI] Script Date: 20/03/2023 11:07:26 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +ALTER VIEW [dbo].[API_TECNICI] +AS +SELECT +[R80_MARROCCO].dbo.TECNICI.TCCODICE, [R80_MARROCCO].dbo.TECNICI.TCDESCRI, [R80_MARROCCO].dbo.TECNICI.TCTELEF1, [R80_MARROCCO].dbo.TECNICI.TCCHIAM, [R80_MARROCCO].dbo.TECNICI.TCMANUT, +[R80_MARROCCO].dbo.TECNICI.TCCODAZI, [R80_MARROCCO].dbo.TECNICI.TCSUPER, [R80_MARROCCO].dbo.TECNICI.TCUSER, [R80_MARROCCO].dbo.TECNICI.TCPWD, +[R80_MARROCCO].dbo.TECDISP.TDCODZON, [R80_MARROCCO].dbo.TECDISP.TDDATAIN, [R80_MARROCCO].dbo.TECDISP.TDDATAFI,TCCOOR as costo_ordinario,TCCONO as costo_notturno, +TCCOST as costo_straordinario,TCCOFE as costo_festivo +FROM +[R80_MARROCCO].dbo.TECNICI INNER JOIN +[R80_MARROCCO].dbo.TECDISP ON [R80_MARROCCO].dbo.TECNICI.TCCODICE = [R80_MARROCCO].dbo.TECDISP.TDCODTEC AND [R80_MARROCCO].dbo.TECNICI.TCCODAZI = [R80_MARROCCO].dbo.TECDISP.TDCODAZI +GO +/****** Object: View [dbo].[API_CHIAMATE] Script Date: 20/03/2023 11:11:13 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +ALTER VIEW [dbo].[API_CHIAMATE] +AS +select +ic.SERIALE_RAPPORTINO as ser_rapp_ic,ic.TIPO_RAPPORTINO as tipo_rapp_ic,/*pc.GENERATO,pc.RIFIUTATA,*/ic.INCARICO as ic, +rif.SERIALE_RAPPORTINO as ser_rapp_rif,rif.TIPO_RAPPORTINO as tipo_rapp_rif,/*rif.GENERATO,*/rif.RIFIUTATA as rif,/*rif.INCARICO,*/ +chiu.SERIALE_RAPPORTINO as ser_rapp_chiu,chiu.TIPO_RAPPORTINO as tipo_rapp_chiu,chiu.SER_BUONO as ser_buono_chiu, +'' as err_title,''as err_detail,'' as err_status_code, +[R80_MARROCCO].dbo.CHIAMATE.CHCODAZI, [R80_MARROCCO].dbo.CHIAMATE.CHSERIAL, [R80_MARROCCO].dbo.CHIAMATE.CHCODESE, [R80_MARROCCO].dbo.CHIAMATE.CHTIPO, +[R80_MARROCCO].dbo.CHIAMATE.CHNUMERO, [R80_MARROCCO].dbo.CHIAMATE.CHDATA, [R80_MARROCCO].dbo.CHIAMATE.CHORA, [R80_MARROCCO].dbo.CHIAMATE.CHMIN, +[R80_MARROCCO].dbo.CHIAMATE.CHOPASS, [R80_MARROCCO].dbo.CHIAMATE.CHOPCHI, [R80_MARROCCO].dbo.CHIAMATE.CHCODIMP, [R80_MARROCCO].dbo.CHIAMATE.CHAZIIMP, +[R80_MARROCCO].dbo.CHIAMATE.CHSTATO, [R80_MARROCCO].dbo.CHIAMATE.CHDTAPP, [R80_MARROCCO].dbo.CHIAMATE.CHORAAPI, [R80_MARROCCO].dbo.CHIAMATE.CHMINAPI, +[R80_MARROCCO].dbo.CHIAMATE.CHORAAPF, [R80_MARROCCO].dbo.CHIAMATE.CHMINAPF, [R80_MARROCCO].dbo.CHIAMATE.CHRIFER, [R80_MARROCCO].dbo.CHIAMATE.CHTELEF, +[R80_MARROCCO].dbo.CHIAMATE.CHCODSEG, [R80_MARROCCO].dbo.CHIAMATE.CHSTOPI, [R80_MARROCCO].dbo.CHIAMATE.CHNOTE, [R80_MARROCCO].dbo.CHIAMATE.CHDTASS, +[R80_MARROCCO].dbo.CHIAMATE.CHORASS, [R80_MARROCCO].dbo.CHIAMATE.CHMINASS, [R80_MARROCCO].dbo.CHIAMATE.CHDTCHI, [R80_MARROCCO].dbo.CHIAMATE.CHORACHI, +[R80_MARROCCO].dbo.CHIAMATE.CHMINCHI, [R80_MARROCCO].dbo.CHIAMATE.CHDTLIN, [R80_MARROCCO].dbo.CHIAMATE.CHORALI, [R80_MARROCCO].dbo.CHIAMATE.CHMINLI, +[R80_MARROCCO].dbo.CHIAMATE.CHDTLFI, [R80_MARROCCO].dbo.CHIAMATE.CHORALF, [R80_MARROCCO].dbo.CHIAMATE.CHMINLF, [R80_MARROCCO].dbo.CHIAMATE.cpccchk, +[R80_MARROCCO].dbo.CHIAMATE.CHNRAP1, [R80_MARROCCO].dbo.CHIAMATE.CHSRAP1, [R80_MARROCCO].dbo.CHIAMATE.CHNRAP2, [R80_MARROCCO].dbo.CHIAMATE.CHSRAP2, +[R80_MARROCCO].dbo.CHIAMATE.CHMODRAC, [R80_MARROCCO].dbo.CHIAMATE.CHPRGANN, [R80_MARROCCO].dbo.CHIAMATE.UTCC, [R80_MARROCCO].dbo.CHIAMATE.UTCV, +[R80_MARROCCO].dbo.CHIAMATE.CHIMPMAN, [R80_MARROCCO].dbo.CHIAMATE.CHPERMAN, [R80_MARROCCO].dbo.CHIAMATE.CHFLSTIM, [R80_MARROCCO].dbo.CHIAMATE.CHFLESTE, +[R80_MARROCCO].dbo.CHIAMATE.CHTCHIAM as TCCODICE, [R80_MARROCCO].dbo.CHIAMATE.CHSEREXT, API_IMPIANTI.IMDESCRI, API_IMPIANTI.IMTIPOIM, +API_IMPIANTI.IMMATRIC, API_IMPIANTI.IMNUMIMP, API_IMPIANTI.IMULTAMM, API_IMPIANTI.IMULTDAM, +API_IMPIANTI.IMULTTAM, API_IMPIANTI.IMINDIRI1, API_IMPIANTI.IMINDIRI2, API_IMPIANTI.IMINDIRI3, +API_IMPIANTI.IMINDIRI4, API_IMPIANTI.IMINDIRI5, API_IMPIANTI.IMLOCALI, +API_IMPIANTI.IMCODCAP, API_IMPIANTI.IMCOMUNE, API_IMPIANTI.IMPROVIN, API_IMPIANTI.IMCODNAZ, +API_IMPIANTI.IMUBICAZ, API_IMPIANTI.IMZONMAN, API_IMPIANTI.IMFLPUPR, API_IMPIANTI.IMZONCHI, +API_IMPIANTI.IMZONSUP, API_IMPIANTI.IMDAINMA, API_IMPIANTI.IMDAFIMA, API_IMPIANTI.IMDATCOS, +API_IMPIANTI.IMTELESO, API_IMPIANTI.AN_EMAIL,API_IMPIANTI.IMULTCLI, [R80_MARROCCO].dbo.LIFTACONTI.ANCODICE, +[R80_MARROCCO].dbo.LIFTACONTI.ANTIPCON, [R80_MARROCCO].dbo.LIFTACONTI.ANDESCRI, [R80_MARROCCO].dbo.LIFTACONTI.ANTELEFO, [R80_MARROCCO].dbo.CODSEGN.CSDESCR, [R80_MARROCCO].dbo.CHIAMATE.CHTCHIAM +,'' as IMAZIRIF,API_IMPIANTI.IMREFREF +,(select top 1 tcdescri from dbo.API_TECNICI where TCCODICE=CHIAMATE.CHTCHIAM) as TCDESCRI +,(select top 1 CTIMPCHI from [R80_MARROCCO].dbo.LIFTAMCONMAST where CTCODCLI=ANCODICE and CTFLSTAT='A' order by CTDATREG desc) as chiamata +,(select top 1 CTIMPVIA from [R80_MARROCCO].dbo.LIFTAMCONMAST where CTCODCLI=ANCODICE and CTFLSTAT='A' order by CTDATREG desc) as spe_viaggio +,(select top 1 costo_ordinario from API_TECNICI where TCCODICE=CHIAMATE.CHTCHIAM) as costo_ordinario +,(select top 1 costo_notturno from API_TECNICI where TCCODICE=CHIAMATE.CHTCHIAM) as costo_notturno +,(select top 1 costo_straordinario from API_TECNICI where TCCODICE=CHIAMATE.CHTCHIAM) as costo_straordinario +,(select top 1 costo_festivo from API_TECNICI where TCCODICE=CHIAMATE.CHTCHIAM) as costo_festivo +from [R80_MARROCCO].dbo.CHIAMATE +left outer join [R80_MARROCCO].dbo.RAPP_NEW as ic on (ic.SERIALE_CHIAMATA=CHSERIAL and ic.AZIENDA_CHIAMATA=CHCODAZI and ic.CODICE_TECNICO=CHTCHIAM and LTRIM(RTRIM(coalesce(ic.TIPO_RAPPORTINO,'')))='' /*and ic.GENERATO is NULL*/ and (ic.RIFIUTATA='N' )) +left outer join [R80_MARROCCO].dbo.RAPP_NEW as rif on (rif.SERIALE_CHIAMATA=CHSERIAL and rif.AZIENDA_CHIAMATA=CHCODAZI and rif.CODICE_TECNICO=CHTCHIAM and LTRIM(RTRIM(coalesce(rif.TIPO_RAPPORTINO,'')))='' /*and rif.GENERATO is NULL*/ and (rif.RIFIUTATA='S' )) +left outer join [R80_MARROCCO].dbo.RAPP_NEW as chiu on (chiu.SERIALE_CHIAMATA=CHSERIAL and chiu.AZIENDA_CHIAMATA=CHCODAZI and chiu.CODICE_TECNICO=CHTCHIAM and LTRIM(RTRIM(coalesce(chiu.TIPO_RAPPORTINO,'')))='3' /*and chiu.GENERATO is NULL*/ ) +left outer join [R80_MARROCCO].dbo.CODSEGN ON [R80_MARROCCO].dbo.CODSEGN.CSCODICE = [R80_MARROCCO].dbo.CHIAMATE.CHCODSEG AND [R80_MARROCCO].dbo.CODSEGN.CSCODAZI = [R80_MARROCCO].dbo.CHIAMATE.CHCODAZI +LEFT OUTER JOIN [R80_MARROCCO].dbo.LIFTACONTI +INNER JOIN dbo.API_IMPIANTI ON [R80_MARROCCO].dbo.LIFTACONTI.ANCODICE = dbo.API_IMPIANTI.IMULTCLI AND [R80_MARROCCO].dbo.LIFTACONTI.ANTIPCON = 'C' ON [R80_MARROCCO].dbo.CHIAMATE.CHAZIIMP = dbo.API_IMPIANTI.IMCODAZI AND [R80_MARROCCO].dbo.CHIAMATE.CHCODIMP = dbo.API_IMPIANTI.IMCODIMP + +where 1=1 +and [R80_MARROCCO].dbo.CHIAMATE.CHSTATO = 'C' +and [R80_MARROCCO].dbo.CHIAMATE.CHDATA>=DATEADD(month, -3, GETDATE()) +and [R80_MARROCCO].dbo.CHIAMATE.CHDATA<=DATEADD(month, 3, GETDATE()) +and [R80_MARROCCO].dbo.CHIAMATE.CHCODAZI='LIFTA' + +GO +/****** Object: View [dbo].[API_MANPROG] Script Date: 20/03/2023 11:19:13 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +ALTER VIEW [dbo].[API_MANPROG] +AS + +select + + [PIMPIANTO] + ,[PICODINT] + ,[PIDATMAN] + ,[SERIALE_RAPPORTINO] + ,[SER_BUONO] + ,[GENERATO] + ,[CODICE_INTERVENTO] + ,[err_title] + ,[err_detail] + ,[err_status_code] + ,[CTCODAZI] + ,[CTCODIMP] + ,[CTCODINT] + ,[CTDESINT] + ,[CTDATPRO] + ,[IMDESCRI] + ,[IMTIPOIM] + ,[IMMATRIC] + ,[IMNUMIMP] + ,[IMULTDAM] + ,[IMULTAMM] + ,[IMINDIRI1] + ,[IMINDIRI2] + ,[IMINDIRI3] + ,[IMINDIRI4] + ,[IMINDIRI5] + ,[IMLOCALI] + ,[IMCODCAP] + ,[IMCOMUNE] + ,[IMPROVIN] + ,[IMCODNAZ] + ,[IMUBICAZ] + ,[IMZONMAN] + ,[IMRIFERI] + ,[IMZONCHI] + ,[IMZONSUP] + ,[TELEFONO1] + ,[TELEFONO2] + ,[CLIENTE] + ,[MPMESGEN] + ,[MPMESFEB] + ,[MPMESMAR] + ,[MPMESAPR] + ,[MPMESMAG] + ,[MPMESLUG] + ,[MPMESGIU] + ,[MPMESAGO] + ,[MPMESSET] + ,[MPMESOTT] + ,[MPMESNOV] + ,[MPMESDIC] + ,[TCDESCRI] + ,[TCCODICE] + ,[IMAZIRIF] + ,IMREFREF + ,[chiamata] + ,[spe_viaggio] + ,[costo_ordinario] + ,[costo_notturno] + ,[costo_straordinario] + ,[costo_festivo] +from [R80_MARROCCO].dbo.API_MANPROG where CTCODAZI='LIFTA' + +GO +/****** Object: View [dbo].[API_SOSTITUZIONI] Script Date: 20/03/2023 10:56:17 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +ALTER VIEW [dbo].[API_SOSTITUZIONI] +AS +SELECT [TSCODAZI],[TSCODTEC],[TSCODZON],[TSDATAIN],[TSDATAFI],[TSCODSOS] + FROM [R80_MARROCCO].[dbo].[TECSOS] + where [TSDATAIN]<=DATEADD(DAY, -1, GETDATE()) + and [TSDATAFI]>=DATEADD(DAY, 1, GETDATE()) + and [TSCODAZI]='LIFTA' +GO \ No newline at end of file diff --git a/ApiPolo/SQL/Marrocco_1_8.txt b/ApiPolo/SQL/Marrocco_1_8.txt new file mode 100644 index 0000000..34898f6 --- /dev/null +++ b/ApiPolo/SQL/Marrocco_1_8.txt @@ -0,0 +1,323 @@ +USE [R80_MARROCCO] +GO + +/****** Object: View [dbo].[API_CAUS_RAPP] Script Date: 20/03/2023 08:50:56 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +ALTER VIEW [dbo].[API_CAUS_RAPP] +AS +select CRCODICE,CRDESCRI,CRRIFATT from MARROCAUSRAPP +GO +/****** Object: View [dbo].[API_CHIUSURE] Script Date: 20/03/2023 08:51:12 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +ALTER VIEW [dbo].[API_CHIUSURE] +AS +SELECT CCCODAZI, CCCODICE, CCDESCR, cpccchk, CCFLFATT, CCFLREP, CCDESSUP, CCTIPCOD, CCGRUPPO, CCIMPINT, CCIMPMAN, CCSERINT, CCSERMAN, CCNUMORE, CCPERMAN, CORECOM, CODTOBSO, + 0 as CCRAPABI, CCRIAPRE, '' as CCCHIINT, 0 as CCRAPOBB +FROM dbo.CCHIUSA where COALESCE(CODTOBSO, '') = '' +GO +/****** Object: View [dbo].[API_CLIENTI] Script Date: 20/03/2023 08:52:25 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +ALTER VIEW [dbo].[API_CLIENTI] +AS +SELECT ANTIPCON, ANCODICE, AN_EMAIL,ANCODFIS,ANPARIVA,ANINDIRI, ANTELEFO, ANNUMCEL, AN_EMPEC,ANDESCRI,ANNUMLIS +FROM dbo.MARROCONTI +WHERE (ANTIPCON = 'C') +GO +/****** Object: View [dbo].[API_PAGAMENTI] Script Date: 20/03/2023 08:53:07 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +ALTER VIEW [dbo].[API_PAGAMENTI] +AS +select PACODICE,PADESCRI from MARROPAG_AMEN +GO +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +/****** Object: View [dbo].[API_RAPP_NEW] Script Date: 20/03/2023 08:53:42 ******/ +ALTER VIEW [dbo].[API_RAPP_NEW] +AS +SELECT SERIALE_RAPPORTINO, TIPO_RAPPORTINO, AZIENDA_IMPIANTO, CODICE_IMPIANTO, AZIENDA_CHIAMATA, SERIALE_CHIAMATA, SERIALE_COMMESSA, DATA_RAPPORTINO, ORA_INI_RAPPORTINO, + MIN_INI_RAPPORTINO, ORA_FIN_RAPPORTINO, MIN_FIN_RAPPORTINO, CODICE_CHIUSURA_1, CODICE_CHIUSURA_2, CODICE_CHIUSURA_3, CODICE_CHIUSURA_4, CODICE_CHIUSURA_5, + CODICE_CHIUSURA_6, CODICE_CHIUSURA_7, CODICE_CHIUSURA_8, CODICE_CHIUSURA_9, CODICE_CHIUSURA_10, DESCRIZIONE_INTERVENTO, STATO_FINALE, GENERATO, AZIENDA_TECNICO, + CODICE_TECNICO, RIFIUTATA, FIRMA, INCARICO, DATA_VALIDITA, IMMAGINE, '' as SER_BUONO,'' as CODICE_INTERVENTO, + DIFETTI_RISCONTRATI, LAVORO_ESEGUITO, ESITO_INTERVENTO,NOTE_ESITO, NOTE_INTERVENTO,NUOVO_CONTRATTO, ORE_LAVORO, CAUSALE, MATERIALE, DIRITTO_CHIAMATA, MANODOPERA, SPESE_VIAGGIO, + PAGAMENTO, ANTICIPO, TOTALE, NOTE_PAGAMENTO, TIPO_INTERVENTO, RAFOTO1, RAFOTO2, RAFOTO3, RAFOTO4, RAFOTO5, RAFOTO6, RAFOTO7, RAFOTO8, RAFOTO9, RAFOTO10 +FROM dbo.RAPP_NEW +GO +/****** Object: View [dbo].[API_STO_RAPP] Script Date: 20/03/2023 08:54:55 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +ALTER VIEW [dbo].[API_STO_RAPP] +AS +select + +PICODINT as codice_intervento, +PIDATMAN as data_manutenzione +,CODINTE.CIDESCRI,CIDESSUP, +TCCODICE,TCDESCRI,/*RAPPMAST.NOTE_ESITO,*/'' as NOTE_ESITO,DATA_RAPPORTINO +, STATO_FINALE,/*RAPPMAST.ESITO_INTERVENTO,*/'' as ESITO_INTERVENTO,DESCRIZIONE_INTERVENTO,FIRMA +,SERIALE_CHIAMATA,TIPO_RAPPORTINO,CHCODSEG as codice_segnalazione,SER_BUONO,DIFETTI_RISCONTRATI,LAVORO_ESEGUITO,NOTE_INTERVENTO +,ORE_LAVORO,MATERIALE,DIRITTO_CHIAMATA,ANTICIPO, MANODOPERA, SPESE_VIAGGIO,pagamento,CODICE_IMPIANTO, +TOTALE,NOTE_PAGAMENTO,TIPO_INTERVENTO,GENERATO,AZIENDA_TECNICO,AZIENDA_IMPIANTO,AZIENDA_CHIAMATA + +,CODICE_CHIUSURA_1,CODICE_CHIUSURA_2,CODICE_CHIUSURA_3,CODICE_CHIUSURA_4,CODICE_CHIUSURA_5, +CODICE_CHIUSURA_6,CODICE_CHIUSURA_7,CODICE_CHIUSURA_8,CODICE_CHIUSURA_9,CODICE_CHIUSURA_10 +,SERIALE_RAPPORTINO + +,DATA_EFFETTIVA +,IMINDIRI1 as indirizzo_tipo ,IMINDIRI2 as indirizzo,IMINDIRI3 as indirizzo_num ,IMINDIRI4 as indirizzo_num2,IMINDIRI5 as indirizzo_scala +,(select CCDESCR from CCHIUSA where CCCODAZI='MARRO' and CCCODICE=CODICE_CHIUSURA_1) as cc1 +,(select CCDESCR from CCHIUSA where CCCODAZI='MARRO' and CCCODICE=CODICE_CHIUSURA_2) as cc2 +,(select CCDESCR from CCHIUSA where CCCODAZI='MARRO' and CCCODICE=CODICE_CHIUSURA_3) as cc3 +,(select CCDESCR from CCHIUSA where CCCODAZI='MARRO' and CCCODICE=CODICE_CHIUSURA_4) as cc4 +,(select CCDESCR from CCHIUSA where CCCODAZI='MARRO' and CCCODICE=CODICE_CHIUSURA_5) as cc5 +,(select CCDESCR from CCHIUSA where CCCODAZI='MARRO' and CCCODICE=CODICE_CHIUSURA_6) as cc6 +,(select CCDESCR from CCHIUSA where CCCODAZI='MARRO' and CCCODICE=CODICE_CHIUSURA_7) as cc7 +,(select CCDESCR from CCHIUSA where CCCODAZI='MARRO' and CCCODICE=CODICE_CHIUSURA_8) as cc8 +,(select CCDESCR from CCHIUSA where CCCODAZI='MARRO' and CCCODICE=CODICE_CHIUSURA_9) as cc9 +,(select CCDESCR from CCHIUSA where CCCODAZI='MARRO' and CCCODICE=CODICE_CHIUSURA_10) as cc10 + +,(select CCDESSUP from CCHIUSA where CCCODAZI='MARRO' and CCCODICE=CODICE_CHIUSURA_1) as ccds1 +,(select CCDESSUP from CCHIUSA where CCCODAZI='MARRO' and CCCODICE=CODICE_CHIUSURA_2) as ccds2 +,(select CCDESSUP from CCHIUSA where CCCODAZI='MARRO' and CCCODICE=CODICE_CHIUSURA_3) as ccds3 +,(select CCDESSUP from CCHIUSA where CCCODAZI='MARRO' and CCCODICE=CODICE_CHIUSURA_4) as ccds4 +,(select CCDESSUP from CCHIUSA where CCCODAZI='MARRO' and CCCODICE=CODICE_CHIUSURA_5) as ccds5 +,(select CCDESSUP from CCHIUSA where CCCODAZI='MARRO' and CCCODICE=CODICE_CHIUSURA_6) as ccds6 +,(select CCDESSUP from CCHIUSA where CCCODAZI='MARRO' and CCCODICE=CODICE_CHIUSURA_7) as ccds7 +,(select CCDESSUP from CCHIUSA where CCCODAZI='MARRO' and CCCODICE=CODICE_CHIUSURA_8) as ccds8 +,(select CCDESSUP from CCHIUSA where CCCODAZI='MARRO' and CCCODICE=CODICE_CHIUSURA_9) as ccds9 +,(select CCDESSUP from CCHIUSA where CCCODAZI='MARRO' and CCCODICE=CODICE_CHIUSURA_10) as ccds10 + +from MARRORAPPMAST RAPPMAST left outer join RAPP_NEW on RASERIAL=SERIALE_RAPPORTINO +left outer join TECNICI on RACODTE1=TCCODICE and TCCODAZI='MARRO' +left outer join CHIAMATE on CHCODAZI='MARRO' and CHSERIAL=SERIALE_CHIAMATA and TIPO_RAPPORTINO='3' +--left outer join MANPROG on MPCODAZI='MARRO'and MPCODIMP=CODICE_IMPIANTO and MPDATSTO=DATA_VALIDITA /*and MPDATSTO=DATA_EFFETTIVA*/ and TIPO_RAPPORTINO='2' and MPCODINT=CODICE_INTERVENTO +left outer join PIPRESA on PIMPIANTO=CODICE_IMPIANTO and PICODINT=CODICE_INTERVENTO and PICODAZI='MARRO' and PIDATMAN=DATA_EFFETTIVA +LEFT OUTER JOIN CODINTE ON PICODINT = dbo.CODINTE.CICODICE +LEFT OUTER JOIN dbo.MIMPIANTI ON AZIENDA_IMPIANTO = dbo.MIMPIANTI.IMCODAZI AND CODICE_IMPIANTO = dbo.MIMPIANTI.IMCODIMP +where SERIALE_RAPPORTINO is not null +and DATA_RAPPORTINO>=DATEADD(month, -2, GETDATE()) + +GO +/****** Object: View [dbo].[API_IMPIANTI] Script Date: 20/03/2023 08:56:34 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +ALTER VIEW [dbo].[API_IMPIANTI] +AS +SELECT dbo.MIMPIANTI.IMCODAZI, dbo.MIMPIANTI.IMCODIMP, dbo.MIMPIANTI.IMDESCRI, dbo.MIMPIANTI.IMTIPOIM, dbo.MIMPIANTI.IMMATRIC, dbo.MIMPIANTI.IMNUMIMP, dbo.MIMPIANTI.IMULTCLI, + dbo.MIMPIANTI.IMULTDCL, dbo.MIMPIANTI.IMULTAMM, dbo.MIMPIANTI.IMULTDAM, dbo.MIMPIANTI.IMULTTAM, dbo.MIMPIANTI.IMINDIRI1, dbo.MIMPIANTI.IMINDIRI2, dbo.MIMPIANTI.IMINDIRI3, + dbo.MIMPIANTI.IMINDIRI4, dbo.MIMPIANTI.IMINDIRI5, dbo.MIMPIANTI.IMLOCALI, dbo.MIMPIANTI.IMCODCAP, dbo.MIMPIANTI.IMCOMUNE, dbo.MIMPIANTI.IMPROVIN, dbo.MIMPIANTI.IMCODNAZ, + dbo.MIMPIANTI.IMUBICAZ, dbo.MIMPIANTI.IMZONMAN, dbo.MIMPIANTI.IMFLPUPR, dbo.MIMPIANTI.UTDC, dbo.MIMPIANTI.UTDV, dbo.MIMPIANTI.IMPIAMAN, dbo.MIMPIANTI.IMDATATT, dbo.MIMPIANTI.IMZONCHI, + dbo.MIMPIANTI.IMZONSUP, dbo.MIMPIANTI.IMDAINMA, dbo.MIMPIANTI.IMDAFIMA, dbo.MIMPIANTI.IMDATCOS, dbo.MIMPIANTI.IMTELESO, + dbo.API_CLIENTI.AN_EMAIL,dbo.MIMPIANTI.IMREFREF +FROM dbo.MIMPIANTI INNER JOIN + dbo.API_CLIENTI ON dbo.MIMPIANTI.IMULTCLI = dbo.API_CLIENTI.ANCODICE +GO +/****** Object: View [dbo].[API_TECNICI] Script Date: 20/03/2023 08:57:38 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +ALTER VIEW [dbo].[API_TECNICI] +AS +SELECT dbo.TECNICI.TCCODICE, dbo.TECNICI.TCDESCRI, dbo.TECNICI.TCTELEF1, dbo.TECNICI.TCCHIAM, dbo.TECNICI.TCMANUT, dbo.TECNICI.TCCODAZI, dbo.TECNICI.TCSUPER, dbo.TECNICI.TCUSER, dbo.TECNICI.TCPWD, + dbo.TECDISP.TDCODZON, dbo.TECDISP.TDDATAIN, dbo.TECDISP.TDDATAFI,TCCOOR as costo_ordinario,TCCONO as costo_notturno,TCCOST as costo_straordinario,TCCOFE as costo_festivo +FROM dbo.TECNICI INNER JOIN + dbo.TECDISP ON dbo.TECNICI.TCCODICE = dbo.TECDISP.TDCODTEC AND dbo.TECNICI.TCCODAZI = dbo.TECDISP.TDCODAZI +GO +/****** Object: View [dbo].[API_CHIAMATE] Script Date: 20/03/2023 08:58:18 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +ALTER VIEW [dbo].[API_CHIAMATE] +AS +select +ic.SERIALE_RAPPORTINO as ser_rapp_ic,ic.TIPO_RAPPORTINO as tipo_rapp_ic,/*pc.GENERATO,pc.RIFIUTATA,*/ic.INCARICO as ic, +rif.SERIALE_RAPPORTINO as ser_rapp_rif,rif.TIPO_RAPPORTINO as tipo_rapp_rif,/*rif.GENERATO,*/rif.RIFIUTATA as rif,/*rif.INCARICO,*/ +chiu.SERIALE_RAPPORTINO as ser_rapp_chiu,chiu.TIPO_RAPPORTINO as tipo_rapp_chiu,chiu.SER_BUONO as ser_buono_chiu, +'' as err_title,''as err_detail,'' as err_status_code, +dbo.CHIAMATE.CHCODAZI, dbo.CHIAMATE.CHSERIAL, dbo.CHIAMATE.CHCODESE, dbo.CHIAMATE.CHTIPO, dbo.CHIAMATE.CHNUMERO, dbo.CHIAMATE.CHDATA, dbo.CHIAMATE.CHORA, dbo.CHIAMATE.CHMIN, +dbo.CHIAMATE.CHOPASS, dbo.CHIAMATE.CHOPCHI, dbo.CHIAMATE.CHCODIMP, dbo.CHIAMATE.CHAZIIMP, dbo.CHIAMATE.CHSTATO, dbo.CHIAMATE.CHDTAPP, dbo.CHIAMATE.CHORAAPI, dbo.CHIAMATE.CHMINAPI, +dbo.CHIAMATE.CHORAAPF, dbo.CHIAMATE.CHMINAPF, dbo.CHIAMATE.CHRIFER, dbo.CHIAMATE.CHTELEF, dbo.CHIAMATE.CHCODSEG, dbo.CHIAMATE.CHSTOPI, dbo.CHIAMATE.CHNOTE, dbo.CHIAMATE.CHDTASS, +dbo.CHIAMATE.CHORASS, dbo.CHIAMATE.CHMINASS, dbo.CHIAMATE.CHDTCHI, dbo.CHIAMATE.CHORACHI, dbo.CHIAMATE.CHMINCHI, dbo.CHIAMATE.CHDTLIN, dbo.CHIAMATE.CHORALI, dbo.CHIAMATE.CHMINLI, +dbo.CHIAMATE.CHDTLFI, dbo.CHIAMATE.CHORALF, dbo.CHIAMATE.CHMINLF, dbo.CHIAMATE.cpccchk, dbo.CHIAMATE.CHNRAP1, dbo.CHIAMATE.CHSRAP1, dbo.CHIAMATE.CHNRAP2, dbo.CHIAMATE.CHSRAP2, +dbo.CHIAMATE.CHMODRAC, dbo.CHIAMATE.CHPRGANN, dbo.CHIAMATE.UTCC, dbo.CHIAMATE.UTCV, dbo.CHIAMATE.CHIMPMAN, dbo.CHIAMATE.CHPERMAN, dbo.CHIAMATE.CHFLSTIM, dbo.CHIAMATE.CHFLESTE,CHIAMATE.CHTCHIAM as TCCODICE, +dbo.CHIAMATE.CHSEREXT, dbo.API_IMPIANTI.IMDESCRI, dbo.API_IMPIANTI.IMTIPOIM, dbo.API_IMPIANTI.IMMATRIC, dbo.API_IMPIANTI.IMNUMIMP, dbo.API_IMPIANTI.IMULTAMM, dbo.API_IMPIANTI.IMULTDAM, +dbo.API_IMPIANTI.IMULTTAM, dbo.API_IMPIANTI.IMINDIRI1, dbo.API_IMPIANTI.IMINDIRI2, dbo.API_IMPIANTI.IMINDIRI3, dbo.API_IMPIANTI.IMINDIRI4, dbo.API_IMPIANTI.IMINDIRI5, dbo.API_IMPIANTI.IMLOCALI, +dbo.API_IMPIANTI.IMCODCAP, dbo.API_IMPIANTI.IMCOMUNE, dbo.API_IMPIANTI.IMPROVIN, dbo.API_IMPIANTI.IMCODNAZ, dbo.API_IMPIANTI.IMUBICAZ, dbo.API_IMPIANTI.IMZONMAN, dbo.API_IMPIANTI.IMFLPUPR, +dbo.API_IMPIANTI.IMZONCHI, dbo.API_IMPIANTI.IMZONSUP, dbo.API_IMPIANTI.IMDAINMA, dbo.API_IMPIANTI.IMDAFIMA, dbo.API_IMPIANTI.IMDATCOS, dbo.API_IMPIANTI.IMTELESO, dbo.API_IMPIANTI.AN_EMAIL, +dbo.API_IMPIANTI.IMULTCLI, dbo.MARROCONTI.ANCODICE, dbo.MARROCONTI.ANTIPCON, dbo.MARROCONTI.ANDESCRI, dbo.MARROCONTI.ANTELEFO, dbo.CODSEGN.CSDESCR, dbo.CHIAMATE.CHTCHIAM +,'' as IMAZIRIF,dbo.API_IMPIANTI.IMREFREF +,(select top 1 tcdescri from API_TECNICI where TCCODICE=CHIAMATE.CHTCHIAM) as TCDESCRI +,(select top 1 CTIMPCHI from MARROMCONMAST where CTCODCLI=ANCODICE and CTFLSTAT='A' order by CTDATREG desc) as chiamata +,(select top 1 CTIMPVIA from MARROMCONMAST where CTCODCLI=ANCODICE and CTFLSTAT='A' order by CTDATREG desc) as spe_viaggio +,(select top 1 costo_ordinario from API_TECNICI where TCCODICE=CHIAMATE.CHTCHIAM) as costo_ordinario +,(select top 1 costo_notturno from API_TECNICI where TCCODICE=CHIAMATE.CHTCHIAM) as costo_notturno +,(select top 1 costo_straordinario from API_TECNICI where TCCODICE=CHIAMATE.CHTCHIAM) as costo_straordinario +,(select top 1 costo_festivo from API_TECNICI where TCCODICE=CHIAMATE.CHTCHIAM) as costo_festivo +from CHIAMATE +left outer join RAPP_NEW as ic on (ic.SERIALE_CHIAMATA=CHSERIAL and ic.AZIENDA_CHIAMATA=CHCODAZI and ic.CODICE_TECNICO=CHTCHIAM and LTRIM(RTRIM(coalesce(ic.TIPO_RAPPORTINO,'')))='' /*and ic.GENERATO is NULL*/ and (ic.RIFIUTATA='N' )) +left outer join RAPP_NEW as rif on (rif.SERIALE_CHIAMATA=CHSERIAL and rif.AZIENDA_CHIAMATA=CHCODAZI and rif.CODICE_TECNICO=CHTCHIAM and LTRIM(RTRIM(coalesce(rif.TIPO_RAPPORTINO,'')))='' /*and rif.GENERATO is NULL*/ and (rif.RIFIUTATA='S' )) +left outer join RAPP_NEW as chiu on (chiu.SERIALE_CHIAMATA=CHSERIAL and chiu.AZIENDA_CHIAMATA=CHCODAZI and chiu.CODICE_TECNICO=CHTCHIAM and LTRIM(RTRIM(coalesce(chiu.TIPO_RAPPORTINO,'')))='3' /*and chiu.GENERATO is NULL*/ ) +left outer join CODSEGN ON dbo.CODSEGN.CSCODICE = dbo.CHIAMATE.CHCODSEG AND dbo.CODSEGN.CSCODAZI = dbo.CHIAMATE.CHCODAZI +LEFT OUTER JOIN dbo.MARROCONTI +INNER JOIN dbo.API_IMPIANTI ON dbo.MARROCONTI.ANCODICE = dbo.API_IMPIANTI.IMULTCLI AND dbo.MARROCONTI.ANTIPCON = 'C' ON dbo.CHIAMATE.CHAZIIMP = dbo.API_IMPIANTI.IMCODAZI AND dbo.CHIAMATE.CHCODIMP = dbo.API_IMPIANTI.IMCODIMP + +where 1=1 +and dbo.CHIAMATE.CHSTATO = 'C' +and CHIAMATE.CHDATA>=DATEADD(month, -3, GETDATE()) +and CHIAMATE.CHDATA<=DATEADD(month, 3, GETDATE()) + +GO +/****** Object: View [dbo].[API_MANPROG] Script Date: 20/03/2023 08:59:11 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +ALTER VIEW [dbo].[API_MANPROG] +AS + +SELECT +PRESA.PIMPIANTO,PRESA.PICODINT,PRESA.PIDATMAN +,RAPP_NEW.SERIALE_RAPPORTINO,RAPP_NEW.SER_BUONO,RAPP_NEW.GENERATO,RAPP_NEW.CODICE_INTERVENTO +,'' as err_title,''as err_detail,'' as err_status_code +,dbo.MANPROG.MPCODAZI AS CTCODAZI, dbo.MANPROG.MPCODIMP AS CTCODIMP, dbo.MANPROG.MPCODINT AS CTCODINT, dbo.CODINTE.CIDESCRI AS CTDESINT, dbo.MANPROG.MPDATPRO AS CTDATPRO, + dbo.MIMPIANTI.IMDESCRI, dbo.MIMPIANTI.IMTIPOIM, dbo.MIMPIANTI.IMMATRIC, dbo.MIMPIANTI.IMNUMIMP, dbo.MIMPIANTI.IMULTDAM, dbo.MIMPIANTI.IMULTAMM, dbo.MIMPIANTI.IMINDIRI1, dbo.MIMPIANTI.IMINDIRI2, + dbo.MIMPIANTI.IMINDIRI3, dbo.MIMPIANTI.IMINDIRI4, dbo.MIMPIANTI.IMINDIRI5, dbo.MIMPIANTI.IMLOCALI, dbo.MIMPIANTI.IMCODCAP, dbo.MIMPIANTI.IMCOMUNE, dbo.MIMPIANTI.IMPROVIN, dbo.MIMPIANTI.IMCODNAZ, + dbo.MIMPIANTI.IMUBICAZ, dbo.MIMPIANTI.IMZONMAN, dbo.MIMPIANTI.IMRIFERI, dbo.MIMPIANTI.IMZONCHI, dbo.MIMPIANTI.IMZONSUP, + dbo.MIMPIANTI.IMULTTAM as TELEFONO1,dbo.MIMPIANTI.IMULTFAM as TELEFONO2,dbo.MIMPIANTI.IMULTCLI as CLIENTE, + dbo.MANPROG.MPMESGEN, dbo.MANPROG.MPMESFEB, dbo.MANPROG.MPMESMAR, dbo.MANPROG.MPMESAPR, dbo.MANPROG.MPMESMAG, dbo.MANPROG.MPMESLUG, + dbo.MANPROG.MPMESGIU, dbo.MANPROG.MPMESAGO, dbo.MANPROG.MPMESSET, dbo.MANPROG.MPMESOTT, dbo.MANPROG.MPMESNOV, dbo.MANPROG.MPMESDIC, + T.TCDESCRI,T.TCCODICE,'' as IMAZIRIF,dbo.MIMPIANTI.IMREFREF +,(select top 1 CTIMPCHI from MARROMCONMAST where CTCODCLI=IMULTCLI and CTFLSTAT='A' order by CTDATREG desc) as chiamata +,(select top 1 CTIMPVIA from MARROMCONMAST where CTCODCLI=IMULTCLI and CTFLSTAT='A' order by CTDATREG desc) as spe_viaggio +,(select top 1 costo_ordinario from API_TECNICI where TCCODICE=T.TCCODICE) as costo_ordinario +,(select top 1 costo_notturno from API_TECNICI where TCCODICE=T.TCCODICE) as costo_notturno +,(select top 1 costo_straordinario from API_TECNICI where TCCODICE=T.TCCODICE) as costo_straordinario +,(select top 1 costo_festivo from API_TECNICI where TCCODICE=T.TCCODICE) as costo_festivo + +FROM dbo.MANPROG INNER JOIN dbo.MIMPIANTI ON dbo.MANPROG.MPCODAZI = dbo.MIMPIANTI.IMCODAZI AND dbo.MANPROG.MPCODIMP = dbo.MIMPIANTI.IMCODIMP +LEFT OUTER JOIN dbo.CODINTE ON dbo.MANPROG.MPCODINT = dbo.CODINTE.CICODICE +INNER JOIN API_TECNICI T ON MIMPIANTI.IMZONMAN=T.TDCODZON AND MANPROG.MPCODAZI=T.TCCODAZI and t.TDDATAFI>=GETDATE() +left outer join PRESA on (PICODAZI=MPCODAZI and MPCODIMP=PIMPIANTO and MPCODINT=PICODINT and TCCODICE=picodtec) +left outer join RAPP_NEW on (MANPROG.MPCODAZI=AZIENDA_CHIAMATA and MANPROG.MPCODIMP=CODICE_IMPIANTO and LTRIM(RTRIM(coalesce(TIPO_RAPPORTINO,'')))='2' and MANPROG.MPCODINT=CODICE_INTERVENTO /*and GENERATO is null*/and MPDATPRO=DATA_VALIDITA) +where MANPROG.MPDATPRO>=DATEADD(month, -3, GETDATE()) +and MANPROG.MPDATPRO<=EOMONTH(GETDATE(),0) +and LTRIM(rtrim(coalesce(GENERATO,'')))<>'S' + + + +/* +SELECT +PRESA.PIMPIANTO,PRESA.PICODINT,PRESA.PIDATMAN +,RAPP_NEW.SERIALE_RAPPORTINO,RAPP_NEW.SER_BUONO,RAPP_NEW.GENERATO,RAPP_NEW.CODICE_INTERVENTO +,'' as err_title,''as err_detail,'' as err_status_code +,dbo.MANPROG.MPCODAZI AS CTCODAZI, dbo.MANPROG.MPCODIMP AS CTCODIMP, dbo.MANPROG.MPCODINT AS CTCODINT, dbo.CODINTE.CIDESCRI AS CTDESINT, dbo.MANPROG.MPDATPRO AS CTDATPRO +, dbo.MIMPIANTI.IMDESCRI, dbo.MIMPIANTI.IMTIPOIM, dbo.MIMPIANTI.IMMATRIC, dbo.MIMPIANTI.IMNUMIMP, dbo.MIMPIANTI.IMULTDAM, dbo.MIMPIANTI.IMULTAMM, dbo.MIMPIANTI.IMINDIRI1, dbo.MIMPIANTI.IMINDIRI2 +,dbo.MIMPIANTI.IMINDIRI3, dbo.MIMPIANTI.IMINDIRI4, dbo.MIMPIANTI.IMINDIRI5, dbo.MIMPIANTI.IMLOCALI, dbo.MIMPIANTI.IMCODCAP, dbo.MIMPIANTI.IMCOMUNE, dbo.MIMPIANTI.IMPROVIN, dbo.MIMPIANTI.IMCODNAZ +,dbo.MIMPIANTI.IMUBICAZ, dbo.MIMPIANTI.IMZONMAN, SUBSTRING(dbo.MIMPIANTI.IMRIFERI,0,499) as IMRIFERI, dbo.MIMPIANTI.IMZONCHI, dbo.MIMPIANTI.IMZONSUP +,dbo.MIMPIANTI.IMULTTAM as TELEFONO1,dbo.MIMPIANTI.IMULTFAM as TELEFONO2,dbo.MIMPIANTI.IMULTCLI as CLIENTE +,dbo.MANPROG.MPMESGEN, dbo.MANPROG.MPMESFEB, dbo.MANPROG.MPMESMAR, dbo.MANPROG.MPMESAPR, dbo.MANPROG.MPMESMAG, dbo.MANPROG.MPMESLUG +,dbo.MANPROG.MPMESGIU, dbo.MANPROG.MPMESAGO, dbo.MANPROG.MPMESSET, dbo.MANPROG.MPMESOTT, dbo.MANPROG.MPMESNOV, dbo.MANPROG.MPMESDIC +,T.TCDESCRI,T.TCCODICE,'' as IMAZIRIF,dbo.MIMPIANTI.IMREFREF +,(select top 1 CTIMPCHI from MARROMCONMAST where CTCODCLI=IMULTCLI and CTFLSTAT='A' order by CTDATREG desc) as chiamata +,(select top 1 CTIMPVIA from MARROMCONMAST where CTCODCLI=IMULTCLI and CTFLSTAT='A' order by CTDATREG desc) as spe_viaggio +,(select top 1 costo_ordinario from API_TECNICI where TCCODICE=T.TCCODICE) as costo_ordinario +,(select top 1 costo_notturno from API_TECNICI where TCCODICE=T.TCCODICE) as costo_notturno +,(select top 1 costo_straordinario from API_TECNICI where TCCODICE=T.TCCODICE) as costo_straordinario +,(select top 1 costo_festivo from API_TECNICI where TCCODICE=T.TCCODICE) as costo_festivo + +FROM dbo.MANPROG INNER JOIN dbo.MIMPIANTI ON dbo.MANPROG.MPCODAZI = dbo.MIMPIANTI.IMCODAZI AND dbo.MANPROG.MPCODIMP = dbo.MIMPIANTI.IMCODIMP +LEFT OUTER JOIN dbo.CODINTE ON dbo.MANPROG.MPCODINT = dbo.CODINTE.CICODICE +INNER JOIN API_TECNICI T ON MIMPIANTI.IMZONMAN=T.TDCODZON AND MANPROG.MPCODAZI=T.TCCODAZI and t.TDDATAFI>=GETDATE() +left outer join PRESA on (PICODAZI=MPCODAZI and MPCODIMP=PIMPIANTO and MPCODINT=PICODINT and TCCODICE=picodtec) +left outer join RAPP_NEW on (MANPROG.MPCODAZI=AZIENDA_CHIAMATA and MANPROG.MPCODIMP=CODICE_IMPIANTO and LTRIM(RTRIM(coalesce(TIPO_RAPPORTINO,'')))='2' and MANPROG.MPCODINT=CODICE_INTERVENTO /*and GENERATO is null*/and MPDATPRO=DATA_VALIDITA) +where MANPROG.MPDATPRO>=DATEADD(month, -3, GETDATE()) +and MANPROG.MPDATPRO<=EOMONTH(GETDATE(),0) +and LTRIM(rtrim(coalesce(GENERATO,'')))<>'S' +and MANPROG.MPCODINT<>'QUI' +UNION +SELECT +PRESA.PIMPIANTO,PRESA.PICODINT,PRESA.PIDATMAN +,RAPP_NEW.SERIALE_RAPPORTINO,RAPP_NEW.SER_BUONO,RAPP_NEW.GENERATO,RAPP_NEW.CODICE_INTERVENTO +,'' as err_title,''as err_detail,'' as err_status_code +,dbo.MANPROG.MPCODAZI AS CTCODAZI, dbo.MANPROG.MPCODIMP AS CTCODIMP, dbo.MANPROG.MPCODINT AS CTCODINT, dbo.CODINTE.CIDESCRI AS CTDESINT, dbo.MANPROG.MPDATPRO AS CTDATPRO +,dbo.MIMPIANTI.IMDESCRI, dbo.MIMPIANTI.IMTIPOIM, dbo.MIMPIANTI.IMMATRIC, dbo.MIMPIANTI.IMNUMIMP, dbo.MIMPIANTI.IMULTDAM, dbo.MIMPIANTI.IMULTAMM, dbo.MIMPIANTI.IMINDIRI1, dbo.MIMPIANTI.IMINDIRI2 +,dbo.MIMPIANTI.IMINDIRI3, dbo.MIMPIANTI.IMINDIRI4, dbo.MIMPIANTI.IMINDIRI5, dbo.MIMPIANTI.IMLOCALI, dbo.MIMPIANTI.IMCODCAP, dbo.MIMPIANTI.IMCOMUNE, dbo.MIMPIANTI.IMPROVIN, dbo.MIMPIANTI.IMCODNAZ +,dbo.MIMPIANTI.IMUBICAZ, dbo.MIMPIANTI.IMZONMAN, SUBSTRING(dbo.MIMPIANTI.IMRIFERI,0,499) as IMRIFERI, dbo.MIMPIANTI.IMZONCHI, dbo.MIMPIANTI.IMZONSUP +,dbo.MIMPIANTI.IMULTTAM as TELEFONO1,dbo.MIMPIANTI.IMULTFAM as TELEFONO2,dbo.MIMPIANTI.IMULTCLI as CLIENTE +,dbo.MANPROG.MPMESGEN, dbo.MANPROG.MPMESFEB, dbo.MANPROG.MPMESMAR, dbo.MANPROG.MPMESAPR, dbo.MANPROG.MPMESMAG, dbo.MANPROG.MPMESLUG +,dbo.MANPROG.MPMESGIU, dbo.MANPROG.MPMESAGO, dbo.MANPROG.MPMESSET, dbo.MANPROG.MPMESOTT, dbo.MANPROG.MPMESNOV, dbo.MANPROG.MPMESDIC +,T.TCDESCRI,T.TCCODICE,'' as IMAZIRIF,dbo.MIMPIANTI.IMREFREF +,(select top 1 CTIMPCHI from MARROMCONMAST where CTCODCLI=IMULTCLI and CTFLSTAT='A' order by CTDATREG desc) as chiamata +,(select top 1 CTIMPVIA from MARROMCONMAST where CTCODCLI=IMULTCLI and CTFLSTAT='A' order by CTDATREG desc) as spe_viaggio +,(select top 1 costo_ordinario from API_TECNICI where TCCODICE=T.TCCODICE) as costo_ordinario +,(select top 1 costo_notturno from API_TECNICI where TCCODICE=T.TCCODICE) as costo_notturno +,(select top 1 costo_straordinario from API_TECNICI where TCCODICE=T.TCCODICE) as costo_straordinario +,(select top 1 costo_festivo from API_TECNICI where TCCODICE=T.TCCODICE) as costo_festivo + +FROM dbo.MANPROG INNER JOIN dbo.MIMPIANTI ON dbo.MANPROG.MPCODAZI = dbo.MIMPIANTI.IMCODAZI AND dbo.MANPROG.MPCODIMP = dbo.MIMPIANTI.IMCODIMP +LEFT OUTER JOIN dbo.CODINTE ON dbo.MANPROG.MPCODINT = dbo.CODINTE.CICODICE +INNER JOIN API_TECNICI T ON MIMPIANTI.IMZONMAN=T.TDCODZON AND MANPROG.MPCODAZI=T.TCCODAZI and t.TDDATAFI>=GETDATE() +left outer join PRESA on (PICODAZI=MPCODAZI and MPCODIMP=PIMPIANTO and MPCODINT=PICODINT and TCCODICE=picodtec) +left outer join RAPP_NEW on (MANPROG.MPCODAZI=AZIENDA_CHIAMATA and MANPROG.MPCODIMP=CODICE_IMPIANTO and LTRIM(RTRIM(coalesce(TIPO_RAPPORTINO,'')))='2' and MANPROG.MPCODINT=CODICE_INTERVENTO /*and GENERATO is null*/and MPDATPRO=DATA_VALIDITA) +where MANPROG.MPDATPRO>=DATEADD(month, -3, GETDATE()) +--and MANPROG.MPDATPRO<=EOMONTH(GETDATE(),0) +and MANPROG.MPDATPRO<=DATEADD(DAY, 14, GETDATE()) +and LTRIM(rtrim(coalesce(GENERATO,'')))<>'S' +and MANPROG.MPCODINT='QUI' +*/ + +GO +/****** Object: View [dbo].[API_SOSTITUZIONI] Script Date: 20/03/2023 09:01:39 ******/ +SET ANSI_NULLS ON +GO + +SET QUOTED_IDENTIFIER ON +GO + +ALTER VIEW [dbo].[API_SOSTITUZIONI] +AS +SELECT [TSCODAZI],[TSCODTEC],[TSCODZON],[TSDATAIN],[TSDATAFI],[TSCODSOS] + FROM [dbo].[TECSOS] + where [TSDATAIN]<=DATEADD(DAY, -1, GETDATE()) + and [TSDATAFI]>=DATEADD(DAY, 1, GETDATE()) + and [TSCODAZI]='MARRO' +GO \ No newline at end of file diff --git a/ApiPolo/SQL/_README_DISCO.txt b/ApiPolo/SQL/_README_DISCO.txt new file mode 100644 index 0000000..c2ec244 --- /dev/null +++ b/ApiPolo/SQL/_README_DISCO.txt @@ -0,0 +1,2 @@ +IMAZIRIF deve essere letto da api_IMPIANTI in API_CHIAMATE e in API_MANPROG. negli altri per far funzionare le viste lo leggo a '' +deve essere pirifazi(su Azirif)=imazirif(su Chiamate_out e Manprog_out) \ No newline at end of file diff --git a/ApiPolo/Services/CronJobService.cs b/ApiPolo/Services/CronJobService.cs new file mode 100644 index 0000000..1aaad1c --- /dev/null +++ b/ApiPolo/Services/CronJobService.cs @@ -0,0 +1,113 @@ +using Cronos; + +namespace ApiPolo.Services +{ + /// + public abstract class CronJobService : IHostedService, IDisposable + { + private System.Timers.Timer? _timer; + private readonly CronExpression _expression; + private readonly TimeZoneInfo _timeZoneInfo; + + /// + protected CronJobService(string cronExpression, TimeZoneInfo timeZoneInfo) + { + _expression = CronExpression.Parse(cronExpression); + _timeZoneInfo = timeZoneInfo; + } + + /// + public virtual async Task StartAsync(CancellationToken cancellationToken) + { + await ScheduleJob(cancellationToken); + } + + /// + protected virtual async Task ScheduleJob(CancellationToken cancellationToken) + { + var next = _expression.GetNextOccurrence(DateTimeOffset.Now, _timeZoneInfo); + if (next.HasValue) + { + var delay = next.Value - DateTimeOffset.Now; + if (delay.TotalMilliseconds <= 0) // prevent non-positive values from being passed into Timer + { + await ScheduleJob(cancellationToken); + } + _timer = new System.Timers.Timer(delay.TotalMilliseconds); + _timer.Elapsed += async (_, _) => + { + _timer.Dispose(); // reset and dispose timer + _timer = null; + + if (!cancellationToken.IsCancellationRequested) + { + await DoWork(cancellationToken); + } + + if (!cancellationToken.IsCancellationRequested) + { + await ScheduleJob(cancellationToken); // reschedule next + } + }; + _timer.Start(); + } + await Task.CompletedTask; + } + + /// + public virtual async Task DoWork(CancellationToken cancellationToken) + { + await Task.Delay(5000, cancellationToken); // do the work + } + + /// + public virtual async Task StopAsync(CancellationToken cancellationToken) + { + _timer?.Stop(); + await Task.CompletedTask; + } + + /// + public virtual void Dispose() + { + _timer?.Dispose(); + GC.SuppressFinalize(this); + } + } + + /// + public interface IScheduleConfig + { + string CronExpression { get; set; } + TimeZoneInfo TimeZoneInfo { get; set; } + } + + /// + public class ScheduleConfig : IScheduleConfig + { + public string CronExpression { get; set; } = string.Empty; + public TimeZoneInfo TimeZoneInfo { get; set; } = TimeZoneInfo.Local; + } + + /// + public static class ScheduledServiceExtensions + { + public static IServiceCollection AddCronJob(this IServiceCollection services, Action> options) where T : CronJobService + { + if (options == null) + { + throw new ArgumentNullException(nameof(options), @"Please provide Schedule Configurations."); + } + var config = new ScheduleConfig(); + options.Invoke(config); + if (string.IsNullOrWhiteSpace(config.CronExpression)) + { + throw new ArgumentNullException(nameof(ScheduleConfig.CronExpression), @"Empty Cron Expression is not allowed."); + } + + services.AddSingleton>(config); + services.AddHostedService(); + return services; + } + } +} diff --git a/ApiPolo/Services/MyCronJob1.cs b/ApiPolo/Services/MyCronJob1.cs new file mode 100644 index 0000000..6d5b878 --- /dev/null +++ b/ApiPolo/Services/MyCronJob1.cs @@ -0,0 +1,396 @@ +using FirebaseAdmin.Messaging; +using FirebaseAdmin; +using Google.Apis.Auth.OAuth2; +using static ApiPolo.Controllers.PoloController; +using static Google.Apis.Requests.BatchRequest; +using System.Text; +using ApiPolo.Models.Marrocco_dbcontext; +using ApiPolo.Models; +using Microsoft.EntityFrameworkCore; +using Microsoft.Extensions.Configuration; +using Microsoft.Extensions.Options; +using System.Net; +using Newtonsoft.Json; + +namespace ApiPolo.Services +{ + /* https://www.netiq.com/documentation/cloud-manager-2-5/ncm-reference/data/bexyssf.html sintassi intervalli cron */ + + /// + public class MyCronJob1 : CronJobService + { + /// Configuration + public IConfiguration Configuration { get; } + + /// Startup + private readonly ILogger _logger; + + /// Costruttore + public MyCronJob1(IScheduleConfig config, ILogger logger, IConfiguration configuration) : base(config.CronExpression, config.TimeZoneInfo) + { + _logger = logger; + Configuration = configuration; + } + + /// + public override Task StartAsync(CancellationToken cancellationToken) + { + _logger.LogInformation("MessagePushJob 1 starts."); + return base.StartAsync(cancellationToken); + } + + /// + public override Task DoWork(CancellationToken cancellationToken) + { + _logger.LogInformation("{now} MessagePushJob 1 is working.", DateTime.Now.ToString("T")); + + try + { + //cerco le notifiche da mandare + List l = readNotify(); + + //se ci sono cerco il token dispositivo per l'invio + //e li metto in una lista di oggetti pronti per l'invio + List ll = fillMex(l); + foreach (MexPush p in ll) + { + PushFCM_Sync(p.token, "Title", p.body); + } + //TODO logica di aggiornamento della tabella delle notifiche + markNotify(ll); + } + catch (Exception ex) + { + string errmsg = ex.InnerException != null ? ex.InnerException.Message : ex.Message; + _logger.LogInformation(" MessagePushJob KO !!!! :", errmsg); + } + + + return Task.CompletedTask; + } + + /// + public override Task StopAsync(CancellationToken cancellationToken) + { + _logger.LogInformation("MessagePushJob 1 is stopping."); + return base.StopAsync(cancellationToken); + } + + private List readNotify() + { + List lst = new List(); + #region Marrocco + var optionsBuilder = new DbContextOptionsBuilder(); + optionsBuilder.UseSqlServer(Configuration.GetConnectionString("MARRO")); + + using (var dbContext = new MARRO_NOTIFICHEDbContext(optionsBuilder.Options)) + { + var listaNot = dbContext.Notif.Where(t => t.pidattim == null).ToList(); + + foreach(Notifiche n in listaNot) + { + lst.Add(n); + } + } + #endregion + + return lst; + } + + private void markNotify(List lst) + { + #region MARRO + var optionsBuilder = new DbContextOptionsBuilder(); + optionsBuilder.UseSqlServer(Configuration.GetConnectionString("MARRO")); + using (var dbContext = new MARRO_NOTIFICHEDbContext(optionsBuilder.Options)) + { + foreach (MexPush n in lst) + { + Notifiche r = n.notifi; + r.pidattim = DateTime.Now; + dbContext.Entry(r).State = EntityState.Modified; + dbContext.SaveChanges(); + + } + } + #endregion + } + + private List fillMex(List lst) + { + List mess = new List(); + var optionsBuilder = new DbContextOptionsBuilder(); + optionsBuilder.UseSqlServer(Configuration.GetConnectionString("ApiStr")); + + + foreach(Notifiche nn in lst) + { + using (var dbContext = new TokenDbContext(optionsBuilder.Options)) + { + string rif = nn.piserial; + var t= dbContext.tok.Where(c=>c.usr.Equals(nn.picodtec)&& c.tenant.Equals(nn.picodazi)).ToList(); + + foreach (Token n in t) + { + MexPush m = new MexPush(); + m.tenant = n.tenant; + m.usr = n.usr; + m.token = n.token; + m.body = rif; + m.notifi = nn; + + mess.Add(m); + } + + //TODO logica di aggiornamento della tabella delle notifiche + } + } + + + return mess; + } + + private void pushMex(string title,string body, string tokenDevice) + { + //string log = string.Empty; + StringBuilder sb = new StringBuilder(); + string _title = title +"-"+ getCpccchk(4); + string _body = body + "-" + DateTime.Now.ToString("yyyyMMddHHmmss"); + //_logger.LogInformation("{now} MessagePushJob is working.", DateTime.Now.ToString("T")); + try + { + if (FirebaseApp.DefaultInstance == null) + { + FirebaseApp.Create(new AppOptions() + { + Credential = GoogleCredential.FromFile("private_key.json") + + + }); + } + //var registrationToken = "dDxUDIC3QcWytp6UeVMDyT:APA91bH9y0N7Iff39Ncv0m_EjJ-hv7YTWYaL_5P37-2dob2PRuArvpfl6kmrk10GO2eJiAQ2tVT3tZX9khUD-NPyfljGbpBn1iUyjbTpL6tDF-0IgJN960v95I4_2SWM_crtSH-ZrXAK"; + var registrationToken = tokenDevice; + + var message = new Message() + { + Apns = new ApnsConfig() + { + Aps = new Aps() + { + //Change this for the sound you would like + Sound = "default" + } + }, + Android = new AndroidConfig() + { + Notification = new AndroidNotification() + { + Sound = "default", + Priority = NotificationPriority.MAX + + }, + Data = new Dictionary() + { + { "myData3", "1234522222" } + + } + }, + + Token = registrationToken, + Data = new Dictionary() + { + { "myData", "123457777" } + + }, + Notification = new Notification() + { + Title = _title, + Body = _body + } + + }; + + + string response = FirebaseMessaging.DefaultInstance.SendAsync(message).Result; + //string response = FirebaseMessaging.DefaultInstance.SendMulticastAsync(msg2send).Result; + + sb.AppendLine("MessagePushJob OK"); + sb.AppendLine("response:" + response); + sb.AppendLine("title:" + _title); + sb.AppendLine("body:" + _body); + sb.AppendLine("==================="); + + _logger.LogInformation(sb.ToString()); + } + catch (Exception ex) + { + string errmsg = ex.InnerException != null ? ex.InnerException.Message : ex.Message; + _logger.LogInformation(" MessagePushJob KO !!!! :", errmsg); + } + // return log; + } + + private string PushFCM_Notification(string deviceId, string title, string body) + { + StringBuilder sb = new StringBuilder(); + string _title = title + "-" + getCpccchk(4); + string _body = body + "-" + DateTime.Now.ToString("yyyyMMddHHmmss"); + try + { + string SERVER_API_KEY = "AAAAGBwLmNY:APA91bG5GmgYcaxsU8HrOqvZbb9r82tH9RAEifgKhwoj_zwBe7qei8u3BSxMzFl9Dwykd0TWRuM7ffNe6ehhDDRUqaRPj_vKM9KreJnNrqB6f2hxjPAxzk5De2Ys437-dnSAuS_8SVJV"; + var SENDER_ID = "103549737174"; + var value = body; + WebRequest tRequest; + tRequest = WebRequest.Create("https://fcm.googleapis.com/fcm/send"); + tRequest.Method = "post"; + tRequest.Method = "post"; + tRequest.ContentType = "application/json"; + tRequest.Headers.Add(string.Format("Authorization: key={0}", SERVER_API_KEY)); + + tRequest.Headers.Add(string.Format("Sender: id={0}", SENDER_ID)); + + var msg = new + { + to = deviceId, + data = new + { + body = _body, + title = _title + } + }; + + //var serializer = new JavaScriptSerializer(); + //var json = serializer.Serialize(data); + var json = JsonConvert.SerializeObject(msg, Formatting.Indented); + + Byte[] byteArray = Encoding.UTF8.GetBytes(json); + + tRequest.ContentLength = byteArray.Length; + + Stream dataStream = tRequest.GetRequestStream(); + dataStream.Write(byteArray, 0, byteArray.Length); + dataStream.Close(); + + WebResponse tResponse = tRequest.GetResponse(); + + dataStream = tResponse.GetResponseStream(); + + StreamReader tReader = new StreamReader(dataStream); + + String sResponseFromServer = tReader.ReadToEnd(); + + + tReader.Close(); + dataStream.Close(); + tResponse.Close(); + + sb.AppendLine("MessagePushJob OK"); + sb.AppendLine("response:" + sResponseFromServer); + sb.AppendLine("title:" + _title); + sb.AppendLine("body:" + _body); + sb.AppendLine("==================="); + + _logger.LogInformation(sb.ToString()); + + return sResponseFromServer; + } + catch (Exception ex) + { + string errmsg = ex.InnerException != null ? ex.InnerException.Message : ex.Message; + _logger.LogInformation(" MessagePushJob KO !!!! :", errmsg); + return errmsg; + } + } + + private string PushFCM_Sync(string deviceId, string title, string body) + { + StringBuilder sb = new StringBuilder(); + string _title = title + "-" + getCpccchk(4); + string _body = body + "-" + DateTime.Now.ToString("yyyyMMddHHmmss"); + //try + //{ + string SERVER_API_KEY = "AAAAGBwLmNY:APA91bG5GmgYcaxsU8HrOqvZbb9r82tH9RAEifgKhwoj_zwBe7qei8u3BSxMzFl9Dwykd0TWRuM7ffNe6ehhDDRUqaRPj_vKM9KreJnNrqB6f2hxjPAxzk5De2Ys437-dnSAuS_8SVJV"; + var SENDER_ID = "103549737174"; + var value = body; + WebRequest tRequest; + tRequest = WebRequest.Create("https://fcm.googleapis.com/fcm/send"); + tRequest.Method = "post"; + tRequest.Method = "post"; + tRequest.ContentType = "application/json"; + tRequest.Headers.Add(string.Format("Authorization: key={0}", SERVER_API_KEY)); + + tRequest.Headers.Add(string.Format("Sender: id={0}", SENDER_ID)); + + var msg = new + { + to = deviceId, + data = new + { + bg_sync = true + } + }; + + //var serializer = new JavaScriptSerializer(); + //var json = serializer.Serialize(data); + var json = JsonConvert.SerializeObject(msg, Formatting.Indented); + + Byte[] byteArray = Encoding.UTF8.GetBytes(json); + + tRequest.ContentLength = byteArray.Length; + + Stream dataStream = tRequest.GetRequestStream(); + dataStream.Write(byteArray, 0, byteArray.Length); + dataStream.Close(); + + WebResponse tResponse = tRequest.GetResponse(); + + dataStream = tResponse.GetResponseStream(); + + StreamReader tReader = new StreamReader(dataStream); + + String sResponseFromServer = tReader.ReadToEnd(); + + + tReader.Close(); + dataStream.Close(); + tResponse.Close(); + + sb.AppendLine("MessagePushJob Sync OK"); + sb.AppendLine("response:" + sResponseFromServer); + sb.AppendLine("==================="); + + _logger.LogInformation(sb.ToString()); + + return sResponseFromServer; + //} + //catch (Exception ex) + //{ + // string errmsg = ex.InnerException != null ? ex.InnerException.Message : ex.Message; + // _logger.LogInformation(" MessagePushJob KO !!!! :", errmsg); + // return errmsg; + //} + } + + private class MexPush + { + /// tenant azienda + public string? tenant { get; set; } + + /// utente login + public string? usr { get; set; } + + /// token device + public string? token { get; set; } + + /// title + public string? title { get; set; } + + /// body + public string? body { get; set; } + + /// not + public Notifiche? notifi { get; set; } + } + + } +} diff --git a/ApiPolo/Startup.cs b/ApiPolo/Startup.cs new file mode 100644 index 0000000..d34c088 --- /dev/null +++ b/ApiPolo/Startup.cs @@ -0,0 +1,772 @@ +using ApiPolo.Models; +using ApiPolo.Models.Discovery_dbcontext; +using ApiPolo.Models.Ferrari_dbcontext; +using ApiPolo.Models.Marrocco_dbcontext; +using ApiPolo.Models.Sicilia_dbcontext; +using ApiPolo.Models.Sarom_dbcontext; +using ApiPolo.Models.Gitoga_dbcontext; +using ApiPolo.Models.Lifta_dbcontext; +using Microsoft.EntityFrameworkCore; +using Microsoft.OpenApi.Models; +using ApiPolo.Models.Sinergo_dbcontext; +using ApiPolo.Services; +using ApiPolo.Models.Siet_dbcontext; +using ApiPolo.Models.PMS_dbcontext; +using ApiPolo.Models.VT_dbcontext; +using ApiPolo.Models.Tedesco_dbcontext; + +namespace ApiPolo +{ + /// Startup + public class Startup + { + /// Configuration + public IConfiguration Configuration { get; } + /// Startup + public Startup(IConfiguration configuration) + { + Configuration = configuration; + } + /// ConfigureServices + public void ConfigureServices(IServiceCollection services) + { + try + { + const int commandTimeoutInSeconds = 300; + services.AddControllers(); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("ApiStr"))); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("ApiStr"))); + + #region FERRARI + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("FERRA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("FERRA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("FERRA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("FERRA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("FERRA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("FERRA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("FERRA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("FERRA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("FERRA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("FERRA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("FERRA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("FERRA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("FERRA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("FERRA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("FERRA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + #endregion + + #region MARROCCO + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("MARRO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("MARRO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("MARRO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("MARRO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("MARRO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("MARRO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("MARRO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("MARRO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("MARRO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("MARRO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("MARRO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("MARRO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("MARRO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + + + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("MARRO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("MARRO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("MARRO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("MARRO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("MARRO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("MARRO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("MARRO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("MARRO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("MARRO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + + #endregion + + #region SICILIA + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SICILIA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SICILIA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SICILIA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SICILIA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SICILIA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SICILIA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SICILIA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SICILIA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SICILIA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SICILIA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SICILIA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SICILIA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SICILIA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SICILIA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SICILIA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SICILIA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SICILIA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SICILIA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SICILIA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SICILIA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SICILIA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + + + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SICILIA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SICILIA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SICILIA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SICILIA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SICILIA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + #endregion + + #region DISCOVERY + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("DISCO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("DISCO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("DISCO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("DISCO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("DISCO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("DISCO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("DISCO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("DISCO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("DISCO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("DISCO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("DISCO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("DISCO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("DISCO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("DISCO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("DISCO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("DISCO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("DISCO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("DISCO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("DISCO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + #endregion + + #region SAROM + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SAROM") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SAROM") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SAROM") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SAROM") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SAROM") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SAROM") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SAROM") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SAROM") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SAROM") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SAROM") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SAROM") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SAROM") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SAROM") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SAROM") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SAROM") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + #endregion + + #region SINERGO + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SINER") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SINER") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SINER") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + #endregion + + #region GITOGA + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("GITSR") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("GITSR") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("GITSR_MARRO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("GITSR") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("GITSR") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("GITSR_MARRO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("GITSR") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("GITSR") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("GITSR") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("GITSR") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("GITSR") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("GITSR") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("GITSR") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + #endregion + + #region LIFTA + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("LIFTA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("LIFTA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("LIFTA_MARRO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("LIFTA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("LIFTA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("LIFTA_MARRO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("LIFTA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("LIFTA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("LIFTA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("LIFTA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("LIFTA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("LIFTA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("LIFTA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + #endregion + + #region SIET + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SIET2") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SIET2") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SIET2") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SIET2") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SIET2") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SIET2") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SIET2") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SIET2") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SIET2") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SIET2") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SIET2") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SIET2") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SIET2") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + + + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SIET2") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SIET2") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SIET2") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SIET2") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SIET2") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SIET2") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SIET2") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SIET2") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SIET2") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SIET2") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SIET2") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SIET2") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SIET2") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SIET2") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + #endregion + + #region PMS + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("PMS") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("PMS") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("PMS") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("PMS") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("PMS") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("PMS") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("PMS") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("PMS") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("PMS") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("PMS") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("PMS") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("PMS") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("PMS") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("PMS") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("PMS") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("PMS") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("PMS") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("PMS") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("PMS") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("PMS") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("PMS") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("PMS") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("PMS") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("PMS") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("PMS") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("PMS") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("PMS") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("PMS") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + + + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("PMS") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("PMS") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("PMS") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("PMS") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + + #endregion + + #region VIRTUAL TASK + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("VIRTUAL_TASK") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("VIRTUAL_TASK") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("VIRTUAL_TASK") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("VIRTUAL_TASK") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("VIRTUAL_TASK") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("VIRTUAL_TASK") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("VIRTUAL_TASK") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("VIRTUAL_TASK") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("VIRTUAL_TASK") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("VIRTUAL_TASK") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("VIRTUAL_TASK") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("VIRTUAL_TASK") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("VIRTUAL_TASK") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("VIRTUAL_TASK") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("VIRTUAL_TASK") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("VIRTUAL_TASK") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("VIRTUAL_TASK") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("VIRTUAL_TASK") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("VIRTUAL_TASK") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("VIRTUAL_TASK") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("VIRTUAL_TASK") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("VIRTUAL_TASK") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("VIRTUAL_TASK") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + #endregion + + services.AddSwaggerGen(gen => + { + + gen.ResolveConflictingActions(apiDescription => apiDescription.First()); + //gen.SwaggerDoc("v1", new OpenApiInfo { Title = "POLO API WS2016", Version = "v3.3" }); + DateTime oggi = DateTime.Now; + string dt = oggi.ToString(); + //gen.SwaggerDoc("v1", new OpenApiInfo { Title = "POLO API TEST - v.app 1.13", Version = dt }); + gen.SwaggerDoc("v1", new OpenApiInfo { Title = "POLO API - v.app 1.14", Version = dt }); + + var filePath = Path.Combine(System.AppContext.BaseDirectory, "ApiPolo.xml"); + gen.IncludeXmlComments(filePath); + }); + + services.AddCronJob(c => + { + c.TimeZoneInfo = TimeZoneInfo.Local; + c.CronExpression = @"*/5 * * * *"; + //c.CronExpression = @"* * * * *"; + }); + + } + catch (Exception ex) { + Console.WriteLine(ex.Message); + } + + + + } + + /// Configure:This method gets called by the runtime. Use this method to configure the HTTP request pipeline. + public void Configure(IApplicationBuilder app, IWebHostEnvironment env) + { + if (env.IsDevelopment() || env.IsProduction()) + { + //app.UseDeveloperExceptionPage(); + app.UseSwagger(); + //app.UseSwaggerUI(); + app.UseSwaggerUI(c => + { + c.SwaggerEndpoint("/swagger/v1/swagger.json", "POLO API V2"); + + }); + //app.UseHttpsRedirection(); + + } + + app.UseRouting(); + + app.UseAuthentication(); + app.UseAuthorization(); + + app.UseEndpoints(endpoints => + { + endpoints.MapControllers(); + }); + app.UseStaticFiles(); + } + } +} diff --git a/ApiPolo/Storico versioni.txt b/ApiPolo/Storico versioni.txt new file mode 100644 index 0000000..a9b923b --- /dev/null +++ b/ApiPolo/Storico versioni.txt @@ -0,0 +1,8 @@ +verione 1.13 + +- gestione rapportino da commessa o da impianto: l'app diventa in grado di inserire chiamate (Chiamate, seriale chiamate, num progressivo chiamate e presa in carico) e poi restituisce +la chiamata appena inserita per poterla poi lavorare come una normale chiamata e farne il buono. + +- aggiunta la gestione da Api della parte del buono che descrive l'impianto, al solito in formato html + campo riferimento_impianto su Chiamate_out +************************************************************************************* \ No newline at end of file diff --git a/ApiPolo/appsettings.Development.json b/ApiPolo/appsettings.Development.json new file mode 100644 index 0000000..0c208ae --- /dev/null +++ b/ApiPolo/appsettings.Development.json @@ -0,0 +1,8 @@ +{ + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Warning" + } + } +} diff --git a/ApiPolo/appsettings.json b/ApiPolo/appsettings.json new file mode 100644 index 0000000..57b3441 --- /dev/null +++ b/ApiPolo/appsettings.json @@ -0,0 +1,55 @@ +{ + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Warning" + } + }, + "AllowedHosts": "*", + "ConnectionStrings": { + + //connessione non sicura: Encrypt=False + + /*"ApiStr": "Data Source=10.0.0.19;Initial Catalog=API_POLO;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False",*/ + "ApiStr": "Data Source=10.0.0.10;Initial Catalog=API_POLO;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + /*"ApiStr": "Data Source=10.0.0.19;Initial Catalog=API_POLO;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False",*/ + + /*"FERRA": "Data Source=10.0.0.10;Initial Catalog=AHR60_FERRARI;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False",*/ + "FERRA": "Data Source=37.159.179.14;Initial Catalog=AHR80_TEST;User Id=AppPolo; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False;Encrypt=False;Trust Server Certificate=True", + + /*"MARRO": "Data Source=poloinformatico57.clienti.init-s.it;Initial Catalog=R80_MARROCCO_TEST;User Id=app; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False",*/ + "MARRO": "Data Source=10.0.0.10;Initial Catalog=R80_MARROCCO;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + /*"MARRO": "Data Source=poloinformatico57.clienti.init-s.it;Initial Catalog=R80_MARROCCO;User Id=app; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False",*/ + + "GITSR": "Data Source=poloinformatico57.clienti.init-s.it;Initial Catalog=R80_GITSR;User Id=app; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + "GITSR_MARRO": "Data Source=poloinformatico57.clienti.init-s.it;Initial Catalog=R80_MARROCCO;User Id=app; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + + "LIFTA": "Data Source=poloinformatico57.clienti.init-s.it;Initial Catalog=R80_LIFTA;User Id=app; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + "LIFTA_MARRO": "Data Source=poloinformatico57.clienti.init-s.it;Initial Catalog=R80_MARROCCO;User Id=app; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + + /*"SICILIA": "Data Source=10.0.0.10;Initial Catalog=AHR_SICILIA;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False",*/ + "SICILIA": "Data Source=studioliuzzo.selfip.net;Initial Catalog=AHR_TEST_APP;User Id=sa; Password=1Zucchetti;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + + /*"DISCO": "Data Source=10.0.0.10;Initial Catalog=AHR60_FERRARI_VISTE_DISCO;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False",*/ + /*"DISCO": "Data Source=37.159.179.14;Initial Catalog=R80_DISCO;User Id=sa; Password=Poloinf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False",*/ + "DISCO": "Data Source=discoverylift.dyndns.org;Initial Catalog=TEST_APP_NEW;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + + "SAROM": "Data Source=37.159.179.14;Initial Catalog=AHR60_SAROM_TEST80;User Id=sa; Password=Poloinf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + /*"SAROM": "Data Source=10.0.0.10;Initial Catalog=AHR80_SAROM;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False",*/ + + /*"SINER": "Data Source=10.0.0.10;Initial Catalog=AHR_SINERGO;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False"*/ + "SINER": "Data Source=ufficio.sinergogroup.it,31433;Initial Catalog=AHR_TECLI;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + + "SIET2": "Data Source=194.50.74.66;Initial Catalog=R65_SIET;User Id=sa; Password=W1ld1x42;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + + "PMS": "Data Source=10.0.0.10;Initial Catalog=PMS_DEMO;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + "VIRTUAL_TASK": "Data Source=10.0.0.10;Initial Catalog=VIRTUAL_TASK;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False" + + + }, + "JWT": { + "ValidAudience": "http://localhost:4200", + "ValidIssuer": "http://localhost:61955", + "Secret": "ByYM000OLlMQG6VVVp1OH7Xzyr7gHuw1qvUC5dcGt3SNM" + } +} diff --git a/ApiPolo/bin/Debug/net6.0/ApiPolo.deps.json b/ApiPolo/bin/Debug/net6.0/ApiPolo.deps.json new file mode 100644 index 0000000..fa5c900 --- /dev/null +++ b/ApiPolo/bin/Debug/net6.0/ApiPolo.deps.json @@ -0,0 +1,1220 @@ +{ + "runtimeTarget": { + "name": ".NETCoreApp,Version=v6.0", + "signature": "" + }, + "compilationOptions": {}, + "targets": { + ".NETCoreApp,Version=v6.0": { + "ApiPolo/1.0.0": { + "dependencies": { + "Cronos": "0.7.1", + "FirebaseAdmin": "2.3.0", + "Microsoft.AspNet.Mvc": "5.2.9", + "Microsoft.AspNetCore.Authentication.Negotiate": "6.0.5", + "Microsoft.EntityFrameworkCore": "6.0.5", + "Microsoft.EntityFrameworkCore.SqlServer": "6.0.5", + "Microsoft.EntityFrameworkCore.Tools": "6.0.5", + "Newtonsoft.Json": "13.0.3", + "SSH.NET": "2020.0.2", + "Swashbuckle.AspNetCore": "6.3.1" + }, + "runtime": { + "ApiPolo.dll": {} + } + }, + "Cronos/0.7.1": { + "runtime": { + "lib/netstandard2.0/Cronos.dll": { + "assemblyVersion": "0.7.1.0", + "fileVersion": "1.0.0.0" + } + } + }, + "FirebaseAdmin/2.3.0": { + "dependencies": { + "Google.Api.Gax.Rest": "3.2.0", + "Google.Apis.Auth": "1.49.0", + "System.Collections.Immutable": "6.0.0" + }, + "runtime": { + "lib/netstandard2.0/FirebaseAdmin.dll": { + "assemblyVersion": "2.3.0.0", + "fileVersion": "2.3.0.0" + } + } + }, + "Google.Api.Gax/3.2.0": { + "dependencies": { + "Microsoft.Bcl.AsyncInterfaces": "1.0.0", + "Newtonsoft.Json": "13.0.3" + }, + "runtime": { + "lib/netstandard2.0/Google.Api.Gax.dll": { + "assemblyVersion": "3.2.0.0", + "fileVersion": "3.2.0.0" + } + } + }, + "Google.Api.Gax.Rest/3.2.0": { + "dependencies": { + "Google.Api.Gax": "3.2.0", + "Google.Apis.Auth": "1.49.0" + }, + "runtime": { + "lib/netstandard2.0/Google.Api.Gax.Rest.dll": { + "assemblyVersion": "3.2.0.0", + "fileVersion": "3.2.0.0" + } + } + }, + "Google.Apis/1.49.0": { + "dependencies": { + "Google.Apis.Core": "1.49.0" + }, + "runtime": { + "lib/netstandard2.0/Google.Apis.dll": { + "assemblyVersion": "1.49.0.0", + "fileVersion": "1.49.0.0" + } + } + }, + "Google.Apis.Auth/1.49.0": { + "dependencies": { + "Google.Apis": "1.49.0", + "Google.Apis.Core": "1.49.0" + }, + "runtime": { + "lib/netstandard2.0/Google.Apis.Auth.PlatformServices.dll": { + "assemblyVersion": "1.49.0.0", + "fileVersion": "1.49.0.0" + }, + "lib/netstandard2.0/Google.Apis.Auth.dll": { + "assemblyVersion": "1.49.0.0", + "fileVersion": "1.49.0.0" + } + } + }, + "Google.Apis.Core/1.49.0": { + "dependencies": { + "Newtonsoft.Json": "13.0.3" + }, + "runtime": { + "lib/netstandard2.0/Google.Apis.Core.dll": { + "assemblyVersion": "1.49.0.0", + "fileVersion": "1.49.0.0" + } + } + }, + "Humanizer.Core/2.8.26": { + "runtime": { + "lib/netstandard2.0/Humanizer.dll": { + "assemblyVersion": "2.8.0.0", + "fileVersion": "2.8.26.1919" + } + } + }, + "Microsoft.AspNet.Mvc/5.2.9": { + "dependencies": { + "Microsoft.AspNet.Razor": "3.2.9", + "Microsoft.AspNet.WebPages": "3.2.9" + }, + "runtime": { + "lib/net45/System.Web.Mvc.dll": { + "assemblyVersion": "5.2.9.0", + "fileVersion": "5.2.61129.10" + } + } + }, + "Microsoft.AspNet.Razor/3.2.9": { + "runtime": { + "lib/net45/System.Web.Razor.dll": { + "assemblyVersion": "3.0.0.0", + "fileVersion": "3.0.61129.10" + } + } + }, + "Microsoft.AspNet.WebPages/3.2.9": { + "dependencies": { + "Microsoft.AspNet.Razor": "3.2.9", + "Microsoft.Web.Infrastructure": "1.0.0" + }, + "runtime": { + "lib/net45/System.Web.Helpers.dll": { + "assemblyVersion": "3.0.0.0", + "fileVersion": "3.0.61129.10" + }, + "lib/net45/System.Web.WebPages.Deployment.dll": { + "assemblyVersion": "3.0.0.0", + "fileVersion": "3.0.61129.10" + }, + "lib/net45/System.Web.WebPages.Razor.dll": { + "assemblyVersion": "3.0.0.0", + "fileVersion": "3.0.61129.10" + }, + "lib/net45/System.Web.WebPages.dll": { + "assemblyVersion": "3.0.0.0", + "fileVersion": "3.0.61129.10" + } + } + }, + "Microsoft.AspNetCore.Authentication.Negotiate/6.0.5": { + "dependencies": { + "Microsoft.AspNetCore.Connections.Abstractions": "6.0.5", + "System.DirectoryServices.Protocols": "6.0.1" + }, + "runtime": { + "lib/net6.0/Microsoft.AspNetCore.Authentication.Negotiate.dll": { + "assemblyVersion": "6.0.5.0", + "fileVersion": "6.0.522.21802" + } + } + }, + "Microsoft.AspNetCore.Connections.Abstractions/6.0.5": { + "dependencies": { + "Microsoft.Extensions.Features": "6.0.5", + "System.IO.Pipelines": "6.0.3" + }, + "runtime": { + "lib/net6.0/Microsoft.AspNetCore.Connections.Abstractions.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.522.21802" + } + } + }, + "Microsoft.Bcl.AsyncInterfaces/1.0.0": { + "runtime": { + "lib/netstandard2.1/Microsoft.Bcl.AsyncInterfaces.dll": { + "assemblyVersion": "1.0.0.0", + "fileVersion": "4.700.19.46214" + } + } + }, + "Microsoft.CSharp/4.5.0": {}, + "Microsoft.Data.SqlClient/2.1.4": { + "dependencies": { + "Microsoft.Data.SqlClient.SNI.runtime": "2.1.1", + "Microsoft.Identity.Client": "4.21.1", + "Microsoft.IdentityModel.JsonWebTokens": "6.8.0", + "Microsoft.IdentityModel.Protocols.OpenIdConnect": "6.8.0", + "Microsoft.Win32.Registry": "4.7.0", + "System.Configuration.ConfigurationManager": "4.7.0", + "System.Diagnostics.DiagnosticSource": "6.0.0", + "System.Runtime.Caching": "4.7.0", + "System.Security.Principal.Windows": "4.7.0", + "System.Text.Encoding.CodePages": "4.7.0" + }, + "runtime": { + "lib/netcoreapp3.1/Microsoft.Data.SqlClient.dll": { + "assemblyVersion": "2.0.20168.4", + "fileVersion": "2.0.20168.4" + } + }, + "runtimeTargets": { + "runtimes/unix/lib/netcoreapp3.1/Microsoft.Data.SqlClient.dll": { + "rid": "unix", + "assetType": "runtime", + "assemblyVersion": "2.0.20168.4", + "fileVersion": "2.0.20168.4" + }, + "runtimes/win/lib/netcoreapp3.1/Microsoft.Data.SqlClient.dll": { + "rid": "win", + "assetType": "runtime", + "assemblyVersion": "2.0.20168.4", + "fileVersion": "2.0.20168.4" + } + } + }, + "Microsoft.Data.SqlClient.SNI.runtime/2.1.1": { + "runtimeTargets": { + "runtimes/win-arm/native/Microsoft.Data.SqlClient.SNI.dll": { + "rid": "win-arm", + "assetType": "native", + "fileVersion": "2.1.1.0" + }, + "runtimes/win-arm64/native/Microsoft.Data.SqlClient.SNI.dll": { + "rid": "win-arm64", + "assetType": "native", + "fileVersion": "2.1.1.0" + }, + "runtimes/win-x64/native/Microsoft.Data.SqlClient.SNI.dll": { + "rid": "win-x64", + "assetType": "native", + "fileVersion": "2.1.1.0" + }, + "runtimes/win-x86/native/Microsoft.Data.SqlClient.SNI.dll": { + "rid": "win-x86", + "assetType": "native", + "fileVersion": "2.1.1.0" + } + } + }, + "Microsoft.EntityFrameworkCore/6.0.5": { + "dependencies": { + "Microsoft.EntityFrameworkCore.Abstractions": "6.0.5", + "Microsoft.EntityFrameworkCore.Analyzers": "6.0.5", + "Microsoft.Extensions.Caching.Memory": "6.0.1", + "Microsoft.Extensions.DependencyInjection": "6.0.0", + "Microsoft.Extensions.Logging": "6.0.0", + "System.Collections.Immutable": "6.0.0", + "System.Diagnostics.DiagnosticSource": "6.0.0" + }, + "runtime": { + "lib/net6.0/Microsoft.EntityFrameworkCore.dll": { + "assemblyVersion": "6.0.5.0", + "fileVersion": "6.0.522.21804" + } + } + }, + "Microsoft.EntityFrameworkCore.Abstractions/6.0.5": { + "runtime": { + "lib/net6.0/Microsoft.EntityFrameworkCore.Abstractions.dll": { + "assemblyVersion": "6.0.5.0", + "fileVersion": "6.0.522.21804" + } + } + }, + "Microsoft.EntityFrameworkCore.Analyzers/6.0.5": {}, + "Microsoft.EntityFrameworkCore.Design/6.0.5": { + "dependencies": { + "Humanizer.Core": "2.8.26", + "Microsoft.EntityFrameworkCore.Relational": "6.0.5" + }, + "runtime": { + "lib/net6.0/Microsoft.EntityFrameworkCore.Design.dll": { + "assemblyVersion": "6.0.5.0", + "fileVersion": "6.0.522.21804" + } + } + }, + "Microsoft.EntityFrameworkCore.Relational/6.0.5": { + "dependencies": { + "Microsoft.EntityFrameworkCore": "6.0.5", + "Microsoft.Extensions.Configuration.Abstractions": "6.0.0" + }, + "runtime": { + "lib/net6.0/Microsoft.EntityFrameworkCore.Relational.dll": { + "assemblyVersion": "6.0.5.0", + "fileVersion": "6.0.522.21804" + } + } + }, + "Microsoft.EntityFrameworkCore.SqlServer/6.0.5": { + "dependencies": { + "Microsoft.Data.SqlClient": "2.1.4", + "Microsoft.EntityFrameworkCore.Relational": "6.0.5" + }, + "runtime": { + "lib/net6.0/Microsoft.EntityFrameworkCore.SqlServer.dll": { + "assemblyVersion": "6.0.5.0", + "fileVersion": "6.0.522.21804" + } + } + }, + "Microsoft.EntityFrameworkCore.Tools/6.0.5": { + "dependencies": { + "Microsoft.EntityFrameworkCore.Design": "6.0.5" + } + }, + "Microsoft.Extensions.ApiDescription.Server/3.0.0": {}, + "Microsoft.Extensions.Caching.Abstractions/6.0.0": { + "dependencies": { + "Microsoft.Extensions.Primitives": "6.0.0" + } + }, + "Microsoft.Extensions.Caching.Memory/6.0.1": { + "dependencies": { + "Microsoft.Extensions.Caching.Abstractions": "6.0.0", + "Microsoft.Extensions.DependencyInjection.Abstractions": "6.0.0", + "Microsoft.Extensions.Logging.Abstractions": "6.0.0", + "Microsoft.Extensions.Options": "6.0.0", + "Microsoft.Extensions.Primitives": "6.0.0" + }, + "runtime": { + "lib/netstandard2.0/Microsoft.Extensions.Caching.Memory.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.222.6406" + } + } + }, + "Microsoft.Extensions.Configuration.Abstractions/6.0.0": { + "dependencies": { + "Microsoft.Extensions.Primitives": "6.0.0" + } + }, + "Microsoft.Extensions.DependencyInjection/6.0.0": { + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "6.0.0", + "System.Runtime.CompilerServices.Unsafe": "6.0.0" + } + }, + "Microsoft.Extensions.DependencyInjection.Abstractions/6.0.0": {}, + "Microsoft.Extensions.Features/6.0.5": { + "runtime": { + "lib/net6.0/Microsoft.Extensions.Features.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.522.21802" + } + } + }, + "Microsoft.Extensions.Logging/6.0.0": { + "dependencies": { + "Microsoft.Extensions.DependencyInjection": "6.0.0", + "Microsoft.Extensions.DependencyInjection.Abstractions": "6.0.0", + "Microsoft.Extensions.Logging.Abstractions": "6.0.0", + "Microsoft.Extensions.Options": "6.0.0", + "System.Diagnostics.DiagnosticSource": "6.0.0" + } + }, + "Microsoft.Extensions.Logging.Abstractions/6.0.0": {}, + "Microsoft.Extensions.Options/6.0.0": { + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "6.0.0", + "Microsoft.Extensions.Primitives": "6.0.0" + } + }, + "Microsoft.Extensions.Primitives/6.0.0": { + "dependencies": { + "System.Runtime.CompilerServices.Unsafe": "6.0.0" + } + }, + "Microsoft.Identity.Client/4.21.1": { + "runtime": { + "lib/netcoreapp2.1/Microsoft.Identity.Client.dll": { + "assemblyVersion": "4.21.1.0", + "fileVersion": "4.21.1.0" + } + } + }, + "Microsoft.IdentityModel.JsonWebTokens/6.8.0": { + "dependencies": { + "Microsoft.IdentityModel.Tokens": "6.8.0" + }, + "runtime": { + "lib/netstandard2.0/Microsoft.IdentityModel.JsonWebTokens.dll": { + "assemblyVersion": "6.8.0.0", + "fileVersion": "6.8.0.11012" + } + } + }, + "Microsoft.IdentityModel.Logging/6.8.0": { + "runtime": { + "lib/netstandard2.0/Microsoft.IdentityModel.Logging.dll": { + "assemblyVersion": "6.8.0.0", + "fileVersion": "6.8.0.11012" + } + } + }, + "Microsoft.IdentityModel.Protocols/6.8.0": { + "dependencies": { + "Microsoft.IdentityModel.Logging": "6.8.0", + "Microsoft.IdentityModel.Tokens": "6.8.0" + }, + "runtime": { + "lib/netstandard2.0/Microsoft.IdentityModel.Protocols.dll": { + "assemblyVersion": "6.8.0.0", + "fileVersion": "6.8.0.11012" + } + } + }, + "Microsoft.IdentityModel.Protocols.OpenIdConnect/6.8.0": { + "dependencies": { + "Microsoft.IdentityModel.Protocols": "6.8.0", + "System.IdentityModel.Tokens.Jwt": "6.8.0" + }, + "runtime": { + "lib/netstandard2.0/Microsoft.IdentityModel.Protocols.OpenIdConnect.dll": { + "assemblyVersion": "6.8.0.0", + "fileVersion": "6.8.0.11012" + } + } + }, + "Microsoft.IdentityModel.Tokens/6.8.0": { + "dependencies": { + "Microsoft.CSharp": "4.5.0", + "Microsoft.IdentityModel.Logging": "6.8.0", + "System.Security.Cryptography.Cng": "4.5.0" + }, + "runtime": { + "lib/netstandard2.0/Microsoft.IdentityModel.Tokens.dll": { + "assemblyVersion": "6.8.0.0", + "fileVersion": "6.8.0.11012" + } + } + }, + "Microsoft.NETCore.Platforms/3.1.0": {}, + "Microsoft.OpenApi/1.2.3": { + "runtime": { + "lib/netstandard2.0/Microsoft.OpenApi.dll": { + "assemblyVersion": "1.2.3.0", + "fileVersion": "1.2.3.0" + } + } + }, + "Microsoft.Web.Infrastructure/1.0.0": { + "runtime": { + "lib/net40/Microsoft.Web.Infrastructure.dll": { + "assemblyVersion": "1.0.0.0", + "fileVersion": "1.0.20105.407" + } + } + }, + "Microsoft.Win32.Registry/4.7.0": { + "dependencies": { + "System.Security.AccessControl": "4.7.0", + "System.Security.Principal.Windows": "4.7.0" + } + }, + "Microsoft.Win32.SystemEvents/4.7.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "3.1.0" + }, + "runtime": { + "lib/netstandard2.0/Microsoft.Win32.SystemEvents.dll": { + "assemblyVersion": "4.0.2.0", + "fileVersion": "4.700.19.56404" + } + }, + "runtimeTargets": { + "runtimes/win/lib/netcoreapp3.0/Microsoft.Win32.SystemEvents.dll": { + "rid": "win", + "assetType": "runtime", + "assemblyVersion": "4.0.2.0", + "fileVersion": "4.700.19.56404" + } + } + }, + "Newtonsoft.Json/13.0.3": { + "runtime": { + "lib/net6.0/Newtonsoft.Json.dll": { + "assemblyVersion": "13.0.0.0", + "fileVersion": "13.0.3.27908" + } + } + }, + "SSH.NET/2020.0.2": { + "dependencies": { + "SshNet.Security.Cryptography": "1.3.0" + }, + "runtime": { + "lib/netstandard2.0/Renci.SshNet.dll": { + "assemblyVersion": "2020.0.2.0", + "fileVersion": "2020.0.2.0" + } + } + }, + "SshNet.Security.Cryptography/1.3.0": { + "runtime": { + "lib/netstandard2.0/SshNet.Security.Cryptography.dll": { + "assemblyVersion": "1.3.0.0", + "fileVersion": "1.3.0.0" + } + } + }, + "Swashbuckle.AspNetCore/6.3.1": { + "dependencies": { + "Microsoft.Extensions.ApiDescription.Server": "3.0.0", + "Swashbuckle.AspNetCore.Swagger": "6.3.1", + "Swashbuckle.AspNetCore.SwaggerGen": "6.3.1", + "Swashbuckle.AspNetCore.SwaggerUI": "6.3.1" + } + }, + "Swashbuckle.AspNetCore.Swagger/6.3.1": { + "dependencies": { + "Microsoft.OpenApi": "1.2.3" + }, + "runtime": { + "lib/net6.0/Swashbuckle.AspNetCore.Swagger.dll": { + "assemblyVersion": "6.3.1.0", + "fileVersion": "6.3.1.0" + } + } + }, + "Swashbuckle.AspNetCore.SwaggerGen/6.3.1": { + "dependencies": { + "Swashbuckle.AspNetCore.Swagger": "6.3.1" + }, + "runtime": { + "lib/net6.0/Swashbuckle.AspNetCore.SwaggerGen.dll": { + "assemblyVersion": "6.3.1.0", + "fileVersion": "6.3.1.0" + } + } + }, + "Swashbuckle.AspNetCore.SwaggerUI/6.3.1": { + "runtime": { + "lib/net6.0/Swashbuckle.AspNetCore.SwaggerUI.dll": { + "assemblyVersion": "6.3.1.0", + "fileVersion": "6.3.1.0" + } + } + }, + "System.Collections.Immutable/6.0.0": { + "dependencies": { + "System.Runtime.CompilerServices.Unsafe": "6.0.0" + } + }, + "System.Configuration.ConfigurationManager/4.7.0": { + "dependencies": { + "System.Security.Cryptography.ProtectedData": "4.7.0", + "System.Security.Permissions": "4.7.0" + }, + "runtime": { + "lib/netstandard2.0/System.Configuration.ConfigurationManager.dll": { + "assemblyVersion": "4.0.3.0", + "fileVersion": "4.700.19.56404" + } + } + }, + "System.Diagnostics.DiagnosticSource/6.0.0": { + "dependencies": { + "System.Runtime.CompilerServices.Unsafe": "6.0.0" + } + }, + "System.DirectoryServices.Protocols/6.0.1": { + "runtime": { + "lib/net6.0/System.DirectoryServices.Protocols.dll": { + "assemblyVersion": "6.0.0.1", + "fileVersion": "6.0.222.6406" + } + }, + "runtimeTargets": { + "runtimes/linux/lib/net6.0/System.DirectoryServices.Protocols.dll": { + "rid": "linux", + "assetType": "runtime", + "assemblyVersion": "6.0.0.1", + "fileVersion": "6.0.222.6406" + }, + "runtimes/osx/lib/net6.0/System.DirectoryServices.Protocols.dll": { + "rid": "osx", + "assetType": "runtime", + "assemblyVersion": "6.0.0.1", + "fileVersion": "6.0.222.6406" + }, + "runtimes/win/lib/net6.0/System.DirectoryServices.Protocols.dll": { + "rid": "win", + "assetType": "runtime", + "assemblyVersion": "6.0.0.1", + "fileVersion": "6.0.222.6406" + } + } + }, + "System.Drawing.Common/4.7.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "3.1.0", + "Microsoft.Win32.SystemEvents": "4.7.0" + }, + "runtime": { + "lib/netstandard2.0/System.Drawing.Common.dll": { + "assemblyVersion": "4.0.0.1", + "fileVersion": "4.6.26919.2" + } + }, + "runtimeTargets": { + "runtimes/unix/lib/netcoreapp3.0/System.Drawing.Common.dll": { + "rid": "unix", + "assetType": "runtime", + "assemblyVersion": "4.0.2.0", + "fileVersion": "4.700.19.56404" + }, + "runtimes/win/lib/netcoreapp3.0/System.Drawing.Common.dll": { + "rid": "win", + "assetType": "runtime", + "assemblyVersion": "4.0.2.0", + "fileVersion": "4.700.19.56404" + } + } + }, + "System.IdentityModel.Tokens.Jwt/6.8.0": { + "dependencies": { + "Microsoft.IdentityModel.JsonWebTokens": "6.8.0", + "Microsoft.IdentityModel.Tokens": "6.8.0" + }, + "runtime": { + "lib/netstandard2.0/System.IdentityModel.Tokens.Jwt.dll": { + "assemblyVersion": "6.8.0.0", + "fileVersion": "6.8.0.11012" + } + } + }, + "System.IO.Pipelines/6.0.3": { + "runtime": { + "lib/net6.0/System.IO.Pipelines.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.522.21309" + } + } + }, + "System.Runtime.Caching/4.7.0": { + "dependencies": { + "System.Configuration.ConfigurationManager": "4.7.0" + }, + "runtime": { + "lib/netstandard2.0/System.Runtime.Caching.dll": { + "assemblyVersion": "4.0.1.0", + "fileVersion": "4.700.19.56404" + } + }, + "runtimeTargets": { + "runtimes/win/lib/netstandard2.0/System.Runtime.Caching.dll": { + "rid": "win", + "assetType": "runtime", + "assemblyVersion": "4.0.1.0", + "fileVersion": "4.700.19.56404" + } + } + }, + "System.Runtime.CompilerServices.Unsafe/6.0.0": {}, + "System.Security.AccessControl/4.7.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "3.1.0", + "System.Security.Principal.Windows": "4.7.0" + } + }, + "System.Security.Cryptography.Cng/4.5.0": {}, + "System.Security.Cryptography.ProtectedData/4.7.0": { + "runtime": { + "lib/netstandard2.0/System.Security.Cryptography.ProtectedData.dll": { + "assemblyVersion": "4.0.5.0", + "fileVersion": "4.700.19.56404" + } + }, + "runtimeTargets": { + "runtimes/win/lib/netstandard2.0/System.Security.Cryptography.ProtectedData.dll": { + "rid": "win", + "assetType": "runtime", + "assemblyVersion": "4.0.5.0", + "fileVersion": "4.700.19.56404" + } + } + }, + "System.Security.Permissions/4.7.0": { + "dependencies": { + "System.Security.AccessControl": "4.7.0", + "System.Windows.Extensions": "4.7.0" + }, + "runtime": { + "lib/netcoreapp3.0/System.Security.Permissions.dll": { + "assemblyVersion": "4.0.3.0", + "fileVersion": "4.700.19.56404" + } + } + }, + "System.Security.Principal.Windows/4.7.0": {}, + "System.Text.Encoding.CodePages/4.7.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "3.1.0" + } + }, + "System.Windows.Extensions/4.7.0": { + "dependencies": { + "System.Drawing.Common": "4.7.0" + }, + "runtime": { + "lib/netcoreapp3.0/System.Windows.Extensions.dll": { + "assemblyVersion": "4.0.1.0", + "fileVersion": "4.700.19.56404" + } + }, + "runtimeTargets": { + "runtimes/win/lib/netcoreapp3.0/System.Windows.Extensions.dll": { + "rid": "win", + "assetType": "runtime", + "assemblyVersion": "4.0.1.0", + "fileVersion": "4.700.19.56404" + } + } + } + } + }, + "libraries": { + "ApiPolo/1.0.0": { + "type": "project", + "serviceable": false, + "sha512": "" + }, + "Cronos/0.7.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-aa2DY3qGBnwX7/jW4c17PyRlIeAtc5nYTlAPekc0113jcbBuz9vQkQaQ9NG+TNGlAj4esFxh8OuKUv4vmAODbw==", + "path": "cronos/0.7.1", + "hashPath": "cronos.0.7.1.nupkg.sha512" + }, + "FirebaseAdmin/2.3.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-ror9V68bFWdr3VXoCPQrAAJ1ZA8dyLzIHJvy53BmoD83Ze9VuWC9hPBicPqqOANP3VTMWnylC7xci59UEMuU4A==", + "path": "firebaseadmin/2.3.0", + "hashPath": "firebaseadmin.2.3.0.nupkg.sha512" + }, + "Google.Api.Gax/3.2.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-0OjahFAHTOoprSgvJiQ6/fIQLrUYU4QIFgkuJ51/lcmhZbuXxB3ycPk3JTVEvx6A5yQBL14wgmHgwXLcEsnu3Q==", + "path": "google.api.gax/3.2.0", + "hashPath": "google.api.gax.3.2.0.nupkg.sha512" + }, + "Google.Api.Gax.Rest/3.2.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-YY4mD0nGxTx1uez7Perm+zAd3FH50dd3+7HTYsRFCywDEtj3RkrMjcAmw6mNpKkw2sRICu7aYNy1mgMjd3nVbw==", + "path": "google.api.gax.rest/3.2.0", + "hashPath": "google.api.gax.rest.3.2.0.nupkg.sha512" + }, + "Google.Apis/1.49.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-fmXQQTxZFOBlnvokvdQMzq0Lt+g2QzpZ4H6U8lMMFHgAR8ZqxQnPN5yHDpoHf7a++hJHb5W3pALxauGsq+afKQ==", + "path": "google.apis/1.49.0", + "hashPath": "google.apis.1.49.0.nupkg.sha512" + }, + "Google.Apis.Auth/1.49.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-3V9ohvixQtjaEvk7T9Ac7E/KvwEPa7eL4aMNreJDI0CEPzCdQdk2zCvaJPRrNIjhe+UuBeOeom1oAOMFB74JHg==", + "path": "google.apis.auth/1.49.0", + "hashPath": "google.apis.auth.1.49.0.nupkg.sha512" + }, + "Google.Apis.Core/1.49.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-9DgGdtyzgrCfHWwc/HiDXDbykNMeKQozbEHYEUEcezRuH+YR3fvq7YGVBDmUM8g6qEL3kDk6h5EU4h0IJwue1w==", + "path": "google.apis.core/1.49.0", + "hashPath": "google.apis.core.1.49.0.nupkg.sha512" + }, + "Humanizer.Core/2.8.26": { + "type": "package", + "serviceable": true, + "sha512": "sha512-OiKusGL20vby4uDEswj2IgkdchC1yQ6rwbIkZDVBPIR6al2b7n3pC91elBul9q33KaBgRKhbZH3+2Ur4fnWx2A==", + "path": "humanizer.core/2.8.26", + "hashPath": "humanizer.core.2.8.26.nupkg.sha512" + }, + "Microsoft.AspNet.Mvc/5.2.9": { + "type": "package", + "serviceable": true, + "sha512": "sha512-bcekKshCAh7kTWSMZPavQStSZQF/QmjEjO2gVWGITEd0/t5eRlb+ZLDE+az2qY1bZ8L6Hz0OCNeS0uzXtJcK5w==", + "path": "microsoft.aspnet.mvc/5.2.9", + "hashPath": "microsoft.aspnet.mvc.5.2.9.nupkg.sha512" + }, + "Microsoft.AspNet.Razor/3.2.9": { + "type": "package", + "serviceable": true, + "sha512": "sha512-QOJEnEw3xp+t5lMvYR5nGCF4CfZpHqr2p8uZOBEgDZoB6r2txtSj6581YNr+/dOHjI3YRlo1QAKGQoSohbQ/KA==", + "path": "microsoft.aspnet.razor/3.2.9", + "hashPath": "microsoft.aspnet.razor.3.2.9.nupkg.sha512" + }, + "Microsoft.AspNet.WebPages/3.2.9": { + "type": "package", + "serviceable": true, + "sha512": "sha512-yByb721lwv8YFsx1oKA5CLKXa89XVbVMkPafS4bg/bPelBEgChq/coFBQEkA4kwcabG7AR56w3vapnoZUfr2Cw==", + "path": "microsoft.aspnet.webpages/3.2.9", + "hashPath": "microsoft.aspnet.webpages.3.2.9.nupkg.sha512" + }, + "Microsoft.AspNetCore.Authentication.Negotiate/6.0.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-ZgKdA5VnmZSdpuyS9f4Myn2ybSYPyhOGWvZ63Z+ys0z9WcHGx6jyN4IjK8ORTdkhc7dOYxsMF/v/K+CGtvCbUA==", + "path": "microsoft.aspnetcore.authentication.negotiate/6.0.5", + "hashPath": "microsoft.aspnetcore.authentication.negotiate.6.0.5.nupkg.sha512" + }, + "Microsoft.AspNetCore.Connections.Abstractions/6.0.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-OBbGvih5/CLHTbJVDiJ203TmKXCx8z539O2YGnfHmExbNtMwyQ9rgpqoxyYEVvQrVsqxRhXfh57DOCQYhxcOBQ==", + "path": "microsoft.aspnetcore.connections.abstractions/6.0.5", + "hashPath": "microsoft.aspnetcore.connections.abstractions.6.0.5.nupkg.sha512" + }, + "Microsoft.Bcl.AsyncInterfaces/1.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-K63Y4hORbBcKLWH5wnKgzyn7TOfYzevIEwIedQHBIkmkEBA9SCqgvom+XTuE+fAFGvINGkhFItaZ2dvMGdT5iw==", + "path": "microsoft.bcl.asyncinterfaces/1.0.0", + "hashPath": "microsoft.bcl.asyncinterfaces.1.0.0.nupkg.sha512" + }, + "Microsoft.CSharp/4.5.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-kaj6Wb4qoMuH3HySFJhxwQfe8R/sJsNJnANrvv8WdFPMoNbKY5htfNscv+LHCu5ipz+49m2e+WQXpLXr9XYemQ==", + "path": "microsoft.csharp/4.5.0", + "hashPath": "microsoft.csharp.4.5.0.nupkg.sha512" + }, + "Microsoft.Data.SqlClient/2.1.4": { + "type": "package", + "serviceable": true, + "sha512": "sha512-cDcKBTKILdRuAzJjbgXwGcUQXzMue+SG02kD4tZTXXfoz4ALrGLpCnA5k9khw3fnAMlMnRzLIGuvRdJurqmESA==", + "path": "microsoft.data.sqlclient/2.1.4", + "hashPath": "microsoft.data.sqlclient.2.1.4.nupkg.sha512" + }, + "Microsoft.Data.SqlClient.SNI.runtime/2.1.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-JwGDWkyZgm7SATJmFLfT2G4teimvNbNtq3lsS9a5DzvhEZnQrZjZhevCU0vdx8MjheLHoG5vocuO03QtioFQxQ==", + "path": "microsoft.data.sqlclient.sni.runtime/2.1.1", + "hashPath": "microsoft.data.sqlclient.sni.runtime.2.1.1.nupkg.sha512" + }, + "Microsoft.EntityFrameworkCore/6.0.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-hP5J3EvpVdZmCn1D3ovedphvZrIn3OXZaBZfEnCkSCqqbqAu6xzwbNqwRkik0y4R6zOOf4eLh1riwjy4eAUlZA==", + "path": "microsoft.entityframeworkcore/6.0.5", + "hashPath": "microsoft.entityframeworkcore.6.0.5.nupkg.sha512" + }, + "Microsoft.EntityFrameworkCore.Abstractions/6.0.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-Q3/fKW6XCTfnDk4fYP2BJZi84cD2SuCPkP3A3QqxvCQcXbX90bfSLzVIsoMXzigHGJgZUJ+Un7QodT5Nvk0+Eg==", + "path": "microsoft.entityframeworkcore.abstractions/6.0.5", + "hashPath": "microsoft.entityframeworkcore.abstractions.6.0.5.nupkg.sha512" + }, + "Microsoft.EntityFrameworkCore.Analyzers/6.0.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-QUeDIhs+O+MoDEc3k60mNyVDbwyDURCqZQlZoKShuZUcSfXSrDMbHKuFSxBIDNQBt092qSjfnwf7w0Ua/IB3Zw==", + "path": "microsoft.entityframeworkcore.analyzers/6.0.5", + "hashPath": "microsoft.entityframeworkcore.analyzers.6.0.5.nupkg.sha512" + }, + "Microsoft.EntityFrameworkCore.Design/6.0.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-zNjMWJ6MJ/Qm7S6wFBqVgn7DEpilbDMy0xgA7c4Y1yY9/LoaC2pWwWO4ePaYoPCZpLx/eTViWEr5ZXta/vK//Q==", + "path": "microsoft.entityframeworkcore.design/6.0.5", + "hashPath": "microsoft.entityframeworkcore.design.6.0.5.nupkg.sha512" + }, + "Microsoft.EntityFrameworkCore.Relational/6.0.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-vhAQizlAgvPfurkh9XysNaFc/g3WPXtSka3Y1rXuQdnT//p16CDKt9lO9h+rYmooD+cA7TijSxwqck4GApDT/Q==", + "path": "microsoft.entityframeworkcore.relational/6.0.5", + "hashPath": "microsoft.entityframeworkcore.relational.6.0.5.nupkg.sha512" + }, + "Microsoft.EntityFrameworkCore.SqlServer/6.0.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-fBBG1AvrqPSvTEWyg9W18F/obiV7Soi/RItwBt48kjte1heRaogCsKj8KBnJQACM/8L+NAhyKp3BH12nN7+yDA==", + "path": "microsoft.entityframeworkcore.sqlserver/6.0.5", + "hashPath": "microsoft.entityframeworkcore.sqlserver.6.0.5.nupkg.sha512" + }, + "Microsoft.EntityFrameworkCore.Tools/6.0.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-aeCzVNLmDl9IfB19WAjrlKcG61Cl4/ZV/9ubifmifKEps+kvMkKIcams5j+8q6dtx9/UL2x3tbOz2BS3eU0sXQ==", + "path": "microsoft.entityframeworkcore.tools/6.0.5", + "hashPath": "microsoft.entityframeworkcore.tools.6.0.5.nupkg.sha512" + }, + "Microsoft.Extensions.ApiDescription.Server/3.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-LH4OE/76F6sOCslif7+Xh3fS/wUUrE5ryeXAMcoCnuwOQGT5Smw0p57IgDh/pHgHaGz/e+AmEQb7pRgb++wt0w==", + "path": "microsoft.extensions.apidescription.server/3.0.0", + "hashPath": "microsoft.extensions.apidescription.server.3.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.Caching.Abstractions/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-bcz5sSFJbganH0+YrfvIjJDIcKNW7TL07C4d1eTmXy/wOt52iz4LVogJb6pazs7W0+74j0YpXFErvp++Aq5Bsw==", + "path": "microsoft.extensions.caching.abstractions/6.0.0", + "hashPath": "microsoft.extensions.caching.abstractions.6.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.Caching.Memory/6.0.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-B4y+Cev05eMcjf1na0v9gza6GUtahXbtY1JCypIgx3B4Ea/KAgsWyXEmW4q6zMbmTMtKzmPVk09rvFJirvMwTg==", + "path": "microsoft.extensions.caching.memory/6.0.1", + "hashPath": "microsoft.extensions.caching.memory.6.0.1.nupkg.sha512" + }, + "Microsoft.Extensions.Configuration.Abstractions/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-qWzV9o+ZRWq+pGm+1dF+R7qTgTYoXvbyowRoBxQJGfqTpqDun2eteerjRQhq5PQ/14S+lqto3Ft4gYaRyl4rdQ==", + "path": "microsoft.extensions.configuration.abstractions/6.0.0", + "hashPath": "microsoft.extensions.configuration.abstractions.6.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.DependencyInjection/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-k6PWQMuoBDGGHOQTtyois2u4AwyVcIwL2LaSLlTZQm2CYcJ1pxbt6jfAnpWmzENA/wfrYRI/X9DTLoUkE4AsLw==", + "path": "microsoft.extensions.dependencyinjection/6.0.0", + "hashPath": "microsoft.extensions.dependencyinjection.6.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.DependencyInjection.Abstractions/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-xlzi2IYREJH3/m6+lUrQlujzX8wDitm4QGnUu6kUXTQAWPuZY8i+ticFJbzfqaetLA6KR/rO6Ew/HuYD+bxifg==", + "path": "microsoft.extensions.dependencyinjection.abstractions/6.0.0", + "hashPath": "microsoft.extensions.dependencyinjection.abstractions.6.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.Features/6.0.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-y7KLF1jRFQjSttfoilwHU86cU9ZgxN4ABfQR8tQ9qEC5AzTGYIX+K5RDwGFVK320eTiBwWuutV24ecmxBxo7Eg==", + "path": "microsoft.extensions.features/6.0.5", + "hashPath": "microsoft.extensions.features.6.0.5.nupkg.sha512" + }, + "Microsoft.Extensions.Logging/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-eIbyj40QDg1NDz0HBW0S5f3wrLVnKWnDJ/JtZ+yJDFnDj90VoPuoPmFkeaXrtu+0cKm5GRAwoDf+dBWXK0TUdg==", + "path": "microsoft.extensions.logging/6.0.0", + "hashPath": "microsoft.extensions.logging.6.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.Logging.Abstractions/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-/HggWBbTwy8TgebGSX5DBZ24ndhzi93sHUBDvP1IxbZD7FDokYzdAr6+vbWGjw2XAfR2EJ1sfKUotpjHnFWPxA==", + "path": "microsoft.extensions.logging.abstractions/6.0.0", + "hashPath": "microsoft.extensions.logging.abstractions.6.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.Options/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-dzXN0+V1AyjOe2xcJ86Qbo233KHuLEY0njf/P2Kw8SfJU+d45HNS2ctJdnEnrWbM9Ye2eFgaC5Mj9otRMU6IsQ==", + "path": "microsoft.extensions.options/6.0.0", + "hashPath": "microsoft.extensions.options.6.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.Primitives/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-9+PnzmQFfEFNR9J2aDTfJGGupShHjOuGw4VUv+JB044biSHrnmCIMD+mJHmb2H7YryrfBEXDurxQ47gJZdCKNQ==", + "path": "microsoft.extensions.primitives/6.0.0", + "hashPath": "microsoft.extensions.primitives.6.0.0.nupkg.sha512" + }, + "Microsoft.Identity.Client/4.21.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-vycgk7S/HAbHaUaK4Tid1fsWHsXdFRRP2KavAIOHCVV27zvuQfYAjXmMvctuuF4egydSumG58CwPZob3gWeYgQ==", + "path": "microsoft.identity.client/4.21.1", + "hashPath": "microsoft.identity.client.4.21.1.nupkg.sha512" + }, + "Microsoft.IdentityModel.JsonWebTokens/6.8.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-+7JIww64PkMt7NWFxoe4Y/joeF7TAtA/fQ0b2GFGcagzB59sKkTt/sMZWR6aSZht5YC7SdHi3W6yM1yylRGJCQ==", + "path": "microsoft.identitymodel.jsonwebtokens/6.8.0", + "hashPath": "microsoft.identitymodel.jsonwebtokens.6.8.0.nupkg.sha512" + }, + "Microsoft.IdentityModel.Logging/6.8.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-Rfh/p4MaN4gkmhPxwbu8IjrmoDncGfHHPh1sTnc0AcM/Oc39/fzC9doKNWvUAjzFb8LqA6lgZyblTrIsX/wDXg==", + "path": "microsoft.identitymodel.logging/6.8.0", + "hashPath": "microsoft.identitymodel.logging.6.8.0.nupkg.sha512" + }, + "Microsoft.IdentityModel.Protocols/6.8.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-OJZx5nPdiH+MEkwCkbJrTAUiO/YzLe0VSswNlDxJsJD9bhOIdXHufh650pfm59YH1DNevp3/bXzukKrG57gA1w==", + "path": "microsoft.identitymodel.protocols/6.8.0", + "hashPath": "microsoft.identitymodel.protocols.6.8.0.nupkg.sha512" + }, + "Microsoft.IdentityModel.Protocols.OpenIdConnect/6.8.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-X/PiV5l3nYYsodtrNMrNQIVlDmHpjQQ5w48E+o/D5H4es2+4niEyQf3l03chvZGWNzBRhfSstaXr25/Ye4AeYw==", + "path": "microsoft.identitymodel.protocols.openidconnect/6.8.0", + "hashPath": "microsoft.identitymodel.protocols.openidconnect.6.8.0.nupkg.sha512" + }, + "Microsoft.IdentityModel.Tokens/6.8.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-gTqzsGcmD13HgtNePPcuVHZ/NXWmyV+InJgalW/FhWpII1D7V1k0obIseGlWMeA4G+tZfeGMfXr0klnWbMR/mQ==", + "path": "microsoft.identitymodel.tokens/6.8.0", + "hashPath": "microsoft.identitymodel.tokens.6.8.0.nupkg.sha512" + }, + "Microsoft.NETCore.Platforms/3.1.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-z7aeg8oHln2CuNulfhiLYxCVMPEwBl3rzicjvIX+4sUuCwvXw5oXQEtbiU2c0z4qYL5L3Kmx0mMA/+t/SbY67w==", + "path": "microsoft.netcore.platforms/3.1.0", + "hashPath": "microsoft.netcore.platforms.3.1.0.nupkg.sha512" + }, + "Microsoft.OpenApi/1.2.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-Nug3rO+7Kl5/SBAadzSMAVgqDlfGjJZ0GenQrLywJ84XGKO0uRqkunz5Wyl0SDwcR71bAATXvSdbdzPrYRYKGw==", + "path": "microsoft.openapi/1.2.3", + "hashPath": "microsoft.openapi.1.2.3.nupkg.sha512" + }, + "Microsoft.Web.Infrastructure/1.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-FNmvLn5m2LTU/Rs2KWVo0SIIh9Ek+U0ojex7xeDaSHw/zgEP77A8vY5cVWgUtBGS8MJfDGNn8rpXJWEIQaPwTg==", + "path": "microsoft.web.infrastructure/1.0.0", + "hashPath": "microsoft.web.infrastructure.1.0.0.nupkg.sha512" + }, + "Microsoft.Win32.Registry/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-KSrRMb5vNi0CWSGG1++id2ZOs/1QhRqROt+qgbEAdQuGjGrFcl4AOl4/exGPUYz2wUnU42nvJqon1T3U0kPXLA==", + "path": "microsoft.win32.registry/4.7.0", + "hashPath": "microsoft.win32.registry.4.7.0.nupkg.sha512" + }, + "Microsoft.Win32.SystemEvents/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-mtVirZr++rq+XCDITMUdnETD59XoeMxSpLRIII7JRI6Yj0LEDiO1pPn0ktlnIj12Ix8bfvQqQDMMIF9wC98oCA==", + "path": "microsoft.win32.systemevents/4.7.0", + "hashPath": "microsoft.win32.systemevents.4.7.0.nupkg.sha512" + }, + "Newtonsoft.Json/13.0.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-HrC5BXdl00IP9zeV+0Z848QWPAoCr9P3bDEZguI+gkLcBKAOxix/tLEAAHC+UvDNPv4a2d18lOReHMOagPa+zQ==", + "path": "newtonsoft.json/13.0.3", + "hashPath": "newtonsoft.json.13.0.3.nupkg.sha512" + }, + "SSH.NET/2020.0.2": { + "type": "package", + "serviceable": true, + "sha512": "sha512-G0dNlTBAM00KZXv1wWVwgg26d9/METcM6qWBpNQwllzQmmbu+Zu+FS1L1X4fFgGdPu3e8k9mmTBu6SwtQ0614g==", + "path": "ssh.net/2020.0.2", + "hashPath": "ssh.net.2020.0.2.nupkg.sha512" + }, + "SshNet.Security.Cryptography/1.3.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-5pBIXRjcSO/amY8WztpmNOhaaCNHY/B6CcYDI7FSTgqSyo/ZUojlLiKcsl+YGbxQuLX439qIkMfP0PHqxqJi/Q==", + "path": "sshnet.security.cryptography/1.3.0", + "hashPath": "sshnet.security.cryptography.1.3.0.nupkg.sha512" + }, + "Swashbuckle.AspNetCore/6.3.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-JFk0+HHUPdjYuPhkpGBMLi2JtnEuWkE2pp0yXQp64DmeMe+Fb0hZyVNq/ENJ2vQNso7Zg+C758WmR/xyAl36bA==", + "path": "swashbuckle.aspnetcore/6.3.1", + "hashPath": "swashbuckle.aspnetcore.6.3.1.nupkg.sha512" + }, + "Swashbuckle.AspNetCore.Swagger/6.3.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-idAFh4xhyJHYHfdLVOOn+BmscBul1OQbWsnL6YPJE8tO/0y6S79hDCvs6OY5VI093/9+1pYY3j31Zet9yaDZjA==", + "path": "swashbuckle.aspnetcore.swagger/6.3.1", + "hashPath": "swashbuckle.aspnetcore.swagger.6.3.1.nupkg.sha512" + }, + "Swashbuckle.AspNetCore.SwaggerGen/6.3.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-+uoBV4h/6NhCPLoTofSmuOnZ+usu4PW1jP6l4OHwPyu2frbYXGNpJsHs5uUXXn929OiVQkT8wo3Lj/o+P99Ejg==", + "path": "swashbuckle.aspnetcore.swaggergen/6.3.1", + "hashPath": "swashbuckle.aspnetcore.swaggergen.6.3.1.nupkg.sha512" + }, + "Swashbuckle.AspNetCore.SwaggerUI/6.3.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-JLm9hN67jh7RHsX3H30+tb432Li8xm/qV5lRyMMkyHYMfWitIuKAAdrpo2ILcHOIeH7CLMuOO2hp/iLBmE+Bkw==", + "path": "swashbuckle.aspnetcore.swaggerui/6.3.1", + "hashPath": "swashbuckle.aspnetcore.swaggerui.6.3.1.nupkg.sha512" + }, + "System.Collections.Immutable/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-l4zZJ1WU2hqpQQHXz1rvC3etVZN+2DLmQMO79FhOTZHMn8tDRr+WU287sbomD0BETlmKDn0ygUgVy9k5xkkJdA==", + "path": "system.collections.immutable/6.0.0", + "hashPath": "system.collections.immutable.6.0.0.nupkg.sha512" + }, + "System.Configuration.ConfigurationManager/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-/anOTeSZCNNI2zDilogWrZ8pNqCmYbzGNexUnNhjW8k0sHqEZ2nHJBp147jBV3hGYswu5lINpNg1vxR7bnqvVA==", + "path": "system.configuration.configurationmanager/4.7.0", + "hashPath": "system.configuration.configurationmanager.4.7.0.nupkg.sha512" + }, + "System.Diagnostics.DiagnosticSource/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-frQDfv0rl209cKm1lnwTgFPzNigy2EKk1BS3uAvHvlBVKe5cymGyHO+Sj+NLv5VF/AhHsqPIUUwya5oV4CHMUw==", + "path": "system.diagnostics.diagnosticsource/6.0.0", + "hashPath": "system.diagnostics.diagnosticsource.6.0.0.nupkg.sha512" + }, + "System.DirectoryServices.Protocols/6.0.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-ndUZlEkAMc1XzM0xGN++SsJrNhRkIHaKI8+te325vrUgoLT1ufWNI6KB8FFrL7NpRMHPrdxP99aF3fHbAPxW0A==", + "path": "system.directoryservices.protocols/6.0.1", + "hashPath": "system.directoryservices.protocols.6.0.1.nupkg.sha512" + }, + "System.Drawing.Common/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-v+XbyYHaZjDfn0ENmJEV1VYLgGgCTx1gnfOBcppowbpOAriglYgGCvFCPr2EEZyBvXlpxbEsTwkOlInl107ahA==", + "path": "system.drawing.common/4.7.0", + "hashPath": "system.drawing.common.4.7.0.nupkg.sha512" + }, + "System.IdentityModel.Tokens.Jwt/6.8.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-5tBCjAub2Bhd5qmcd0WhR5s354e4oLYa//kOWrkX+6/7ZbDDJjMTfwLSOiZ/MMpWdE4DWPLOfTLOq/juj9CKzA==", + "path": "system.identitymodel.tokens.jwt/6.8.0", + "hashPath": "system.identitymodel.tokens.jwt.6.8.0.nupkg.sha512" + }, + "System.IO.Pipelines/6.0.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-ryTgF+iFkpGZY1vRQhfCzX0xTdlV3pyaTTqRu2ETbEv+HlV7O6y7hyQURnghNIXvctl5DuZ//Dpks6HdL/Txgw==", + "path": "system.io.pipelines/6.0.3", + "hashPath": "system.io.pipelines.6.0.3.nupkg.sha512" + }, + "System.Runtime.Caching/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-NdvNRjTPxYvIEhXQszT9L9vJhdQoX6AQ0AlhjTU+5NqFQVuacJTfhPVAvtGWNA2OJCqRiR/okBcZgMwI6MqcZg==", + "path": "system.runtime.caching/4.7.0", + "hashPath": "system.runtime.caching.4.7.0.nupkg.sha512" + }, + "System.Runtime.CompilerServices.Unsafe/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==", + "path": "system.runtime.compilerservices.unsafe/6.0.0", + "hashPath": "system.runtime.compilerservices.unsafe.6.0.0.nupkg.sha512" + }, + "System.Security.AccessControl/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-JECvTt5aFF3WT3gHpfofL2MNNP6v84sxtXxpqhLBCcDRzqsPBmHhQ6shv4DwwN2tRlzsUxtb3G9M3763rbXKDg==", + "path": "system.security.accesscontrol/4.7.0", + "hashPath": "system.security.accesscontrol.4.7.0.nupkg.sha512" + }, + "System.Security.Cryptography.Cng/4.5.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-WG3r7EyjUe9CMPFSs6bty5doUqT+q9pbI80hlNzo2SkPkZ4VTuZkGWjpp77JB8+uaL4DFPRdBsAY+DX3dBK92A==", + "path": "system.security.cryptography.cng/4.5.0", + "hashPath": "system.security.cryptography.cng.4.5.0.nupkg.sha512" + }, + "System.Security.Cryptography.ProtectedData/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-ehYW0m9ptxpGWvE4zgqongBVWpSDU/JCFD4K7krxkQwSz/sFQjEXCUqpvencjy6DYDbn7Ig09R8GFffu8TtneQ==", + "path": "system.security.cryptography.protecteddata/4.7.0", + "hashPath": "system.security.cryptography.protecteddata.4.7.0.nupkg.sha512" + }, + "System.Security.Permissions/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-dkOV6YYVBnYRa15/yv004eCGRBVADXw8qRbbNiCn/XpdJSUXkkUeIvdvFHkvnko4CdKMqG8yRHC4ox83LSlMsQ==", + "path": "system.security.permissions/4.7.0", + "hashPath": "system.security.permissions.4.7.0.nupkg.sha512" + }, + "System.Security.Principal.Windows/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-ojD0PX0XhneCsUbAZVKdb7h/70vyYMDYs85lwEI+LngEONe/17A0cFaRFqZU+sOEidcVswYWikYOQ9PPfjlbtQ==", + "path": "system.security.principal.windows/4.7.0", + "hashPath": "system.security.principal.windows.4.7.0.nupkg.sha512" + }, + "System.Text.Encoding.CodePages/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-aeu4FlaUTemuT1qOd1MyU4T516QR4Fy+9yDbwWMPHOHy7U8FD6SgTzdZFO7gHcfAPHtECqInbwklVvUK4RHcNg==", + "path": "system.text.encoding.codepages/4.7.0", + "hashPath": "system.text.encoding.codepages.4.7.0.nupkg.sha512" + }, + "System.Windows.Extensions/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-CeWTdRNfRaSh0pm2gDTJFwVaXfTq6Xwv/sA887iwPTneW7oMtMlpvDIO+U60+3GWTB7Aom6oQwv5VZVUhQRdPQ==", + "path": "system.windows.extensions/4.7.0", + "hashPath": "system.windows.extensions.4.7.0.nupkg.sha512" + } + } +} \ No newline at end of file diff --git a/ApiPolo/bin/Debug/net6.0/ApiPolo.dll b/ApiPolo/bin/Debug/net6.0/ApiPolo.dll new file mode 100644 index 0000000..8b053d0 Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/ApiPolo.dll differ diff --git a/ApiPolo/bin/Debug/net6.0/ApiPolo.exe b/ApiPolo/bin/Debug/net6.0/ApiPolo.exe new file mode 100644 index 0000000..034c160 Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/ApiPolo.exe differ diff --git a/ApiPolo/bin/Debug/net6.0/ApiPolo.pdb b/ApiPolo/bin/Debug/net6.0/ApiPolo.pdb new file mode 100644 index 0000000..40ea6df Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/ApiPolo.pdb differ diff --git a/ApiPolo/bin/Debug/net6.0/ApiPolo.runtimeconfig.json b/ApiPolo/bin/Debug/net6.0/ApiPolo.runtimeconfig.json new file mode 100644 index 0000000..dfb1b77 --- /dev/null +++ b/ApiPolo/bin/Debug/net6.0/ApiPolo.runtimeconfig.json @@ -0,0 +1,19 @@ +{ + "runtimeOptions": { + "tfm": "net6.0", + "frameworks": [ + { + "name": "Microsoft.NETCore.App", + "version": "6.0.0" + }, + { + "name": "Microsoft.AspNetCore.App", + "version": "6.0.0" + } + ], + "configProperties": { + "System.GC.Server": true, + "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false + } + } +} \ No newline at end of file diff --git a/ApiPolo/bin/Debug/net6.0/ApiPolo.staticwebassets.runtime.json b/ApiPolo/bin/Debug/net6.0/ApiPolo.staticwebassets.runtime.json new file mode 100644 index 0000000..e6de4a4 --- /dev/null +++ b/ApiPolo/bin/Debug/net6.0/ApiPolo.staticwebassets.runtime.json @@ -0,0 +1 @@ +{"ContentRoots":["C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\"],"Root":{"Children":{"logo_disco.jpg":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"logo_disco.jpg"},"Patterns":null},"logo_ferra.jpg":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"logo_ferra.jpg"},"Patterns":null},"logo_marro.jpg":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"logo_marro.jpg"},"Patterns":null}},"Asset":null,"Patterns":[{"ContentRootIndex":0,"Pattern":"**","Depth":0}]}} \ No newline at end of file diff --git a/ApiPolo/bin/Debug/net6.0/ApiPolo.xml b/ApiPolo/bin/Debug/net6.0/ApiPolo.xml new file mode 100644 index 0000000..9f420c7 --- /dev/null +++ b/ApiPolo/bin/Debug/net6.0/ApiPolo.xml @@ -0,0 +1,6510 @@ + + + + ApiPolo + + + + + Controller unico + + + + polocontroller + + + vuoto=chiamata presa in carico 3=chiamata chiusa 2=manutenzione chiusa + + + + + + + + + + + + 200=Ok 500=ErroreInterno 400=OperazioneNonAmmessa + + + + + + + + + + + + + + + + + + + + + Zucchetti Sicilia + + + Discovery + + + Sarom + + + Sinergo + + + Gitoga + + + Lifta + + + Siet + + + + + + + + + + + + Zucchetti Sicilia + + + Discovery + + + Sarom + + + Sinergo + + + Gitoga + + + Lifta + + + Siet + + + trasforma un Saldiart in un Mag_New + + + trasforma un Compi_Impia in un Mag_New + + + crea un cpccchk + + + formatta l'indirizzo della lista chiamate + + + formatta l'indirizzo stampa chiamate + + + formatta l'indirizzo stampa manutenzioni + + + formatta l'indirizzo della lista manutenzioni + + + Configurazioni per azienda return:ActionResult + + + token riewmpimento + + + elimina Token + + + inserisce Token + + + Magazzini per login return:ActionResult + + + Login iniziale return:ActionResult + + + Codici di chiusura per scheda intevento return:ActionResult + + + Chiamate per tecnico e azienda (tenant) in stato C=Assegnate return:ActionResult + + + presaInCarico: 1) crea un nuovo seriale per RAPP_NEW 2)inserisce il primo record di una presa in carico su RAPP_NEW return:ActionResult + + + rifiuta: 1) crea un nuovo seriale per RAPP_NEW 2)inserisce record su RAPP_NEW con INCARICO=N e RIFIUTATA=S return:ActionResult + + + chiudi: 1) crea un nuovo seriale per RAPP_NEW 2)inserisce record su RAPP_NEW con i dati dell'intervento return:ActionResult + + + rilascia: elimina record su RAPP_NEW con i dati dell'intervento return:ActionResult + + + Manutenzioni per tecnico e azienda (tenant). Intervallo: 1 mese prima e 1 mese dopo rispetto a GETDATE() con GENERATO diverso da S return:ActionResult + + + prendi_in_carico: inserisce record su Prese con i dati dell'intervento return:ActionResult + + + chiudi: 1) crea un nuovo seriale per RAPP_NEW 2)inserisce record su RAPP_NEW con i dati dell'intervento return:ActionResult + + + rilascia: elimina record su Prese con i dati dell'intervento return:ActionResult + + + + + + Upload return:ActionResult + + + Componenti impianto return:ActionResult + + + aggiunge un componente all'impianto. Inserisce in LABSEMICOMIMP return:ActionResult + + + toglie un componente all'impianto. Cancella in LABSEMICOMIMP return:ActionResult + + + Ricerca articoli per impianto return:ActionResult + + + rapportino per pezzi magazzino. Inserisce in LABSEMAG_NEW return:ActionResult + + + Ricerca Impianti return:ActionResult + + + Storico interventi return:ActionResult + + + Anagrafica return:ActionResult + + + Tabelle di dominio: causali pagamenti, causali rapportino, tipi esito, tipi intervento return:ActionResult + + + + + + Commesse return:ActionResult IEnumerable Commessa + + + Salva la timbratuta in tabella Timbrature return:ActionResult Timbratura_out + + + Storico rapportini tecnico return:ActionResult di Sto_Imp_out + + + Ricerca Commessa return:ActionResult + + + Salva la timbratuta in tabella Timbrature return:ActionResult Timbratura_out + + + + Contiene i campi di SALDIART + + + + tipo + + + codice + + + email + + + codice fiscale + + + partita iva + + + indirizzo + + + telefono + + + cellulare + + + pec + + + descrizione + + + listino cliente + + + Azienda collegata all'azienda principale + + + azienda + + + tecnico + + + tecnico + + + Nome azienda collegata + + + url logo + + + Testo rapportino + + + + Causali rapportino + + + + codice causale + + + descrizione causale + + + flag fatturazione + + + + + + + + + + + + + + + + + + + + + + + + + + + errore titolo + + + errore dettaglio + + + errore status code (200, 500) + + + ViSTA Chiamate + + + Azienda + + + + Seriale Chiamata + + + + + Stato chiamata + + + + + Codice Chiamatista assegnato + + + + + Data appuntamento chiamata + + + + + Ora appuntamento inizio + + + + + Minuti appuntamento inizio + + + + + Note appuntamento + + + + + Codice Impianto chiamata + + + + + Descrizione codice segnalazione + + + + + Telefono cliente + + + + + descrizione cliente + + + + + Indirizzo impianto tipo + + Via,Piazza, + + + + Indirizzo impianto nome + + + + + Indirizzo impianto numero + + + + + Indirizzo impianto sottonumero + + + + + Indirizzo impianto Scala + + + + + Indirizzo impianto località + + + + + Indirizzo impianto Cap + + + + + Indirizzo impianto comune + + + + + Indirizzo impianto provincia + + + + + Indirizzo impianto nazione + + + + + MANPROG: matricola impianto + + + + + MANPROG: numero impianto + + + + + MANPROG: ubicazione impianto + + + + + Tecnico descrizione + + + + + Tecnico codice + + + + + RAPP_NEW: seriale rapp_new preso in carico + + + + + RAPP_NEW: tipo rapp_new preso in carico (valore vuoto) + + + + + RAPP_NEW: preso in carico (S o NULL) + + + + + RAPP_NEW: seriale rapp_new rifiutata + + + + + RAPP_NEW: tipo rapp rifiutata (valore vuoto) + + + + + RAPP_NEW: rifiutato (S o null) + + + + + RAPP_NEW: seriale chiamata chiusa + + + + + RAPP_NEW: tipo chiamata chiusa (3 o null) + + + + + RAPP_NEW: seriale buono chiamata chiusa + + + + + errore titolo + + + + + errore dettaglio + + + + + errore status code (200, 500) + + + + Esercizio + + + Tipo + + + numero chiamata + + + Data inserimento chiamata + + + Ora inserimento chiamata + + + Minuti inserimento chiamata + + + operatore assegnazione + + + operatore di chiusura + + + azienda impianto + + + ora appuntamento fine + + + minuto appuntamento fine + + + Riferimento chiamata + + + telefono riferimento + + + tcodice segnalazione + + + Fermo impianto S/N + + + Data assegnazione chiamata + + + Ora assegnazione chiamata + + + Min assegnazione chiamata + + + Data chiusura chiamata + + + Ora chiusura chiamata + + + Min chiusura chiamata + + + Data inizio intervento + + + Ora inizio intervento + + + Min inizio intervento + + + Data fine intervento + + + Ora fine intervento + + + Min fine intervento + + + Numero 1 rapportino futuro + + + Serie 1 rapportino futuro + + + Numero 2 rapportino futuro + + + Modalità raccolta chiamata + + + Numero chiamata per impianto per anno + + + Importo manodopera + + + Percentuale manodopera + + + Stampa manodopera + + + Chiusura da remoto + + + Riferimento seriale importazione + + + Descrizione + + + Tipo impianto + + + Ultimo amministratore + + + Descrizione Ult. Amministratore + + + Telefono Ult. Amministratore + + + Zona manutenzione + + + Pubblico/privato + + + Zona chiamate + + + Zona supervisione + + + Data inizio manutenzione + + + Data fine manutenzione + + + Data costruzione + + + Numero telesoccorso + + + Email cliente + + + Ultimo cliente + + + codice cliente + + + tipo anagrafica + + + costo chiamata + + + spese viaggio + + + costo orario ordinario + + + costo orario notturno + + + costo orario straordinario + + + costo orario festivo + + + Azienda di riferimento associata all'impianto (gestione loghi differenti) + + + riferimento impianto (va su rapportino) + + + Tabella CHIAMATE (insert da app) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Tabella CHIAMATE (insert da app) - Output + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + errore titolo + + + errore dettaglio + + + errore status code (200, 500) + + + ViSTA Chiamate + + + Azienda + + + + Seriale Chiamata + + + + + Stato chiamata + + + + + Codice Chiamatista assegnato + + + + + Data appuntamento chiamata + + + + + Ora appuntamento inizio + + + + + Minuti appuntamento inizio + + + + + Note appuntamento + + + + + Codice Impianto chiamata + + + + + Descrizione codice segnalazione + + + + + Telefono cliente + + + + + descrizione cliente + + + + + Indirizzo impianto tipo + + Via,Piazza, + + + + Indirizzo impianto nome + + + + + Indirizzo impianto numero + + + + + Indirizzo impianto sottonumero + + + + + Indirizzo impianto Scala + + + + + Indirizzo impianto località + + + + + Indirizzo impianto Cap + + + + + Indirizzo impianto comune + + + + + Indirizzo impianto provincia + + + + + Indirizzo impianto nazione + + + + + matricola impianto + + + + + numero impianto + + + + + ubicazione impianto + + + + + Tecnico descrizione + + + + + Tecnico codice + + + + + RAPP_NEW: seriale rapp_new preso in carico + + + + + RAPP_NEW: tipo rapp_new preso in carico (valore vuoto) + + + + + RAPP_NEW: preso in carico (S o NULL) + + + + + RAPP_NEW: seriale rapp_new rifiutata + + + + + RAPP_NEW: tipo rapp rifiutata (valore vuoto) + + + + + RAPP_NEW: rifiutato (S o null) + + + + + RAPP_NEW: seriale chiamata chiusa + + + + + RAPP_NEW: tipo chiamata chiusa (3 o null) + + + + + RAPP_NEW: seriale buono chiamata chiusa + + + + + errore titolo + + + + + errore dettaglio + + + + + errore status code (200, 500) + + + + + altri dati chiamata + + Esercizio + + + Tipo + + + numero chiamata + + + Data inserimento chiamata + + + Ora inserimento chiamata + + + Minuti inserimento chiamata + + + operatore assegnazione + + + operatore di chiusura + + + azienda impianto + + + ora appuntamento fine + + + minuto appuntamento fine + + + Riferimento chiamata + + + telefono riferimento + + + tcodice segnalazione + + + altri campi + + + Codice cliente + + + costo chiamata + + + spese viaggio + + + costo orario ordinario + + + costo orario notturno + + + costo orario straordinario + + + costo orario festivo + + + Azienda di riferimento associata all'impianto (gestione loghi differenti) + + + riferimento impianto (va su rapportino) + + + indirizzo stampa (html) + + + impianto per lista (html) + + + Chiusure + + + codice chiusura + + + descrizione + + + ccrapabi + + + obbligatoria + + + ccchiint + + + azienda + + + Descrizione supplementare da mettere sul rapportino + + + ViSTA API_COMMESSE + + + Codice Commessa + + + Descrizione Commessa + + + data fine validita Commessa + + + tipo + + + codice cliente + + + descrizione cliente + + + impianto + + + tipo ind + + + indirizzo + + + numero + + + lettera + + + scala + + + localita + + + CAP + + + provincia + + + ViSTA API_COMMESSE + + + Codice Commessa + + + Descrizione Commessa + + + data fine validita Commessa + + + tipo + + + codice cliente + + + descrizione cliente + + + impianto + + + tipo ind + + + indirizzo + + + numero + + + lettera + + + scala + + + localita + + + CAP + + + provincia + + + elemento lista formato html + + + Error title + + + Error deatail + + + Error code + + + + Contiene i campi di xxxMICOMIMP (componenti impianto) + + + + + codice impianto + + + + + codice impianto + + + + + indice riga + + + + + quantità + + + + + codice articolo + + + + + note + + + + + lotto articolo + + + + + matricola articolo + + + + + descrizione articolo + + + + + + Contiene i campi di xxxMICOMIMP (componenti impianto) oggetto di output + + + + + codice impianto + + + + + codice impianto + + + + + indice riga + + + + + codice articolo + + + + + codice articolo + + + + + note + + + + + lotto articolo + + + + + matricola articolo + + + + + errore titolo + + + + + errore dettaglio + + + + + errore status code (200, 500) + + + + + Classe componenti per scrittura db + + + + + codice impianto + + + + + codice impianto + + + + + indice riga + + + + + codice articolo + + + + + codice articolo + + + + + note + + + + + lotto articolo + + + + + matricola articolo + + + + + + + azienda + + + path file buoni (immagini rapportini) + + + prefisso dei buoni da chiamata + + + prefisso dei buoni da mauntenzione + + + url ftp per upload delle immagini + + + utente ftp per upload delle immagini + + + password ftp per upload delle immagini + + + Listino articoli per magazzino + + + pulsante naviga nelle liste + + + pulsante telefona nelle liste + + + abilita funzione + + + abilita funzione + + + barcode abilitato opzionalmente in varie sezioni. Per renderlo obbligatorio vedi flag sott + + + + + + barcode obbligatorio + + + funziona anche offline + + + abilita funzione + + + hiamate_rifiuta_barcode + + + funziona anche offline + + + barcode obbligatorio + + + barcode obbligatorio + + + barcode obbligatorio + + + abilita funzione + + + funziona anche offline + + + abilita funzione + + + barcode obbligatorio + + + funziona anche offline + + + barcode obbligatorio + + + barcode obbligatorio + + + barcode obbligatorio + + + funziona anche offline + + + chiede presena DPI prima di scheda + + + visualizza anagrafica + + + abilita stato impianto + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + Costo orario intervento + + + porta ftp + + + barcode obbligatorio + + + storico rapportini + + + storico impianto + + + Abilita link storico interventi + + + Abilita link ricerca impianti + + + Abilita link storico impianto (solo per chi gestisce il magazzino) + + + Calcolo tempo rapportino automatico + + + Stampa ora inizio-fine su buono + + + Stampa intestazione su buono + + + Seriale chiamata da usare come teplate per inserire chiamata da app (commessa o normale) + + + 0=non abilitata 1,2,3=abilitata + + + storico impianto + + + Error Message + + + Error Message detail + + + Status + + + Configurazioni + + + azienda + + + path file buoni (immagini rapportini) + + + prefisso dei buoni da chiamata + + + prefisso dei buoni da mauntenzione + + + url ftp per upload delle immagini + + + utente ftp per upload delle immagini + + + password ftp per upload delle immagini + + + Listino articoli per magazzino + + + pulsante naviga nelle liste + + + pulsante telefona nelle liste + + + abilita funzione + + + abilita funzione + + + barcode abilitato opzionalmente in varie sezioni. Per renderlo obbligatorio vedi flag sott + + + + + + barcode obbligatorio + + + funziona anche offline + + + abilita funzione + + + hiamate_rifiuta_barcode + + + funziona anche offline + + + barcode obbligatorio + + + barcode obbligatorio + + + barcode obbligatorio + + + abilita funzione + + + funziona anche offline + + + abilita funzione + + + barcode obbligatorio + + + funziona anche offline + + + barcode obbligatorio + + + barcode obbligatorio + + + barcode obbligatorio + + + funziona anche offline + + + chiede presena DPI prima di scheda + + + visualizza anagrafica + + + abilita stato impianto + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + Costo orario intervento + + + porta ftp + + + barcode obbligatorio + + + OBSOLETO + + + OBSOLETO + + + Abilita link storico interventi + + + Abilita link ricerca impianti + + + Abilita link storico impianto (solo per chi gestisce il magazzino) + + + Calcolo tempo rapportino automatico + + + Stampa ora inizio-fine su buono + + + Stampa intestazione su buono + + + Seriale chiamata da usare come teplate per inserire chiamata da app (commessa o normale) + + + 0=non abilitata 1,2,3=abilitata + + + ConfigurazioniDbContext + + + conf + + + ConfigurazioniDbContext + + + OnModelCreating + + + Aziende collegate + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Rapportini + + + ConfigurazioniDbContext + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Error + + + Error title + + + Error deatail + + + Error code + + + + + + + + + + + + + + + FERRA_CHIAMATEDbContext + + + FERRA_CHIAMATEDbContext + + + FERRA_CHIAMATEDbContext + + + OnModelCreating + + + FERRA_CHIUSUREDbContext + + + Chiusure + + + + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + FERRA_MANPROG_TECDbContext + + + Manutenzioni + + + Manutenzioni + + + OnModelCreating + + + + + + + + + + + + + + + FERRA_CHIAMATEDbContext + + + FERRA_CHIAMATEDbContext + + + + + + A + + + + + + Rapportini + + + ConfigurazioniDbContext + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Rapportini + + + ConfigurazioniDbContext + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Impianto + + + Codice Impianto + + + Descrizione Impianto + + + Tipo indirizzo (Via, piazza..) + + + indirizzo + + + numero civico + + + sottonumero + + + scala + + + localita + + + Cap + + + Comune + + + Provincia + + + Azienda + + + Impianto out + + + Codice Impianto + + + Codice Impianto + + + Indirizzo Impianto + + + Cap + + + Comune + + + Provincia + + + Località + + + Error title + + + Error deatail + + + Error code + + + + Contiene i campi di input sia per RAPP_NEW che per PRESE + + + + + Tabella RAPP_NEW: Seriale rapportini + + + + + Tabella RAPP_NEW: Tipo rapportini + + + + + Tabella RAPP_NEW: Azienda + + + + + Tabella RAPP_NEW: Codice Impianto + + + + + Tabella RAPP_NEW: Azienda su cui è la chiamata + + + + + Tabella RAPP_NEW: Seriale chiamata + + + + + Tabella RAPP_NEW: Seriale chiamata + + + + + Tabella RAPP_NEW: Data rapportino + + + + + Tabella RAPP_NEW: Ora inizio + + + + + Tabella RAPP_NEW: Tabella RAPP_NEW: minuto inizio + + + + + Tabella RAPP_NEW: Ora fine + + + + + Tabella RAPP_NEW: Minuto fine + + + + + Tabella RAPP_NEW: codice chiusura + + + + + Tabella RAPP_NEW: codice chiusura + + + + + Tabella RAPP_NEW: codice chiusura + + + + + Tabella RAPP_NEW: codice chiusura + + + + + Tabella RAPP_NEW: codice chiusura + + + + + Tabella RAPP_NEW: codice chiusura + + + + + Tabella RAPP_NEW: codice chiusura + + + + + Tabella RAPP_NEW: codice chiusura + + + + + Tabella RAPP_NEW: codice chiusura + + + + + Tabella RAPP_NEW: codice chiusura + + + + + Tabella RAPP_NEW: descrizione intervento + + + + + Tabella RAPP_NEW: stato + + + + + Tabella RAPP_NEW: generato + + + + + Tabella RAPP_NEW: azienda tecnico + + + + + Tabella RAPP_NEW: codice tecnico + + + + + Tabella RAPP_NEW: flag rifiutata + + + + + Tabella RAPP_NEW: nominativo firma + + + + + Tabella RAPP_NEW: flag stato In Carico + + + + + Tabella RAPP_NEW: data validità + + + + + Tabella RAPP_NEW: pathg immagine buono o firma + + + + + Tabella RAPP_NEW: seriale del buono + + + + + Tabella RAPP_NEW: seriale del buono + + + + + Tabella RAPP_NEW: data/ora effettiva del lavoro (nel caso dispositivo offline) + + + + Tabella PRESE: Azienda + + + Tabella PRESE: Impianto + + + Tabella PRESE: Codice intervento QUI=? SEM=SEMESTRALE + + + Tabella PRESE: Tecnico + + + Tabella PRESE: data della manutenzione + + + Tabella PRESE: Zona manutenzione + + + Tabella PRESE: check presa + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Componenti impianto aggiunti + + + Componenti impianto eliminati + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Rapportini + + + ConfigurazioniDbContext + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + LoginModel + + + Username + + + Password + + + Tenant + + + Conf (configurazioni app) + + + pulsante naviga nelle liste + + + pulsante telefona nelle liste + + + abilita funzione + + + abilita funzione + + + barcode abilitato opzionalmente in varie sezioni. Per renderlo obbligatorio vedi flag sott + + + + + + barcode obbligatorio + + + funziona anche offline + + + abilita funzione + + + hiamate_rifiuta_barcode + + + funziona anche offline + + + barcode obbligatorio + + + barcode obbligatorio + + + barcode obbligatorio + + + abilita funzione + + + funziona anche offline + + + abilita funzione + + + barcode obbligatorio + + + funziona anche offline + + + barcode obbligatorio + + + barcode obbligatorio + + + barcode obbligatorio + + + funziona anche offline + + + chiede presena DPI prima di scheda + + + anagrafica visualizza anagrafica + + + abilita stato impianto + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + Costo orario intervento + + + porta ftp + + + barcode obbligatorio + + + storico rapportini abilita + + + storico impianto + + + Abilita link storico interventi + + + Abilita link ricerca impianti + + + Abilita link storico impianto (solo per chi gestisce il magazzino) + + + Calcolo tempo rapportino automatico + + + Stampa ora inizio-fine su buono + + + Stampa intestazione su buono + + + Seriale chiamata da usare come teplate per inserire chiamata da app (commessa o normale) + + + 0=non abilitata 1,2,3=abilitata + + + LoginOut (token+user) + + + token + + + token + + + token + + + token + + + storico impianto + + + Error Message + + + Error Message detail + + + Status + + + + Magazzini azienda + + + + + codice magazzino + + + + + descrizione + + + + + Contiene i campi di MAG_NEW + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + descrizione articolo + + + riga impianto + + + codice impianto + + + note + + + cpccchk + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + descrizione articolo + + + riga impianto + + + codice impianto + + + note + + + + errore titolo + + + + + errore dettaglio + + + + + errore status code (200, 500) + + + + + Manutenzioni Programmate + + + + + MANPROG: codice intervento (BIM=bimestrale, SEM=semestarle,..) + + + + + MANPROG: data prossima manutenzione + + + + + MANPROG: descrizione intervento + + + + + MANPROG: indirizzo 1 impianto + + + + + MANPROG: indirizzo 2 impianto + + + + + MANPROG: indirizzo 3 impianto + + + + + MANPROG: indirizzo 4 impianto + + + + + MANPROG: indirizzo 5 impianto + + + + + MANPROG: localita impianto + + + + + MANPROG: cap impianto + + + + + MANPROG: comune impianto + + + + + MANPROG: matricola impianto + + + + + MANPROG: numero impianto + + + + + MANPROG: ubicazione impianto + + + + + MANPROG: provincia 5 impianto + + + + + MANPROG: nazione impianto + + + + + MANPROG: codice impianto + + + + + MANPROG: tecnico descrizione + + + + + MANPROG: tecnico codice + + + + + RAPP_NEW: seriale rapportino + + + + + RAPP_NEW: seriale buono + + + + + RAPP_NEW: flag generato. Rapportino importato in AdHoc + + + + + PRESE: codice impianto + + + + + PRESE: codice intervento (BIM=bimestrale,SEM=semestrale) + + + + + PRESE: data manutenzione + + + + + errore titolo + + + + + errore dettaglio + + + + + errore status code (200, 500) + + + + + Manutenzioni: telefono 1 impianto + + + + + Manutenzioni: telefono 1 impianto + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + costo chiamata + + + spese viaggio + + + costo orario ordinario + + + costo orario notturno + + + costo orario straordinario + + + costo orario festivo + + + Azienda di riferimento associata all'impianto (gestione loghi differenti) + + + Zona Impianto + + + Riferimento Impianto + + + + Manutenzioni Programmate uscita + + + + + MANPROG: codice intervento (BIM=bimestrale, SEM=semestarle,..) + + + + + MANPROG: data prossima manutenzione + + + + + MANPROG: descrizione intervento + + + + + MANPROG: indirizzo 1 impianto + + + + + MANPROG: indirizzo 2 impianto + + + + + MANPROG: indirizzo 3 impianto + + + + + MANPROG: indirizzo 4 impianto + + + + + MANPROG: indirizzo 5 impianto + + + + + MANPROG: localita impianto + + + + + MANPROG: cap impianto + + + + + MANPROG: comune impianto + + + + + MANPROG: provincia 5 impianto + + + + + matricola impianto + + + + + numero impianto + + + + + ubicazione impianto + + + + + MANPROG: nazione impianto + + + + + MANPROG: codice impianto + + + + + MANPROG: tecnico descrizione + + + + + MANPROG: tecnico codice + + + + + RAPP_NEW: seriale rapportino + + + + + RAPP_NEW: seriale buono + + + + + RAPP_NEW: flag generato. Rapportino importato in AdHoc + + + + + PRESE: codice impianto + + + + + PRESE: codice intervento (BIM=bimestrale,SEM=semestrale) + + + + + PRESE: data manutenzione + + + + + errore titolo + + + + + errore dettaglio + + + + + errore status code (200, 500) + + + + + Manutenzioni: telefono 1 impianto + + + + + Manutenzioni: telefono 1 impianto + + + + + Manutenzioni: cliente + + + + costo chiamata + + + spese viaggio + + + costo orario ordinario + + + costo orario notturno + + + costo orario straordinario + + + costo orario festivo + + + altri dati Manutenzione + + + Azienda di riferimento associata all'impianto (gestione loghi differenti) + + + Zona Impianto + + + Riferimento Impianto + + + indirizzo stampa (html) + + + impianto per lista (html) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Rapportini + + + ConfigurazioniDbContext + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ViSTA Chiamate + + + Azienda + + + utente destinastario notifica + + + seriale della chiamata + + + data di invio della notifica + + + Uscita chiamataTable+chiamate + + + output di chiamataTable (inserimento in tabella Chiamate) + + + output di Chiamate_out (inserimento in tabella Rapp_new) + + + output di ChiamateSeriale_out (aggiornamento in tabella in tabella PINUMCHI) + + + output di ChiamateSeriale_out (aggiornamento in tabella in tabella cpwarn) + + + output di ChiamateSeriale_out (aggiornamento in tabella in tabella cpwarn) + + + errore titolo + + + errore dettaglio + + + errore status code (200, 500) + + + Output ricerca impianti e di ricerca commesse + + + Codice Commessa + + + Descrizione Commessa + + + data fine validita Commessa + + + tipo + + + codice cliente + + + descrizione cliente + + + impianto + + + tipo ind + + + indirizzo + + + numero + + + lettera + + + scala + + + localita + + + CAP + + + provincia + + + descrizione + + + elemento lista formato html + + + Error title + + + Error deatail + + + Error code + + + + Causali pagamento + + + + codice pagamento + + + descrizione pagamento + + + + Tabella PRESA + + + + Azienda + + + Impianto + + + Codice intervento QUI=? SEM=SEMESTRALE + + + Tecnico + + + data della manutenzione + + + Zona manutenzione + + + check presa + + + cpccchk + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + errore titolo + + + errore dettaglio + + + errore status code (200, 500) + + + Rappmast: storico interventi per tecnico + + + Seriale rapportini + + + Causale + + + Azienda + + + Impianto + + + Lavoro + + + fase Lavoro + + + tipo cliente + + + codice cliente + + + contratto manutenzione + + + verbale + + + azienda chiamata + + + chiamata + + + esercizio + + + codice giro + + + intervento giro + + + numero rapportino + + + serie rapportino + + + data rapportino + + + flag da fatturare + + + flag fatturabile + + + utente fatturabile + + + data fatturabilità + + + codice pagamento + + + azienda tecnico 1 + + + tecnico 1 + + + azienda tecnico 2 + + + tecnico 2 + + + azienda tecnico 3 + + + tecnico 3 + + + tecnici fatturabili + + + Ore fatturabili + + + giornate fatturabili + + + Importo unitario + + + servizio assistenza + + + Importo totale + + + descrizione + + + Note + + + Servizio dir. fisso + + + descrizione dir. fisso + + + Importo dir. fisso + + + Importo dir. fisso + + + servizio viaggio + + + descrizione viaggio + + + Importo viaggio + + + Totale viaggio + + + descrizione meteriale + + + Note meteriale + + + Importo materiali + + + Descrizione intervento + + + Note intervento + + + Riferimento cliente + + + Listino costi + + + centro di costo + + + commessa + + + Zona analitica + + + Seriale doc attivo + + + Seriale doc passivo + + + Seriale doc passivo + + + Stato rapportino (Controllato S/N) + + + Tipo intervento (Reperibile S/N) + + + Modalita fatturazione + + + Servizio per fatture a corpo + + + Listino per fatture a corpo + + + Importo servizio a corpo + + + percentuale ricarico costi materiali + + + descrizione servizio a corpo + + + descrizione suppl servizio a corpo + + + Numerazione automatica + + + U.M. viaggio + + + U.M. assistenza + + + flag assegnazione tecnico da blocchetto + + + percentuale manodopera + + + importo manodopera a corpo + + + importo materiale a corpo + + + Servizio assistenza ore straordinario + + + Servizio dir. fisso ore straordinario + + + Servizio viaggio straordinario + + + importo straord assistenza + + + importo straord viaggio + + + importo straord dir. fisso + + + ore fatturabili straordinario + + + importo totale straord assistenza + + + importo totale straord viaggio + + + Desc assistenza straordinario + + + Desc dir. fisso straordinario + + + Desc viaggio straordinario + + + Servizio assistenza ore notturno + + + Servizio dir. fisso ore notturno + + + Servizio viaggio notturno + + + importo notturno assistenza + + + importo notturno viaggio + + + importo notturno dir.fisso + + + Ore fatturabili notturno + + + importo totale notturno assistenza + + + importo totale notturno viaggio + + + 77777777 + Desc assistenza notturno + + + Desc dir fisso notturno + + + Desc viaggio notturno + + + servizio assistenza ore festivo + + + servizio dir. fisso ore festivo + + + servizio viaggio festivo + + + importo festivo assistenza + + + importo festivo viaggio + + + importo festivo dir. fisso + + + ore fatturabili festivo + + + importo totale festivo assistenza + + + importo totale festivo viaggio + + + desc assistenza festivo + + + desc dir fisso festivo + + + desc viaggio festivo + + + importo unitario viaggio 2 + + + importo totale viaggio 2 + + + U.M. viaggio 2 + + + Km totali viaggio 2 + + + codice intervento + + + Numero ordine + + + ore fatturabili starordinario aiutante + + + ore fatturabili notturne aiutante + + + ore fatturabili festive aiutante + + + importo straordinario aiutante + + + importo notte aiutante + + + importo festivo aiutante + + + servizio assistenza straordinario aiutante + + + descrizione servizio assistenza aiutante + + + descrizione servizio notte aiutante + + + descrizione servizio festivo aiutante + + + servizio festivo aiutante + + + descrizione festivo aiutante + + + importo ore straordinario aiutante + + + importo ore notturne aiutante + + + importo ore festive aiutante + + + periodo + + + numero pasti + + + importo pasti + + + + + + flag forza ore lavoro + + + flag forza impianto + + + Rapp_New + + + + Seriale rapportini + + + + + Tipo rapportini + + + + + Azienda + + + + + Codice Impianto + + + + + Azienda su cui è la chiamata + + + + + Seriale chiamata + + + + + Seriale chiamata + + + + + Data rapportino + + + + + Ora inizio + + + + + minuto inizio + + + + + Ora fine + + + + + Minuto fine + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + descrizione intervento + + + + + stato + + + + + generato + + + + + azienda tecnico + + + + + codice tecnico + + + + + flag rifiutata + + + + + nminativo firma + + + + + flag stato In Carico + + + + + data validità + + + + + pathg immagine buono o firma + + + + + seriale del buono + + + + + data/ora effettiva del lavoro (nel caso dispositivo offline) + + + + + codice_intervento (valido per manutenzioni. Esempio: SEM=semestrale) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Contiene i campi di SALDIART + + + + articolo + + + descrizione articolo + + + magazzino + + + quantita + + + matricola + + + lotto + + + listino + + + articolo del listino + + + data validità listino + + + quantita + + + prezzo + + + sconto1 + + + sconto2 + + + sconto3 + + + sconto4 + + + articolo gestito a matricole(S/N) + + + articolo gestito a lotti (S e C=si, N=no) + + + + + + + + + + + + + + + SAROM_CHIAMATEDbContext + + + SAROM_CHIAMATEDbContext + + + SAROM_CHIAMATEDbContext + + + OnModelCreating + + + + + + Chiusure + + + + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Manutenzioni + + + Manutenzioni + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + A + + + + + + Rapportini + + + ConfigurazioniDbContext + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Rapportini + + + ConfigurazioniDbContext + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Rapportini + + + Rapportini + + + ConfigurazioniDbContext + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + azienda + + + tecnico + + + zona + + + Inizio sostituzione + + + Fine sostituzione + + + codice sostituzione + + + Storico impianti + + + seriale rapportino + + + seriale rapportino + + + indice riga + + + codice magazzino + + + codice articolo + + + descrizione articolo + + + tipologia movimento (E=eliminato,A=aggiunto,S=sotituito) + + + quantità articolo + + + prezzo articolo + + + codice tecnico + + + descrizione tecnico + + + documento generato + + + note + + + codice lotto articolo + + + matricola articolo + + + + + + codice impianto + + + descrizione impianto + + + azienda impianto + + + tipo indirizzo (via, strada) + + + indirizzo + + + indirizzo numero + + + indirizzo scala + + + indirizzo sottonumero + + + Storico impianti- output + + + (LISTA)data rapportino + + + (LISTA) codice articolo + + + (LISTA) tipologia movimento (E=eliminato,A=aggiunto,S=sotituito) + + + dettaglio movimento impianto + + + errore titolo + + + errore dettaglio + + + errore status code (200, 500) + + + + Storico interventi New + + + + (LISTA) codice tecnico + + + (LISTA) descrizione tecnico + + + (LISTA) note esito + + + (LISTA) note esito + + + stato finale + + + esito intervento + + + descrizione intervento + + + firma rapportino + + + seriale chiamata (se chiamata, altrimenti null + + + seriale buono + + + difetti riscontrati + + + lavoro eseguito + + + note intervento + + + ore lavoro + + + costo materiale + + + diritto chiamata + + + anticipo + + + manodopera + + + spese viaggio + + + pagamento + + + codice impianto + + + totale + + + note pagamento + + + tipo intervento + + + rapportino generato in adhoc S/N + + + azienda tecnico + + + azienda impianto + + + azienda chiamata + + + cod chiusura 1 + + + cod chiusura 2 + + + cod chiusura 3 + + + cod chiusura 4 + + + cod chiusura 5 + + + cod chiusura 6 + + + cod chiusura 7 + + + cod chiusura 8 + + + cod chiusura 9 + + + cod chiusura 10 + + + des cod chiusura 1 + + + des cod chiusura 2 + + + des cod chiusura 3 + + + des cod chiusura 4 + + + des cod chiusura 5 + + + des cod chiusura 6 + + + des cod chiusura 7 + + + des cod chiusura 8 + + + des cod chiusura 9 + + + des cod chiusura 10 + + + des supp cod chiusura 1 + + + des supp cod chiusura 2 + + + des supp cod chiusura 3 + + + des supp cod chiusura 4 + + + des supp cod chiusura 5 + + + des supp cod chiusura 6 + + + des supp cod chiusura 7 + + + des supp cod chiusura 8 + + + des supp cod chiusura 9 + + + des supp cod chiusura 10 + + + seriale rapportino + + + codice intervento manutenzione + + + descrizione intervento manutenzione + + + descrizione suppl. intervento manutenzione + + + descrizione suppl. codice intervento manutenzione + + + codice segnalazione chiamata + + + tipo indirizzo (via, strada) + + + indirizzo + + + indirizzo numero + + + indirizzo scala + + + indirizzo sottonumero + + + ViSTA Chiamate + + + (LISTA) codice tecnico + + + (LISTA) descrizione tecnico + + + (LISTA) note esito + + + (LISTA) note esito + + + dettaglio rapportino + + + errore titolo + + + errore dettaglio + + + errore status code (200, 500) + + + Tabelle di Dominio + + + lista causali rapportino + + + lista causali pagamento + + + stati impianto + + + esito intervento + + + + + + + + + + + + tecnici + + + + Codice tecnico + + + + + Descrizione tecnico + + + + + telefono tecnico + + + + + Qualifica tecnico chiamatista + + + + + Qualifica tecnico manutentore + + + + + Azienda tecnico + + + + + Qualifica tecnico supervisore + + + + + Username tecnico + + + + + Password tecnico + + + + + Zona tecnico + + + + + data inizio attività tecnico + + + + + data fine attività tecnico + + + + Tabella Timbrature + + + chiave primaria + + + data + + + ora inizio + + + minuto inizio + + + ora fine + + + minuto fine + + + commessa + + + ore viaggio + + + totale ore + + + giorno settimana + + + azienda + + + tecnico + + + cpccchk + + + note + + + Timbrature OUT + + + id: chiave + + + data + + + ora inizio + + + minuto inizio + + + ora fine + + + minuto fine + + + commessa + + + ore viaggio + + + giorno settimana + + + azienda + + + tecnico + + + errore titolo + + + errore dettaglio + + + errore status code (200, 500) + + + note + + + token di login sul device + + + id + + + tenant azienda + + + utente login + + + token device + + + timestamp inserimento + + + TokenDbContext + + + conf + + + ConfigurazioniDbContext + + + OnModelCreating + + + token di login sul device- output + + + tenant azienda + + + utente login + + + token device + + + timestamp inserimento + + + Error Message + + + Error Message detail + + + Status + + + response + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Configuration + + + Startup + + + Costruttore + + + + + + + + + + + + tenant azienda + + + utente login + + + token device + + + title + + + body + + + not + + + Startup + + + Configuration + + + Startup + + + ConfigureServices + + + Configure:This method gets called by the runtime. Use this method to configure the HTTP request pipeline. + + + diff --git a/ApiPolo/bin/Debug/net6.0/Cronos.dll b/ApiPolo/bin/Debug/net6.0/Cronos.dll new file mode 100644 index 0000000..7bb2380 Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/Cronos.dll differ diff --git a/ApiPolo/bin/Debug/net6.0/FirebaseAdmin.dll b/ApiPolo/bin/Debug/net6.0/FirebaseAdmin.dll new file mode 100644 index 0000000..0af156d Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/FirebaseAdmin.dll differ diff --git a/ApiPolo/bin/Debug/net6.0/Google.Api.Gax.Rest.dll b/ApiPolo/bin/Debug/net6.0/Google.Api.Gax.Rest.dll new file mode 100644 index 0000000..af4cdcc Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/Google.Api.Gax.Rest.dll differ diff --git a/ApiPolo/bin/Debug/net6.0/Google.Api.Gax.dll b/ApiPolo/bin/Debug/net6.0/Google.Api.Gax.dll new file mode 100644 index 0000000..54f31f7 Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/Google.Api.Gax.dll differ diff --git a/ApiPolo/bin/Debug/net6.0/Google.Apis.Auth.PlatformServices.dll b/ApiPolo/bin/Debug/net6.0/Google.Apis.Auth.PlatformServices.dll new file mode 100644 index 0000000..6ee6d62 Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/Google.Apis.Auth.PlatformServices.dll differ diff --git a/ApiPolo/bin/Debug/net6.0/Google.Apis.Auth.dll b/ApiPolo/bin/Debug/net6.0/Google.Apis.Auth.dll new file mode 100644 index 0000000..6651c21 Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/Google.Apis.Auth.dll differ diff --git a/ApiPolo/bin/Debug/net6.0/Google.Apis.Core.dll b/ApiPolo/bin/Debug/net6.0/Google.Apis.Core.dll new file mode 100644 index 0000000..d362eab Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/Google.Apis.Core.dll differ diff --git a/ApiPolo/bin/Debug/net6.0/Google.Apis.dll b/ApiPolo/bin/Debug/net6.0/Google.Apis.dll new file mode 100644 index 0000000..8abd9c0 Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/Google.Apis.dll differ diff --git a/ApiPolo/bin/Debug/net6.0/Humanizer.dll b/ApiPolo/bin/Debug/net6.0/Humanizer.dll new file mode 100644 index 0000000..df62d3f Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/Humanizer.dll differ diff --git a/ApiPolo/bin/Debug/net6.0/Microsoft.AspNetCore.Authentication.Negotiate.dll b/ApiPolo/bin/Debug/net6.0/Microsoft.AspNetCore.Authentication.Negotiate.dll new file mode 100644 index 0000000..927529e Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/Microsoft.AspNetCore.Authentication.Negotiate.dll differ diff --git a/ApiPolo/bin/Debug/net6.0/Microsoft.AspNetCore.Connections.Abstractions.dll b/ApiPolo/bin/Debug/net6.0/Microsoft.AspNetCore.Connections.Abstractions.dll new file mode 100644 index 0000000..85586ae Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/Microsoft.AspNetCore.Connections.Abstractions.dll differ diff --git a/ApiPolo/bin/Debug/net6.0/Microsoft.Bcl.AsyncInterfaces.dll b/ApiPolo/bin/Debug/net6.0/Microsoft.Bcl.AsyncInterfaces.dll new file mode 100644 index 0000000..30cb199 Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/Microsoft.Bcl.AsyncInterfaces.dll differ diff --git a/ApiPolo/bin/Debug/net6.0/Microsoft.Data.SqlClient.dll b/ApiPolo/bin/Debug/net6.0/Microsoft.Data.SqlClient.dll new file mode 100644 index 0000000..3114e92 Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/Microsoft.Data.SqlClient.dll differ diff --git a/ApiPolo/bin/Debug/net6.0/Microsoft.EntityFrameworkCore.Abstractions.dll b/ApiPolo/bin/Debug/net6.0/Microsoft.EntityFrameworkCore.Abstractions.dll new file mode 100644 index 0000000..c0bf058 Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/Microsoft.EntityFrameworkCore.Abstractions.dll differ diff --git a/ApiPolo/bin/Debug/net6.0/Microsoft.EntityFrameworkCore.Design.dll b/ApiPolo/bin/Debug/net6.0/Microsoft.EntityFrameworkCore.Design.dll new file mode 100644 index 0000000..9795c0d Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/Microsoft.EntityFrameworkCore.Design.dll differ diff --git a/ApiPolo/bin/Debug/net6.0/Microsoft.EntityFrameworkCore.Relational.dll b/ApiPolo/bin/Debug/net6.0/Microsoft.EntityFrameworkCore.Relational.dll new file mode 100644 index 0000000..b1f7d91 Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/Microsoft.EntityFrameworkCore.Relational.dll differ diff --git a/ApiPolo/bin/Debug/net6.0/Microsoft.EntityFrameworkCore.SqlServer.dll b/ApiPolo/bin/Debug/net6.0/Microsoft.EntityFrameworkCore.SqlServer.dll new file mode 100644 index 0000000..ba97f6b Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/Microsoft.EntityFrameworkCore.SqlServer.dll differ diff --git a/ApiPolo/bin/Debug/net6.0/Microsoft.EntityFrameworkCore.dll b/ApiPolo/bin/Debug/net6.0/Microsoft.EntityFrameworkCore.dll new file mode 100644 index 0000000..ae94b8b Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/Microsoft.EntityFrameworkCore.dll differ diff --git a/ApiPolo/bin/Debug/net6.0/Microsoft.Extensions.Caching.Memory.dll b/ApiPolo/bin/Debug/net6.0/Microsoft.Extensions.Caching.Memory.dll new file mode 100644 index 0000000..42eb85f Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/Microsoft.Extensions.Caching.Memory.dll differ diff --git a/ApiPolo/bin/Debug/net6.0/Microsoft.Extensions.Features.dll b/ApiPolo/bin/Debug/net6.0/Microsoft.Extensions.Features.dll new file mode 100644 index 0000000..71bca4a Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/Microsoft.Extensions.Features.dll differ diff --git a/ApiPolo/bin/Debug/net6.0/Microsoft.Identity.Client.dll b/ApiPolo/bin/Debug/net6.0/Microsoft.Identity.Client.dll new file mode 100644 index 0000000..c01fcbf Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/Microsoft.Identity.Client.dll differ diff --git a/ApiPolo/bin/Debug/net6.0/Microsoft.IdentityModel.JsonWebTokens.dll b/ApiPolo/bin/Debug/net6.0/Microsoft.IdentityModel.JsonWebTokens.dll new file mode 100644 index 0000000..70b84f2 Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/Microsoft.IdentityModel.JsonWebTokens.dll differ diff --git a/ApiPolo/bin/Debug/net6.0/Microsoft.IdentityModel.Logging.dll b/ApiPolo/bin/Debug/net6.0/Microsoft.IdentityModel.Logging.dll new file mode 100644 index 0000000..7ecc3be Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/Microsoft.IdentityModel.Logging.dll differ diff --git a/ApiPolo/bin/Debug/net6.0/Microsoft.IdentityModel.Protocols.OpenIdConnect.dll b/ApiPolo/bin/Debug/net6.0/Microsoft.IdentityModel.Protocols.OpenIdConnect.dll new file mode 100644 index 0000000..d925b5b Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/Microsoft.IdentityModel.Protocols.OpenIdConnect.dll differ diff --git a/ApiPolo/bin/Debug/net6.0/Microsoft.IdentityModel.Protocols.dll b/ApiPolo/bin/Debug/net6.0/Microsoft.IdentityModel.Protocols.dll new file mode 100644 index 0000000..17423cc Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/Microsoft.IdentityModel.Protocols.dll differ diff --git a/ApiPolo/bin/Debug/net6.0/Microsoft.IdentityModel.Tokens.dll b/ApiPolo/bin/Debug/net6.0/Microsoft.IdentityModel.Tokens.dll new file mode 100644 index 0000000..dd66624 Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/Microsoft.IdentityModel.Tokens.dll differ diff --git a/ApiPolo/bin/Debug/net6.0/Microsoft.OpenApi.dll b/ApiPolo/bin/Debug/net6.0/Microsoft.OpenApi.dll new file mode 100644 index 0000000..14f3ded Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/Microsoft.OpenApi.dll differ diff --git a/ApiPolo/bin/Debug/net6.0/Microsoft.Web.Infrastructure.dll b/ApiPolo/bin/Debug/net6.0/Microsoft.Web.Infrastructure.dll new file mode 100644 index 0000000..85f1138 Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/Microsoft.Web.Infrastructure.dll differ diff --git a/ApiPolo/bin/Debug/net6.0/Microsoft.Win32.SystemEvents.dll b/ApiPolo/bin/Debug/net6.0/Microsoft.Win32.SystemEvents.dll new file mode 100644 index 0000000..e27fe8d Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/Microsoft.Win32.SystemEvents.dll differ diff --git a/ApiPolo/bin/Debug/net6.0/Newtonsoft.Json.dll b/ApiPolo/bin/Debug/net6.0/Newtonsoft.Json.dll new file mode 100644 index 0000000..d035c38 Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/Newtonsoft.Json.dll differ diff --git a/ApiPolo/bin/Debug/net6.0/Renci.SshNet.dll b/ApiPolo/bin/Debug/net6.0/Renci.SshNet.dll new file mode 100644 index 0000000..181b7b2 Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/Renci.SshNet.dll differ diff --git a/ApiPolo/bin/Debug/net6.0/SshNet.Security.Cryptography.dll b/ApiPolo/bin/Debug/net6.0/SshNet.Security.Cryptography.dll new file mode 100644 index 0000000..2761fd1 Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/SshNet.Security.Cryptography.dll differ diff --git a/ApiPolo/bin/Debug/net6.0/Swashbuckle.AspNetCore.Swagger.dll b/ApiPolo/bin/Debug/net6.0/Swashbuckle.AspNetCore.Swagger.dll new file mode 100644 index 0000000..88995c9 Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/Swashbuckle.AspNetCore.Swagger.dll differ diff --git a/ApiPolo/bin/Debug/net6.0/Swashbuckle.AspNetCore.SwaggerGen.dll b/ApiPolo/bin/Debug/net6.0/Swashbuckle.AspNetCore.SwaggerGen.dll new file mode 100644 index 0000000..6afe2f0 Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/Swashbuckle.AspNetCore.SwaggerGen.dll differ diff --git a/ApiPolo/bin/Debug/net6.0/Swashbuckle.AspNetCore.SwaggerUI.dll b/ApiPolo/bin/Debug/net6.0/Swashbuckle.AspNetCore.SwaggerUI.dll new file mode 100644 index 0000000..0f538a7 Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/Swashbuckle.AspNetCore.SwaggerUI.dll differ diff --git a/ApiPolo/bin/Debug/net6.0/System.Configuration.ConfigurationManager.dll b/ApiPolo/bin/Debug/net6.0/System.Configuration.ConfigurationManager.dll new file mode 100644 index 0000000..6f34b8d Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/System.Configuration.ConfigurationManager.dll differ diff --git a/ApiPolo/bin/Debug/net6.0/System.DirectoryServices.Protocols.dll b/ApiPolo/bin/Debug/net6.0/System.DirectoryServices.Protocols.dll new file mode 100644 index 0000000..f82bc91 Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/System.DirectoryServices.Protocols.dll differ diff --git a/ApiPolo/bin/Debug/net6.0/System.Drawing.Common.dll b/ApiPolo/bin/Debug/net6.0/System.Drawing.Common.dll new file mode 100644 index 0000000..69e5f5c Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/System.Drawing.Common.dll differ diff --git a/ApiPolo/bin/Debug/net6.0/System.IO.Pipelines.dll b/ApiPolo/bin/Debug/net6.0/System.IO.Pipelines.dll new file mode 100644 index 0000000..8ee4dfd Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/System.IO.Pipelines.dll differ diff --git a/ApiPolo/bin/Debug/net6.0/System.IdentityModel.Tokens.Jwt.dll b/ApiPolo/bin/Debug/net6.0/System.IdentityModel.Tokens.Jwt.dll new file mode 100644 index 0000000..efd3c61 Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/System.IdentityModel.Tokens.Jwt.dll differ diff --git a/ApiPolo/bin/Debug/net6.0/System.Runtime.Caching.dll b/ApiPolo/bin/Debug/net6.0/System.Runtime.Caching.dll new file mode 100644 index 0000000..6fedfab Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/System.Runtime.Caching.dll differ diff --git a/ApiPolo/bin/Debug/net6.0/System.Security.Cryptography.ProtectedData.dll b/ApiPolo/bin/Debug/net6.0/System.Security.Cryptography.ProtectedData.dll new file mode 100644 index 0000000..a60b95b Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/System.Security.Cryptography.ProtectedData.dll differ diff --git a/ApiPolo/bin/Debug/net6.0/System.Security.Permissions.dll b/ApiPolo/bin/Debug/net6.0/System.Security.Permissions.dll new file mode 100644 index 0000000..76faf41 Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/System.Security.Permissions.dll differ diff --git a/ApiPolo/bin/Debug/net6.0/System.Web.Helpers.dll b/ApiPolo/bin/Debug/net6.0/System.Web.Helpers.dll new file mode 100644 index 0000000..5979bab Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/System.Web.Helpers.dll differ diff --git a/ApiPolo/bin/Debug/net6.0/System.Web.Mvc.dll b/ApiPolo/bin/Debug/net6.0/System.Web.Mvc.dll new file mode 100644 index 0000000..781deee Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/System.Web.Mvc.dll differ diff --git a/ApiPolo/bin/Debug/net6.0/System.Web.Razor.dll b/ApiPolo/bin/Debug/net6.0/System.Web.Razor.dll new file mode 100644 index 0000000..a992c65 Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/System.Web.Razor.dll differ diff --git a/ApiPolo/bin/Debug/net6.0/System.Web.WebPages.Deployment.dll b/ApiPolo/bin/Debug/net6.0/System.Web.WebPages.Deployment.dll new file mode 100644 index 0000000..295581a Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/System.Web.WebPages.Deployment.dll differ diff --git a/ApiPolo/bin/Debug/net6.0/System.Web.WebPages.Razor.dll b/ApiPolo/bin/Debug/net6.0/System.Web.WebPages.Razor.dll new file mode 100644 index 0000000..6d830f3 Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/System.Web.WebPages.Razor.dll differ diff --git a/ApiPolo/bin/Debug/net6.0/System.Web.WebPages.dll b/ApiPolo/bin/Debug/net6.0/System.Web.WebPages.dll new file mode 100644 index 0000000..4a910af Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/System.Web.WebPages.dll differ diff --git a/ApiPolo/bin/Debug/net6.0/System.Windows.Extensions.dll b/ApiPolo/bin/Debug/net6.0/System.Windows.Extensions.dll new file mode 100644 index 0000000..7f075b2 Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/System.Windows.Extensions.dll differ diff --git a/ApiPolo/bin/Debug/net6.0/appsettings.Development.json b/ApiPolo/bin/Debug/net6.0/appsettings.Development.json new file mode 100644 index 0000000..0c208ae --- /dev/null +++ b/ApiPolo/bin/Debug/net6.0/appsettings.Development.json @@ -0,0 +1,8 @@ +{ + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Warning" + } + } +} diff --git a/ApiPolo/bin/Debug/net6.0/appsettings.json b/ApiPolo/bin/Debug/net6.0/appsettings.json new file mode 100644 index 0000000..521bd26 --- /dev/null +++ b/ApiPolo/bin/Debug/net6.0/appsettings.json @@ -0,0 +1,47 @@ +{ + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Warning" + } + }, + "AllowedHosts": "*", + "ConnectionStrings": { + + //connessione non sicura: Encrypt=False + + /*"ApiStr": "Data Source=10.0.0.10;Initial Catalog=API_POLO;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False",*/ + "ApiStr": "Data Source=10.0.0.10;Initial Catalog=API_POLO2;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + + /*"FERRA": "Data Source=10.0.0.10;Initial Catalog=AHR60_FERRARI;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False",*/ + "FERRA": "Data Source=37.159.179.14;Initial Catalog=AHR80_TEST;User Id=AppPolo; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False;Encrypt=False;Trust Server Certificate=True", + + /*"MARRO": "Data Source=poloinformatico57.clienti.init-s.it;Initial Catalog=R80_MARROCCO_TEST;User Id=app; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False",*/ + "MARRO": "Data Source=10.0.0.10;Initial Catalog=R80_MARROCCO;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + /*"MARRO": "Data Source=poloinformatico57.clienti.init-s.it;Initial Catalog=R80_MARROCCO;User Id=app; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False",*/ + + "GITSR": "Data Source=poloinformatico57.clienti.init-s.it;Initial Catalog=R80_GITSR;User Id=app; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + "GITSR_MARRO": "Data Source=poloinformatico57.clienti.init-s.it;Initial Catalog=R80_MARROCCO;User Id=app; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + + "LIFTA": "Data Source=poloinformatico57.clienti.init-s.it;Initial Catalog=R80_LIFTA;User Id=app; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + "LIFTA_MARRO": "Data Source=poloinformatico57.clienti.init-s.it;Initial Catalog=R80_MARROCCO;User Id=app; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + + "SICILIA": "Data Source=10.0.0.10;Initial Catalog=AHR_SICILIA;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + + /*"DISCO": "Data Source=10.0.0.10;Initial Catalog=AHR60_FERRARI_VISTE_DISCO;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False",*/ + /*"DISCO": "Data Source=37.159.179.14;Initial Catalog=R80_DISCO;User Id=sa; Password=Poloinf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False",*/ + "DISCO": "Data Source=discoverylift.dyndns.org;Initial Catalog=TEST_APP_NEW;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + + "SAROM": "Data Source=37.159.179.14;Initial Catalog=AHR60_SAROM_TEST80;User Id=sa; Password=Poloinf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + /*"SAROM": "Data Source=10.0.0.10;Initial Catalog=AHR80_SAROM;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False",*/ + + /*"SINER": "Data Source=10.0.0.10;Initial Catalog=AHR_SINERGO;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False"*/ + "SINER": "Data Source=ufficio.sinergogroup.it,31433;Initial Catalog=AHR_TECLI;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False" + + }, + "JWT": { + "ValidAudience": "http://localhost:4200", + "ValidIssuer": "http://localhost:61955", + "Secret": "ByYM000OLlMQG6VVVp1OH7Xzyr7gHuw1qvUC5dcGt3SNM" + } +} diff --git a/ApiPolo/bin/Debug/net6.0/private_key.json b/ApiPolo/bin/Debug/net6.0/private_key.json new file mode 100644 index 0000000..81ef1c5 --- /dev/null +++ b/ApiPolo/bin/Debug/net6.0/private_key.json @@ -0,0 +1,12 @@ +{ + "type": "service_account", + "project_id": "testpolo-5e86a", + "private_key_id": "80c027bfe39f398545dd21f60b92dd257bc50bbf", + "private_key": "-----BEGIN PRIVATE KEY-----\nMIIEuwIBADANBgkqhkiG9w0BAQEFAASCBKUwggShAgEAAoIBAQCpmJDlg4ayXKDh\nb58MgM/IpYlY90ktO5Wg9HrUWoNQrAYKUVReVZxT1ZagvCNDZMRRPsVMYKc60ru/\nVjhjv3igraKO78TjSF9BiWl019KObmVZ1h5mPAsLC2+8hzWSWspRC/Gvnhc5d6/f\nzD1UbVi9gCYaSGoRZjwa79PFYvH0v+CIf3BBxmj7vxD+PEY4p7Eh4J/QOMNGbsJr\nMzODfOGly8Vl7FEHiMLnNZHdNyN5GLgjlCJmH5wKBiPp5H22D0l23GCdDsvlHM1d\n6oF/lLcQF9raXrN7rNRkGgz9KLLz0vMAg/OGi2CK1WRa4CkXElo0fZn74mLoeNu8\neqdQowx/AgMBAAECgf8OSl8P006GS0fVbgAde090mMdnt7e7823xazqlPGj40POx\nWJbDXCo9wZ0UN1h4MLxaHDkWEepOnODr9Vfvog4aV2KkX4/J4Cq47Uj1j4MufUN6\nvCJl6KlOsqgAzRq2g4I/my/CU2tYbE+usIcMurxRzcOxTrHqfEUmkjNqkxBijxMI\nxuybqv3z4/+G3nZIlh9hol1fdx0196QTFNQSGWZOr7EvIuFhxR3vPFvwY1jIvcHP\nmhJtmq/wcTgpTiDGJ5XZk840O7C7K2R3lUWbE3HJjZuLeaq6zOkXfC6sP9rIsC9c\n1o21misyvocSZoupXe8Q9Xf9t/nKCt7n4BmPRkkCgYEA3c1S+EzCp8ll40bBPWFW\n7Z5R3ejOzuluKLI/ztU2tx5uFOSsV6mv7mM6ATWK4CGGkOPmfOitn8AOz0PvuXf/\nzmmhfXwiIR50wbe43VYdFpAb7xMf674YC5ULZ55Jm3IIwsZwAr9EkGtbl1qUuPjp\nIhArtEZcvRqoKRbrWVaJ27MCgYEAw76h8NfydgRFauG++ynQLrQ36oIDigIucIli\nvm0DjR7tzSsgsRkYa4TiCleZnNkRqgUqzCCm3hqndixyLhwwg3l/ZpIOIeAN/wII\nqLO/7mn47gGZgzBn44TaOmI5d78pf04l43/rA6gjMzW0AS51OchZHI4AG4nI3aUu\nmjD+NgUCgYAaHEivKEImBGR1K+gltKbKFEAo8nYeD4bDTbCLRbhKOE/XL9BGBZjL\nZGz4pXfyyJ+RwPJqM+30h2R269V1rPW1M+Qp5IoUAgTWpS0jCTclZ9OSAltYoiks\ne+A603xwyyzS2Q9ok2Gb6rd+itBFMjAnrWWntDzImjG/nI4aF0DlVwKBgB5d2ZOa\nfLPQT9CX+t/OCczlCnOn/dKQKhItThNKqC1hafTVRvoScZZkhAiktGD/z9y3dn86\nZYi5S9dqZ8A9gU00MQ6BhA2/S4yPDTbWw+TBreuGdgFDJirGtnAuQsoP7ukf/4K+\nmn/zupo8L5OrWGZBbYmfgebDxlSURpmHFjjdAoGBAIunnz+KWA/0stDB4FLZt8QS\n7Z9/CytT0F1hVnVieKpWtbhvvoLs+svcvTCvqeQmEUxhiX5r8N4xTjd0MwcyKjRi\ny724SWzJmdplqj5YRHrLGbmAsgqZZg3tAGJROhxH/utxBgfDBkki0if+DKysQAC/\nYJzjNY7HdXC2It0gH5iZ\n-----END PRIVATE KEY-----\n", + "client_email": "firebase-adminsdk-ypxny@testpolo-5e86a.iam.gserviceaccount.com", + "client_id": "118193031755958431078", + "auth_uri": "https://accounts.google.com/o/oauth2/auth", + "token_uri": "https://oauth2.googleapis.com/token", + "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs", + "client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/firebase-adminsdk-ypxny%40testpolo-5e86a.iam.gserviceaccount.com" +} \ No newline at end of file diff --git a/ApiPolo/bin/Debug/net6.0/runtimes/linux/lib/net6.0/System.DirectoryServices.Protocols.dll b/ApiPolo/bin/Debug/net6.0/runtimes/linux/lib/net6.0/System.DirectoryServices.Protocols.dll new file mode 100644 index 0000000..a274287 Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/runtimes/linux/lib/net6.0/System.DirectoryServices.Protocols.dll differ diff --git a/ApiPolo/bin/Debug/net6.0/runtimes/osx/lib/net6.0/System.DirectoryServices.Protocols.dll b/ApiPolo/bin/Debug/net6.0/runtimes/osx/lib/net6.0/System.DirectoryServices.Protocols.dll new file mode 100644 index 0000000..c14a840 Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/runtimes/osx/lib/net6.0/System.DirectoryServices.Protocols.dll differ diff --git a/ApiPolo/bin/Debug/net6.0/runtimes/unix/lib/netcoreapp3.0/System.Drawing.Common.dll b/ApiPolo/bin/Debug/net6.0/runtimes/unix/lib/netcoreapp3.0/System.Drawing.Common.dll new file mode 100644 index 0000000..3a19d3d Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/runtimes/unix/lib/netcoreapp3.0/System.Drawing.Common.dll differ diff --git a/ApiPolo/bin/Debug/net6.0/runtimes/unix/lib/netcoreapp3.1/Microsoft.Data.SqlClient.dll b/ApiPolo/bin/Debug/net6.0/runtimes/unix/lib/netcoreapp3.1/Microsoft.Data.SqlClient.dll new file mode 100644 index 0000000..231e75a Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/runtimes/unix/lib/netcoreapp3.1/Microsoft.Data.SqlClient.dll differ diff --git a/ApiPolo/bin/Debug/net6.0/runtimes/win-arm/native/Microsoft.Data.SqlClient.SNI.dll b/ApiPolo/bin/Debug/net6.0/runtimes/win-arm/native/Microsoft.Data.SqlClient.SNI.dll new file mode 100644 index 0000000..3068646 Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/runtimes/win-arm/native/Microsoft.Data.SqlClient.SNI.dll differ diff --git a/ApiPolo/bin/Debug/net6.0/runtimes/win-arm64/native/Microsoft.Data.SqlClient.SNI.dll b/ApiPolo/bin/Debug/net6.0/runtimes/win-arm64/native/Microsoft.Data.SqlClient.SNI.dll new file mode 100644 index 0000000..965f535 Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/runtimes/win-arm64/native/Microsoft.Data.SqlClient.SNI.dll differ diff --git a/ApiPolo/bin/Debug/net6.0/runtimes/win-x64/native/Microsoft.Data.SqlClient.SNI.dll b/ApiPolo/bin/Debug/net6.0/runtimes/win-x64/native/Microsoft.Data.SqlClient.SNI.dll new file mode 100644 index 0000000..227b87b Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/runtimes/win-x64/native/Microsoft.Data.SqlClient.SNI.dll differ diff --git a/ApiPolo/bin/Debug/net6.0/runtimes/win-x86/native/Microsoft.Data.SqlClient.SNI.dll b/ApiPolo/bin/Debug/net6.0/runtimes/win-x86/native/Microsoft.Data.SqlClient.SNI.dll new file mode 100644 index 0000000..0add8c2 Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/runtimes/win-x86/native/Microsoft.Data.SqlClient.SNI.dll differ diff --git a/ApiPolo/bin/Debug/net6.0/runtimes/win/lib/net6.0/System.DirectoryServices.Protocols.dll b/ApiPolo/bin/Debug/net6.0/runtimes/win/lib/net6.0/System.DirectoryServices.Protocols.dll new file mode 100644 index 0000000..3ebf5d8 Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/runtimes/win/lib/net6.0/System.DirectoryServices.Protocols.dll differ diff --git a/ApiPolo/bin/Debug/net6.0/runtimes/win/lib/netcoreapp3.0/Microsoft.Win32.SystemEvents.dll b/ApiPolo/bin/Debug/net6.0/runtimes/win/lib/netcoreapp3.0/Microsoft.Win32.SystemEvents.dll new file mode 100644 index 0000000..c49c358 Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/runtimes/win/lib/netcoreapp3.0/Microsoft.Win32.SystemEvents.dll differ diff --git a/ApiPolo/bin/Debug/net6.0/runtimes/win/lib/netcoreapp3.0/System.Drawing.Common.dll b/ApiPolo/bin/Debug/net6.0/runtimes/win/lib/netcoreapp3.0/System.Drawing.Common.dll new file mode 100644 index 0000000..9a04b68 Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/runtimes/win/lib/netcoreapp3.0/System.Drawing.Common.dll differ diff --git a/ApiPolo/bin/Debug/net6.0/runtimes/win/lib/netcoreapp3.0/System.Windows.Extensions.dll b/ApiPolo/bin/Debug/net6.0/runtimes/win/lib/netcoreapp3.0/System.Windows.Extensions.dll new file mode 100644 index 0000000..3fb4939 Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/runtimes/win/lib/netcoreapp3.0/System.Windows.Extensions.dll differ diff --git a/ApiPolo/bin/Debug/net6.0/runtimes/win/lib/netcoreapp3.1/Microsoft.Data.SqlClient.dll b/ApiPolo/bin/Debug/net6.0/runtimes/win/lib/netcoreapp3.1/Microsoft.Data.SqlClient.dll new file mode 100644 index 0000000..0269777 Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/runtimes/win/lib/netcoreapp3.1/Microsoft.Data.SqlClient.dll differ diff --git a/ApiPolo/bin/Debug/net6.0/runtimes/win/lib/netstandard2.0/System.Runtime.Caching.dll b/ApiPolo/bin/Debug/net6.0/runtimes/win/lib/netstandard2.0/System.Runtime.Caching.dll new file mode 100644 index 0000000..175d085 Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/runtimes/win/lib/netstandard2.0/System.Runtime.Caching.dll differ diff --git a/ApiPolo/bin/Debug/net6.0/runtimes/win/lib/netstandard2.0/System.Security.Cryptography.ProtectedData.dll b/ApiPolo/bin/Debug/net6.0/runtimes/win/lib/netstandard2.0/System.Security.Cryptography.ProtectedData.dll new file mode 100644 index 0000000..d8f2f45 Binary files /dev/null and b/ApiPolo/bin/Debug/net6.0/runtimes/win/lib/netstandard2.0/System.Security.Cryptography.ProtectedData.dll differ diff --git a/ApiPolo/bin/Release/net6.0/ApiPolo.deps.json b/ApiPolo/bin/Release/net6.0/ApiPolo.deps.json new file mode 100644 index 0000000..fa5c900 --- /dev/null +++ b/ApiPolo/bin/Release/net6.0/ApiPolo.deps.json @@ -0,0 +1,1220 @@ +{ + "runtimeTarget": { + "name": ".NETCoreApp,Version=v6.0", + "signature": "" + }, + "compilationOptions": {}, + "targets": { + ".NETCoreApp,Version=v6.0": { + "ApiPolo/1.0.0": { + "dependencies": { + "Cronos": "0.7.1", + "FirebaseAdmin": "2.3.0", + "Microsoft.AspNet.Mvc": "5.2.9", + "Microsoft.AspNetCore.Authentication.Negotiate": "6.0.5", + "Microsoft.EntityFrameworkCore": "6.0.5", + "Microsoft.EntityFrameworkCore.SqlServer": "6.0.5", + "Microsoft.EntityFrameworkCore.Tools": "6.0.5", + "Newtonsoft.Json": "13.0.3", + "SSH.NET": "2020.0.2", + "Swashbuckle.AspNetCore": "6.3.1" + }, + "runtime": { + "ApiPolo.dll": {} + } + }, + "Cronos/0.7.1": { + "runtime": { + "lib/netstandard2.0/Cronos.dll": { + "assemblyVersion": "0.7.1.0", + "fileVersion": "1.0.0.0" + } + } + }, + "FirebaseAdmin/2.3.0": { + "dependencies": { + "Google.Api.Gax.Rest": "3.2.0", + "Google.Apis.Auth": "1.49.0", + "System.Collections.Immutable": "6.0.0" + }, + "runtime": { + "lib/netstandard2.0/FirebaseAdmin.dll": { + "assemblyVersion": "2.3.0.0", + "fileVersion": "2.3.0.0" + } + } + }, + "Google.Api.Gax/3.2.0": { + "dependencies": { + "Microsoft.Bcl.AsyncInterfaces": "1.0.0", + "Newtonsoft.Json": "13.0.3" + }, + "runtime": { + "lib/netstandard2.0/Google.Api.Gax.dll": { + "assemblyVersion": "3.2.0.0", + "fileVersion": "3.2.0.0" + } + } + }, + "Google.Api.Gax.Rest/3.2.0": { + "dependencies": { + "Google.Api.Gax": "3.2.0", + "Google.Apis.Auth": "1.49.0" + }, + "runtime": { + "lib/netstandard2.0/Google.Api.Gax.Rest.dll": { + "assemblyVersion": "3.2.0.0", + "fileVersion": "3.2.0.0" + } + } + }, + "Google.Apis/1.49.0": { + "dependencies": { + "Google.Apis.Core": "1.49.0" + }, + "runtime": { + "lib/netstandard2.0/Google.Apis.dll": { + "assemblyVersion": "1.49.0.0", + "fileVersion": "1.49.0.0" + } + } + }, + "Google.Apis.Auth/1.49.0": { + "dependencies": { + "Google.Apis": "1.49.0", + "Google.Apis.Core": "1.49.0" + }, + "runtime": { + "lib/netstandard2.0/Google.Apis.Auth.PlatformServices.dll": { + "assemblyVersion": "1.49.0.0", + "fileVersion": "1.49.0.0" + }, + "lib/netstandard2.0/Google.Apis.Auth.dll": { + "assemblyVersion": "1.49.0.0", + "fileVersion": "1.49.0.0" + } + } + }, + "Google.Apis.Core/1.49.0": { + "dependencies": { + "Newtonsoft.Json": "13.0.3" + }, + "runtime": { + "lib/netstandard2.0/Google.Apis.Core.dll": { + "assemblyVersion": "1.49.0.0", + "fileVersion": "1.49.0.0" + } + } + }, + "Humanizer.Core/2.8.26": { + "runtime": { + "lib/netstandard2.0/Humanizer.dll": { + "assemblyVersion": "2.8.0.0", + "fileVersion": "2.8.26.1919" + } + } + }, + "Microsoft.AspNet.Mvc/5.2.9": { + "dependencies": { + "Microsoft.AspNet.Razor": "3.2.9", + "Microsoft.AspNet.WebPages": "3.2.9" + }, + "runtime": { + "lib/net45/System.Web.Mvc.dll": { + "assemblyVersion": "5.2.9.0", + "fileVersion": "5.2.61129.10" + } + } + }, + "Microsoft.AspNet.Razor/3.2.9": { + "runtime": { + "lib/net45/System.Web.Razor.dll": { + "assemblyVersion": "3.0.0.0", + "fileVersion": "3.0.61129.10" + } + } + }, + "Microsoft.AspNet.WebPages/3.2.9": { + "dependencies": { + "Microsoft.AspNet.Razor": "3.2.9", + "Microsoft.Web.Infrastructure": "1.0.0" + }, + "runtime": { + "lib/net45/System.Web.Helpers.dll": { + "assemblyVersion": "3.0.0.0", + "fileVersion": "3.0.61129.10" + }, + "lib/net45/System.Web.WebPages.Deployment.dll": { + "assemblyVersion": "3.0.0.0", + "fileVersion": "3.0.61129.10" + }, + "lib/net45/System.Web.WebPages.Razor.dll": { + "assemblyVersion": "3.0.0.0", + "fileVersion": "3.0.61129.10" + }, + "lib/net45/System.Web.WebPages.dll": { + "assemblyVersion": "3.0.0.0", + "fileVersion": "3.0.61129.10" + } + } + }, + "Microsoft.AspNetCore.Authentication.Negotiate/6.0.5": { + "dependencies": { + "Microsoft.AspNetCore.Connections.Abstractions": "6.0.5", + "System.DirectoryServices.Protocols": "6.0.1" + }, + "runtime": { + "lib/net6.0/Microsoft.AspNetCore.Authentication.Negotiate.dll": { + "assemblyVersion": "6.0.5.0", + "fileVersion": "6.0.522.21802" + } + } + }, + "Microsoft.AspNetCore.Connections.Abstractions/6.0.5": { + "dependencies": { + "Microsoft.Extensions.Features": "6.0.5", + "System.IO.Pipelines": "6.0.3" + }, + "runtime": { + "lib/net6.0/Microsoft.AspNetCore.Connections.Abstractions.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.522.21802" + } + } + }, + "Microsoft.Bcl.AsyncInterfaces/1.0.0": { + "runtime": { + "lib/netstandard2.1/Microsoft.Bcl.AsyncInterfaces.dll": { + "assemblyVersion": "1.0.0.0", + "fileVersion": "4.700.19.46214" + } + } + }, + "Microsoft.CSharp/4.5.0": {}, + "Microsoft.Data.SqlClient/2.1.4": { + "dependencies": { + "Microsoft.Data.SqlClient.SNI.runtime": "2.1.1", + "Microsoft.Identity.Client": "4.21.1", + "Microsoft.IdentityModel.JsonWebTokens": "6.8.0", + "Microsoft.IdentityModel.Protocols.OpenIdConnect": "6.8.0", + "Microsoft.Win32.Registry": "4.7.0", + "System.Configuration.ConfigurationManager": "4.7.0", + "System.Diagnostics.DiagnosticSource": "6.0.0", + "System.Runtime.Caching": "4.7.0", + "System.Security.Principal.Windows": "4.7.0", + "System.Text.Encoding.CodePages": "4.7.0" + }, + "runtime": { + "lib/netcoreapp3.1/Microsoft.Data.SqlClient.dll": { + "assemblyVersion": "2.0.20168.4", + "fileVersion": "2.0.20168.4" + } + }, + "runtimeTargets": { + "runtimes/unix/lib/netcoreapp3.1/Microsoft.Data.SqlClient.dll": { + "rid": "unix", + "assetType": "runtime", + "assemblyVersion": "2.0.20168.4", + "fileVersion": "2.0.20168.4" + }, + "runtimes/win/lib/netcoreapp3.1/Microsoft.Data.SqlClient.dll": { + "rid": "win", + "assetType": "runtime", + "assemblyVersion": "2.0.20168.4", + "fileVersion": "2.0.20168.4" + } + } + }, + "Microsoft.Data.SqlClient.SNI.runtime/2.1.1": { + "runtimeTargets": { + "runtimes/win-arm/native/Microsoft.Data.SqlClient.SNI.dll": { + "rid": "win-arm", + "assetType": "native", + "fileVersion": "2.1.1.0" + }, + "runtimes/win-arm64/native/Microsoft.Data.SqlClient.SNI.dll": { + "rid": "win-arm64", + "assetType": "native", + "fileVersion": "2.1.1.0" + }, + "runtimes/win-x64/native/Microsoft.Data.SqlClient.SNI.dll": { + "rid": "win-x64", + "assetType": "native", + "fileVersion": "2.1.1.0" + }, + "runtimes/win-x86/native/Microsoft.Data.SqlClient.SNI.dll": { + "rid": "win-x86", + "assetType": "native", + "fileVersion": "2.1.1.0" + } + } + }, + "Microsoft.EntityFrameworkCore/6.0.5": { + "dependencies": { + "Microsoft.EntityFrameworkCore.Abstractions": "6.0.5", + "Microsoft.EntityFrameworkCore.Analyzers": "6.0.5", + "Microsoft.Extensions.Caching.Memory": "6.0.1", + "Microsoft.Extensions.DependencyInjection": "6.0.0", + "Microsoft.Extensions.Logging": "6.0.0", + "System.Collections.Immutable": "6.0.0", + "System.Diagnostics.DiagnosticSource": "6.0.0" + }, + "runtime": { + "lib/net6.0/Microsoft.EntityFrameworkCore.dll": { + "assemblyVersion": "6.0.5.0", + "fileVersion": "6.0.522.21804" + } + } + }, + "Microsoft.EntityFrameworkCore.Abstractions/6.0.5": { + "runtime": { + "lib/net6.0/Microsoft.EntityFrameworkCore.Abstractions.dll": { + "assemblyVersion": "6.0.5.0", + "fileVersion": "6.0.522.21804" + } + } + }, + "Microsoft.EntityFrameworkCore.Analyzers/6.0.5": {}, + "Microsoft.EntityFrameworkCore.Design/6.0.5": { + "dependencies": { + "Humanizer.Core": "2.8.26", + "Microsoft.EntityFrameworkCore.Relational": "6.0.5" + }, + "runtime": { + "lib/net6.0/Microsoft.EntityFrameworkCore.Design.dll": { + "assemblyVersion": "6.0.5.0", + "fileVersion": "6.0.522.21804" + } + } + }, + "Microsoft.EntityFrameworkCore.Relational/6.0.5": { + "dependencies": { + "Microsoft.EntityFrameworkCore": "6.0.5", + "Microsoft.Extensions.Configuration.Abstractions": "6.0.0" + }, + "runtime": { + "lib/net6.0/Microsoft.EntityFrameworkCore.Relational.dll": { + "assemblyVersion": "6.0.5.0", + "fileVersion": "6.0.522.21804" + } + } + }, + "Microsoft.EntityFrameworkCore.SqlServer/6.0.5": { + "dependencies": { + "Microsoft.Data.SqlClient": "2.1.4", + "Microsoft.EntityFrameworkCore.Relational": "6.0.5" + }, + "runtime": { + "lib/net6.0/Microsoft.EntityFrameworkCore.SqlServer.dll": { + "assemblyVersion": "6.0.5.0", + "fileVersion": "6.0.522.21804" + } + } + }, + "Microsoft.EntityFrameworkCore.Tools/6.0.5": { + "dependencies": { + "Microsoft.EntityFrameworkCore.Design": "6.0.5" + } + }, + "Microsoft.Extensions.ApiDescription.Server/3.0.0": {}, + "Microsoft.Extensions.Caching.Abstractions/6.0.0": { + "dependencies": { + "Microsoft.Extensions.Primitives": "6.0.0" + } + }, + "Microsoft.Extensions.Caching.Memory/6.0.1": { + "dependencies": { + "Microsoft.Extensions.Caching.Abstractions": "6.0.0", + "Microsoft.Extensions.DependencyInjection.Abstractions": "6.0.0", + "Microsoft.Extensions.Logging.Abstractions": "6.0.0", + "Microsoft.Extensions.Options": "6.0.0", + "Microsoft.Extensions.Primitives": "6.0.0" + }, + "runtime": { + "lib/netstandard2.0/Microsoft.Extensions.Caching.Memory.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.222.6406" + } + } + }, + "Microsoft.Extensions.Configuration.Abstractions/6.0.0": { + "dependencies": { + "Microsoft.Extensions.Primitives": "6.0.0" + } + }, + "Microsoft.Extensions.DependencyInjection/6.0.0": { + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "6.0.0", + "System.Runtime.CompilerServices.Unsafe": "6.0.0" + } + }, + "Microsoft.Extensions.DependencyInjection.Abstractions/6.0.0": {}, + "Microsoft.Extensions.Features/6.0.5": { + "runtime": { + "lib/net6.0/Microsoft.Extensions.Features.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.522.21802" + } + } + }, + "Microsoft.Extensions.Logging/6.0.0": { + "dependencies": { + "Microsoft.Extensions.DependencyInjection": "6.0.0", + "Microsoft.Extensions.DependencyInjection.Abstractions": "6.0.0", + "Microsoft.Extensions.Logging.Abstractions": "6.0.0", + "Microsoft.Extensions.Options": "6.0.0", + "System.Diagnostics.DiagnosticSource": "6.0.0" + } + }, + "Microsoft.Extensions.Logging.Abstractions/6.0.0": {}, + "Microsoft.Extensions.Options/6.0.0": { + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "6.0.0", + "Microsoft.Extensions.Primitives": "6.0.0" + } + }, + "Microsoft.Extensions.Primitives/6.0.0": { + "dependencies": { + "System.Runtime.CompilerServices.Unsafe": "6.0.0" + } + }, + "Microsoft.Identity.Client/4.21.1": { + "runtime": { + "lib/netcoreapp2.1/Microsoft.Identity.Client.dll": { + "assemblyVersion": "4.21.1.0", + "fileVersion": "4.21.1.0" + } + } + }, + "Microsoft.IdentityModel.JsonWebTokens/6.8.0": { + "dependencies": { + "Microsoft.IdentityModel.Tokens": "6.8.0" + }, + "runtime": { + "lib/netstandard2.0/Microsoft.IdentityModel.JsonWebTokens.dll": { + "assemblyVersion": "6.8.0.0", + "fileVersion": "6.8.0.11012" + } + } + }, + "Microsoft.IdentityModel.Logging/6.8.0": { + "runtime": { + "lib/netstandard2.0/Microsoft.IdentityModel.Logging.dll": { + "assemblyVersion": "6.8.0.0", + "fileVersion": "6.8.0.11012" + } + } + }, + "Microsoft.IdentityModel.Protocols/6.8.0": { + "dependencies": { + "Microsoft.IdentityModel.Logging": "6.8.0", + "Microsoft.IdentityModel.Tokens": "6.8.0" + }, + "runtime": { + "lib/netstandard2.0/Microsoft.IdentityModel.Protocols.dll": { + "assemblyVersion": "6.8.0.0", + "fileVersion": "6.8.0.11012" + } + } + }, + "Microsoft.IdentityModel.Protocols.OpenIdConnect/6.8.0": { + "dependencies": { + "Microsoft.IdentityModel.Protocols": "6.8.0", + "System.IdentityModel.Tokens.Jwt": "6.8.0" + }, + "runtime": { + "lib/netstandard2.0/Microsoft.IdentityModel.Protocols.OpenIdConnect.dll": { + "assemblyVersion": "6.8.0.0", + "fileVersion": "6.8.0.11012" + } + } + }, + "Microsoft.IdentityModel.Tokens/6.8.0": { + "dependencies": { + "Microsoft.CSharp": "4.5.0", + "Microsoft.IdentityModel.Logging": "6.8.0", + "System.Security.Cryptography.Cng": "4.5.0" + }, + "runtime": { + "lib/netstandard2.0/Microsoft.IdentityModel.Tokens.dll": { + "assemblyVersion": "6.8.0.0", + "fileVersion": "6.8.0.11012" + } + } + }, + "Microsoft.NETCore.Platforms/3.1.0": {}, + "Microsoft.OpenApi/1.2.3": { + "runtime": { + "lib/netstandard2.0/Microsoft.OpenApi.dll": { + "assemblyVersion": "1.2.3.0", + "fileVersion": "1.2.3.0" + } + } + }, + "Microsoft.Web.Infrastructure/1.0.0": { + "runtime": { + "lib/net40/Microsoft.Web.Infrastructure.dll": { + "assemblyVersion": "1.0.0.0", + "fileVersion": "1.0.20105.407" + } + } + }, + "Microsoft.Win32.Registry/4.7.0": { + "dependencies": { + "System.Security.AccessControl": "4.7.0", + "System.Security.Principal.Windows": "4.7.0" + } + }, + "Microsoft.Win32.SystemEvents/4.7.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "3.1.0" + }, + "runtime": { + "lib/netstandard2.0/Microsoft.Win32.SystemEvents.dll": { + "assemblyVersion": "4.0.2.0", + "fileVersion": "4.700.19.56404" + } + }, + "runtimeTargets": { + "runtimes/win/lib/netcoreapp3.0/Microsoft.Win32.SystemEvents.dll": { + "rid": "win", + "assetType": "runtime", + "assemblyVersion": "4.0.2.0", + "fileVersion": "4.700.19.56404" + } + } + }, + "Newtonsoft.Json/13.0.3": { + "runtime": { + "lib/net6.0/Newtonsoft.Json.dll": { + "assemblyVersion": "13.0.0.0", + "fileVersion": "13.0.3.27908" + } + } + }, + "SSH.NET/2020.0.2": { + "dependencies": { + "SshNet.Security.Cryptography": "1.3.0" + }, + "runtime": { + "lib/netstandard2.0/Renci.SshNet.dll": { + "assemblyVersion": "2020.0.2.0", + "fileVersion": "2020.0.2.0" + } + } + }, + "SshNet.Security.Cryptography/1.3.0": { + "runtime": { + "lib/netstandard2.0/SshNet.Security.Cryptography.dll": { + "assemblyVersion": "1.3.0.0", + "fileVersion": "1.3.0.0" + } + } + }, + "Swashbuckle.AspNetCore/6.3.1": { + "dependencies": { + "Microsoft.Extensions.ApiDescription.Server": "3.0.0", + "Swashbuckle.AspNetCore.Swagger": "6.3.1", + "Swashbuckle.AspNetCore.SwaggerGen": "6.3.1", + "Swashbuckle.AspNetCore.SwaggerUI": "6.3.1" + } + }, + "Swashbuckle.AspNetCore.Swagger/6.3.1": { + "dependencies": { + "Microsoft.OpenApi": "1.2.3" + }, + "runtime": { + "lib/net6.0/Swashbuckle.AspNetCore.Swagger.dll": { + "assemblyVersion": "6.3.1.0", + "fileVersion": "6.3.1.0" + } + } + }, + "Swashbuckle.AspNetCore.SwaggerGen/6.3.1": { + "dependencies": { + "Swashbuckle.AspNetCore.Swagger": "6.3.1" + }, + "runtime": { + "lib/net6.0/Swashbuckle.AspNetCore.SwaggerGen.dll": { + "assemblyVersion": "6.3.1.0", + "fileVersion": "6.3.1.0" + } + } + }, + "Swashbuckle.AspNetCore.SwaggerUI/6.3.1": { + "runtime": { + "lib/net6.0/Swashbuckle.AspNetCore.SwaggerUI.dll": { + "assemblyVersion": "6.3.1.0", + "fileVersion": "6.3.1.0" + } + } + }, + "System.Collections.Immutable/6.0.0": { + "dependencies": { + "System.Runtime.CompilerServices.Unsafe": "6.0.0" + } + }, + "System.Configuration.ConfigurationManager/4.7.0": { + "dependencies": { + "System.Security.Cryptography.ProtectedData": "4.7.0", + "System.Security.Permissions": "4.7.0" + }, + "runtime": { + "lib/netstandard2.0/System.Configuration.ConfigurationManager.dll": { + "assemblyVersion": "4.0.3.0", + "fileVersion": "4.700.19.56404" + } + } + }, + "System.Diagnostics.DiagnosticSource/6.0.0": { + "dependencies": { + "System.Runtime.CompilerServices.Unsafe": "6.0.0" + } + }, + "System.DirectoryServices.Protocols/6.0.1": { + "runtime": { + "lib/net6.0/System.DirectoryServices.Protocols.dll": { + "assemblyVersion": "6.0.0.1", + "fileVersion": "6.0.222.6406" + } + }, + "runtimeTargets": { + "runtimes/linux/lib/net6.0/System.DirectoryServices.Protocols.dll": { + "rid": "linux", + "assetType": "runtime", + "assemblyVersion": "6.0.0.1", + "fileVersion": "6.0.222.6406" + }, + "runtimes/osx/lib/net6.0/System.DirectoryServices.Protocols.dll": { + "rid": "osx", + "assetType": "runtime", + "assemblyVersion": "6.0.0.1", + "fileVersion": "6.0.222.6406" + }, + "runtimes/win/lib/net6.0/System.DirectoryServices.Protocols.dll": { + "rid": "win", + "assetType": "runtime", + "assemblyVersion": "6.0.0.1", + "fileVersion": "6.0.222.6406" + } + } + }, + "System.Drawing.Common/4.7.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "3.1.0", + "Microsoft.Win32.SystemEvents": "4.7.0" + }, + "runtime": { + "lib/netstandard2.0/System.Drawing.Common.dll": { + "assemblyVersion": "4.0.0.1", + "fileVersion": "4.6.26919.2" + } + }, + "runtimeTargets": { + "runtimes/unix/lib/netcoreapp3.0/System.Drawing.Common.dll": { + "rid": "unix", + "assetType": "runtime", + "assemblyVersion": "4.0.2.0", + "fileVersion": "4.700.19.56404" + }, + "runtimes/win/lib/netcoreapp3.0/System.Drawing.Common.dll": { + "rid": "win", + "assetType": "runtime", + "assemblyVersion": "4.0.2.0", + "fileVersion": "4.700.19.56404" + } + } + }, + "System.IdentityModel.Tokens.Jwt/6.8.0": { + "dependencies": { + "Microsoft.IdentityModel.JsonWebTokens": "6.8.0", + "Microsoft.IdentityModel.Tokens": "6.8.0" + }, + "runtime": { + "lib/netstandard2.0/System.IdentityModel.Tokens.Jwt.dll": { + "assemblyVersion": "6.8.0.0", + "fileVersion": "6.8.0.11012" + } + } + }, + "System.IO.Pipelines/6.0.3": { + "runtime": { + "lib/net6.0/System.IO.Pipelines.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.522.21309" + } + } + }, + "System.Runtime.Caching/4.7.0": { + "dependencies": { + "System.Configuration.ConfigurationManager": "4.7.0" + }, + "runtime": { + "lib/netstandard2.0/System.Runtime.Caching.dll": { + "assemblyVersion": "4.0.1.0", + "fileVersion": "4.700.19.56404" + } + }, + "runtimeTargets": { + "runtimes/win/lib/netstandard2.0/System.Runtime.Caching.dll": { + "rid": "win", + "assetType": "runtime", + "assemblyVersion": "4.0.1.0", + "fileVersion": "4.700.19.56404" + } + } + }, + "System.Runtime.CompilerServices.Unsafe/6.0.0": {}, + "System.Security.AccessControl/4.7.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "3.1.0", + "System.Security.Principal.Windows": "4.7.0" + } + }, + "System.Security.Cryptography.Cng/4.5.0": {}, + "System.Security.Cryptography.ProtectedData/4.7.0": { + "runtime": { + "lib/netstandard2.0/System.Security.Cryptography.ProtectedData.dll": { + "assemblyVersion": "4.0.5.0", + "fileVersion": "4.700.19.56404" + } + }, + "runtimeTargets": { + "runtimes/win/lib/netstandard2.0/System.Security.Cryptography.ProtectedData.dll": { + "rid": "win", + "assetType": "runtime", + "assemblyVersion": "4.0.5.0", + "fileVersion": "4.700.19.56404" + } + } + }, + "System.Security.Permissions/4.7.0": { + "dependencies": { + "System.Security.AccessControl": "4.7.0", + "System.Windows.Extensions": "4.7.0" + }, + "runtime": { + "lib/netcoreapp3.0/System.Security.Permissions.dll": { + "assemblyVersion": "4.0.3.0", + "fileVersion": "4.700.19.56404" + } + } + }, + "System.Security.Principal.Windows/4.7.0": {}, + "System.Text.Encoding.CodePages/4.7.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "3.1.0" + } + }, + "System.Windows.Extensions/4.7.0": { + "dependencies": { + "System.Drawing.Common": "4.7.0" + }, + "runtime": { + "lib/netcoreapp3.0/System.Windows.Extensions.dll": { + "assemblyVersion": "4.0.1.0", + "fileVersion": "4.700.19.56404" + } + }, + "runtimeTargets": { + "runtimes/win/lib/netcoreapp3.0/System.Windows.Extensions.dll": { + "rid": "win", + "assetType": "runtime", + "assemblyVersion": "4.0.1.0", + "fileVersion": "4.700.19.56404" + } + } + } + } + }, + "libraries": { + "ApiPolo/1.0.0": { + "type": "project", + "serviceable": false, + "sha512": "" + }, + "Cronos/0.7.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-aa2DY3qGBnwX7/jW4c17PyRlIeAtc5nYTlAPekc0113jcbBuz9vQkQaQ9NG+TNGlAj4esFxh8OuKUv4vmAODbw==", + "path": "cronos/0.7.1", + "hashPath": "cronos.0.7.1.nupkg.sha512" + }, + "FirebaseAdmin/2.3.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-ror9V68bFWdr3VXoCPQrAAJ1ZA8dyLzIHJvy53BmoD83Ze9VuWC9hPBicPqqOANP3VTMWnylC7xci59UEMuU4A==", + "path": "firebaseadmin/2.3.0", + "hashPath": "firebaseadmin.2.3.0.nupkg.sha512" + }, + "Google.Api.Gax/3.2.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-0OjahFAHTOoprSgvJiQ6/fIQLrUYU4QIFgkuJ51/lcmhZbuXxB3ycPk3JTVEvx6A5yQBL14wgmHgwXLcEsnu3Q==", + "path": "google.api.gax/3.2.0", + "hashPath": "google.api.gax.3.2.0.nupkg.sha512" + }, + "Google.Api.Gax.Rest/3.2.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-YY4mD0nGxTx1uez7Perm+zAd3FH50dd3+7HTYsRFCywDEtj3RkrMjcAmw6mNpKkw2sRICu7aYNy1mgMjd3nVbw==", + "path": "google.api.gax.rest/3.2.0", + "hashPath": "google.api.gax.rest.3.2.0.nupkg.sha512" + }, + "Google.Apis/1.49.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-fmXQQTxZFOBlnvokvdQMzq0Lt+g2QzpZ4H6U8lMMFHgAR8ZqxQnPN5yHDpoHf7a++hJHb5W3pALxauGsq+afKQ==", + "path": "google.apis/1.49.0", + "hashPath": "google.apis.1.49.0.nupkg.sha512" + }, + "Google.Apis.Auth/1.49.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-3V9ohvixQtjaEvk7T9Ac7E/KvwEPa7eL4aMNreJDI0CEPzCdQdk2zCvaJPRrNIjhe+UuBeOeom1oAOMFB74JHg==", + "path": "google.apis.auth/1.49.0", + "hashPath": "google.apis.auth.1.49.0.nupkg.sha512" + }, + "Google.Apis.Core/1.49.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-9DgGdtyzgrCfHWwc/HiDXDbykNMeKQozbEHYEUEcezRuH+YR3fvq7YGVBDmUM8g6qEL3kDk6h5EU4h0IJwue1w==", + "path": "google.apis.core/1.49.0", + "hashPath": "google.apis.core.1.49.0.nupkg.sha512" + }, + "Humanizer.Core/2.8.26": { + "type": "package", + "serviceable": true, + "sha512": "sha512-OiKusGL20vby4uDEswj2IgkdchC1yQ6rwbIkZDVBPIR6al2b7n3pC91elBul9q33KaBgRKhbZH3+2Ur4fnWx2A==", + "path": "humanizer.core/2.8.26", + "hashPath": "humanizer.core.2.8.26.nupkg.sha512" + }, + "Microsoft.AspNet.Mvc/5.2.9": { + "type": "package", + "serviceable": true, + "sha512": "sha512-bcekKshCAh7kTWSMZPavQStSZQF/QmjEjO2gVWGITEd0/t5eRlb+ZLDE+az2qY1bZ8L6Hz0OCNeS0uzXtJcK5w==", + "path": "microsoft.aspnet.mvc/5.2.9", + "hashPath": "microsoft.aspnet.mvc.5.2.9.nupkg.sha512" + }, + "Microsoft.AspNet.Razor/3.2.9": { + "type": "package", + "serviceable": true, + "sha512": "sha512-QOJEnEw3xp+t5lMvYR5nGCF4CfZpHqr2p8uZOBEgDZoB6r2txtSj6581YNr+/dOHjI3YRlo1QAKGQoSohbQ/KA==", + "path": "microsoft.aspnet.razor/3.2.9", + "hashPath": "microsoft.aspnet.razor.3.2.9.nupkg.sha512" + }, + "Microsoft.AspNet.WebPages/3.2.9": { + "type": "package", + "serviceable": true, + "sha512": "sha512-yByb721lwv8YFsx1oKA5CLKXa89XVbVMkPafS4bg/bPelBEgChq/coFBQEkA4kwcabG7AR56w3vapnoZUfr2Cw==", + "path": "microsoft.aspnet.webpages/3.2.9", + "hashPath": "microsoft.aspnet.webpages.3.2.9.nupkg.sha512" + }, + "Microsoft.AspNetCore.Authentication.Negotiate/6.0.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-ZgKdA5VnmZSdpuyS9f4Myn2ybSYPyhOGWvZ63Z+ys0z9WcHGx6jyN4IjK8ORTdkhc7dOYxsMF/v/K+CGtvCbUA==", + "path": "microsoft.aspnetcore.authentication.negotiate/6.0.5", + "hashPath": "microsoft.aspnetcore.authentication.negotiate.6.0.5.nupkg.sha512" + }, + "Microsoft.AspNetCore.Connections.Abstractions/6.0.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-OBbGvih5/CLHTbJVDiJ203TmKXCx8z539O2YGnfHmExbNtMwyQ9rgpqoxyYEVvQrVsqxRhXfh57DOCQYhxcOBQ==", + "path": "microsoft.aspnetcore.connections.abstractions/6.0.5", + "hashPath": "microsoft.aspnetcore.connections.abstractions.6.0.5.nupkg.sha512" + }, + "Microsoft.Bcl.AsyncInterfaces/1.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-K63Y4hORbBcKLWH5wnKgzyn7TOfYzevIEwIedQHBIkmkEBA9SCqgvom+XTuE+fAFGvINGkhFItaZ2dvMGdT5iw==", + "path": "microsoft.bcl.asyncinterfaces/1.0.0", + "hashPath": "microsoft.bcl.asyncinterfaces.1.0.0.nupkg.sha512" + }, + "Microsoft.CSharp/4.5.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-kaj6Wb4qoMuH3HySFJhxwQfe8R/sJsNJnANrvv8WdFPMoNbKY5htfNscv+LHCu5ipz+49m2e+WQXpLXr9XYemQ==", + "path": "microsoft.csharp/4.5.0", + "hashPath": "microsoft.csharp.4.5.0.nupkg.sha512" + }, + "Microsoft.Data.SqlClient/2.1.4": { + "type": "package", + "serviceable": true, + "sha512": "sha512-cDcKBTKILdRuAzJjbgXwGcUQXzMue+SG02kD4tZTXXfoz4ALrGLpCnA5k9khw3fnAMlMnRzLIGuvRdJurqmESA==", + "path": "microsoft.data.sqlclient/2.1.4", + "hashPath": "microsoft.data.sqlclient.2.1.4.nupkg.sha512" + }, + "Microsoft.Data.SqlClient.SNI.runtime/2.1.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-JwGDWkyZgm7SATJmFLfT2G4teimvNbNtq3lsS9a5DzvhEZnQrZjZhevCU0vdx8MjheLHoG5vocuO03QtioFQxQ==", + "path": "microsoft.data.sqlclient.sni.runtime/2.1.1", + "hashPath": "microsoft.data.sqlclient.sni.runtime.2.1.1.nupkg.sha512" + }, + "Microsoft.EntityFrameworkCore/6.0.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-hP5J3EvpVdZmCn1D3ovedphvZrIn3OXZaBZfEnCkSCqqbqAu6xzwbNqwRkik0y4R6zOOf4eLh1riwjy4eAUlZA==", + "path": "microsoft.entityframeworkcore/6.0.5", + "hashPath": "microsoft.entityframeworkcore.6.0.5.nupkg.sha512" + }, + "Microsoft.EntityFrameworkCore.Abstractions/6.0.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-Q3/fKW6XCTfnDk4fYP2BJZi84cD2SuCPkP3A3QqxvCQcXbX90bfSLzVIsoMXzigHGJgZUJ+Un7QodT5Nvk0+Eg==", + "path": "microsoft.entityframeworkcore.abstractions/6.0.5", + "hashPath": "microsoft.entityframeworkcore.abstractions.6.0.5.nupkg.sha512" + }, + "Microsoft.EntityFrameworkCore.Analyzers/6.0.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-QUeDIhs+O+MoDEc3k60mNyVDbwyDURCqZQlZoKShuZUcSfXSrDMbHKuFSxBIDNQBt092qSjfnwf7w0Ua/IB3Zw==", + "path": "microsoft.entityframeworkcore.analyzers/6.0.5", + "hashPath": "microsoft.entityframeworkcore.analyzers.6.0.5.nupkg.sha512" + }, + "Microsoft.EntityFrameworkCore.Design/6.0.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-zNjMWJ6MJ/Qm7S6wFBqVgn7DEpilbDMy0xgA7c4Y1yY9/LoaC2pWwWO4ePaYoPCZpLx/eTViWEr5ZXta/vK//Q==", + "path": "microsoft.entityframeworkcore.design/6.0.5", + "hashPath": "microsoft.entityframeworkcore.design.6.0.5.nupkg.sha512" + }, + "Microsoft.EntityFrameworkCore.Relational/6.0.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-vhAQizlAgvPfurkh9XysNaFc/g3WPXtSka3Y1rXuQdnT//p16CDKt9lO9h+rYmooD+cA7TijSxwqck4GApDT/Q==", + "path": "microsoft.entityframeworkcore.relational/6.0.5", + "hashPath": "microsoft.entityframeworkcore.relational.6.0.5.nupkg.sha512" + }, + "Microsoft.EntityFrameworkCore.SqlServer/6.0.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-fBBG1AvrqPSvTEWyg9W18F/obiV7Soi/RItwBt48kjte1heRaogCsKj8KBnJQACM/8L+NAhyKp3BH12nN7+yDA==", + "path": "microsoft.entityframeworkcore.sqlserver/6.0.5", + "hashPath": "microsoft.entityframeworkcore.sqlserver.6.0.5.nupkg.sha512" + }, + "Microsoft.EntityFrameworkCore.Tools/6.0.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-aeCzVNLmDl9IfB19WAjrlKcG61Cl4/ZV/9ubifmifKEps+kvMkKIcams5j+8q6dtx9/UL2x3tbOz2BS3eU0sXQ==", + "path": "microsoft.entityframeworkcore.tools/6.0.5", + "hashPath": "microsoft.entityframeworkcore.tools.6.0.5.nupkg.sha512" + }, + "Microsoft.Extensions.ApiDescription.Server/3.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-LH4OE/76F6sOCslif7+Xh3fS/wUUrE5ryeXAMcoCnuwOQGT5Smw0p57IgDh/pHgHaGz/e+AmEQb7pRgb++wt0w==", + "path": "microsoft.extensions.apidescription.server/3.0.0", + "hashPath": "microsoft.extensions.apidescription.server.3.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.Caching.Abstractions/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-bcz5sSFJbganH0+YrfvIjJDIcKNW7TL07C4d1eTmXy/wOt52iz4LVogJb6pazs7W0+74j0YpXFErvp++Aq5Bsw==", + "path": "microsoft.extensions.caching.abstractions/6.0.0", + "hashPath": "microsoft.extensions.caching.abstractions.6.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.Caching.Memory/6.0.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-B4y+Cev05eMcjf1na0v9gza6GUtahXbtY1JCypIgx3B4Ea/KAgsWyXEmW4q6zMbmTMtKzmPVk09rvFJirvMwTg==", + "path": "microsoft.extensions.caching.memory/6.0.1", + "hashPath": "microsoft.extensions.caching.memory.6.0.1.nupkg.sha512" + }, + "Microsoft.Extensions.Configuration.Abstractions/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-qWzV9o+ZRWq+pGm+1dF+R7qTgTYoXvbyowRoBxQJGfqTpqDun2eteerjRQhq5PQ/14S+lqto3Ft4gYaRyl4rdQ==", + "path": "microsoft.extensions.configuration.abstractions/6.0.0", + "hashPath": "microsoft.extensions.configuration.abstractions.6.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.DependencyInjection/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-k6PWQMuoBDGGHOQTtyois2u4AwyVcIwL2LaSLlTZQm2CYcJ1pxbt6jfAnpWmzENA/wfrYRI/X9DTLoUkE4AsLw==", + "path": "microsoft.extensions.dependencyinjection/6.0.0", + "hashPath": "microsoft.extensions.dependencyinjection.6.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.DependencyInjection.Abstractions/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-xlzi2IYREJH3/m6+lUrQlujzX8wDitm4QGnUu6kUXTQAWPuZY8i+ticFJbzfqaetLA6KR/rO6Ew/HuYD+bxifg==", + "path": "microsoft.extensions.dependencyinjection.abstractions/6.0.0", + "hashPath": "microsoft.extensions.dependencyinjection.abstractions.6.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.Features/6.0.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-y7KLF1jRFQjSttfoilwHU86cU9ZgxN4ABfQR8tQ9qEC5AzTGYIX+K5RDwGFVK320eTiBwWuutV24ecmxBxo7Eg==", + "path": "microsoft.extensions.features/6.0.5", + "hashPath": "microsoft.extensions.features.6.0.5.nupkg.sha512" + }, + "Microsoft.Extensions.Logging/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-eIbyj40QDg1NDz0HBW0S5f3wrLVnKWnDJ/JtZ+yJDFnDj90VoPuoPmFkeaXrtu+0cKm5GRAwoDf+dBWXK0TUdg==", + "path": "microsoft.extensions.logging/6.0.0", + "hashPath": "microsoft.extensions.logging.6.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.Logging.Abstractions/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-/HggWBbTwy8TgebGSX5DBZ24ndhzi93sHUBDvP1IxbZD7FDokYzdAr6+vbWGjw2XAfR2EJ1sfKUotpjHnFWPxA==", + "path": "microsoft.extensions.logging.abstractions/6.0.0", + "hashPath": "microsoft.extensions.logging.abstractions.6.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.Options/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-dzXN0+V1AyjOe2xcJ86Qbo233KHuLEY0njf/P2Kw8SfJU+d45HNS2ctJdnEnrWbM9Ye2eFgaC5Mj9otRMU6IsQ==", + "path": "microsoft.extensions.options/6.0.0", + "hashPath": "microsoft.extensions.options.6.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.Primitives/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-9+PnzmQFfEFNR9J2aDTfJGGupShHjOuGw4VUv+JB044biSHrnmCIMD+mJHmb2H7YryrfBEXDurxQ47gJZdCKNQ==", + "path": "microsoft.extensions.primitives/6.0.0", + "hashPath": "microsoft.extensions.primitives.6.0.0.nupkg.sha512" + }, + "Microsoft.Identity.Client/4.21.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-vycgk7S/HAbHaUaK4Tid1fsWHsXdFRRP2KavAIOHCVV27zvuQfYAjXmMvctuuF4egydSumG58CwPZob3gWeYgQ==", + "path": "microsoft.identity.client/4.21.1", + "hashPath": "microsoft.identity.client.4.21.1.nupkg.sha512" + }, + "Microsoft.IdentityModel.JsonWebTokens/6.8.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-+7JIww64PkMt7NWFxoe4Y/joeF7TAtA/fQ0b2GFGcagzB59sKkTt/sMZWR6aSZht5YC7SdHi3W6yM1yylRGJCQ==", + "path": "microsoft.identitymodel.jsonwebtokens/6.8.0", + "hashPath": "microsoft.identitymodel.jsonwebtokens.6.8.0.nupkg.sha512" + }, + "Microsoft.IdentityModel.Logging/6.8.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-Rfh/p4MaN4gkmhPxwbu8IjrmoDncGfHHPh1sTnc0AcM/Oc39/fzC9doKNWvUAjzFb8LqA6lgZyblTrIsX/wDXg==", + "path": "microsoft.identitymodel.logging/6.8.0", + "hashPath": "microsoft.identitymodel.logging.6.8.0.nupkg.sha512" + }, + "Microsoft.IdentityModel.Protocols/6.8.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-OJZx5nPdiH+MEkwCkbJrTAUiO/YzLe0VSswNlDxJsJD9bhOIdXHufh650pfm59YH1DNevp3/bXzukKrG57gA1w==", + "path": "microsoft.identitymodel.protocols/6.8.0", + "hashPath": "microsoft.identitymodel.protocols.6.8.0.nupkg.sha512" + }, + "Microsoft.IdentityModel.Protocols.OpenIdConnect/6.8.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-X/PiV5l3nYYsodtrNMrNQIVlDmHpjQQ5w48E+o/D5H4es2+4niEyQf3l03chvZGWNzBRhfSstaXr25/Ye4AeYw==", + "path": "microsoft.identitymodel.protocols.openidconnect/6.8.0", + "hashPath": "microsoft.identitymodel.protocols.openidconnect.6.8.0.nupkg.sha512" + }, + "Microsoft.IdentityModel.Tokens/6.8.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-gTqzsGcmD13HgtNePPcuVHZ/NXWmyV+InJgalW/FhWpII1D7V1k0obIseGlWMeA4G+tZfeGMfXr0klnWbMR/mQ==", + "path": "microsoft.identitymodel.tokens/6.8.0", + "hashPath": "microsoft.identitymodel.tokens.6.8.0.nupkg.sha512" + }, + "Microsoft.NETCore.Platforms/3.1.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-z7aeg8oHln2CuNulfhiLYxCVMPEwBl3rzicjvIX+4sUuCwvXw5oXQEtbiU2c0z4qYL5L3Kmx0mMA/+t/SbY67w==", + "path": "microsoft.netcore.platforms/3.1.0", + "hashPath": "microsoft.netcore.platforms.3.1.0.nupkg.sha512" + }, + "Microsoft.OpenApi/1.2.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-Nug3rO+7Kl5/SBAadzSMAVgqDlfGjJZ0GenQrLywJ84XGKO0uRqkunz5Wyl0SDwcR71bAATXvSdbdzPrYRYKGw==", + "path": "microsoft.openapi/1.2.3", + "hashPath": "microsoft.openapi.1.2.3.nupkg.sha512" + }, + "Microsoft.Web.Infrastructure/1.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-FNmvLn5m2LTU/Rs2KWVo0SIIh9Ek+U0ojex7xeDaSHw/zgEP77A8vY5cVWgUtBGS8MJfDGNn8rpXJWEIQaPwTg==", + "path": "microsoft.web.infrastructure/1.0.0", + "hashPath": "microsoft.web.infrastructure.1.0.0.nupkg.sha512" + }, + "Microsoft.Win32.Registry/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-KSrRMb5vNi0CWSGG1++id2ZOs/1QhRqROt+qgbEAdQuGjGrFcl4AOl4/exGPUYz2wUnU42nvJqon1T3U0kPXLA==", + "path": "microsoft.win32.registry/4.7.0", + "hashPath": "microsoft.win32.registry.4.7.0.nupkg.sha512" + }, + "Microsoft.Win32.SystemEvents/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-mtVirZr++rq+XCDITMUdnETD59XoeMxSpLRIII7JRI6Yj0LEDiO1pPn0ktlnIj12Ix8bfvQqQDMMIF9wC98oCA==", + "path": "microsoft.win32.systemevents/4.7.0", + "hashPath": "microsoft.win32.systemevents.4.7.0.nupkg.sha512" + }, + "Newtonsoft.Json/13.0.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-HrC5BXdl00IP9zeV+0Z848QWPAoCr9P3bDEZguI+gkLcBKAOxix/tLEAAHC+UvDNPv4a2d18lOReHMOagPa+zQ==", + "path": "newtonsoft.json/13.0.3", + "hashPath": "newtonsoft.json.13.0.3.nupkg.sha512" + }, + "SSH.NET/2020.0.2": { + "type": "package", + "serviceable": true, + "sha512": "sha512-G0dNlTBAM00KZXv1wWVwgg26d9/METcM6qWBpNQwllzQmmbu+Zu+FS1L1X4fFgGdPu3e8k9mmTBu6SwtQ0614g==", + "path": "ssh.net/2020.0.2", + "hashPath": "ssh.net.2020.0.2.nupkg.sha512" + }, + "SshNet.Security.Cryptography/1.3.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-5pBIXRjcSO/amY8WztpmNOhaaCNHY/B6CcYDI7FSTgqSyo/ZUojlLiKcsl+YGbxQuLX439qIkMfP0PHqxqJi/Q==", + "path": "sshnet.security.cryptography/1.3.0", + "hashPath": "sshnet.security.cryptography.1.3.0.nupkg.sha512" + }, + "Swashbuckle.AspNetCore/6.3.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-JFk0+HHUPdjYuPhkpGBMLi2JtnEuWkE2pp0yXQp64DmeMe+Fb0hZyVNq/ENJ2vQNso7Zg+C758WmR/xyAl36bA==", + "path": "swashbuckle.aspnetcore/6.3.1", + "hashPath": "swashbuckle.aspnetcore.6.3.1.nupkg.sha512" + }, + "Swashbuckle.AspNetCore.Swagger/6.3.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-idAFh4xhyJHYHfdLVOOn+BmscBul1OQbWsnL6YPJE8tO/0y6S79hDCvs6OY5VI093/9+1pYY3j31Zet9yaDZjA==", + "path": "swashbuckle.aspnetcore.swagger/6.3.1", + "hashPath": "swashbuckle.aspnetcore.swagger.6.3.1.nupkg.sha512" + }, + "Swashbuckle.AspNetCore.SwaggerGen/6.3.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-+uoBV4h/6NhCPLoTofSmuOnZ+usu4PW1jP6l4OHwPyu2frbYXGNpJsHs5uUXXn929OiVQkT8wo3Lj/o+P99Ejg==", + "path": "swashbuckle.aspnetcore.swaggergen/6.3.1", + "hashPath": "swashbuckle.aspnetcore.swaggergen.6.3.1.nupkg.sha512" + }, + "Swashbuckle.AspNetCore.SwaggerUI/6.3.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-JLm9hN67jh7RHsX3H30+tb432Li8xm/qV5lRyMMkyHYMfWitIuKAAdrpo2ILcHOIeH7CLMuOO2hp/iLBmE+Bkw==", + "path": "swashbuckle.aspnetcore.swaggerui/6.3.1", + "hashPath": "swashbuckle.aspnetcore.swaggerui.6.3.1.nupkg.sha512" + }, + "System.Collections.Immutable/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-l4zZJ1WU2hqpQQHXz1rvC3etVZN+2DLmQMO79FhOTZHMn8tDRr+WU287sbomD0BETlmKDn0ygUgVy9k5xkkJdA==", + "path": "system.collections.immutable/6.0.0", + "hashPath": "system.collections.immutable.6.0.0.nupkg.sha512" + }, + "System.Configuration.ConfigurationManager/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-/anOTeSZCNNI2zDilogWrZ8pNqCmYbzGNexUnNhjW8k0sHqEZ2nHJBp147jBV3hGYswu5lINpNg1vxR7bnqvVA==", + "path": "system.configuration.configurationmanager/4.7.0", + "hashPath": "system.configuration.configurationmanager.4.7.0.nupkg.sha512" + }, + "System.Diagnostics.DiagnosticSource/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-frQDfv0rl209cKm1lnwTgFPzNigy2EKk1BS3uAvHvlBVKe5cymGyHO+Sj+NLv5VF/AhHsqPIUUwya5oV4CHMUw==", + "path": "system.diagnostics.diagnosticsource/6.0.0", + "hashPath": "system.diagnostics.diagnosticsource.6.0.0.nupkg.sha512" + }, + "System.DirectoryServices.Protocols/6.0.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-ndUZlEkAMc1XzM0xGN++SsJrNhRkIHaKI8+te325vrUgoLT1ufWNI6KB8FFrL7NpRMHPrdxP99aF3fHbAPxW0A==", + "path": "system.directoryservices.protocols/6.0.1", + "hashPath": "system.directoryservices.protocols.6.0.1.nupkg.sha512" + }, + "System.Drawing.Common/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-v+XbyYHaZjDfn0ENmJEV1VYLgGgCTx1gnfOBcppowbpOAriglYgGCvFCPr2EEZyBvXlpxbEsTwkOlInl107ahA==", + "path": "system.drawing.common/4.7.0", + "hashPath": "system.drawing.common.4.7.0.nupkg.sha512" + }, + "System.IdentityModel.Tokens.Jwt/6.8.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-5tBCjAub2Bhd5qmcd0WhR5s354e4oLYa//kOWrkX+6/7ZbDDJjMTfwLSOiZ/MMpWdE4DWPLOfTLOq/juj9CKzA==", + "path": "system.identitymodel.tokens.jwt/6.8.0", + "hashPath": "system.identitymodel.tokens.jwt.6.8.0.nupkg.sha512" + }, + "System.IO.Pipelines/6.0.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-ryTgF+iFkpGZY1vRQhfCzX0xTdlV3pyaTTqRu2ETbEv+HlV7O6y7hyQURnghNIXvctl5DuZ//Dpks6HdL/Txgw==", + "path": "system.io.pipelines/6.0.3", + "hashPath": "system.io.pipelines.6.0.3.nupkg.sha512" + }, + "System.Runtime.Caching/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-NdvNRjTPxYvIEhXQszT9L9vJhdQoX6AQ0AlhjTU+5NqFQVuacJTfhPVAvtGWNA2OJCqRiR/okBcZgMwI6MqcZg==", + "path": "system.runtime.caching/4.7.0", + "hashPath": "system.runtime.caching.4.7.0.nupkg.sha512" + }, + "System.Runtime.CompilerServices.Unsafe/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==", + "path": "system.runtime.compilerservices.unsafe/6.0.0", + "hashPath": "system.runtime.compilerservices.unsafe.6.0.0.nupkg.sha512" + }, + "System.Security.AccessControl/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-JECvTt5aFF3WT3gHpfofL2MNNP6v84sxtXxpqhLBCcDRzqsPBmHhQ6shv4DwwN2tRlzsUxtb3G9M3763rbXKDg==", + "path": "system.security.accesscontrol/4.7.0", + "hashPath": "system.security.accesscontrol.4.7.0.nupkg.sha512" + }, + "System.Security.Cryptography.Cng/4.5.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-WG3r7EyjUe9CMPFSs6bty5doUqT+q9pbI80hlNzo2SkPkZ4VTuZkGWjpp77JB8+uaL4DFPRdBsAY+DX3dBK92A==", + "path": "system.security.cryptography.cng/4.5.0", + "hashPath": "system.security.cryptography.cng.4.5.0.nupkg.sha512" + }, + "System.Security.Cryptography.ProtectedData/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-ehYW0m9ptxpGWvE4zgqongBVWpSDU/JCFD4K7krxkQwSz/sFQjEXCUqpvencjy6DYDbn7Ig09R8GFffu8TtneQ==", + "path": "system.security.cryptography.protecteddata/4.7.0", + "hashPath": "system.security.cryptography.protecteddata.4.7.0.nupkg.sha512" + }, + "System.Security.Permissions/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-dkOV6YYVBnYRa15/yv004eCGRBVADXw8qRbbNiCn/XpdJSUXkkUeIvdvFHkvnko4CdKMqG8yRHC4ox83LSlMsQ==", + "path": "system.security.permissions/4.7.0", + "hashPath": "system.security.permissions.4.7.0.nupkg.sha512" + }, + "System.Security.Principal.Windows/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-ojD0PX0XhneCsUbAZVKdb7h/70vyYMDYs85lwEI+LngEONe/17A0cFaRFqZU+sOEidcVswYWikYOQ9PPfjlbtQ==", + "path": "system.security.principal.windows/4.7.0", + "hashPath": "system.security.principal.windows.4.7.0.nupkg.sha512" + }, + "System.Text.Encoding.CodePages/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-aeu4FlaUTemuT1qOd1MyU4T516QR4Fy+9yDbwWMPHOHy7U8FD6SgTzdZFO7gHcfAPHtECqInbwklVvUK4RHcNg==", + "path": "system.text.encoding.codepages/4.7.0", + "hashPath": "system.text.encoding.codepages.4.7.0.nupkg.sha512" + }, + "System.Windows.Extensions/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-CeWTdRNfRaSh0pm2gDTJFwVaXfTq6Xwv/sA887iwPTneW7oMtMlpvDIO+U60+3GWTB7Aom6oQwv5VZVUhQRdPQ==", + "path": "system.windows.extensions/4.7.0", + "hashPath": "system.windows.extensions.4.7.0.nupkg.sha512" + } + } +} \ No newline at end of file diff --git a/ApiPolo/bin/Release/net6.0/ApiPolo.dll b/ApiPolo/bin/Release/net6.0/ApiPolo.dll new file mode 100644 index 0000000..405c9b4 Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/ApiPolo.dll differ diff --git a/ApiPolo/bin/Release/net6.0/ApiPolo.exe b/ApiPolo/bin/Release/net6.0/ApiPolo.exe new file mode 100644 index 0000000..034c160 Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/ApiPolo.exe differ diff --git a/ApiPolo/bin/Release/net6.0/ApiPolo.pdb b/ApiPolo/bin/Release/net6.0/ApiPolo.pdb new file mode 100644 index 0000000..ea77028 Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/ApiPolo.pdb differ diff --git a/ApiPolo/bin/Release/net6.0/ApiPolo.runtimeconfig.json b/ApiPolo/bin/Release/net6.0/ApiPolo.runtimeconfig.json new file mode 100644 index 0000000..80d0347 --- /dev/null +++ b/ApiPolo/bin/Release/net6.0/ApiPolo.runtimeconfig.json @@ -0,0 +1,20 @@ +{ + "runtimeOptions": { + "tfm": "net6.0", + "frameworks": [ + { + "name": "Microsoft.NETCore.App", + "version": "6.0.0" + }, + { + "name": "Microsoft.AspNetCore.App", + "version": "6.0.0" + } + ], + "configProperties": { + "System.GC.Server": true, + "System.Reflection.Metadata.MetadataUpdater.IsSupported": false, + "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false + } + } +} \ No newline at end of file diff --git a/ApiPolo/bin/Release/net6.0/ApiPolo.staticwebassets.runtime.json b/ApiPolo/bin/Release/net6.0/ApiPolo.staticwebassets.runtime.json new file mode 100644 index 0000000..bbdad6e --- /dev/null +++ b/ApiPolo/bin/Release/net6.0/ApiPolo.staticwebassets.runtime.json @@ -0,0 +1 @@ +{"ContentRoots":["C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\"],"Root":{"Children":{"logo_disco.jpg":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"logo_disco.jpg"},"Patterns":null},"logo_ferra.jpg":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"logo_ferra.jpg"},"Patterns":null},"logo_marro.jpg":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"logo_marro.jpg"},"Patterns":null},"VIRTU":{"Children":{"AZI01":{"Children":{"AZI01_LOGO.jpg":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"VIRTU/AZI01/AZI01_LOGO.jpg"},"Patterns":null}},"Asset":null,"Patterns":null},"AZI02":{"Children":{"AZI02_LOGO.jpg":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"VIRTU/AZI02/AZI02_LOGO.jpg"},"Patterns":null},"company2.png":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"VIRTU/AZI02/company2.png"},"Patterns":null},"R.png":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"VIRTU/AZI02/R.png"},"Patterns":null}},"Asset":null,"Patterns":null},"CAV00001.jpg":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"VIRTU/CAV00001.jpg"},"Patterns":null}},"Asset":null,"Patterns":null}},"Asset":null,"Patterns":[{"ContentRootIndex":0,"Pattern":"**","Depth":0}]}} \ No newline at end of file diff --git a/ApiPolo/bin/Release/net6.0/ApiPolo.xml b/ApiPolo/bin/Release/net6.0/ApiPolo.xml new file mode 100644 index 0000000..ab2311f --- /dev/null +++ b/ApiPolo/bin/Release/net6.0/ApiPolo.xml @@ -0,0 +1,8605 @@ + + + + ApiPolo + + + + + Controller unico + + + + polocontroller + + + vuoto=chiamata presa in carico 3=chiamata chiusa 2=manutenzione chiusa + + + + + + + + + + + + + + + 200=Ok 500=ErroreInterno 400=OperazioneNonAmmessa + + + + + + + + + + + + + + + + + + + + + Zucchetti Sicilia + + + Discovery + + + Sarom + + + Sinergo + + + Gitoga + + + Lifta + + + Siet + + + PMS + + + VT app + + + + + + + + + + + + Zucchetti Sicilia + + + Discovery + + + Sarom + + + Sinergo + + + Gitoga + + + Lifta + + + Siet + + + PMS + + + Virtual task + + + trasforma un Saldiart in un Mag_New + + + trasforma un Compi_Impia in un Mag_New + + + crea un cpccchk + + + formatta l'indirizzo della lista chiamate + + + formatta l'indirizzo stampa chiamate + + + formatta l'indirizzo stampa chiamateper Discovery + + + formatta il riferimento impainto (html) + + + formatta il riferimento impianto Disco (html) + + + formatta il riferimento impianto Ferrari (html) + + + formatta l'indirizzo stampa manutenzioni + + + formatta il riferimento impainto (html) + + + formatta l'indirizzo della lista manutenzioni + + + formatta riferimwnto impianto su buono (html) + + + formatta riferimwnto impianto su buono (html) Disco + + + Configurazioni per azienda return:ActionResult + + + token riewmpimento + + + elimina Token + + + inserisce Token + + + Magazzini per login return:ActionResult + + + Login iniziale return:ActionResult + + + Codici di chiusura per scheda intevento return:ActionResult + + + Chiamate per tecnico e azienda (tenant) in stato C=Assegnate return:ActionResult + + + presaInCarico: 1) crea un nuovo seriale per RAPP_NEW 2)inserisce il primo record di una presa in carico su RAPP_NEW return:ActionResult + + + rifiuta: 1) crea un nuovo seriale per RAPP_NEW 2)inserisce record su RAPP_NEW con INCARICO=N e RIFIUTATA=S return:ActionResult + + + chiudi: 1) crea un nuovo seriale per RAPP_NEW 2)inserisce record su RAPP_NEW con i dati dell'intervento return:ActionResult + + + rilascia: elimina record su RAPP_NEW con i dati dell'intervento return:ActionResult + + + Manutenzioni per tecnico e azienda (tenant). Intervallo: 1 mese prima e 1 mese dopo rispetto a GETDATE() con GENERATO diverso da S return:ActionResult + + + prendi_in_carico: inserisce record su Prese con i dati dell'intervento return:ActionResult + + + chiudi: 1) crea un nuovo seriale per RAPP_NEW 2)inserisce record su RAPP_NEW con i dati dell'intervento return:ActionResult + + + rilascia: elimina record su Prese con i dati dell'intervento return:ActionResult + + + + + + Upload return:ActionResult + + + Componenti impianto return:ActionResult + + + aggiunge un componente all'impianto. Inserisce in LABSEMICOMIMP return:ActionResult + + + toglie un componente all'impianto. Cancella in LABSEMICOMIMP return:ActionResult + + + Ricerca articoli per impianto return:ActionResult + + + rapportino per pezzi magazzino. Inserisce in LABSEMAG_NEW return:ActionResult + + + Ricerca Impianti return:ActionResult + + + Storico interventi return:ActionResult + + + Anagrafica return:ActionResult + + + Tabelle di dominio: causali pagamenti, causali rapportino, tipi esito, tipi intervento return:ActionResult + + + + + + Commesse return:ActionResult IEnumerable Commessa + + + Salva la timbratuta in tabella Timbrature return:ActionResult Timbratura_out + + + Storico rapportini tecnico return:ActionResult di Sto_Imp_out + + + Ricerca Commessa return:ActionResult + + + Salva la timbratuta in tabella Timbrature return:ActionResult Timbratura_out + + + Login iniziale return:ActionResult + + + VIRTUAL TASK: Tecnici per azienda + + + VIRTUAL TASK: Tecnici per azienda + + + VIRTUAL TASK: crea un tecnico return:ActionResult + + + VIRTUAL TASK: cancella un tecnico return:ActionResult + + + VIRTUAL TASK: modifica un tecnico return:ActionResult + + + VIRTUAL TASK: Codici di chiusura + + + VIRTUAL TASK: crea un codice chiusura return:ActionResult + + + VIRTUAL TASK: cancella un codice chiusura return:ActionResult + + + VIRTUAL TASK: modifica un codice chiusura return:ActionResult + + + VIRTUAL TASK: anagrafiche clienti per azienda + + + VIRTUAL TASK: crea una anagrafica return:ActionResult + + + VIRTUAL TASK: crea una anagrafica return:ActionResult + + + VIRTUAL TASK: modifica una anagrafica return:ActionResult + + + VIRTUAL TASK: cancella una anagrafica (valorizza data obsolescenza) return:ActionResult + + + VIRTUAL TASK: rapp_new per azienda + + + VIRTUAL TASK: crea una rappnew return:ActionResult + + + VIRTUAL TASK: modifica una anagrafica return:ActionResult + + + VIRTUAL TASK: cancella una rapp_new return:ActionResult + + + VIRTUAL TASK: impianti per azienda + + + VIRTUAL TASK: impianti per azienda + + + VIRTUAL TASK: crea un impianto return:ActionResult + + + VIRTUAL TASK: modifica un impianto return:ActionResult + + + VIRTUAL TASK: cancella un impianto return:ActionResult + + + VIRTUAL TASK: chiamate per azienda + + + VIRTUAL TASK: chiamate per azienda + + + VIRTUAL TASK: crea una chiamata return:ActionResult + + + VIRTUAL TASK: modifica una chiamata return:ActionResult + + + VIRTUAL TASK: cancella una chiamata return:ActionResult + + + VIRTUAL TASK: progressivi per azienda + + + VIRTUAL TASK: modifica un progressivo return:ActionResult + + + VIRTUAL TASK: dati azienda + + + VIRTUAL TASK: crea una azienda return:ActionResult + + + VIRTUAL TASK: modifica un progressivo return:ActionResult + + + VIRTUAL TASK: cancella una azienda return:ActionResult + + + VIRTUAL TASK: registrazioni + + + VIRTUAL TASK: crea una registrazione return:ActionResult + + + VIRTUAL TASK: modifica una registrazione return:ActionResult + + + VIRTUAL TASK: cancella una registrazione return:ActionResult + + + VIRTUAL TASK: registrazioni + + + VIRTUAL TASK: commesse + + + VIRTUAL TASK: crea una commessa return:ActionResult + + + VIRTUAL TASK: modifica una commessa return:ActionResult + + + VIRTUAL TASK: cancella una commessa (valorizza data obsolescenza) return:ActionResult + + + VIRTUAL TASK: dati Azienda + + + VIRTUAL TASK: crea dati azienda return:ActionResult + + + VIRTUAL TASK: modifica una commessa return:ActionResult + + + VIRTUAL TASK: cancella una dati azienda return:ActionResult + + + VIRTUAL TASK: dati Azienda + + + VIRTUAL TASK: inserisce buono + + + + Contiene i campi di SALDIART + + + + tipo + + + codice + + + email + + + codice fiscale + + + partita iva + + + indirizzo + + + telefono + + + cellulare + + + pec + + + descrizione + + + listino cliente + + + + + + + + + + + + + + + + + + tipo + + + codice + + + codice azienda + + + email + + + codice fiscale + + + partita iva + + + indirizzo + + + telefono + + + cellulare + + + pec + + + descrizione + + + listino cliente + + + cliente eliminato + + + + Contiene i campi di API_CLIENTI + + + + tipo + + + codice + + + email + + + codice fiscale + + + partita iva + + + indirizzo + + + telefono + + + cellulare + + + pec + + + descrizione + + + listino cliente + + + cliente eliminato + + + azienda (tenant2) + + + + Azienda prsente + + + + + Azienda tecnico + + + + Azienda collegata all'azienda principale + + + azienda + + + tecnico + + + tecnico + + + Nome azienda collegata + + + url logo + + + Testo rapportino + + + buoni rapportini + + + azienda + + + seriale buono + + + immagine + + + data inserimento + + + + Causali rapportino + + + + codice causale + + + descrizione causale + + + flag fatturazione + + + + + + + + + + + + + + + + + + + + + + + + + + + errore titolo + + + errore dettaglio + + + errore status code (200, 500) + + + ViSTA Chiamate + + + Azienda + + + + Seriale Chiamata + + + + + Stato chiamata + + + + + Codice Chiamatista assegnato + + + + + Data appuntamento chiamata + + + + + Ora appuntamento inizio + + + + + Minuti appuntamento inizio + + + + + Note appuntamento + + + + + Codice Impianto chiamata + + + + + Descrizione codice segnalazione + + + + + Telefono cliente + + + + + descrizione cliente + + + + + Indirizzo impianto tipo + + Via,Piazza, + + + + Indirizzo impianto nome + + + + + Indirizzo impianto numero + + + + + Indirizzo impianto sottonumero + + + + + Indirizzo impianto Scala + + + + + Indirizzo impianto località + + + + + Indirizzo impianto Cap + + + + + Indirizzo impianto comune + + + + + Indirizzo impianto provincia + + + + + Indirizzo impianto nazione + + + + + MANPROG: matricola impianto + + + + + MANPROG: numero impianto + + + + + MANPROG: ubicazione impianto + + + + + Tecnico descrizione + + + + + Tecnico codice + + + + + RAPP_NEW: seriale rapp_new preso in carico + + + + + RAPP_NEW: tipo rapp_new preso in carico (valore vuoto) + + + + + RAPP_NEW: preso in carico (S o NULL) + + + + + RAPP_NEW: seriale rapp_new rifiutata + + + + + RAPP_NEW: tipo rapp rifiutata (valore vuoto) + + + + + RAPP_NEW: rifiutato (S o null) + + + + + RAPP_NEW: seriale chiamata chiusa + + + + + RAPP_NEW: tipo chiamata chiusa (3 o null) + + + + + RAPP_NEW: seriale buono chiamata chiusa + + + + + errore titolo + + + + + errore dettaglio + + + + + errore status code (200, 500) + + + + Esercizio + + + Tipo + + + numero chiamata + + + Data inserimento chiamata + + + Ora inserimento chiamata + + + Minuti inserimento chiamata + + + operatore assegnazione + + + operatore di chiusura + + + azienda impianto + + + ora appuntamento fine + + + minuto appuntamento fine + + + Riferimento chiamata + + + telefono riferimento + + + tcodice segnalazione + + + Fermo impianto S/N + + + Data assegnazione chiamata + + + Ora assegnazione chiamata + + + Min assegnazione chiamata + + + Data chiusura chiamata + + + Ora chiusura chiamata + + + Min chiusura chiamata + + + Data inizio intervento + + + Ora inizio intervento + + + Min inizio intervento + + + Data fine intervento + + + Ora fine intervento + + + Min fine intervento + + + Numero 1 rapportino futuro + + + Serie 1 rapportino futuro + + + Numero 2 rapportino futuro + + + Modalità raccolta chiamata + + + Numero chiamata per impianto per anno + + + Importo manodopera + + + Percentuale manodopera + + + Stampa manodopera + + + Chiusura da remoto + + + Riferimento seriale importazione + + + Descrizione + + + Tipo impianto + + + Ultimo amministratore + + + Descrizione Ult. Amministratore + + + Telefono Ult. Amministratore + + + Zona manutenzione + + + Pubblico/privato + + + Zona chiamate + + + Zona supervisione + + + Data inizio manutenzione + + + Data fine manutenzione + + + Data costruzione + + + Numero telesoccorso + + + Email cliente + + + Ultimo cliente + + + codice cliente + + + tipo anagrafica + + + costo chiamata + + + spese viaggio + + + costo orario ordinario + + + costo orario notturno + + + costo orario straordinario + + + costo orario festivo + + + Azienda di riferimento associata all'impianto (gestione loghi differenti) + + + riferimento impianto (va su rapportino) + + + Tabella CHIAMATE (insert da app) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Tabella CHIAMATE (insert da app) - Output + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + errore titolo + + + errore dettaglio + + + errore status code (200, 500) + + + ViSTA Chiamate + + + Azienda + + + + Seriale Chiamata + + + + + Stato chiamata + + + + + Codice Chiamatista assegnato + + + + + Data appuntamento chiamata + + + + + Ora appuntamento inizio + + + + + Minuti appuntamento inizio + + + + + Note appuntamento + + + + + Codice Impianto chiamata + + + + + Descrizione codice segnalazione + + + + + Telefono cliente + + + + + descrizione cliente + + + + + Indirizzo impianto tipo + + Via,Piazza, + + + + Indirizzo impianto nome + + + + + Indirizzo impianto numero + + + + + Indirizzo impianto sottonumero + + + + + Indirizzo impianto Scala + + + + + Indirizzo impianto località + + + + + Indirizzo impianto Cap + + + + + Indirizzo impianto comune + + + + + Indirizzo impianto provincia + + + + + Indirizzo impianto nazione + + + + + matricola impianto + + + + + numero impianto + + + + + ubicazione impianto + + + + + Tecnico descrizione + + + + + Tecnico codice + + + + + RAPP_NEW: seriale rapp_new preso in carico + + + + + RAPP_NEW: tipo rapp_new preso in carico (valore vuoto) + + + + + RAPP_NEW: preso in carico (S o NULL) + + + + + RAPP_NEW: seriale rapp_new rifiutata + + + + + RAPP_NEW: tipo rapp rifiutata (valore vuoto) + + + + + RAPP_NEW: rifiutato (S o null) + + + + + RAPP_NEW: seriale chiamata chiusa + + + + + RAPP_NEW: tipo chiamata chiusa (3 o null) + + + + + RAPP_NEW: seriale buono chiamata chiusa + + + + + errore titolo + + + + + errore dettaglio + + + + + errore status code (200, 500) + + + + + altri dati chiamata + + Esercizio + + + Tipo + + + numero chiamata + + + Data inserimento chiamata + + + Ora inserimento chiamata + + + Minuti inserimento chiamata + + + operatore assegnazione + + + operatore di chiusura + + + azienda impianto + + + ora appuntamento fine + + + minuto appuntamento fine + + + Riferimento chiamata + + + telefono riferimento + + + tcodice segnalazione + + + altri campi + + + Codice cliente + + + costo chiamata + + + spese viaggio + + + costo orario ordinario + + + costo orario notturno + + + costo orario straordinario + + + costo orario festivo + + + Azienda di riferimento associata all'impianto (gestione loghi differenti) + + + riferimento impianto (va su rapportino) + + + indirizzo stampa (html) su buono + + + impianto per lista (html) + + + riferimento impianto (html) su buono + + + Chiusure + + + codice chiusura + + + descrizione + + + ccrapabi + + + obbligatoria + + + ccchiint + + + azienda + + + Descrizione supplementare da mettere sul rapportino + + + + (Virtual Task) Contiene i campi di CCHIUSA + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ViSTA API_COMMESSE + + + seriale Commessa + + + Codice Commessa + + + Fase Commessa + + + data fine validita Commessa + + + tipo + + + codice cliente + + + descrizione cliente + + + impianto + + + tipo ind + + + indirizzo + + + numero + + + lettera + + + scala + + + localita + + + CAP + + + provincia + + + ViSTA API_COMMESSE + + + Codice Commessa + + + Descrizione Commessa + + + data fine validita Commessa + + + tipo + + + codice cliente + + + descrizione cliente + + + impianto + + + tipo ind + + + indirizzo + + + numero + + + lettera + + + scala + + + localita + + + CAP + + + provincia + + + elemento lista formato html + + + Error title + + + Error deatail + + + Error code + + + ViSTA API_COMMESSE - VT + + + seriale Commessa + + + Azienda + + + Codice Commessa + + + Fase Commessa + + + data fine validita Commessa + + + tipo + + + codice cliente + + + descrizione cliente + + + impianto + + + tipo ind + + + indirizzo + + + numero + + + lettera + + + scala + + + localita + + + CAP + + + provincia + + + codice impianto - commesse + + + flag commessa generica cliente + + + seriale Commessa + + + seriale Commessa + + + Azienda + + + Codice Commessa + + + Fase Commessa + + + data fine validita Commessa + + + tipo + + + codice cliente + + + codice impianto + + + flag commessa generica cliente + + + + Contiene i campi di xxxMICOMIMP (componenti impianto) + + + + + codice impianto + + + + + codice impianto + + + + + indice riga + + + + + quantità + + + + + codice articolo + + + + + note + + + + + lotto articolo + + + + + matricola articolo + + + + + descrizione articolo + + + + + descrizione per ogni articolo (se abilitata da configurazioni) + + + + Contiene i campi di xxxMICOMIMP (componenti impianto) oggetto di output + + + + + codice impianto + + + + + codice impianto + + + + + indice riga + + + + + codice articolo + + + + + codice articolo + + + + + note + + + + + lotto articolo + + + + + matricola articolo + + + + + errore titolo + + + + + errore dettaglio + + + + + errore status code (200, 500) + + + + + Classe componenti per scrittura db + + + + + codice impianto + + + + + codice impianto + + + + + indice riga + + + + + codice articolo + + + + + codice articolo + + + + + note + + + + + lotto articolo + + + + + matricola articolo + + + + + + + azienda + + + path file buoni (immagini rapportini) + + + prefisso dei buoni da chiamata + + + prefisso dei buoni da mauntenzione + + + url ftp per upload delle immagini + + + utente ftp per upload delle immagini + + + password ftp per upload delle immagini + + + Listino articoli per magazzino + + + pulsante naviga nelle liste + + + pulsante telefona nelle liste + + + abilita funzione + + + abilita funzione + + + barcode abilitato opzionalmente in varie sezioni. Per renderlo obbligatorio vedi flag sott + + + + + + barcode obbligatorio + + + funziona anche offline + + + abilita funzione + + + hiamate_rifiuta_barcode + + + funziona anche offline + + + barcode obbligatorio + + + barcode obbligatorio + + + barcode obbligatorio + + + abilita funzione + + + funziona anche offline + + + abilita funzione + + + barcode obbligatorio + + + funziona anche offline + + + barcode obbligatorio + + + barcode obbligatorio + + + barcode obbligatorio + + + funziona anche offline + + + chiede presena DPI prima di scheda + + + visualizza anagrafica + + + abilita stato impianto + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + Costo orario intervento + + + porta ftp + + + barcode obbligatorio + + + storico rapportini + + + storico impianto + + + Abilita link storico interventi + + + Abilita link ricerca impianti + + + Abilita link storico impianto (solo per chi gestisce il magazzino) + + + Calcolo tempo rapportino automatico + + + Stampa ora inizio-fine su buono + + + Stampa intestazione su buono + + + Seriale chiamata da usare come teplate per inserire chiamata da app (commessa o normale) + + + 0=non abilitata 1,2,3=abilitata + + + Data rapportino editabile + + + articoli impianto in forma decimale + + + max num record in ricerca + + + storico impianto + + + Error Message + + + Error Message detail + + + Status + + + Configurazioni + + + azienda + + + path file buoni (immagini rapportini) + + + prefisso dei buoni da chiamata + + + prefisso dei buoni da mauntenzione + + + url ftp per upload delle immagini + + + utente ftp per upload delle immagini + + + password ftp per upload delle immagini + + + Listino articoli per magazzino + + + pulsante naviga nelle liste + + + pulsante telefona nelle liste + + + abilita funzione + + + abilita funzione + + + barcode abilitato opzionalmente in varie sezioni. Per renderlo obbligatorio vedi flag sott + + + + + + barcode obbligatorio + + + funziona anche offline + + + abilita funzione + + + hiamate_rifiuta_barcode + + + funziona anche offline + + + barcode obbligatorio + + + barcode obbligatorio + + + barcode obbligatorio + + + abilita funzione + + + funziona anche offline + + + abilita funzione + + + barcode obbligatorio + + + funziona anche offline + + + barcode obbligatorio + + + barcode obbligatorio + + + barcode obbligatorio + + + funziona anche offline + + + chiede presena DPI prima di scheda + + + visualizza anagrafica + + + abilita stato impianto + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + Costo orario intervento + + + porta ftp + + + barcode obbligatorio + + + OBSOLETO + + + OBSOLETO + + + Abilita link storico interventi + + + Abilita link ricerca impianti + + + Abilita link storico impianto (solo per chi gestisce il magazzino) + + + Calcolo tempo rapportino automatico + + + Stampa ora inizio-fine su buono + + + Stampa intestazione su buono + + + Seriale chiamata da usare come teplate per inserire chiamata da app (commessa o normale) + + + 0=non abilitata 1,2,3=abilitata + + + data rapportino editabile + + + articoli impianto in forma decimale se valore maggiore di 1 e la cifra indica il numero di cifre decimali, altrimenti sono numeri interi + + + max num record in ricerca + + + rende visibile la riga dei prezzi sul rapportino + + + rende visibile la riga dei prezzi sul rapportino + + + ConfigurazioniDbContext + + + conf + + + ConfigurazioniDbContext + + + OnModelCreating + + + + + + azienda + + + tecnico + + + Denominazione + + + url del logo esposto + + + logo + + + testo azienda rapportino + + + Aziende collegate + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Rapportini + + + ConfigurazioniDbContext + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Error + + + Error title + + + Error deatail + + + Error code + + + + + + + + + + + + + + + FERRA_CHIAMATEDbContext + + + FERRA_CHIAMATEDbContext + + + FERRA_CHIAMATEDbContext + + + OnModelCreating + + + FERRA_CHIUSUREDbContext + + + Chiusure + + + + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + FERRA_MANPROG_TECDbContext + + + Manutenzioni + + + Manutenzioni + + + OnModelCreating + + + + + + + + + + + + + + + FERRA_CHIAMATEDbContext + + + FERRA_CHIAMATEDbContext + + + + + + A + + + + + + Rapportini + + + ConfigurazioniDbContext + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Rapportini + + + ConfigurazioniDbContext + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Impianto + + + Codice Impianto + + + Descrizione Impianto + + + Tipo indirizzo (Via, piazza..) + + + indirizzo + + + numero civico + + + sottonumero + + + scala + + + localita + + + Cap + + + Comune + + + Provincia + + + Azienda + + + cod cliente + + + descrizione cliente + + + Data cancellazione + + + + + + Codice Impianto + + + Azienda + + + Descrizione Impianto + + + Tipo indirizzo (Via, piazza..) + + + indirizzo + + + numero civico + + + sottonumero + + + scala + + + localita + + + Cap + + + Comune + + + Provincia + + + cliente associato + + + Data cancellazione + + + Impianto out + + + Codice Impianto + + + Codice Impianto + + + Indirizzo Impianto + + + Cap + + + Comune + + + Provincia + + + Località + + + Error title + + + Error deatail + + + Error code + + + + Contiene i campi di input sia per RAPP_NEW che per PRESE + + + + + Tabella RAPP_NEW: Seriale rapportini + + + + + Tabella RAPP_NEW: Tipo rapportini + + + + + Tabella RAPP_NEW: Azienda + + + + + Tabella RAPP_NEW: Codice Impianto + + + + + Tabella RAPP_NEW: Azienda su cui è la chiamata + + + + + Tabella RAPP_NEW: Seriale chiamata + + + + + Tabella RAPP_NEW: Seriale chiamata + + + + + Tabella RAPP_NEW: Data rapportino + + + + + Tabella RAPP_NEW: Ora inizio + + + + + Tabella RAPP_NEW: Tabella RAPP_NEW: minuto inizio + + + + + Tabella RAPP_NEW: Ora fine + + + + + Tabella RAPP_NEW: Minuto fine + + + + + Tabella RAPP_NEW: codice chiusura + + + + + Tabella RAPP_NEW: codice chiusura + + + + + Tabella RAPP_NEW: codice chiusura + + + + + Tabella RAPP_NEW: codice chiusura + + + + + Tabella RAPP_NEW: codice chiusura + + + + + Tabella RAPP_NEW: codice chiusura + + + + + Tabella RAPP_NEW: codice chiusura + + + + + Tabella RAPP_NEW: codice chiusura + + + + + Tabella RAPP_NEW: codice chiusura + + + + + Tabella RAPP_NEW: codice chiusura + + + + + Tabella RAPP_NEW: descrizione intervento + + + + + Tabella RAPP_NEW: stato + + + + + Tabella RAPP_NEW: generato + + + + + Tabella RAPP_NEW: azienda tecnico + + + + + Tabella RAPP_NEW: codice tecnico + + + + + Tabella RAPP_NEW: flag rifiutata + + + + + Tabella RAPP_NEW: nominativo firma + + + + + Tabella RAPP_NEW: flag stato In Carico + + + + + Tabella RAPP_NEW: data validità + + + + + Tabella RAPP_NEW: pathg immagine buono o firma + + + + + Tabella RAPP_NEW: seriale del buono + + + + + Tabella RAPP_NEW: seriale del buono + + + + + Tabella RAPP_NEW: data/ora effettiva del lavoro (nel caso dispositivo offline) + + + + Tabella PRESE: Azienda + + + Tabella PRESE: Impianto + + + Tabella PRESE: Codice intervento QUI=? SEM=SEMESTRALE + + + Tabella PRESE: Tecnico + + + Tabella PRESE: data della manutenzione + + + Tabella PRESE: Zona manutenzione + + + Tabella PRESE: check presa + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Componenti impianto aggiunti + + + Componenti impianto eliminati + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Rapportini + + + ConfigurazioniDbContext + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + LoginModel + + + Username + + + Password + + + Tenant + + + Conf (configurazioni app) + + + pulsante naviga nelle liste + + + pulsante telefona nelle liste + + + abilita funzione + + + abilita funzione + + + barcode abilitato opzionalmente in varie sezioni. Per renderlo obbligatorio vedi flag sott + + + + + + barcode obbligatorio + + + funziona anche offline + + + abilita funzione + + + hiamate_rifiuta_barcode + + + funziona anche offline + + + barcode obbligatorio + + + barcode obbligatorio + + + barcode obbligatorio + + + abilita funzione + + + funziona anche offline + + + abilita funzione + + + barcode obbligatorio + + + funziona anche offline + + + barcode obbligatorio + + + barcode obbligatorio + + + barcode obbligatorio + + + funziona anche offline + + + chiede presena DPI prima di scheda + + + anagrafica visualizza anagrafica + + + abilita stato impianto + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + Costo orario intervento + + + porta ftp + + + barcode obbligatorio + + + storico rapportini abilita + + + storico impianto + + + Abilita link storico interventi + + + Abilita link ricerca impianti + + + Abilita link storico impianto (solo per chi gestisce il magazzino) + + + Calcolo tempo rapportino automatico + + + Stampa ora inizio-fine su buono + + + Stampa intestazione su buono + + + Seriale chiamata da usare come teplate per inserire chiamata da app (commessa o normale) + + + 0=non abilitata 1,2,3=abilitata + + + data rapportino editabile + + + articoli impianto in forma decimale + + + max num record in ricerca + + + rende visibile la riga dei prezzi sul rapportino + + + rende visibile la riga dei prezzi sul rapportino + + + LoginOut (token+user) + + + token + + + token + + + token + + + token + + + storico impianto + + + Error Message + + + Error Message detail + + + Status + + + flag admin + + + tenant + + + + Magazzini azienda + + + + + codice magazzino + + + + + descrizione + + + + + Contiene i campi di MAG_NEW + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + descrizione articolo + + + riga impianto + + + codice impianto + + + note + + + cpccchk + + + descrizione per ogni articolo (se abilitata da configurazioni) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + descrizione articolo + + + riga impianto + + + codice impianto + + + note + + + + errore titolo + + + + + errore dettaglio + + + + + errore status code (200, 500) + + + + + Manutenzioni Programmate + + + + + MANPROG: codice intervento (BIM=bimestrale, SEM=semestarle,..) + + + + + MANPROG: data prossima manutenzione + + + + + MANPROG: descrizione intervento + + + + + MANPROG: indirizzo 1 impianto + + + + + MANPROG: indirizzo 2 impianto + + + + + MANPROG: indirizzo 3 impianto + + + + + MANPROG: indirizzo 4 impianto + + + + + MANPROG: indirizzo 5 impianto + + + + + MANPROG: localita impianto + + + + + MANPROG: cap impianto + + + + + MANPROG: comune impianto + + + + + MANPROG: matricola impianto + + + + + MANPROG: numero impianto + + + + + MANPROG: ubicazione impianto + + + + + MANPROG: provincia 5 impianto + + + + + MANPROG: nazione impianto + + + + + MANPROG: codice impianto + + + + + MANPROG: tecnico descrizione + + + + + MANPROG: tecnico codice + + + + + RAPP_NEW: seriale rapportino + + + + + RAPP_NEW: seriale buono + + + + + RAPP_NEW: flag generato. Rapportino importato in AdHoc + + + + + PRESE: codice impianto + + + + + PRESE: codice intervento (BIM=bimestrale,SEM=semestrale) + + + + + PRESE: data manutenzione + + + + + errore titolo + + + + + errore dettaglio + + + + + errore status code (200, 500) + + + + + Manutenzioni: telefono 1 impianto + + + + + Manutenzioni: telefono 1 impianto + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + costo chiamata + + + spese viaggio + + + costo orario ordinario + + + costo orario notturno + + + costo orario straordinario + + + costo orario festivo + + + Azienda di riferimento associata all'impianto (gestione loghi differenti) + + + Zona Impianto + + + Riferimento Impianto + + + + Manutenzioni Programmate uscita + + + + + MANPROG: codice intervento (BIM=bimestrale, SEM=semestarle,..) + + + + + MANPROG: data prossima manutenzione + + + + + MANPROG: descrizione intervento + + + + + MANPROG: indirizzo 1 impianto + + + + + MANPROG: indirizzo 2 impianto + + + + + MANPROG: indirizzo 3 impianto + + + + + MANPROG: indirizzo 4 impianto + + + + + MANPROG: indirizzo 5 impianto + + + + + MANPROG: localita impianto + + + + + MANPROG: cap impianto + + + + + MANPROG: comune impianto + + + + + MANPROG: provincia 5 impianto + + + + + matricola impianto + + + + + numero impianto + + + + + ubicazione impianto + + + + + MANPROG: nazione impianto + + + + + MANPROG: codice impianto + + + + + MANPROG: tecnico descrizione + + + + + MANPROG: tecnico codice + + + + + RAPP_NEW: seriale rapportino + + + + + RAPP_NEW: seriale buono + + + + + RAPP_NEW: flag generato. Rapportino importato in AdHoc + + + + + PRESE: codice impianto + + + + + PRESE: codice intervento (BIM=bimestrale,SEM=semestrale) + + + + + PRESE: data manutenzione + + + + + errore titolo + + + + + errore dettaglio + + + + + errore status code (200, 500) + + + + + Manutenzioni: telefono 1 impianto + + + + + Manutenzioni: telefono 1 impianto + + + + + Manutenzioni: cliente + + + + costo chiamata + + + spese viaggio + + + costo orario ordinario + + + costo orario notturno + + + costo orario straordinario + + + costo orario festivo + + + altri dati Manutenzione + + + Azienda di riferimento associata all'impianto (gestione loghi differenti) + + + Zona Impianto + + + Riferimento Impianto + + + indirizzo stampa (html) + + + impianto per lista (html) + + + riferimento impianto (html) su buono + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Rapportini + + + ConfigurazioniDbContext + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ViSTA Chiamate + + + Azienda + + + utente destinastario notifica + + + seriale della chiamata + + + data di invio della notifica + + + Uscita chiamataTable+chiamate + + + output di chiamataTable (inserimento in tabella Chiamate) + + + output di Chiamate_out (inserimento in tabella Rapp_new) + + + output di ChiamateSeriale_out (aggiornamento in tabella in tabella PINUMCHI) + + + output di ChiamateSeriale_out (aggiornamento in tabella in tabella cpwarn) + + + output di ChiamateSeriale_out (aggiornamento in tabella in tabella cpwarn) + + + errore titolo + + + errore dettaglio + + + errore status code (200, 500) + + + Output ricerca impianti e di ricerca commesse + + + Codice Commessa + + + Descrizione Commessa + + + data fine validita Commessa + + + tipo + + + codice cliente + + + descrizione cliente + + + impianto + + + tipo ind + + + indirizzo + + + numero + + + lettera + + + scala + + + localita + + + CAP + + + provincia + + + descrizione + + + elemento lista formato html + + + Error title + + + Error deatail + + + Error code + + + + Causali pagamento + + + + codice pagamento + + + descrizione pagamento + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Rapportini + + + Rapportini + + + ConfigurazioniDbContext + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Tabella PRESA + + + + Azienda + + + Impianto + + + Codice intervento QUI=? SEM=SEMESTRALE + + + Tecnico + + + data della manutenzione + + + Zona manutenzione + + + check presa + + + cpccchk + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tabella progressivi + + + Azienda + + + stringa definisce il tipo di progressivo da gestire + + + valore progressivo + + + Azienda + + + stringa definisce il tipo di progressivo da gestire + + + valore progressivo + + + errore titolo + + + errore dettaglio + + + errore status code (200, 500) + + + + + + + + + + + + + + + + + + + + + errore titolo + + + errore dettaglio + + + errore status code (200, 500) + + + Rappmast: storico interventi per tecnico + + + Seriale rapportini + + + Causale + + + Azienda + + + Impianto + + + Lavoro + + + fase Lavoro + + + tipo cliente + + + codice cliente + + + contratto manutenzione + + + verbale + + + azienda chiamata + + + chiamata + + + esercizio + + + codice giro + + + intervento giro + + + numero rapportino + + + serie rapportino + + + data rapportino + + + flag da fatturare + + + flag fatturabile + + + utente fatturabile + + + data fatturabilità + + + codice pagamento + + + azienda tecnico 1 + + + tecnico 1 + + + azienda tecnico 2 + + + tecnico 2 + + + azienda tecnico 3 + + + tecnico 3 + + + tecnici fatturabili + + + Ore fatturabili + + + giornate fatturabili + + + Importo unitario + + + servizio assistenza + + + Importo totale + + + descrizione + + + Note + + + Servizio dir. fisso + + + descrizione dir. fisso + + + Importo dir. fisso + + + Importo dir. fisso + + + servizio viaggio + + + descrizione viaggio + + + Importo viaggio + + + Totale viaggio + + + descrizione meteriale + + + Note meteriale + + + Importo materiali + + + Descrizione intervento + + + Note intervento + + + Riferimento cliente + + + Listino costi + + + centro di costo + + + commessa + + + Zona analitica + + + Seriale doc attivo + + + Seriale doc passivo + + + Seriale doc passivo + + + Stato rapportino (Controllato S/N) + + + Tipo intervento (Reperibile S/N) + + + Modalita fatturazione + + + Servizio per fatture a corpo + + + Listino per fatture a corpo + + + Importo servizio a corpo + + + percentuale ricarico costi materiali + + + descrizione servizio a corpo + + + descrizione suppl servizio a corpo + + + Numerazione automatica + + + U.M. viaggio + + + U.M. assistenza + + + flag assegnazione tecnico da blocchetto + + + percentuale manodopera + + + importo manodopera a corpo + + + importo materiale a corpo + + + Servizio assistenza ore straordinario + + + Servizio dir. fisso ore straordinario + + + Servizio viaggio straordinario + + + importo straord assistenza + + + importo straord viaggio + + + importo straord dir. fisso + + + ore fatturabili straordinario + + + importo totale straord assistenza + + + importo totale straord viaggio + + + Desc assistenza straordinario + + + Desc dir. fisso straordinario + + + Desc viaggio straordinario + + + Servizio assistenza ore notturno + + + Servizio dir. fisso ore notturno + + + Servizio viaggio notturno + + + importo notturno assistenza + + + importo notturno viaggio + + + importo notturno dir.fisso + + + Ore fatturabili notturno + + + importo totale notturno assistenza + + + importo totale notturno viaggio + + + 77777777 + Desc assistenza notturno + + + Desc dir fisso notturno + + + Desc viaggio notturno + + + servizio assistenza ore festivo + + + servizio dir. fisso ore festivo + + + servizio viaggio festivo + + + importo festivo assistenza + + + importo festivo viaggio + + + importo festivo dir. fisso + + + ore fatturabili festivo + + + importo totale festivo assistenza + + + importo totale festivo viaggio + + + desc assistenza festivo + + + desc dir fisso festivo + + + desc viaggio festivo + + + importo unitario viaggio 2 + + + importo totale viaggio 2 + + + U.M. viaggio 2 + + + Km totali viaggio 2 + + + codice intervento + + + Numero ordine + + + ore fatturabili starordinario aiutante + + + ore fatturabili notturne aiutante + + + ore fatturabili festive aiutante + + + importo straordinario aiutante + + + importo notte aiutante + + + importo festivo aiutante + + + servizio assistenza straordinario aiutante + + + descrizione servizio assistenza aiutante + + + descrizione servizio notte aiutante + + + descrizione servizio festivo aiutante + + + servizio festivo aiutante + + + descrizione festivo aiutante + + + importo ore straordinario aiutante + + + importo ore notturne aiutante + + + importo ore festive aiutante + + + periodo + + + numero pasti + + + importo pasti + + + + + + flag forza ore lavoro + + + flag forza impianto + + + + + + + + Seriale + + + + + Azienda + + + + + Codice Impianto + + + + + Seriale chiamata + + + + + Seriale chiamata + + + + + Data rapportino + + + + Rapp_New + + + + Seriale rapportini + + + + + Tipo rapportini + + + + + Azienda + + + + + Codice Impianto + + + + + Azienda su cui è la chiamata + + + + + Seriale chiamata + + + + + Seriale chiamata + + + + + Data rapportino + + + + + Ora inizio + + + + + minuto inizio + + + + + Ora fine + + + + + Minuto fine + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + descrizione intervento + + + + + stato + + + + + generato + + + + + azienda tecnico + + + + + codice tecnico + + + + + flag rifiutata + + + + + nminativo firma + + + + + flag stato In Carico + + + + + data validità + + + + + pathg immagine buono o firma + + + + + seriale del buono + + + + + data/ora effettiva del lavoro (nel caso dispositivo offline) + + + + + codice_intervento (valido per manutenzioni. Esempio: SEM=semestrale) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Vista Rapp_New + + + Seriale rapportini + + + + Tipo rapportini + + + + + Azienda + + + + + Codice Impianto + + + + + Azienda su cui è la chiamata + + + + + Seriale chiamata + + + + + Seriale chiamata + + + + + Data rapportino + + + + + Ora inizio + + + + + minuto inizio + + + + + Ora fine + + + + + Minuto fine + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + descrizione intervento + + + + + stato + + + + + generato + + + + + azienda tecnico + + + + + codice tecnico + + + + + flag rifiutata + + + + + nminativo firma + + + + + flag stato In Carico + + + + + data validità + + + + + pathg immagine buono o firma + + + + + seriale del buono + + + + + data/ora effettiva del lavoro (nel caso dispositivo offline) + + + + + codice_intervento (valido per manutenzioni. Esempio: SEM=semestrale) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Form di registrazione + + + tipo + + + Nome + + + Cognome + + + Telefono + + + Cellulare + + + Email + + + Email di conferma + + + Azienda + + + Username + + + Password + + + Città + + + Provincia (sigla) + + + Nazione (sigla) + + + Attivato (S/N) + + + Token registrazione + + + + Contiene i campi di SALDIART + + + + articolo + + + descrizione articolo + + + magazzino + + + quantita + + + matricola + + + lotto + + + listino + + + articolo del listino + + + data validità listino + + + quantita + + + prezzo + + + sconto1 + + + sconto2 + + + sconto3 + + + sconto4 + + + articolo gestito a matricole(S/N) + + + articolo gestito a lotti (S e C=si, N=no) + + + descrizione per ogni articolo (se abilitata da configurazioni) + + + + + + + + + + + + + + + SAROM_CHIAMATEDbContext + + + SAROM_CHIAMATEDbContext + + + SAROM_CHIAMATEDbContext + + + OnModelCreating + + + + + + Chiusure + + + + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Manutenzioni + + + Manutenzioni + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + A + + + + + + Rapportini + + + ConfigurazioniDbContext + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Rapportini + + + ConfigurazioniDbContext + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Rapportini + + + Rapportini + + + ConfigurazioniDbContext + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + azienda + + + tecnico + + + zona + + + Inizio sostituzione + + + Fine sostituzione + + + codice sostituzione + + + Storico impianti + + + seriale rapportino + + + seriale rapportino + + + indice riga + + + codice magazzino + + + codice articolo + + + descrizione articolo + + + tipologia movimento (E=eliminato,A=aggiunto,S=sotituito) + + + quantità articolo + + + prezzo articolo + + + codice tecnico + + + descrizione tecnico + + + documento generato + + + note + + + codice lotto articolo + + + matricola articolo + + + + + + codice impianto + + + descrizione impianto + + + azienda impianto + + + tipo indirizzo (via, strada) + + + indirizzo + + + indirizzo numero + + + indirizzo scala + + + indirizzo sottonumero + + + Storico impianti- output + + + (LISTA)data rapportino + + + (LISTA) codice articolo + + + (LISTA) tipologia movimento (E=eliminato,A=aggiunto,S=sotituito) + + + dettaglio movimento impianto + + + errore titolo + + + errore dettaglio + + + errore status code (200, 500) + + + + Storico interventi New + + + + (LISTA) codice tecnico + + + (LISTA) descrizione tecnico + + + (LISTA) note esito + + + (LISTA) note esito + + + stato finale + + + esito intervento + + + descrizione intervento + + + firma rapportino + + + seriale chiamata (se chiamata, altrimenti null + + + seriale buono + + + difetti riscontrati + + + lavoro eseguito + + + note intervento + + + ore lavoro + + + costo materiale + + + diritto chiamata + + + anticipo + + + manodopera + + + spese viaggio + + + pagamento + + + codice impianto + + + totale + + + note pagamento + + + tipo intervento + + + rapportino generato in adhoc S/N + + + azienda tecnico + + + azienda impianto + + + azienda chiamata + + + cod chiusura 1 + + + cod chiusura 2 + + + cod chiusura 3 + + + cod chiusura 4 + + + cod chiusura 5 + + + cod chiusura 6 + + + cod chiusura 7 + + + cod chiusura 8 + + + cod chiusura 9 + + + cod chiusura 10 + + + des cod chiusura 1 + + + des cod chiusura 2 + + + des cod chiusura 3 + + + des cod chiusura 4 + + + des cod chiusura 5 + + + des cod chiusura 6 + + + des cod chiusura 7 + + + des cod chiusura 8 + + + des cod chiusura 9 + + + des cod chiusura 10 + + + des supp cod chiusura 1 + + + des supp cod chiusura 2 + + + des supp cod chiusura 3 + + + des supp cod chiusura 4 + + + des supp cod chiusura 5 + + + des supp cod chiusura 6 + + + des supp cod chiusura 7 + + + des supp cod chiusura 8 + + + des supp cod chiusura 9 + + + des supp cod chiusura 10 + + + seriale rapportino + + + codice intervento manutenzione + + + descrizione intervento manutenzione + + + descrizione suppl. intervento manutenzione + + + descrizione suppl. codice intervento manutenzione + + + codice segnalazione chiamata + + + tipo indirizzo (via, strada) + + + indirizzo + + + indirizzo numero + + + indirizzo scala + + + indirizzo sottonumero + + + ViSTA Chiamate + + + (LISTA) codice tecnico + + + (LISTA) descrizione tecnico + + + (LISTA) note esito + + + (LISTA) note esito + + + dettaglio rapportino + + + errore titolo + + + errore dettaglio + + + errore status code (200, 500) + + + Tabelle di Dominio + + + lista causali rapportino + + + lista causali pagamento + + + stati impianto + + + esito intervento + + + + + + + + + + + + tecnici + + + + Codice tecnico + + + + + Descrizione tecnico + + + + + telefono tecnico + + + + + Qualifica tecnico chiamatista + + + + + Qualifica tecnico manutentore + + + + + Azienda tecnico + + + + + Qualifica tecnico supervisore + + + + + Username tecnico + + + + + Password tecnico + + + + + Zona tecnico + + + + + data inizio attività tecnico + + + + + data fine attività tecnico + + + + + (Virtual Task) Contiene i campi di TECNICI + + + + + + + + + + + + + + + + + + + + + + costo ordinario + + + costo notturno + + + costo straordinario + + + costo festivo + + + data cancellazione + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Rapportini + + + ConfigurazioniDbContext + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Tabella Timbrature + + + chiave primaria + + + data + + + ora inizio + + + minuto inizio + + + ora fine + + + minuto fine + + + commessa + + + ore viaggio + + + totale ore + + + giorno settimana + + + azienda + + + tecnico + + + cpccchk + + + note + + + Timbrature OUT + + + id: chiave + + + data + + + ora inizio + + + minuto inizio + + + ora fine + + + minuto fine + + + commessa + + + ore viaggio + + + giorno settimana + + + azienda + + + tecnico + + + errore titolo + + + errore dettaglio + + + errore status code (200, 500) + + + note + + + token di login sul device + + + id + + + tenant azienda + + + utente login + + + token device + + + timestamp inserimento + + + TokenDbContext + + + conf + + + ConfigurazioniDbContext + + + OnModelCreating + + + token di login sul device- output + + + tenant azienda + + + utente login + + + token device + + + timestamp inserimento + + + Error Message + + + Error Message detail + + + Status + + + response + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Configuration + + + Startup + + + Costruttore + + + + + + + + + + + + tenant azienda + + + utente login + + + token device + + + title + + + body + + + not + + + Startup + + + Configuration + + + Startup + + + ConfigureServices + + + Configure:This method gets called by the runtime. Use this method to configure the HTTP request pipeline. + + + diff --git a/ApiPolo/bin/Release/net6.0/Cronos.dll b/ApiPolo/bin/Release/net6.0/Cronos.dll new file mode 100644 index 0000000..7bb2380 Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/Cronos.dll differ diff --git a/ApiPolo/bin/Release/net6.0/FirebaseAdmin.dll b/ApiPolo/bin/Release/net6.0/FirebaseAdmin.dll new file mode 100644 index 0000000..0af156d Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/FirebaseAdmin.dll differ diff --git a/ApiPolo/bin/Release/net6.0/Google.Api.Gax.Rest.dll b/ApiPolo/bin/Release/net6.0/Google.Api.Gax.Rest.dll new file mode 100644 index 0000000..af4cdcc Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/Google.Api.Gax.Rest.dll differ diff --git a/ApiPolo/bin/Release/net6.0/Google.Api.Gax.dll b/ApiPolo/bin/Release/net6.0/Google.Api.Gax.dll new file mode 100644 index 0000000..54f31f7 Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/Google.Api.Gax.dll differ diff --git a/ApiPolo/bin/Release/net6.0/Google.Apis.Auth.PlatformServices.dll b/ApiPolo/bin/Release/net6.0/Google.Apis.Auth.PlatformServices.dll new file mode 100644 index 0000000..6ee6d62 Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/Google.Apis.Auth.PlatformServices.dll differ diff --git a/ApiPolo/bin/Release/net6.0/Google.Apis.Auth.dll b/ApiPolo/bin/Release/net6.0/Google.Apis.Auth.dll new file mode 100644 index 0000000..6651c21 Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/Google.Apis.Auth.dll differ diff --git a/ApiPolo/bin/Release/net6.0/Google.Apis.Core.dll b/ApiPolo/bin/Release/net6.0/Google.Apis.Core.dll new file mode 100644 index 0000000..d362eab Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/Google.Apis.Core.dll differ diff --git a/ApiPolo/bin/Release/net6.0/Google.Apis.dll b/ApiPolo/bin/Release/net6.0/Google.Apis.dll new file mode 100644 index 0000000..8abd9c0 Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/Google.Apis.dll differ diff --git a/ApiPolo/bin/Release/net6.0/Humanizer.dll b/ApiPolo/bin/Release/net6.0/Humanizer.dll new file mode 100644 index 0000000..df62d3f Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/Humanizer.dll differ diff --git a/ApiPolo/bin/Release/net6.0/Microsoft.AspNetCore.Authentication.Negotiate.dll b/ApiPolo/bin/Release/net6.0/Microsoft.AspNetCore.Authentication.Negotiate.dll new file mode 100644 index 0000000..927529e Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/Microsoft.AspNetCore.Authentication.Negotiate.dll differ diff --git a/ApiPolo/bin/Release/net6.0/Microsoft.AspNetCore.Connections.Abstractions.dll b/ApiPolo/bin/Release/net6.0/Microsoft.AspNetCore.Connections.Abstractions.dll new file mode 100644 index 0000000..85586ae Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/Microsoft.AspNetCore.Connections.Abstractions.dll differ diff --git a/ApiPolo/bin/Release/net6.0/Microsoft.Bcl.AsyncInterfaces.dll b/ApiPolo/bin/Release/net6.0/Microsoft.Bcl.AsyncInterfaces.dll new file mode 100644 index 0000000..30cb199 Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/Microsoft.Bcl.AsyncInterfaces.dll differ diff --git a/ApiPolo/bin/Release/net6.0/Microsoft.Data.SqlClient.dll b/ApiPolo/bin/Release/net6.0/Microsoft.Data.SqlClient.dll new file mode 100644 index 0000000..3114e92 Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/Microsoft.Data.SqlClient.dll differ diff --git a/ApiPolo/bin/Release/net6.0/Microsoft.EntityFrameworkCore.Abstractions.dll b/ApiPolo/bin/Release/net6.0/Microsoft.EntityFrameworkCore.Abstractions.dll new file mode 100644 index 0000000..c0bf058 Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/Microsoft.EntityFrameworkCore.Abstractions.dll differ diff --git a/ApiPolo/bin/Release/net6.0/Microsoft.EntityFrameworkCore.Design.dll b/ApiPolo/bin/Release/net6.0/Microsoft.EntityFrameworkCore.Design.dll new file mode 100644 index 0000000..9795c0d Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/Microsoft.EntityFrameworkCore.Design.dll differ diff --git a/ApiPolo/bin/Release/net6.0/Microsoft.EntityFrameworkCore.Relational.dll b/ApiPolo/bin/Release/net6.0/Microsoft.EntityFrameworkCore.Relational.dll new file mode 100644 index 0000000..b1f7d91 Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/Microsoft.EntityFrameworkCore.Relational.dll differ diff --git a/ApiPolo/bin/Release/net6.0/Microsoft.EntityFrameworkCore.SqlServer.dll b/ApiPolo/bin/Release/net6.0/Microsoft.EntityFrameworkCore.SqlServer.dll new file mode 100644 index 0000000..ba97f6b Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/Microsoft.EntityFrameworkCore.SqlServer.dll differ diff --git a/ApiPolo/bin/Release/net6.0/Microsoft.EntityFrameworkCore.dll b/ApiPolo/bin/Release/net6.0/Microsoft.EntityFrameworkCore.dll new file mode 100644 index 0000000..ae94b8b Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/Microsoft.EntityFrameworkCore.dll differ diff --git a/ApiPolo/bin/Release/net6.0/Microsoft.Extensions.Caching.Memory.dll b/ApiPolo/bin/Release/net6.0/Microsoft.Extensions.Caching.Memory.dll new file mode 100644 index 0000000..42eb85f Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/Microsoft.Extensions.Caching.Memory.dll differ diff --git a/ApiPolo/bin/Release/net6.0/Microsoft.Extensions.Features.dll b/ApiPolo/bin/Release/net6.0/Microsoft.Extensions.Features.dll new file mode 100644 index 0000000..71bca4a Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/Microsoft.Extensions.Features.dll differ diff --git a/ApiPolo/bin/Release/net6.0/Microsoft.Identity.Client.dll b/ApiPolo/bin/Release/net6.0/Microsoft.Identity.Client.dll new file mode 100644 index 0000000..c01fcbf Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/Microsoft.Identity.Client.dll differ diff --git a/ApiPolo/bin/Release/net6.0/Microsoft.IdentityModel.JsonWebTokens.dll b/ApiPolo/bin/Release/net6.0/Microsoft.IdentityModel.JsonWebTokens.dll new file mode 100644 index 0000000..70b84f2 Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/Microsoft.IdentityModel.JsonWebTokens.dll differ diff --git a/ApiPolo/bin/Release/net6.0/Microsoft.IdentityModel.Logging.dll b/ApiPolo/bin/Release/net6.0/Microsoft.IdentityModel.Logging.dll new file mode 100644 index 0000000..7ecc3be Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/Microsoft.IdentityModel.Logging.dll differ diff --git a/ApiPolo/bin/Release/net6.0/Microsoft.IdentityModel.Protocols.OpenIdConnect.dll b/ApiPolo/bin/Release/net6.0/Microsoft.IdentityModel.Protocols.OpenIdConnect.dll new file mode 100644 index 0000000..d925b5b Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/Microsoft.IdentityModel.Protocols.OpenIdConnect.dll differ diff --git a/ApiPolo/bin/Release/net6.0/Microsoft.IdentityModel.Protocols.dll b/ApiPolo/bin/Release/net6.0/Microsoft.IdentityModel.Protocols.dll new file mode 100644 index 0000000..17423cc Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/Microsoft.IdentityModel.Protocols.dll differ diff --git a/ApiPolo/bin/Release/net6.0/Microsoft.IdentityModel.Tokens.dll b/ApiPolo/bin/Release/net6.0/Microsoft.IdentityModel.Tokens.dll new file mode 100644 index 0000000..dd66624 Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/Microsoft.IdentityModel.Tokens.dll differ diff --git a/ApiPolo/bin/Release/net6.0/Microsoft.OpenApi.dll b/ApiPolo/bin/Release/net6.0/Microsoft.OpenApi.dll new file mode 100644 index 0000000..14f3ded Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/Microsoft.OpenApi.dll differ diff --git a/ApiPolo/bin/Release/net6.0/Microsoft.Web.Infrastructure.dll b/ApiPolo/bin/Release/net6.0/Microsoft.Web.Infrastructure.dll new file mode 100644 index 0000000..85f1138 Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/Microsoft.Web.Infrastructure.dll differ diff --git a/ApiPolo/bin/Release/net6.0/Microsoft.Win32.SystemEvents.dll b/ApiPolo/bin/Release/net6.0/Microsoft.Win32.SystemEvents.dll new file mode 100644 index 0000000..e27fe8d Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/Microsoft.Win32.SystemEvents.dll differ diff --git a/ApiPolo/bin/Release/net6.0/Newtonsoft.Json.dll b/ApiPolo/bin/Release/net6.0/Newtonsoft.Json.dll new file mode 100644 index 0000000..d035c38 Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/Newtonsoft.Json.dll differ diff --git a/ApiPolo/bin/Release/net6.0/Renci.SshNet.dll b/ApiPolo/bin/Release/net6.0/Renci.SshNet.dll new file mode 100644 index 0000000..181b7b2 Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/Renci.SshNet.dll differ diff --git a/ApiPolo/bin/Release/net6.0/SshNet.Security.Cryptography.dll b/ApiPolo/bin/Release/net6.0/SshNet.Security.Cryptography.dll new file mode 100644 index 0000000..2761fd1 Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/SshNet.Security.Cryptography.dll differ diff --git a/ApiPolo/bin/Release/net6.0/Swashbuckle.AspNetCore.Swagger.dll b/ApiPolo/bin/Release/net6.0/Swashbuckle.AspNetCore.Swagger.dll new file mode 100644 index 0000000..88995c9 Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/Swashbuckle.AspNetCore.Swagger.dll differ diff --git a/ApiPolo/bin/Release/net6.0/Swashbuckle.AspNetCore.SwaggerGen.dll b/ApiPolo/bin/Release/net6.0/Swashbuckle.AspNetCore.SwaggerGen.dll new file mode 100644 index 0000000..6afe2f0 Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/Swashbuckle.AspNetCore.SwaggerGen.dll differ diff --git a/ApiPolo/bin/Release/net6.0/Swashbuckle.AspNetCore.SwaggerUI.dll b/ApiPolo/bin/Release/net6.0/Swashbuckle.AspNetCore.SwaggerUI.dll new file mode 100644 index 0000000..0f538a7 Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/Swashbuckle.AspNetCore.SwaggerUI.dll differ diff --git a/ApiPolo/bin/Release/net6.0/System.Configuration.ConfigurationManager.dll b/ApiPolo/bin/Release/net6.0/System.Configuration.ConfigurationManager.dll new file mode 100644 index 0000000..6f34b8d Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/System.Configuration.ConfigurationManager.dll differ diff --git a/ApiPolo/bin/Release/net6.0/System.DirectoryServices.Protocols.dll b/ApiPolo/bin/Release/net6.0/System.DirectoryServices.Protocols.dll new file mode 100644 index 0000000..f82bc91 Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/System.DirectoryServices.Protocols.dll differ diff --git a/ApiPolo/bin/Release/net6.0/System.Drawing.Common.dll b/ApiPolo/bin/Release/net6.0/System.Drawing.Common.dll new file mode 100644 index 0000000..69e5f5c Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/System.Drawing.Common.dll differ diff --git a/ApiPolo/bin/Release/net6.0/System.IO.Pipelines.dll b/ApiPolo/bin/Release/net6.0/System.IO.Pipelines.dll new file mode 100644 index 0000000..8ee4dfd Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/System.IO.Pipelines.dll differ diff --git a/ApiPolo/bin/Release/net6.0/System.IdentityModel.Tokens.Jwt.dll b/ApiPolo/bin/Release/net6.0/System.IdentityModel.Tokens.Jwt.dll new file mode 100644 index 0000000..efd3c61 Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/System.IdentityModel.Tokens.Jwt.dll differ diff --git a/ApiPolo/bin/Release/net6.0/System.Runtime.Caching.dll b/ApiPolo/bin/Release/net6.0/System.Runtime.Caching.dll new file mode 100644 index 0000000..6fedfab Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/System.Runtime.Caching.dll differ diff --git a/ApiPolo/bin/Release/net6.0/System.Security.Cryptography.ProtectedData.dll b/ApiPolo/bin/Release/net6.0/System.Security.Cryptography.ProtectedData.dll new file mode 100644 index 0000000..a60b95b Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/System.Security.Cryptography.ProtectedData.dll differ diff --git a/ApiPolo/bin/Release/net6.0/System.Security.Permissions.dll b/ApiPolo/bin/Release/net6.0/System.Security.Permissions.dll new file mode 100644 index 0000000..76faf41 Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/System.Security.Permissions.dll differ diff --git a/ApiPolo/bin/Release/net6.0/System.Web.Helpers.dll b/ApiPolo/bin/Release/net6.0/System.Web.Helpers.dll new file mode 100644 index 0000000..5979bab Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/System.Web.Helpers.dll differ diff --git a/ApiPolo/bin/Release/net6.0/System.Web.Mvc.dll b/ApiPolo/bin/Release/net6.0/System.Web.Mvc.dll new file mode 100644 index 0000000..781deee Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/System.Web.Mvc.dll differ diff --git a/ApiPolo/bin/Release/net6.0/System.Web.Razor.dll b/ApiPolo/bin/Release/net6.0/System.Web.Razor.dll new file mode 100644 index 0000000..a992c65 Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/System.Web.Razor.dll differ diff --git a/ApiPolo/bin/Release/net6.0/System.Web.WebPages.Deployment.dll b/ApiPolo/bin/Release/net6.0/System.Web.WebPages.Deployment.dll new file mode 100644 index 0000000..295581a Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/System.Web.WebPages.Deployment.dll differ diff --git a/ApiPolo/bin/Release/net6.0/System.Web.WebPages.Razor.dll b/ApiPolo/bin/Release/net6.0/System.Web.WebPages.Razor.dll new file mode 100644 index 0000000..6d830f3 Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/System.Web.WebPages.Razor.dll differ diff --git a/ApiPolo/bin/Release/net6.0/System.Web.WebPages.dll b/ApiPolo/bin/Release/net6.0/System.Web.WebPages.dll new file mode 100644 index 0000000..4a910af Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/System.Web.WebPages.dll differ diff --git a/ApiPolo/bin/Release/net6.0/System.Windows.Extensions.dll b/ApiPolo/bin/Release/net6.0/System.Windows.Extensions.dll new file mode 100644 index 0000000..7f075b2 Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/System.Windows.Extensions.dll differ diff --git a/ApiPolo/bin/Release/net6.0/appsettings.Development.json b/ApiPolo/bin/Release/net6.0/appsettings.Development.json new file mode 100644 index 0000000..0c208ae --- /dev/null +++ b/ApiPolo/bin/Release/net6.0/appsettings.Development.json @@ -0,0 +1,8 @@ +{ + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Warning" + } + } +} diff --git a/ApiPolo/bin/Release/net6.0/appsettings.json b/ApiPolo/bin/Release/net6.0/appsettings.json new file mode 100644 index 0000000..57b3441 --- /dev/null +++ b/ApiPolo/bin/Release/net6.0/appsettings.json @@ -0,0 +1,55 @@ +{ + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Warning" + } + }, + "AllowedHosts": "*", + "ConnectionStrings": { + + //connessione non sicura: Encrypt=False + + /*"ApiStr": "Data Source=10.0.0.19;Initial Catalog=API_POLO;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False",*/ + "ApiStr": "Data Source=10.0.0.10;Initial Catalog=API_POLO;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + /*"ApiStr": "Data Source=10.0.0.19;Initial Catalog=API_POLO;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False",*/ + + /*"FERRA": "Data Source=10.0.0.10;Initial Catalog=AHR60_FERRARI;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False",*/ + "FERRA": "Data Source=37.159.179.14;Initial Catalog=AHR80_TEST;User Id=AppPolo; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False;Encrypt=False;Trust Server Certificate=True", + + /*"MARRO": "Data Source=poloinformatico57.clienti.init-s.it;Initial Catalog=R80_MARROCCO_TEST;User Id=app; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False",*/ + "MARRO": "Data Source=10.0.0.10;Initial Catalog=R80_MARROCCO;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + /*"MARRO": "Data Source=poloinformatico57.clienti.init-s.it;Initial Catalog=R80_MARROCCO;User Id=app; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False",*/ + + "GITSR": "Data Source=poloinformatico57.clienti.init-s.it;Initial Catalog=R80_GITSR;User Id=app; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + "GITSR_MARRO": "Data Source=poloinformatico57.clienti.init-s.it;Initial Catalog=R80_MARROCCO;User Id=app; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + + "LIFTA": "Data Source=poloinformatico57.clienti.init-s.it;Initial Catalog=R80_LIFTA;User Id=app; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + "LIFTA_MARRO": "Data Source=poloinformatico57.clienti.init-s.it;Initial Catalog=R80_MARROCCO;User Id=app; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + + /*"SICILIA": "Data Source=10.0.0.10;Initial Catalog=AHR_SICILIA;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False",*/ + "SICILIA": "Data Source=studioliuzzo.selfip.net;Initial Catalog=AHR_TEST_APP;User Id=sa; Password=1Zucchetti;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + + /*"DISCO": "Data Source=10.0.0.10;Initial Catalog=AHR60_FERRARI_VISTE_DISCO;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False",*/ + /*"DISCO": "Data Source=37.159.179.14;Initial Catalog=R80_DISCO;User Id=sa; Password=Poloinf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False",*/ + "DISCO": "Data Source=discoverylift.dyndns.org;Initial Catalog=TEST_APP_NEW;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + + "SAROM": "Data Source=37.159.179.14;Initial Catalog=AHR60_SAROM_TEST80;User Id=sa; Password=Poloinf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + /*"SAROM": "Data Source=10.0.0.10;Initial Catalog=AHR80_SAROM;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False",*/ + + /*"SINER": "Data Source=10.0.0.10;Initial Catalog=AHR_SINERGO;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False"*/ + "SINER": "Data Source=ufficio.sinergogroup.it,31433;Initial Catalog=AHR_TECLI;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + + "SIET2": "Data Source=194.50.74.66;Initial Catalog=R65_SIET;User Id=sa; Password=W1ld1x42;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + + "PMS": "Data Source=10.0.0.10;Initial Catalog=PMS_DEMO;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + "VIRTUAL_TASK": "Data Source=10.0.0.10;Initial Catalog=VIRTUAL_TASK;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False" + + + }, + "JWT": { + "ValidAudience": "http://localhost:4200", + "ValidIssuer": "http://localhost:61955", + "Secret": "ByYM000OLlMQG6VVVp1OH7Xzyr7gHuw1qvUC5dcGt3SNM" + } +} diff --git a/ApiPolo/bin/Release/net6.0/private_key.json b/ApiPolo/bin/Release/net6.0/private_key.json new file mode 100644 index 0000000..81ef1c5 --- /dev/null +++ b/ApiPolo/bin/Release/net6.0/private_key.json @@ -0,0 +1,12 @@ +{ + "type": "service_account", + "project_id": "testpolo-5e86a", + "private_key_id": "80c027bfe39f398545dd21f60b92dd257bc50bbf", + "private_key": "-----BEGIN PRIVATE KEY-----\nMIIEuwIBADANBgkqhkiG9w0BAQEFAASCBKUwggShAgEAAoIBAQCpmJDlg4ayXKDh\nb58MgM/IpYlY90ktO5Wg9HrUWoNQrAYKUVReVZxT1ZagvCNDZMRRPsVMYKc60ru/\nVjhjv3igraKO78TjSF9BiWl019KObmVZ1h5mPAsLC2+8hzWSWspRC/Gvnhc5d6/f\nzD1UbVi9gCYaSGoRZjwa79PFYvH0v+CIf3BBxmj7vxD+PEY4p7Eh4J/QOMNGbsJr\nMzODfOGly8Vl7FEHiMLnNZHdNyN5GLgjlCJmH5wKBiPp5H22D0l23GCdDsvlHM1d\n6oF/lLcQF9raXrN7rNRkGgz9KLLz0vMAg/OGi2CK1WRa4CkXElo0fZn74mLoeNu8\neqdQowx/AgMBAAECgf8OSl8P006GS0fVbgAde090mMdnt7e7823xazqlPGj40POx\nWJbDXCo9wZ0UN1h4MLxaHDkWEepOnODr9Vfvog4aV2KkX4/J4Cq47Uj1j4MufUN6\nvCJl6KlOsqgAzRq2g4I/my/CU2tYbE+usIcMurxRzcOxTrHqfEUmkjNqkxBijxMI\nxuybqv3z4/+G3nZIlh9hol1fdx0196QTFNQSGWZOr7EvIuFhxR3vPFvwY1jIvcHP\nmhJtmq/wcTgpTiDGJ5XZk840O7C7K2R3lUWbE3HJjZuLeaq6zOkXfC6sP9rIsC9c\n1o21misyvocSZoupXe8Q9Xf9t/nKCt7n4BmPRkkCgYEA3c1S+EzCp8ll40bBPWFW\n7Z5R3ejOzuluKLI/ztU2tx5uFOSsV6mv7mM6ATWK4CGGkOPmfOitn8AOz0PvuXf/\nzmmhfXwiIR50wbe43VYdFpAb7xMf674YC5ULZ55Jm3IIwsZwAr9EkGtbl1qUuPjp\nIhArtEZcvRqoKRbrWVaJ27MCgYEAw76h8NfydgRFauG++ynQLrQ36oIDigIucIli\nvm0DjR7tzSsgsRkYa4TiCleZnNkRqgUqzCCm3hqndixyLhwwg3l/ZpIOIeAN/wII\nqLO/7mn47gGZgzBn44TaOmI5d78pf04l43/rA6gjMzW0AS51OchZHI4AG4nI3aUu\nmjD+NgUCgYAaHEivKEImBGR1K+gltKbKFEAo8nYeD4bDTbCLRbhKOE/XL9BGBZjL\nZGz4pXfyyJ+RwPJqM+30h2R269V1rPW1M+Qp5IoUAgTWpS0jCTclZ9OSAltYoiks\ne+A603xwyyzS2Q9ok2Gb6rd+itBFMjAnrWWntDzImjG/nI4aF0DlVwKBgB5d2ZOa\nfLPQT9CX+t/OCczlCnOn/dKQKhItThNKqC1hafTVRvoScZZkhAiktGD/z9y3dn86\nZYi5S9dqZ8A9gU00MQ6BhA2/S4yPDTbWw+TBreuGdgFDJirGtnAuQsoP7ukf/4K+\nmn/zupo8L5OrWGZBbYmfgebDxlSURpmHFjjdAoGBAIunnz+KWA/0stDB4FLZt8QS\n7Z9/CytT0F1hVnVieKpWtbhvvoLs+svcvTCvqeQmEUxhiX5r8N4xTjd0MwcyKjRi\ny724SWzJmdplqj5YRHrLGbmAsgqZZg3tAGJROhxH/utxBgfDBkki0if+DKysQAC/\nYJzjNY7HdXC2It0gH5iZ\n-----END PRIVATE KEY-----\n", + "client_email": "firebase-adminsdk-ypxny@testpolo-5e86a.iam.gserviceaccount.com", + "client_id": "118193031755958431078", + "auth_uri": "https://accounts.google.com/o/oauth2/auth", + "token_uri": "https://oauth2.googleapis.com/token", + "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs", + "client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/firebase-adminsdk-ypxny%40testpolo-5e86a.iam.gserviceaccount.com" +} \ No newline at end of file diff --git a/ApiPolo/bin/Release/net6.0/runtimes/linux/lib/net6.0/System.DirectoryServices.Protocols.dll b/ApiPolo/bin/Release/net6.0/runtimes/linux/lib/net6.0/System.DirectoryServices.Protocols.dll new file mode 100644 index 0000000..a274287 Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/runtimes/linux/lib/net6.0/System.DirectoryServices.Protocols.dll differ diff --git a/ApiPolo/bin/Release/net6.0/runtimes/osx/lib/net6.0/System.DirectoryServices.Protocols.dll b/ApiPolo/bin/Release/net6.0/runtimes/osx/lib/net6.0/System.DirectoryServices.Protocols.dll new file mode 100644 index 0000000..c14a840 Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/runtimes/osx/lib/net6.0/System.DirectoryServices.Protocols.dll differ diff --git a/ApiPolo/bin/Release/net6.0/runtimes/unix/lib/netcoreapp3.0/System.Drawing.Common.dll b/ApiPolo/bin/Release/net6.0/runtimes/unix/lib/netcoreapp3.0/System.Drawing.Common.dll new file mode 100644 index 0000000..3a19d3d Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/runtimes/unix/lib/netcoreapp3.0/System.Drawing.Common.dll differ diff --git a/ApiPolo/bin/Release/net6.0/runtimes/unix/lib/netcoreapp3.1/Microsoft.Data.SqlClient.dll b/ApiPolo/bin/Release/net6.0/runtimes/unix/lib/netcoreapp3.1/Microsoft.Data.SqlClient.dll new file mode 100644 index 0000000..231e75a Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/runtimes/unix/lib/netcoreapp3.1/Microsoft.Data.SqlClient.dll differ diff --git a/ApiPolo/bin/Release/net6.0/runtimes/win-arm/native/Microsoft.Data.SqlClient.SNI.dll b/ApiPolo/bin/Release/net6.0/runtimes/win-arm/native/Microsoft.Data.SqlClient.SNI.dll new file mode 100644 index 0000000..3068646 Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/runtimes/win-arm/native/Microsoft.Data.SqlClient.SNI.dll differ diff --git a/ApiPolo/bin/Release/net6.0/runtimes/win-arm64/native/Microsoft.Data.SqlClient.SNI.dll b/ApiPolo/bin/Release/net6.0/runtimes/win-arm64/native/Microsoft.Data.SqlClient.SNI.dll new file mode 100644 index 0000000..965f535 Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/runtimes/win-arm64/native/Microsoft.Data.SqlClient.SNI.dll differ diff --git a/ApiPolo/bin/Release/net6.0/runtimes/win-x64/native/Microsoft.Data.SqlClient.SNI.dll b/ApiPolo/bin/Release/net6.0/runtimes/win-x64/native/Microsoft.Data.SqlClient.SNI.dll new file mode 100644 index 0000000..227b87b Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/runtimes/win-x64/native/Microsoft.Data.SqlClient.SNI.dll differ diff --git a/ApiPolo/bin/Release/net6.0/runtimes/win-x86/native/Microsoft.Data.SqlClient.SNI.dll b/ApiPolo/bin/Release/net6.0/runtimes/win-x86/native/Microsoft.Data.SqlClient.SNI.dll new file mode 100644 index 0000000..0add8c2 Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/runtimes/win-x86/native/Microsoft.Data.SqlClient.SNI.dll differ diff --git a/ApiPolo/bin/Release/net6.0/runtimes/win/lib/net6.0/System.DirectoryServices.Protocols.dll b/ApiPolo/bin/Release/net6.0/runtimes/win/lib/net6.0/System.DirectoryServices.Protocols.dll new file mode 100644 index 0000000..3ebf5d8 Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/runtimes/win/lib/net6.0/System.DirectoryServices.Protocols.dll differ diff --git a/ApiPolo/bin/Release/net6.0/runtimes/win/lib/netcoreapp3.0/Microsoft.Win32.SystemEvents.dll b/ApiPolo/bin/Release/net6.0/runtimes/win/lib/netcoreapp3.0/Microsoft.Win32.SystemEvents.dll new file mode 100644 index 0000000..c49c358 Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/runtimes/win/lib/netcoreapp3.0/Microsoft.Win32.SystemEvents.dll differ diff --git a/ApiPolo/bin/Release/net6.0/runtimes/win/lib/netcoreapp3.0/System.Drawing.Common.dll b/ApiPolo/bin/Release/net6.0/runtimes/win/lib/netcoreapp3.0/System.Drawing.Common.dll new file mode 100644 index 0000000..9a04b68 Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/runtimes/win/lib/netcoreapp3.0/System.Drawing.Common.dll differ diff --git a/ApiPolo/bin/Release/net6.0/runtimes/win/lib/netcoreapp3.0/System.Windows.Extensions.dll b/ApiPolo/bin/Release/net6.0/runtimes/win/lib/netcoreapp3.0/System.Windows.Extensions.dll new file mode 100644 index 0000000..3fb4939 Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/runtimes/win/lib/netcoreapp3.0/System.Windows.Extensions.dll differ diff --git a/ApiPolo/bin/Release/net6.0/runtimes/win/lib/netcoreapp3.1/Microsoft.Data.SqlClient.dll b/ApiPolo/bin/Release/net6.0/runtimes/win/lib/netcoreapp3.1/Microsoft.Data.SqlClient.dll new file mode 100644 index 0000000..0269777 Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/runtimes/win/lib/netcoreapp3.1/Microsoft.Data.SqlClient.dll differ diff --git a/ApiPolo/bin/Release/net6.0/runtimes/win/lib/netstandard2.0/System.Runtime.Caching.dll b/ApiPolo/bin/Release/net6.0/runtimes/win/lib/netstandard2.0/System.Runtime.Caching.dll new file mode 100644 index 0000000..175d085 Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/runtimes/win/lib/netstandard2.0/System.Runtime.Caching.dll differ diff --git a/ApiPolo/bin/Release/net6.0/runtimes/win/lib/netstandard2.0/System.Security.Cryptography.ProtectedData.dll b/ApiPolo/bin/Release/net6.0/runtimes/win/lib/netstandard2.0/System.Security.Cryptography.ProtectedData.dll new file mode 100644 index 0000000..d8f2f45 Binary files /dev/null and b/ApiPolo/bin/Release/net6.0/runtimes/win/lib/netstandard2.0/System.Security.Cryptography.ProtectedData.dll differ diff --git a/ApiPolo/loghi/disco_app2.jpg b/ApiPolo/loghi/disco_app2.jpg new file mode 100644 index 0000000..320584d Binary files /dev/null and b/ApiPolo/loghi/disco_app2.jpg differ diff --git a/ApiPolo/obj/ApiPolo.csproj.EntityFrameworkCore.targets b/ApiPolo/obj/ApiPolo.csproj.EntityFrameworkCore.targets new file mode 100644 index 0000000..7d6485d --- /dev/null +++ b/ApiPolo/obj/ApiPolo.csproj.EntityFrameworkCore.targets @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ApiPolo/obj/ApiPolo.csproj.nuget.dgspec.json b/ApiPolo/obj/ApiPolo.csproj.nuget.dgspec.json new file mode 100644 index 0000000..261671b --- /dev/null +++ b/ApiPolo/obj/ApiPolo.csproj.nuget.dgspec.json @@ -0,0 +1,111 @@ +{ + "format": 1, + "restore": { + "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\ApiPolo.csproj": {} + }, + "projects": { + "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\ApiPolo.csproj": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\ApiPolo.csproj", + "projectName": "ApiPolo", + "projectPath": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\ApiPolo.csproj", + "packagesPath": "C:\\Users\\audif\\.nuget\\packages\\", + "outputPath": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\obj\\", + "projectStyle": "PackageReference", + "configFilePaths": [ + "C:\\Users\\audif\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" + ], + "originalTargetFrameworks": [ + "net6.0" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "C:\\Program Files\\dotnet\\sdk\\7.0.302\\Sdks\\Microsoft.NET.Sdk.Web\\library-packs": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + } + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "dependencies": { + "Cronos": { + "target": "Package", + "version": "[0.7.1, )" + }, + "FirebaseAdmin": { + "target": "Package", + "version": "[2.3.0, )" + }, + "Microsoft.AspNet.Mvc": { + "target": "Package", + "version": "[5.2.9, )" + }, + "Microsoft.AspNetCore.Authentication.Negotiate": { + "target": "Package", + "version": "[6.0.5, )" + }, + "Microsoft.EntityFrameworkCore": { + "target": "Package", + "version": "[6.0.5, )" + }, + "Microsoft.EntityFrameworkCore.SqlServer": { + "target": "Package", + "version": "[6.0.5, )" + }, + "Microsoft.EntityFrameworkCore.Tools": { + "include": "Runtime, Build, Native, ContentFiles, Analyzers, BuildTransitive", + "suppressParent": "All", + "target": "Package", + "version": "[6.0.5, )" + }, + "Newtonsoft.Json": { + "target": "Package", + "version": "[13.0.3, )" + }, + "SSH.NET": { + "target": "Package", + "version": "[2020.0.2, )" + }, + "Swashbuckle.AspNetCore": { + "target": "Package", + "version": "[6.3.1, )" + } + }, + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.AspNetCore.App": { + "privateAssets": "none" + }, + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.302\\RuntimeIdentifierGraph.json" + } + } + } + } +} \ No newline at end of file diff --git a/ApiPolo/obj/ApiPolo.csproj.nuget.g.props b/ApiPolo/obj/ApiPolo.csproj.nuget.g.props new file mode 100644 index 0000000..c0f05ac --- /dev/null +++ b/ApiPolo/obj/ApiPolo.csproj.nuget.g.props @@ -0,0 +1,24 @@ + + + + True + NuGet + $(MSBuildThisFileDirectory)project.assets.json + $(UserProfile)\.nuget\packages\ + C:\Users\audif\.nuget\packages\ + PackageReference + 6.6.0 + + + + + + + + + + + C:\Users\audif\.nuget\packages\microsoft.extensions.apidescription.server\3.0.0 + C:\Users\audif\.nuget\packages\microsoft.entityframeworkcore.tools\6.0.5 + + \ No newline at end of file diff --git a/ApiPolo/obj/ApiPolo.csproj.nuget.g.targets b/ApiPolo/obj/ApiPolo.csproj.nuget.g.targets new file mode 100644 index 0000000..a03b337 --- /dev/null +++ b/ApiPolo/obj/ApiPolo.csproj.nuget.g.targets @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/ApiPolo/obj/Debug/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.cs b/ApiPolo/obj/Debug/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.cs new file mode 100644 index 0000000..ed92695 --- /dev/null +++ b/ApiPolo/obj/Debug/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v6.0", FrameworkDisplayName = ".NET 6.0")] diff --git a/ApiPolo/obj/Debug/net6.0/6808153c-08a3-4d81-bfb7-8e7f7d3ccd39_ApiPolo.pdb b/ApiPolo/obj/Debug/net6.0/6808153c-08a3-4d81-bfb7-8e7f7d3ccd39_ApiPolo.pdb new file mode 100644 index 0000000..32836c7 Binary files /dev/null and b/ApiPolo/obj/Debug/net6.0/6808153c-08a3-4d81-bfb7-8e7f7d3ccd39_ApiPolo.pdb differ diff --git a/ApiPolo/obj/Debug/net6.0/ApiPolo.AssemblyInfo.cs b/ApiPolo/obj/Debug/net6.0/ApiPolo.AssemblyInfo.cs new file mode 100644 index 0000000..5ec3b6c --- /dev/null +++ b/ApiPolo/obj/Debug/net6.0/ApiPolo.AssemblyInfo.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// +// Il codice è stato generato da uno strumento. +// Versione runtime:4.0.30319.42000 +// +// Le modifiche apportate a questo file possono provocare un comportamento non corretto e andranno perse se +// il codice viene rigenerato. +// +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: System.Reflection.AssemblyCompanyAttribute("ApiPolo")] +[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] +[assembly: System.Reflection.AssemblyProductAttribute("ApiPolo")] +[assembly: System.Reflection.AssemblyTitleAttribute("ApiPolo")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] + +// Generato dalla classe WriteCodeFragment di MSBuild. + diff --git a/ApiPolo/obj/Debug/net6.0/ApiPolo.AssemblyInfoInputs.cache b/ApiPolo/obj/Debug/net6.0/ApiPolo.AssemblyInfoInputs.cache new file mode 100644 index 0000000..3726c85 --- /dev/null +++ b/ApiPolo/obj/Debug/net6.0/ApiPolo.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +88ad5b2d9ae3cff92d91a6b6dc8e389161b50a56 diff --git a/ApiPolo/obj/Debug/net6.0/ApiPolo.GeneratedMSBuildEditorConfig.editorconfig b/ApiPolo/obj/Debug/net6.0/ApiPolo.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..cbc3548 --- /dev/null +++ b/ApiPolo/obj/Debug/net6.0/ApiPolo.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,17 @@ +is_global = true +build_property.TargetFramework = net6.0 +build_property.TargetPlatformMinVersion = +build_property.UsingMicrosoftNETSdkWeb = true +build_property.ProjectTypeGuids = +build_property.InvariantGlobalization = +build_property.PlatformNeutralAssembly = +build_property.EnforceExtendedAnalyzerRules = +build_property._SupportedPlatformList = Linux,macOS,Windows +build_property.RootNamespace = ApiPolo +build_property.RootNamespace = ApiPolo +build_property.ProjectDir = C:\SORGENTI\ApiPolo\ApiPolo\ +build_property.RazorLangVersion = 6.0 +build_property.SupportLocalizedComponentNames = +build_property.GenerateRazorMetadataSourceChecksumAttributes = +build_property.MSBuildProjectDirectory = C:\SORGENTI\ApiPolo\ApiPolo +build_property._RazorSourceGeneratorDebug = diff --git a/ApiPolo/obj/Debug/net6.0/ApiPolo.GlobalUsings.g.cs b/ApiPolo/obj/Debug/net6.0/ApiPolo.GlobalUsings.g.cs new file mode 100644 index 0000000..025530a --- /dev/null +++ b/ApiPolo/obj/Debug/net6.0/ApiPolo.GlobalUsings.g.cs @@ -0,0 +1,17 @@ +// +global using global::Microsoft.AspNetCore.Builder; +global using global::Microsoft.AspNetCore.Hosting; +global using global::Microsoft.AspNetCore.Http; +global using global::Microsoft.AspNetCore.Routing; +global using global::Microsoft.Extensions.Configuration; +global using global::Microsoft.Extensions.DependencyInjection; +global using global::Microsoft.Extensions.Hosting; +global using global::Microsoft.Extensions.Logging; +global using global::System; +global using global::System.Collections.Generic; +global using global::System.IO; +global using global::System.Linq; +global using global::System.Net.Http; +global using global::System.Net.Http.Json; +global using global::System.Threading; +global using global::System.Threading.Tasks; diff --git a/ApiPolo/obj/Debug/net6.0/ApiPolo.MvcApplicationPartsAssemblyInfo.cache b/ApiPolo/obj/Debug/net6.0/ApiPolo.MvcApplicationPartsAssemblyInfo.cache new file mode 100644 index 0000000..e69de29 diff --git a/ApiPolo/obj/Debug/net6.0/ApiPolo.MvcApplicationPartsAssemblyInfo.cs b/ApiPolo/obj/Debug/net6.0/ApiPolo.MvcApplicationPartsAssemblyInfo.cs new file mode 100644 index 0000000..efe3c2c --- /dev/null +++ b/ApiPolo/obj/Debug/net6.0/ApiPolo.MvcApplicationPartsAssemblyInfo.cs @@ -0,0 +1,17 @@ +//------------------------------------------------------------------------------ +// +// Il codice è stato generato da uno strumento. +// Versione runtime:4.0.30319.42000 +// +// Le modifiche apportate a questo file possono provocare un comportamento non corretto e andranno perse se +// il codice viene rigenerato. +// +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartAttribute("Swashbuckle.AspNetCore.SwaggerGen")] + +// Generato dalla classe WriteCodeFragment di MSBuild. + diff --git a/ApiPolo/obj/Debug/net6.0/ApiPolo.assets.cache b/ApiPolo/obj/Debug/net6.0/ApiPolo.assets.cache new file mode 100644 index 0000000..8aaf8dd Binary files /dev/null and b/ApiPolo/obj/Debug/net6.0/ApiPolo.assets.cache differ diff --git a/ApiPolo/obj/Debug/net6.0/ApiPolo.csproj.AssemblyReference.cache b/ApiPolo/obj/Debug/net6.0/ApiPolo.csproj.AssemblyReference.cache new file mode 100644 index 0000000..7cedbd3 Binary files /dev/null and b/ApiPolo/obj/Debug/net6.0/ApiPolo.csproj.AssemblyReference.cache differ diff --git a/ApiPolo/obj/Debug/net6.0/ApiPolo.csproj.BuildWithSkipAnalyzers b/ApiPolo/obj/Debug/net6.0/ApiPolo.csproj.BuildWithSkipAnalyzers new file mode 100644 index 0000000..e69de29 diff --git a/ApiPolo/obj/Debug/net6.0/ApiPolo.csproj.CopyComplete b/ApiPolo/obj/Debug/net6.0/ApiPolo.csproj.CopyComplete new file mode 100644 index 0000000..e69de29 diff --git a/ApiPolo/obj/Debug/net6.0/ApiPolo.csproj.CoreCompileInputs.cache b/ApiPolo/obj/Debug/net6.0/ApiPolo.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..9a6f76d --- /dev/null +++ b/ApiPolo/obj/Debug/net6.0/ApiPolo.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +079867c601cac49bbe0d426d262e757d8470918f diff --git a/ApiPolo/obj/Debug/net6.0/ApiPolo.csproj.FileListAbsolute.txt b/ApiPolo/obj/Debug/net6.0/ApiPolo.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..ec3517a --- /dev/null +++ b/ApiPolo/obj/Debug/net6.0/ApiPolo.csproj.FileListAbsolute.txt @@ -0,0 +1,97 @@ +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\ApiPolo.csproj.AssemblyReference.cache +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\ApiPolo.GeneratedMSBuildEditorConfig.editorconfig +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\ApiPolo.AssemblyInfoInputs.cache +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\ApiPolo.AssemblyInfo.cs +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\ApiPolo.csproj.CoreCompileInputs.cache +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\ApiPolo.MvcApplicationPartsAssemblyInfo.cs +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\ApiPolo.MvcApplicationPartsAssemblyInfo.cache +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\appsettings.Development.json +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\appsettings.json +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\ApiPolo.exe +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\ApiPolo.deps.json +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\ApiPolo.runtimeconfig.json +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\ApiPolo.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\ApiPolo.pdb +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\Microsoft.AspNetCore.Authentication.Negotiate.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\Microsoft.AspNetCore.Connections.Abstractions.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\Microsoft.Extensions.Features.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\Microsoft.OpenApi.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\Swashbuckle.AspNetCore.Swagger.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\Swashbuckle.AspNetCore.SwaggerGen.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\Swashbuckle.AspNetCore.SwaggerUI.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\System.DirectoryServices.Protocols.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\System.IO.Pipelines.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\runtimes\linux\lib\net6.0\System.DirectoryServices.Protocols.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\runtimes\osx\lib\net6.0\System.DirectoryServices.Protocols.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\runtimes\win\lib\net6.0\System.DirectoryServices.Protocols.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\staticwebassets.build.json +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\staticwebassets.development.json +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\scopedcss\bundle\ApiPolo.styles.css +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\ApiPolo.csproj.CopyComplete +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\ApiPolo.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\refint\ApiPolo.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\ApiPolo.pdb +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\ApiPolo.genruntimeconfig.cache +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\ref\ApiPolo.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\Humanizer.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\Microsoft.Data.SqlClient.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\Microsoft.EntityFrameworkCore.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\Microsoft.EntityFrameworkCore.Abstractions.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\Microsoft.EntityFrameworkCore.Design.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\Microsoft.EntityFrameworkCore.Relational.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\Microsoft.EntityFrameworkCore.SqlServer.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\Microsoft.Extensions.Caching.Memory.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\Microsoft.Identity.Client.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\Microsoft.IdentityModel.JsonWebTokens.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\Microsoft.IdentityModel.Logging.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\Microsoft.IdentityModel.Protocols.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\Microsoft.IdentityModel.Protocols.OpenIdConnect.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\Microsoft.IdentityModel.Tokens.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\Microsoft.Win32.SystemEvents.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\System.Configuration.ConfigurationManager.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\System.Drawing.Common.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\System.IdentityModel.Tokens.Jwt.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\System.Runtime.Caching.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\System.Security.Cryptography.ProtectedData.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\System.Security.Permissions.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\System.Windows.Extensions.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\runtimes\unix\lib\netcoreapp3.1\Microsoft.Data.SqlClient.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\runtimes\win\lib\netcoreapp3.1\Microsoft.Data.SqlClient.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\runtimes\win-arm\native\Microsoft.Data.SqlClient.SNI.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\runtimes\win-arm64\native\Microsoft.Data.SqlClient.SNI.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\runtimes\win-x64\native\Microsoft.Data.SqlClient.SNI.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\runtimes\win-x86\native\Microsoft.Data.SqlClient.SNI.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\runtimes\win\lib\netcoreapp3.0\Microsoft.Win32.SystemEvents.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\runtimes\unix\lib\netcoreapp3.0\System.Drawing.Common.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\runtimes\win\lib\netcoreapp3.0\System.Drawing.Common.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\runtimes\win\lib\netstandard2.0\System.Runtime.Caching.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\runtimes\win\lib\netstandard2.0\System.Security.Cryptography.ProtectedData.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\runtimes\win\lib\netcoreapp3.0\System.Windows.Extensions.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\ApiPolo.xml +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\ApiPolo.xml +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\System.Web.Mvc.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\System.Web.Razor.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\System.Web.Helpers.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\System.Web.WebPages.Deployment.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\System.Web.WebPages.Razor.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\System.Web.WebPages.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\Microsoft.Web.Infrastructure.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\Renci.SshNet.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\SshNet.Security.Cryptography.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\ApiPolo.staticwebassets.runtime.json +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\staticwebassets\msbuild.ApiPolo.Microsoft.AspNetCore.StaticWebAssets.props +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\staticwebassets\msbuild.build.ApiPolo.props +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\staticwebassets\msbuild.buildMultiTargeting.ApiPolo.props +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\staticwebassets\msbuild.buildTransitive.ApiPolo.props +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\staticwebassets.pack.json +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\private_key.json +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\FirebaseAdmin.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\Google.Api.Gax.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\Google.Api.Gax.Rest.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\Google.Apis.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\Google.Apis.Auth.PlatformServices.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\Google.Apis.Auth.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\Google.Apis.Core.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\Microsoft.Bcl.AsyncInterfaces.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\Newtonsoft.Json.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\Cronos.dll diff --git a/ApiPolo/obj/Debug/net6.0/ApiPolo.deps.json b/ApiPolo/obj/Debug/net6.0/ApiPolo.deps.json new file mode 100644 index 0000000..9959600 --- /dev/null +++ b/ApiPolo/obj/Debug/net6.0/ApiPolo.deps.json @@ -0,0 +1,1008 @@ +{ + "runtimeTarget": { + "name": ".NETCoreApp,Version=v6.0", + "signature": "" + }, + "compilationOptions": {}, + "targets": { + ".NETCoreApp,Version=v6.0": { + "ApiPolo/1.0.0": { + "dependencies": { + "Microsoft.AspNet.Mvc": "5.2.9", + "Microsoft.AspNetCore.Authentication.Negotiate": "6.0.5", + "Microsoft.EntityFrameworkCore": "6.0.5", + "Microsoft.EntityFrameworkCore.SqlServer": "6.0.5", + "Microsoft.EntityFrameworkCore.Tools": "6.0.5", + "Swashbuckle.AspNetCore": "6.3.1" + }, + "runtime": { + "ApiPolo.dll": {} + } + }, + "Humanizer.Core/2.8.26": {}, + "Microsoft.AspNet.Mvc/5.2.9": { + "dependencies": { + "Microsoft.AspNet.Razor": "3.2.9", + "Microsoft.AspNet.WebPages": "3.2.9" + }, + "runtime": { + "lib/net45/System.Web.Mvc.dll": { + "assemblyVersion": "5.2.9.0", + "fileVersion": "5.2.61129.10" + } + } + }, + "Microsoft.AspNet.Razor/3.2.9": { + "runtime": { + "lib/net45/System.Web.Razor.dll": { + "assemblyVersion": "3.0.0.0", + "fileVersion": "3.0.61129.10" + } + } + }, + "Microsoft.AspNet.WebPages/3.2.9": { + "dependencies": { + "Microsoft.AspNet.Razor": "3.2.9", + "Microsoft.Web.Infrastructure": "1.0.0" + }, + "runtime": { + "lib/net45/System.Web.Helpers.dll": { + "assemblyVersion": "3.0.0.0", + "fileVersion": "3.0.61129.10" + }, + "lib/net45/System.Web.WebPages.Deployment.dll": { + "assemblyVersion": "3.0.0.0", + "fileVersion": "3.0.61129.10" + }, + "lib/net45/System.Web.WebPages.Razor.dll": { + "assemblyVersion": "3.0.0.0", + "fileVersion": "3.0.61129.10" + }, + "lib/net45/System.Web.WebPages.dll": { + "assemblyVersion": "3.0.0.0", + "fileVersion": "3.0.61129.10" + } + } + }, + "Microsoft.AspNetCore.Authentication.Negotiate/6.0.5": { + "dependencies": { + "Microsoft.AspNetCore.Connections.Abstractions": "6.0.5", + "System.DirectoryServices.Protocols": "6.0.1" + }, + "runtime": { + "lib/net6.0/Microsoft.AspNetCore.Authentication.Negotiate.dll": { + "assemblyVersion": "6.0.5.0", + "fileVersion": "6.0.522.21802" + } + } + }, + "Microsoft.AspNetCore.Connections.Abstractions/6.0.5": { + "dependencies": { + "Microsoft.Extensions.Features": "6.0.5", + "System.IO.Pipelines": "6.0.3" + }, + "runtime": { + "lib/net6.0/Microsoft.AspNetCore.Connections.Abstractions.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.522.21802" + } + } + }, + "Microsoft.CSharp/4.5.0": {}, + "Microsoft.Data.SqlClient/2.1.4": { + "dependencies": { + "Microsoft.Data.SqlClient.SNI.runtime": "2.1.1", + "Microsoft.Identity.Client": "4.21.1", + "Microsoft.IdentityModel.JsonWebTokens": "6.8.0", + "Microsoft.IdentityModel.Protocols.OpenIdConnect": "6.8.0", + "Microsoft.Win32.Registry": "4.7.0", + "System.Configuration.ConfigurationManager": "4.7.0", + "System.Diagnostics.DiagnosticSource": "6.0.0", + "System.Runtime.Caching": "4.7.0", + "System.Security.Principal.Windows": "4.7.0", + "System.Text.Encoding.CodePages": "4.7.0" + }, + "runtime": { + "lib/netcoreapp3.1/Microsoft.Data.SqlClient.dll": { + "assemblyVersion": "2.0.20168.4", + "fileVersion": "2.0.20168.4" + } + }, + "runtimeTargets": { + "runtimes/unix/lib/netcoreapp3.1/Microsoft.Data.SqlClient.dll": { + "rid": "unix", + "assetType": "runtime", + "assemblyVersion": "2.0.20168.4", + "fileVersion": "2.0.20168.4" + }, + "runtimes/win/lib/netcoreapp3.1/Microsoft.Data.SqlClient.dll": { + "rid": "win", + "assetType": "runtime", + "assemblyVersion": "2.0.20168.4", + "fileVersion": "2.0.20168.4" + } + } + }, + "Microsoft.Data.SqlClient.SNI.runtime/2.1.1": { + "runtimeTargets": { + "runtimes/win-arm/native/Microsoft.Data.SqlClient.SNI.dll": { + "rid": "win-arm", + "assetType": "native", + "fileVersion": "2.1.1.0" + }, + "runtimes/win-arm64/native/Microsoft.Data.SqlClient.SNI.dll": { + "rid": "win-arm64", + "assetType": "native", + "fileVersion": "2.1.1.0" + }, + "runtimes/win-x64/native/Microsoft.Data.SqlClient.SNI.dll": { + "rid": "win-x64", + "assetType": "native", + "fileVersion": "2.1.1.0" + }, + "runtimes/win-x86/native/Microsoft.Data.SqlClient.SNI.dll": { + "rid": "win-x86", + "assetType": "native", + "fileVersion": "2.1.1.0" + } + } + }, + "Microsoft.EntityFrameworkCore/6.0.5": { + "dependencies": { + "Microsoft.EntityFrameworkCore.Abstractions": "6.0.5", + "Microsoft.EntityFrameworkCore.Analyzers": "6.0.5", + "Microsoft.Extensions.Caching.Memory": "6.0.1", + "Microsoft.Extensions.DependencyInjection": "6.0.0", + "Microsoft.Extensions.Logging": "6.0.0", + "System.Collections.Immutable": "6.0.0", + "System.Diagnostics.DiagnosticSource": "6.0.0" + }, + "runtime": { + "lib/net6.0/Microsoft.EntityFrameworkCore.dll": { + "assemblyVersion": "6.0.5.0", + "fileVersion": "6.0.522.21804" + } + } + }, + "Microsoft.EntityFrameworkCore.Abstractions/6.0.5": { + "runtime": { + "lib/net6.0/Microsoft.EntityFrameworkCore.Abstractions.dll": { + "assemblyVersion": "6.0.5.0", + "fileVersion": "6.0.522.21804" + } + } + }, + "Microsoft.EntityFrameworkCore.Analyzers/6.0.5": {}, + "Microsoft.EntityFrameworkCore.Design/6.0.5": { + "dependencies": { + "Humanizer.Core": "2.8.26", + "Microsoft.EntityFrameworkCore.Relational": "6.0.5" + } + }, + "Microsoft.EntityFrameworkCore.Relational/6.0.5": { + "dependencies": { + "Microsoft.EntityFrameworkCore": "6.0.5", + "Microsoft.Extensions.Configuration.Abstractions": "6.0.0" + }, + "runtime": { + "lib/net6.0/Microsoft.EntityFrameworkCore.Relational.dll": { + "assemblyVersion": "6.0.5.0", + "fileVersion": "6.0.522.21804" + } + } + }, + "Microsoft.EntityFrameworkCore.SqlServer/6.0.5": { + "dependencies": { + "Microsoft.Data.SqlClient": "2.1.4", + "Microsoft.EntityFrameworkCore.Relational": "6.0.5" + }, + "runtime": { + "lib/net6.0/Microsoft.EntityFrameworkCore.SqlServer.dll": { + "assemblyVersion": "6.0.5.0", + "fileVersion": "6.0.522.21804" + } + } + }, + "Microsoft.EntityFrameworkCore.Tools/6.0.5": { + "dependencies": { + "Microsoft.EntityFrameworkCore.Design": "6.0.5" + } + }, + "Microsoft.Extensions.ApiDescription.Server/3.0.0": {}, + "Microsoft.Extensions.Caching.Abstractions/6.0.0": { + "dependencies": { + "Microsoft.Extensions.Primitives": "6.0.0" + } + }, + "Microsoft.Extensions.Caching.Memory/6.0.1": { + "dependencies": { + "Microsoft.Extensions.Caching.Abstractions": "6.0.0", + "Microsoft.Extensions.DependencyInjection.Abstractions": "6.0.0", + "Microsoft.Extensions.Logging.Abstractions": "6.0.0", + "Microsoft.Extensions.Options": "6.0.0", + "Microsoft.Extensions.Primitives": "6.0.0" + }, + "runtime": { + "lib/netstandard2.0/Microsoft.Extensions.Caching.Memory.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.222.6406" + } + } + }, + "Microsoft.Extensions.Configuration.Abstractions/6.0.0": { + "dependencies": { + "Microsoft.Extensions.Primitives": "6.0.0" + } + }, + "Microsoft.Extensions.DependencyInjection/6.0.0": { + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "6.0.0", + "System.Runtime.CompilerServices.Unsafe": "6.0.0" + } + }, + "Microsoft.Extensions.DependencyInjection.Abstractions/6.0.0": {}, + "Microsoft.Extensions.Features/6.0.5": { + "runtime": { + "lib/net6.0/Microsoft.Extensions.Features.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.522.21802" + } + } + }, + "Microsoft.Extensions.Logging/6.0.0": { + "dependencies": { + "Microsoft.Extensions.DependencyInjection": "6.0.0", + "Microsoft.Extensions.DependencyInjection.Abstractions": "6.0.0", + "Microsoft.Extensions.Logging.Abstractions": "6.0.0", + "Microsoft.Extensions.Options": "6.0.0", + "System.Diagnostics.DiagnosticSource": "6.0.0" + } + }, + "Microsoft.Extensions.Logging.Abstractions/6.0.0": {}, + "Microsoft.Extensions.Options/6.0.0": { + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "6.0.0", + "Microsoft.Extensions.Primitives": "6.0.0" + } + }, + "Microsoft.Extensions.Primitives/6.0.0": { + "dependencies": { + "System.Runtime.CompilerServices.Unsafe": "6.0.0" + } + }, + "Microsoft.Identity.Client/4.21.1": { + "runtime": { + "lib/netcoreapp2.1/Microsoft.Identity.Client.dll": { + "assemblyVersion": "4.21.1.0", + "fileVersion": "4.21.1.0" + } + } + }, + "Microsoft.IdentityModel.JsonWebTokens/6.8.0": { + "dependencies": { + "Microsoft.IdentityModel.Tokens": "6.8.0" + }, + "runtime": { + "lib/netstandard2.0/Microsoft.IdentityModel.JsonWebTokens.dll": { + "assemblyVersion": "6.8.0.0", + "fileVersion": "6.8.0.11012" + } + } + }, + "Microsoft.IdentityModel.Logging/6.8.0": { + "runtime": { + "lib/netstandard2.0/Microsoft.IdentityModel.Logging.dll": { + "assemblyVersion": "6.8.0.0", + "fileVersion": "6.8.0.11012" + } + } + }, + "Microsoft.IdentityModel.Protocols/6.8.0": { + "dependencies": { + "Microsoft.IdentityModel.Logging": "6.8.0", + "Microsoft.IdentityModel.Tokens": "6.8.0" + }, + "runtime": { + "lib/netstandard2.0/Microsoft.IdentityModel.Protocols.dll": { + "assemblyVersion": "6.8.0.0", + "fileVersion": "6.8.0.11012" + } + } + }, + "Microsoft.IdentityModel.Protocols.OpenIdConnect/6.8.0": { + "dependencies": { + "Microsoft.IdentityModel.Protocols": "6.8.0", + "System.IdentityModel.Tokens.Jwt": "6.8.0" + }, + "runtime": { + "lib/netstandard2.0/Microsoft.IdentityModel.Protocols.OpenIdConnect.dll": { + "assemblyVersion": "6.8.0.0", + "fileVersion": "6.8.0.11012" + } + } + }, + "Microsoft.IdentityModel.Tokens/6.8.0": { + "dependencies": { + "Microsoft.CSharp": "4.5.0", + "Microsoft.IdentityModel.Logging": "6.8.0", + "System.Security.Cryptography.Cng": "4.5.0" + }, + "runtime": { + "lib/netstandard2.0/Microsoft.IdentityModel.Tokens.dll": { + "assemblyVersion": "6.8.0.0", + "fileVersion": "6.8.0.11012" + } + } + }, + "Microsoft.NETCore.Platforms/3.1.0": {}, + "Microsoft.OpenApi/1.2.3": { + "runtime": { + "lib/netstandard2.0/Microsoft.OpenApi.dll": { + "assemblyVersion": "1.2.3.0", + "fileVersion": "1.2.3.0" + } + } + }, + "Microsoft.Web.Infrastructure/1.0.0": { + "runtime": { + "lib/net40/Microsoft.Web.Infrastructure.dll": { + "assemblyVersion": "1.0.0.0", + "fileVersion": "1.0.20105.407" + } + } + }, + "Microsoft.Win32.Registry/4.7.0": { + "dependencies": { + "System.Security.AccessControl": "4.7.0", + "System.Security.Principal.Windows": "4.7.0" + } + }, + "Microsoft.Win32.SystemEvents/4.7.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "3.1.0" + }, + "runtime": { + "lib/netstandard2.0/Microsoft.Win32.SystemEvents.dll": { + "assemblyVersion": "4.0.2.0", + "fileVersion": "4.700.19.56404" + } + }, + "runtimeTargets": { + "runtimes/win/lib/netcoreapp3.0/Microsoft.Win32.SystemEvents.dll": { + "rid": "win", + "assetType": "runtime", + "assemblyVersion": "4.0.2.0", + "fileVersion": "4.700.19.56404" + } + } + }, + "Swashbuckle.AspNetCore/6.3.1": { + "dependencies": { + "Microsoft.Extensions.ApiDescription.Server": "3.0.0", + "Swashbuckle.AspNetCore.Swagger": "6.3.1", + "Swashbuckle.AspNetCore.SwaggerGen": "6.3.1", + "Swashbuckle.AspNetCore.SwaggerUI": "6.3.1" + } + }, + "Swashbuckle.AspNetCore.Swagger/6.3.1": { + "dependencies": { + "Microsoft.OpenApi": "1.2.3" + }, + "runtime": { + "lib/net6.0/Swashbuckle.AspNetCore.Swagger.dll": { + "assemblyVersion": "6.3.1.0", + "fileVersion": "6.3.1.0" + } + } + }, + "Swashbuckle.AspNetCore.SwaggerGen/6.3.1": { + "dependencies": { + "Swashbuckle.AspNetCore.Swagger": "6.3.1" + }, + "runtime": { + "lib/net6.0/Swashbuckle.AspNetCore.SwaggerGen.dll": { + "assemblyVersion": "6.3.1.0", + "fileVersion": "6.3.1.0" + } + } + }, + "Swashbuckle.AspNetCore.SwaggerUI/6.3.1": { + "runtime": { + "lib/net6.0/Swashbuckle.AspNetCore.SwaggerUI.dll": { + "assemblyVersion": "6.3.1.0", + "fileVersion": "6.3.1.0" + } + } + }, + "System.Collections.Immutable/6.0.0": { + "dependencies": { + "System.Runtime.CompilerServices.Unsafe": "6.0.0" + } + }, + "System.Configuration.ConfigurationManager/4.7.0": { + "dependencies": { + "System.Security.Cryptography.ProtectedData": "4.7.0", + "System.Security.Permissions": "4.7.0" + }, + "runtime": { + "lib/netstandard2.0/System.Configuration.ConfigurationManager.dll": { + "assemblyVersion": "4.0.3.0", + "fileVersion": "4.700.19.56404" + } + } + }, + "System.Diagnostics.DiagnosticSource/6.0.0": { + "dependencies": { + "System.Runtime.CompilerServices.Unsafe": "6.0.0" + } + }, + "System.DirectoryServices.Protocols/6.0.1": { + "runtime": { + "lib/net6.0/System.DirectoryServices.Protocols.dll": { + "assemblyVersion": "6.0.0.1", + "fileVersion": "6.0.222.6406" + } + }, + "runtimeTargets": { + "runtimes/linux/lib/net6.0/System.DirectoryServices.Protocols.dll": { + "rid": "linux", + "assetType": "runtime", + "assemblyVersion": "6.0.0.1", + "fileVersion": "6.0.222.6406" + }, + "runtimes/osx/lib/net6.0/System.DirectoryServices.Protocols.dll": { + "rid": "osx", + "assetType": "runtime", + "assemblyVersion": "6.0.0.1", + "fileVersion": "6.0.222.6406" + }, + "runtimes/win/lib/net6.0/System.DirectoryServices.Protocols.dll": { + "rid": "win", + "assetType": "runtime", + "assemblyVersion": "6.0.0.1", + "fileVersion": "6.0.222.6406" + } + } + }, + "System.Drawing.Common/4.7.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "3.1.0", + "Microsoft.Win32.SystemEvents": "4.7.0" + }, + "runtime": { + "lib/netstandard2.0/System.Drawing.Common.dll": { + "assemblyVersion": "4.0.0.1", + "fileVersion": "4.6.26919.2" + } + }, + "runtimeTargets": { + "runtimes/unix/lib/netcoreapp3.0/System.Drawing.Common.dll": { + "rid": "unix", + "assetType": "runtime", + "assemblyVersion": "4.0.2.0", + "fileVersion": "4.700.19.56404" + }, + "runtimes/win/lib/netcoreapp3.0/System.Drawing.Common.dll": { + "rid": "win", + "assetType": "runtime", + "assemblyVersion": "4.0.2.0", + "fileVersion": "4.700.19.56404" + } + } + }, + "System.IdentityModel.Tokens.Jwt/6.8.0": { + "dependencies": { + "Microsoft.IdentityModel.JsonWebTokens": "6.8.0", + "Microsoft.IdentityModel.Tokens": "6.8.0" + }, + "runtime": { + "lib/netstandard2.0/System.IdentityModel.Tokens.Jwt.dll": { + "assemblyVersion": "6.8.0.0", + "fileVersion": "6.8.0.11012" + } + } + }, + "System.IO.Pipelines/6.0.3": { + "runtime": { + "lib/net6.0/System.IO.Pipelines.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.522.21309" + } + } + }, + "System.Runtime.Caching/4.7.0": { + "dependencies": { + "System.Configuration.ConfigurationManager": "4.7.0" + }, + "runtime": { + "lib/netstandard2.0/System.Runtime.Caching.dll": { + "assemblyVersion": "4.0.1.0", + "fileVersion": "4.700.19.56404" + } + }, + "runtimeTargets": { + "runtimes/win/lib/netstandard2.0/System.Runtime.Caching.dll": { + "rid": "win", + "assetType": "runtime", + "assemblyVersion": "4.0.1.0", + "fileVersion": "4.700.19.56404" + } + } + }, + "System.Runtime.CompilerServices.Unsafe/6.0.0": {}, + "System.Security.AccessControl/4.7.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "3.1.0", + "System.Security.Principal.Windows": "4.7.0" + } + }, + "System.Security.Cryptography.Cng/4.5.0": {}, + "System.Security.Cryptography.ProtectedData/4.7.0": { + "runtime": { + "lib/netstandard2.0/System.Security.Cryptography.ProtectedData.dll": { + "assemblyVersion": "4.0.5.0", + "fileVersion": "4.700.19.56404" + } + }, + "runtimeTargets": { + "runtimes/win/lib/netstandard2.0/System.Security.Cryptography.ProtectedData.dll": { + "rid": "win", + "assetType": "runtime", + "assemblyVersion": "4.0.5.0", + "fileVersion": "4.700.19.56404" + } + } + }, + "System.Security.Permissions/4.7.0": { + "dependencies": { + "System.Security.AccessControl": "4.7.0", + "System.Windows.Extensions": "4.7.0" + }, + "runtime": { + "lib/netcoreapp3.0/System.Security.Permissions.dll": { + "assemblyVersion": "4.0.3.0", + "fileVersion": "4.700.19.56404" + } + } + }, + "System.Security.Principal.Windows/4.7.0": {}, + "System.Text.Encoding.CodePages/4.7.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "3.1.0" + } + }, + "System.Windows.Extensions/4.7.0": { + "dependencies": { + "System.Drawing.Common": "4.7.0" + }, + "runtime": { + "lib/netcoreapp3.0/System.Windows.Extensions.dll": { + "assemblyVersion": "4.0.1.0", + "fileVersion": "4.700.19.56404" + } + }, + "runtimeTargets": { + "runtimes/win/lib/netcoreapp3.0/System.Windows.Extensions.dll": { + "rid": "win", + "assetType": "runtime", + "assemblyVersion": "4.0.1.0", + "fileVersion": "4.700.19.56404" + } + } + } + } + }, + "libraries": { + "ApiPolo/1.0.0": { + "type": "project", + "serviceable": false, + "sha512": "" + }, + "Humanizer.Core/2.8.26": { + "type": "package", + "serviceable": true, + "sha512": "sha512-OiKusGL20vby4uDEswj2IgkdchC1yQ6rwbIkZDVBPIR6al2b7n3pC91elBul9q33KaBgRKhbZH3+2Ur4fnWx2A==", + "path": "humanizer.core/2.8.26", + "hashPath": "humanizer.core.2.8.26.nupkg.sha512" + }, + "Microsoft.AspNet.Mvc/5.2.9": { + "type": "package", + "serviceable": true, + "sha512": "sha512-bcekKshCAh7kTWSMZPavQStSZQF/QmjEjO2gVWGITEd0/t5eRlb+ZLDE+az2qY1bZ8L6Hz0OCNeS0uzXtJcK5w==", + "path": "microsoft.aspnet.mvc/5.2.9", + "hashPath": "microsoft.aspnet.mvc.5.2.9.nupkg.sha512" + }, + "Microsoft.AspNet.Razor/3.2.9": { + "type": "package", + "serviceable": true, + "sha512": "sha512-QOJEnEw3xp+t5lMvYR5nGCF4CfZpHqr2p8uZOBEgDZoB6r2txtSj6581YNr+/dOHjI3YRlo1QAKGQoSohbQ/KA==", + "path": "microsoft.aspnet.razor/3.2.9", + "hashPath": "microsoft.aspnet.razor.3.2.9.nupkg.sha512" + }, + "Microsoft.AspNet.WebPages/3.2.9": { + "type": "package", + "serviceable": true, + "sha512": "sha512-yByb721lwv8YFsx1oKA5CLKXa89XVbVMkPafS4bg/bPelBEgChq/coFBQEkA4kwcabG7AR56w3vapnoZUfr2Cw==", + "path": "microsoft.aspnet.webpages/3.2.9", + "hashPath": "microsoft.aspnet.webpages.3.2.9.nupkg.sha512" + }, + "Microsoft.AspNetCore.Authentication.Negotiate/6.0.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-ZgKdA5VnmZSdpuyS9f4Myn2ybSYPyhOGWvZ63Z+ys0z9WcHGx6jyN4IjK8ORTdkhc7dOYxsMF/v/K+CGtvCbUA==", + "path": "microsoft.aspnetcore.authentication.negotiate/6.0.5", + "hashPath": "microsoft.aspnetcore.authentication.negotiate.6.0.5.nupkg.sha512" + }, + "Microsoft.AspNetCore.Connections.Abstractions/6.0.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-OBbGvih5/CLHTbJVDiJ203TmKXCx8z539O2YGnfHmExbNtMwyQ9rgpqoxyYEVvQrVsqxRhXfh57DOCQYhxcOBQ==", + "path": "microsoft.aspnetcore.connections.abstractions/6.0.5", + "hashPath": "microsoft.aspnetcore.connections.abstractions.6.0.5.nupkg.sha512" + }, + "Microsoft.CSharp/4.5.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-kaj6Wb4qoMuH3HySFJhxwQfe8R/sJsNJnANrvv8WdFPMoNbKY5htfNscv+LHCu5ipz+49m2e+WQXpLXr9XYemQ==", + "path": "microsoft.csharp/4.5.0", + "hashPath": "microsoft.csharp.4.5.0.nupkg.sha512" + }, + "Microsoft.Data.SqlClient/2.1.4": { + "type": "package", + "serviceable": true, + "sha512": "sha512-cDcKBTKILdRuAzJjbgXwGcUQXzMue+SG02kD4tZTXXfoz4ALrGLpCnA5k9khw3fnAMlMnRzLIGuvRdJurqmESA==", + "path": "microsoft.data.sqlclient/2.1.4", + "hashPath": "microsoft.data.sqlclient.2.1.4.nupkg.sha512" + }, + "Microsoft.Data.SqlClient.SNI.runtime/2.1.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-JwGDWkyZgm7SATJmFLfT2G4teimvNbNtq3lsS9a5DzvhEZnQrZjZhevCU0vdx8MjheLHoG5vocuO03QtioFQxQ==", + "path": "microsoft.data.sqlclient.sni.runtime/2.1.1", + "hashPath": "microsoft.data.sqlclient.sni.runtime.2.1.1.nupkg.sha512" + }, + "Microsoft.EntityFrameworkCore/6.0.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-hP5J3EvpVdZmCn1D3ovedphvZrIn3OXZaBZfEnCkSCqqbqAu6xzwbNqwRkik0y4R6zOOf4eLh1riwjy4eAUlZA==", + "path": "microsoft.entityframeworkcore/6.0.5", + "hashPath": "microsoft.entityframeworkcore.6.0.5.nupkg.sha512" + }, + "Microsoft.EntityFrameworkCore.Abstractions/6.0.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-Q3/fKW6XCTfnDk4fYP2BJZi84cD2SuCPkP3A3QqxvCQcXbX90bfSLzVIsoMXzigHGJgZUJ+Un7QodT5Nvk0+Eg==", + "path": "microsoft.entityframeworkcore.abstractions/6.0.5", + "hashPath": "microsoft.entityframeworkcore.abstractions.6.0.5.nupkg.sha512" + }, + "Microsoft.EntityFrameworkCore.Analyzers/6.0.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-QUeDIhs+O+MoDEc3k60mNyVDbwyDURCqZQlZoKShuZUcSfXSrDMbHKuFSxBIDNQBt092qSjfnwf7w0Ua/IB3Zw==", + "path": "microsoft.entityframeworkcore.analyzers/6.0.5", + "hashPath": "microsoft.entityframeworkcore.analyzers.6.0.5.nupkg.sha512" + }, + "Microsoft.EntityFrameworkCore.Design/6.0.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-zNjMWJ6MJ/Qm7S6wFBqVgn7DEpilbDMy0xgA7c4Y1yY9/LoaC2pWwWO4ePaYoPCZpLx/eTViWEr5ZXta/vK//Q==", + "path": "microsoft.entityframeworkcore.design/6.0.5", + "hashPath": "microsoft.entityframeworkcore.design.6.0.5.nupkg.sha512" + }, + "Microsoft.EntityFrameworkCore.Relational/6.0.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-vhAQizlAgvPfurkh9XysNaFc/g3WPXtSka3Y1rXuQdnT//p16CDKt9lO9h+rYmooD+cA7TijSxwqck4GApDT/Q==", + "path": "microsoft.entityframeworkcore.relational/6.0.5", + "hashPath": "microsoft.entityframeworkcore.relational.6.0.5.nupkg.sha512" + }, + "Microsoft.EntityFrameworkCore.SqlServer/6.0.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-fBBG1AvrqPSvTEWyg9W18F/obiV7Soi/RItwBt48kjte1heRaogCsKj8KBnJQACM/8L+NAhyKp3BH12nN7+yDA==", + "path": "microsoft.entityframeworkcore.sqlserver/6.0.5", + "hashPath": "microsoft.entityframeworkcore.sqlserver.6.0.5.nupkg.sha512" + }, + "Microsoft.EntityFrameworkCore.Tools/6.0.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-aeCzVNLmDl9IfB19WAjrlKcG61Cl4/ZV/9ubifmifKEps+kvMkKIcams5j+8q6dtx9/UL2x3tbOz2BS3eU0sXQ==", + "path": "microsoft.entityframeworkcore.tools/6.0.5", + "hashPath": "microsoft.entityframeworkcore.tools.6.0.5.nupkg.sha512" + }, + "Microsoft.Extensions.ApiDescription.Server/3.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-LH4OE/76F6sOCslif7+Xh3fS/wUUrE5ryeXAMcoCnuwOQGT5Smw0p57IgDh/pHgHaGz/e+AmEQb7pRgb++wt0w==", + "path": "microsoft.extensions.apidescription.server/3.0.0", + "hashPath": "microsoft.extensions.apidescription.server.3.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.Caching.Abstractions/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-bcz5sSFJbganH0+YrfvIjJDIcKNW7TL07C4d1eTmXy/wOt52iz4LVogJb6pazs7W0+74j0YpXFErvp++Aq5Bsw==", + "path": "microsoft.extensions.caching.abstractions/6.0.0", + "hashPath": "microsoft.extensions.caching.abstractions.6.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.Caching.Memory/6.0.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-B4y+Cev05eMcjf1na0v9gza6GUtahXbtY1JCypIgx3B4Ea/KAgsWyXEmW4q6zMbmTMtKzmPVk09rvFJirvMwTg==", + "path": "microsoft.extensions.caching.memory/6.0.1", + "hashPath": "microsoft.extensions.caching.memory.6.0.1.nupkg.sha512" + }, + "Microsoft.Extensions.Configuration.Abstractions/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-qWzV9o+ZRWq+pGm+1dF+R7qTgTYoXvbyowRoBxQJGfqTpqDun2eteerjRQhq5PQ/14S+lqto3Ft4gYaRyl4rdQ==", + "path": "microsoft.extensions.configuration.abstractions/6.0.0", + "hashPath": "microsoft.extensions.configuration.abstractions.6.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.DependencyInjection/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-k6PWQMuoBDGGHOQTtyois2u4AwyVcIwL2LaSLlTZQm2CYcJ1pxbt6jfAnpWmzENA/wfrYRI/X9DTLoUkE4AsLw==", + "path": "microsoft.extensions.dependencyinjection/6.0.0", + "hashPath": "microsoft.extensions.dependencyinjection.6.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.DependencyInjection.Abstractions/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-xlzi2IYREJH3/m6+lUrQlujzX8wDitm4QGnUu6kUXTQAWPuZY8i+ticFJbzfqaetLA6KR/rO6Ew/HuYD+bxifg==", + "path": "microsoft.extensions.dependencyinjection.abstractions/6.0.0", + "hashPath": "microsoft.extensions.dependencyinjection.abstractions.6.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.Features/6.0.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-y7KLF1jRFQjSttfoilwHU86cU9ZgxN4ABfQR8tQ9qEC5AzTGYIX+K5RDwGFVK320eTiBwWuutV24ecmxBxo7Eg==", + "path": "microsoft.extensions.features/6.0.5", + "hashPath": "microsoft.extensions.features.6.0.5.nupkg.sha512" + }, + "Microsoft.Extensions.Logging/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-eIbyj40QDg1NDz0HBW0S5f3wrLVnKWnDJ/JtZ+yJDFnDj90VoPuoPmFkeaXrtu+0cKm5GRAwoDf+dBWXK0TUdg==", + "path": "microsoft.extensions.logging/6.0.0", + "hashPath": "microsoft.extensions.logging.6.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.Logging.Abstractions/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-/HggWBbTwy8TgebGSX5DBZ24ndhzi93sHUBDvP1IxbZD7FDokYzdAr6+vbWGjw2XAfR2EJ1sfKUotpjHnFWPxA==", + "path": "microsoft.extensions.logging.abstractions/6.0.0", + "hashPath": "microsoft.extensions.logging.abstractions.6.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.Options/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-dzXN0+V1AyjOe2xcJ86Qbo233KHuLEY0njf/P2Kw8SfJU+d45HNS2ctJdnEnrWbM9Ye2eFgaC5Mj9otRMU6IsQ==", + "path": "microsoft.extensions.options/6.0.0", + "hashPath": "microsoft.extensions.options.6.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.Primitives/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-9+PnzmQFfEFNR9J2aDTfJGGupShHjOuGw4VUv+JB044biSHrnmCIMD+mJHmb2H7YryrfBEXDurxQ47gJZdCKNQ==", + "path": "microsoft.extensions.primitives/6.0.0", + "hashPath": "microsoft.extensions.primitives.6.0.0.nupkg.sha512" + }, + "Microsoft.Identity.Client/4.21.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-vycgk7S/HAbHaUaK4Tid1fsWHsXdFRRP2KavAIOHCVV27zvuQfYAjXmMvctuuF4egydSumG58CwPZob3gWeYgQ==", + "path": "microsoft.identity.client/4.21.1", + "hashPath": "microsoft.identity.client.4.21.1.nupkg.sha512" + }, + "Microsoft.IdentityModel.JsonWebTokens/6.8.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-+7JIww64PkMt7NWFxoe4Y/joeF7TAtA/fQ0b2GFGcagzB59sKkTt/sMZWR6aSZht5YC7SdHi3W6yM1yylRGJCQ==", + "path": "microsoft.identitymodel.jsonwebtokens/6.8.0", + "hashPath": "microsoft.identitymodel.jsonwebtokens.6.8.0.nupkg.sha512" + }, + "Microsoft.IdentityModel.Logging/6.8.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-Rfh/p4MaN4gkmhPxwbu8IjrmoDncGfHHPh1sTnc0AcM/Oc39/fzC9doKNWvUAjzFb8LqA6lgZyblTrIsX/wDXg==", + "path": "microsoft.identitymodel.logging/6.8.0", + "hashPath": "microsoft.identitymodel.logging.6.8.0.nupkg.sha512" + }, + "Microsoft.IdentityModel.Protocols/6.8.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-OJZx5nPdiH+MEkwCkbJrTAUiO/YzLe0VSswNlDxJsJD9bhOIdXHufh650pfm59YH1DNevp3/bXzukKrG57gA1w==", + "path": "microsoft.identitymodel.protocols/6.8.0", + "hashPath": "microsoft.identitymodel.protocols.6.8.0.nupkg.sha512" + }, + "Microsoft.IdentityModel.Protocols.OpenIdConnect/6.8.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-X/PiV5l3nYYsodtrNMrNQIVlDmHpjQQ5w48E+o/D5H4es2+4niEyQf3l03chvZGWNzBRhfSstaXr25/Ye4AeYw==", + "path": "microsoft.identitymodel.protocols.openidconnect/6.8.0", + "hashPath": "microsoft.identitymodel.protocols.openidconnect.6.8.0.nupkg.sha512" + }, + "Microsoft.IdentityModel.Tokens/6.8.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-gTqzsGcmD13HgtNePPcuVHZ/NXWmyV+InJgalW/FhWpII1D7V1k0obIseGlWMeA4G+tZfeGMfXr0klnWbMR/mQ==", + "path": "microsoft.identitymodel.tokens/6.8.0", + "hashPath": "microsoft.identitymodel.tokens.6.8.0.nupkg.sha512" + }, + "Microsoft.NETCore.Platforms/3.1.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-z7aeg8oHln2CuNulfhiLYxCVMPEwBl3rzicjvIX+4sUuCwvXw5oXQEtbiU2c0z4qYL5L3Kmx0mMA/+t/SbY67w==", + "path": "microsoft.netcore.platforms/3.1.0", + "hashPath": "microsoft.netcore.platforms.3.1.0.nupkg.sha512" + }, + "Microsoft.OpenApi/1.2.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-Nug3rO+7Kl5/SBAadzSMAVgqDlfGjJZ0GenQrLywJ84XGKO0uRqkunz5Wyl0SDwcR71bAATXvSdbdzPrYRYKGw==", + "path": "microsoft.openapi/1.2.3", + "hashPath": "microsoft.openapi.1.2.3.nupkg.sha512" + }, + "Microsoft.Web.Infrastructure/1.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-FNmvLn5m2LTU/Rs2KWVo0SIIh9Ek+U0ojex7xeDaSHw/zgEP77A8vY5cVWgUtBGS8MJfDGNn8rpXJWEIQaPwTg==", + "path": "microsoft.web.infrastructure/1.0.0", + "hashPath": "microsoft.web.infrastructure.1.0.0.nupkg.sha512" + }, + "Microsoft.Win32.Registry/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-KSrRMb5vNi0CWSGG1++id2ZOs/1QhRqROt+qgbEAdQuGjGrFcl4AOl4/exGPUYz2wUnU42nvJqon1T3U0kPXLA==", + "path": "microsoft.win32.registry/4.7.0", + "hashPath": "microsoft.win32.registry.4.7.0.nupkg.sha512" + }, + "Microsoft.Win32.SystemEvents/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-mtVirZr++rq+XCDITMUdnETD59XoeMxSpLRIII7JRI6Yj0LEDiO1pPn0ktlnIj12Ix8bfvQqQDMMIF9wC98oCA==", + "path": "microsoft.win32.systemevents/4.7.0", + "hashPath": "microsoft.win32.systemevents.4.7.0.nupkg.sha512" + }, + "Swashbuckle.AspNetCore/6.3.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-JFk0+HHUPdjYuPhkpGBMLi2JtnEuWkE2pp0yXQp64DmeMe+Fb0hZyVNq/ENJ2vQNso7Zg+C758WmR/xyAl36bA==", + "path": "swashbuckle.aspnetcore/6.3.1", + "hashPath": "swashbuckle.aspnetcore.6.3.1.nupkg.sha512" + }, + "Swashbuckle.AspNetCore.Swagger/6.3.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-idAFh4xhyJHYHfdLVOOn+BmscBul1OQbWsnL6YPJE8tO/0y6S79hDCvs6OY5VI093/9+1pYY3j31Zet9yaDZjA==", + "path": "swashbuckle.aspnetcore.swagger/6.3.1", + "hashPath": "swashbuckle.aspnetcore.swagger.6.3.1.nupkg.sha512" + }, + "Swashbuckle.AspNetCore.SwaggerGen/6.3.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-+uoBV4h/6NhCPLoTofSmuOnZ+usu4PW1jP6l4OHwPyu2frbYXGNpJsHs5uUXXn929OiVQkT8wo3Lj/o+P99Ejg==", + "path": "swashbuckle.aspnetcore.swaggergen/6.3.1", + "hashPath": "swashbuckle.aspnetcore.swaggergen.6.3.1.nupkg.sha512" + }, + "Swashbuckle.AspNetCore.SwaggerUI/6.3.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-JLm9hN67jh7RHsX3H30+tb432Li8xm/qV5lRyMMkyHYMfWitIuKAAdrpo2ILcHOIeH7CLMuOO2hp/iLBmE+Bkw==", + "path": "swashbuckle.aspnetcore.swaggerui/6.3.1", + "hashPath": "swashbuckle.aspnetcore.swaggerui.6.3.1.nupkg.sha512" + }, + "System.Collections.Immutable/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-l4zZJ1WU2hqpQQHXz1rvC3etVZN+2DLmQMO79FhOTZHMn8tDRr+WU287sbomD0BETlmKDn0ygUgVy9k5xkkJdA==", + "path": "system.collections.immutable/6.0.0", + "hashPath": "system.collections.immutable.6.0.0.nupkg.sha512" + }, + "System.Configuration.ConfigurationManager/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-/anOTeSZCNNI2zDilogWrZ8pNqCmYbzGNexUnNhjW8k0sHqEZ2nHJBp147jBV3hGYswu5lINpNg1vxR7bnqvVA==", + "path": "system.configuration.configurationmanager/4.7.0", + "hashPath": "system.configuration.configurationmanager.4.7.0.nupkg.sha512" + }, + "System.Diagnostics.DiagnosticSource/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-frQDfv0rl209cKm1lnwTgFPzNigy2EKk1BS3uAvHvlBVKe5cymGyHO+Sj+NLv5VF/AhHsqPIUUwya5oV4CHMUw==", + "path": "system.diagnostics.diagnosticsource/6.0.0", + "hashPath": "system.diagnostics.diagnosticsource.6.0.0.nupkg.sha512" + }, + "System.DirectoryServices.Protocols/6.0.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-ndUZlEkAMc1XzM0xGN++SsJrNhRkIHaKI8+te325vrUgoLT1ufWNI6KB8FFrL7NpRMHPrdxP99aF3fHbAPxW0A==", + "path": "system.directoryservices.protocols/6.0.1", + "hashPath": "system.directoryservices.protocols.6.0.1.nupkg.sha512" + }, + "System.Drawing.Common/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-v+XbyYHaZjDfn0ENmJEV1VYLgGgCTx1gnfOBcppowbpOAriglYgGCvFCPr2EEZyBvXlpxbEsTwkOlInl107ahA==", + "path": "system.drawing.common/4.7.0", + "hashPath": "system.drawing.common.4.7.0.nupkg.sha512" + }, + "System.IdentityModel.Tokens.Jwt/6.8.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-5tBCjAub2Bhd5qmcd0WhR5s354e4oLYa//kOWrkX+6/7ZbDDJjMTfwLSOiZ/MMpWdE4DWPLOfTLOq/juj9CKzA==", + "path": "system.identitymodel.tokens.jwt/6.8.0", + "hashPath": "system.identitymodel.tokens.jwt.6.8.0.nupkg.sha512" + }, + "System.IO.Pipelines/6.0.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-ryTgF+iFkpGZY1vRQhfCzX0xTdlV3pyaTTqRu2ETbEv+HlV7O6y7hyQURnghNIXvctl5DuZ//Dpks6HdL/Txgw==", + "path": "system.io.pipelines/6.0.3", + "hashPath": "system.io.pipelines.6.0.3.nupkg.sha512" + }, + "System.Runtime.Caching/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-NdvNRjTPxYvIEhXQszT9L9vJhdQoX6AQ0AlhjTU+5NqFQVuacJTfhPVAvtGWNA2OJCqRiR/okBcZgMwI6MqcZg==", + "path": "system.runtime.caching/4.7.0", + "hashPath": "system.runtime.caching.4.7.0.nupkg.sha512" + }, + "System.Runtime.CompilerServices.Unsafe/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==", + "path": "system.runtime.compilerservices.unsafe/6.0.0", + "hashPath": "system.runtime.compilerservices.unsafe.6.0.0.nupkg.sha512" + }, + "System.Security.AccessControl/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-JECvTt5aFF3WT3gHpfofL2MNNP6v84sxtXxpqhLBCcDRzqsPBmHhQ6shv4DwwN2tRlzsUxtb3G9M3763rbXKDg==", + "path": "system.security.accesscontrol/4.7.0", + "hashPath": "system.security.accesscontrol.4.7.0.nupkg.sha512" + }, + "System.Security.Cryptography.Cng/4.5.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-WG3r7EyjUe9CMPFSs6bty5doUqT+q9pbI80hlNzo2SkPkZ4VTuZkGWjpp77JB8+uaL4DFPRdBsAY+DX3dBK92A==", + "path": "system.security.cryptography.cng/4.5.0", + "hashPath": "system.security.cryptography.cng.4.5.0.nupkg.sha512" + }, + "System.Security.Cryptography.ProtectedData/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-ehYW0m9ptxpGWvE4zgqongBVWpSDU/JCFD4K7krxkQwSz/sFQjEXCUqpvencjy6DYDbn7Ig09R8GFffu8TtneQ==", + "path": "system.security.cryptography.protecteddata/4.7.0", + "hashPath": "system.security.cryptography.protecteddata.4.7.0.nupkg.sha512" + }, + "System.Security.Permissions/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-dkOV6YYVBnYRa15/yv004eCGRBVADXw8qRbbNiCn/XpdJSUXkkUeIvdvFHkvnko4CdKMqG8yRHC4ox83LSlMsQ==", + "path": "system.security.permissions/4.7.0", + "hashPath": "system.security.permissions.4.7.0.nupkg.sha512" + }, + "System.Security.Principal.Windows/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-ojD0PX0XhneCsUbAZVKdb7h/70vyYMDYs85lwEI+LngEONe/17A0cFaRFqZU+sOEidcVswYWikYOQ9PPfjlbtQ==", + "path": "system.security.principal.windows/4.7.0", + "hashPath": "system.security.principal.windows.4.7.0.nupkg.sha512" + }, + "System.Text.Encoding.CodePages/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-aeu4FlaUTemuT1qOd1MyU4T516QR4Fy+9yDbwWMPHOHy7U8FD6SgTzdZFO7gHcfAPHtECqInbwklVvUK4RHcNg==", + "path": "system.text.encoding.codepages/4.7.0", + "hashPath": "system.text.encoding.codepages.4.7.0.nupkg.sha512" + }, + "System.Windows.Extensions/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-CeWTdRNfRaSh0pm2gDTJFwVaXfTq6Xwv/sA887iwPTneW7oMtMlpvDIO+U60+3GWTB7Aom6oQwv5VZVUhQRdPQ==", + "path": "system.windows.extensions/4.7.0", + "hashPath": "system.windows.extensions.4.7.0.nupkg.sha512" + } + } +} \ No newline at end of file diff --git a/ApiPolo/obj/Debug/net6.0/ApiPolo.dll b/ApiPolo/obj/Debug/net6.0/ApiPolo.dll new file mode 100644 index 0000000..8b053d0 Binary files /dev/null and b/ApiPolo/obj/Debug/net6.0/ApiPolo.dll differ diff --git a/ApiPolo/obj/Debug/net6.0/ApiPolo.genruntimeconfig.cache b/ApiPolo/obj/Debug/net6.0/ApiPolo.genruntimeconfig.cache new file mode 100644 index 0000000..88e3d8a --- /dev/null +++ b/ApiPolo/obj/Debug/net6.0/ApiPolo.genruntimeconfig.cache @@ -0,0 +1 @@ +4890addb743df8cdabda2ce05a1be354d83573fa diff --git a/ApiPolo/obj/Debug/net6.0/ApiPolo.pdb b/ApiPolo/obj/Debug/net6.0/ApiPolo.pdb new file mode 100644 index 0000000..40ea6df Binary files /dev/null and b/ApiPolo/obj/Debug/net6.0/ApiPolo.pdb differ diff --git a/ApiPolo/obj/Debug/net6.0/ApiPolo.xml b/ApiPolo/obj/Debug/net6.0/ApiPolo.xml new file mode 100644 index 0000000..9f420c7 --- /dev/null +++ b/ApiPolo/obj/Debug/net6.0/ApiPolo.xml @@ -0,0 +1,6510 @@ + + + + ApiPolo + + + + + Controller unico + + + + polocontroller + + + vuoto=chiamata presa in carico 3=chiamata chiusa 2=manutenzione chiusa + + + + + + + + + + + + 200=Ok 500=ErroreInterno 400=OperazioneNonAmmessa + + + + + + + + + + + + + + + + + + + + + Zucchetti Sicilia + + + Discovery + + + Sarom + + + Sinergo + + + Gitoga + + + Lifta + + + Siet + + + + + + + + + + + + Zucchetti Sicilia + + + Discovery + + + Sarom + + + Sinergo + + + Gitoga + + + Lifta + + + Siet + + + trasforma un Saldiart in un Mag_New + + + trasforma un Compi_Impia in un Mag_New + + + crea un cpccchk + + + formatta l'indirizzo della lista chiamate + + + formatta l'indirizzo stampa chiamate + + + formatta l'indirizzo stampa manutenzioni + + + formatta l'indirizzo della lista manutenzioni + + + Configurazioni per azienda return:ActionResult + + + token riewmpimento + + + elimina Token + + + inserisce Token + + + Magazzini per login return:ActionResult + + + Login iniziale return:ActionResult + + + Codici di chiusura per scheda intevento return:ActionResult + + + Chiamate per tecnico e azienda (tenant) in stato C=Assegnate return:ActionResult + + + presaInCarico: 1) crea un nuovo seriale per RAPP_NEW 2)inserisce il primo record di una presa in carico su RAPP_NEW return:ActionResult + + + rifiuta: 1) crea un nuovo seriale per RAPP_NEW 2)inserisce record su RAPP_NEW con INCARICO=N e RIFIUTATA=S return:ActionResult + + + chiudi: 1) crea un nuovo seriale per RAPP_NEW 2)inserisce record su RAPP_NEW con i dati dell'intervento return:ActionResult + + + rilascia: elimina record su RAPP_NEW con i dati dell'intervento return:ActionResult + + + Manutenzioni per tecnico e azienda (tenant). Intervallo: 1 mese prima e 1 mese dopo rispetto a GETDATE() con GENERATO diverso da S return:ActionResult + + + prendi_in_carico: inserisce record su Prese con i dati dell'intervento return:ActionResult + + + chiudi: 1) crea un nuovo seriale per RAPP_NEW 2)inserisce record su RAPP_NEW con i dati dell'intervento return:ActionResult + + + rilascia: elimina record su Prese con i dati dell'intervento return:ActionResult + + + + + + Upload return:ActionResult + + + Componenti impianto return:ActionResult + + + aggiunge un componente all'impianto. Inserisce in LABSEMICOMIMP return:ActionResult + + + toglie un componente all'impianto. Cancella in LABSEMICOMIMP return:ActionResult + + + Ricerca articoli per impianto return:ActionResult + + + rapportino per pezzi magazzino. Inserisce in LABSEMAG_NEW return:ActionResult + + + Ricerca Impianti return:ActionResult + + + Storico interventi return:ActionResult + + + Anagrafica return:ActionResult + + + Tabelle di dominio: causali pagamenti, causali rapportino, tipi esito, tipi intervento return:ActionResult + + + + + + Commesse return:ActionResult IEnumerable Commessa + + + Salva la timbratuta in tabella Timbrature return:ActionResult Timbratura_out + + + Storico rapportini tecnico return:ActionResult di Sto_Imp_out + + + Ricerca Commessa return:ActionResult + + + Salva la timbratuta in tabella Timbrature return:ActionResult Timbratura_out + + + + Contiene i campi di SALDIART + + + + tipo + + + codice + + + email + + + codice fiscale + + + partita iva + + + indirizzo + + + telefono + + + cellulare + + + pec + + + descrizione + + + listino cliente + + + Azienda collegata all'azienda principale + + + azienda + + + tecnico + + + tecnico + + + Nome azienda collegata + + + url logo + + + Testo rapportino + + + + Causali rapportino + + + + codice causale + + + descrizione causale + + + flag fatturazione + + + + + + + + + + + + + + + + + + + + + + + + + + + errore titolo + + + errore dettaglio + + + errore status code (200, 500) + + + ViSTA Chiamate + + + Azienda + + + + Seriale Chiamata + + + + + Stato chiamata + + + + + Codice Chiamatista assegnato + + + + + Data appuntamento chiamata + + + + + Ora appuntamento inizio + + + + + Minuti appuntamento inizio + + + + + Note appuntamento + + + + + Codice Impianto chiamata + + + + + Descrizione codice segnalazione + + + + + Telefono cliente + + + + + descrizione cliente + + + + + Indirizzo impianto tipo + + Via,Piazza, + + + + Indirizzo impianto nome + + + + + Indirizzo impianto numero + + + + + Indirizzo impianto sottonumero + + + + + Indirizzo impianto Scala + + + + + Indirizzo impianto località + + + + + Indirizzo impianto Cap + + + + + Indirizzo impianto comune + + + + + Indirizzo impianto provincia + + + + + Indirizzo impianto nazione + + + + + MANPROG: matricola impianto + + + + + MANPROG: numero impianto + + + + + MANPROG: ubicazione impianto + + + + + Tecnico descrizione + + + + + Tecnico codice + + + + + RAPP_NEW: seriale rapp_new preso in carico + + + + + RAPP_NEW: tipo rapp_new preso in carico (valore vuoto) + + + + + RAPP_NEW: preso in carico (S o NULL) + + + + + RAPP_NEW: seriale rapp_new rifiutata + + + + + RAPP_NEW: tipo rapp rifiutata (valore vuoto) + + + + + RAPP_NEW: rifiutato (S o null) + + + + + RAPP_NEW: seriale chiamata chiusa + + + + + RAPP_NEW: tipo chiamata chiusa (3 o null) + + + + + RAPP_NEW: seriale buono chiamata chiusa + + + + + errore titolo + + + + + errore dettaglio + + + + + errore status code (200, 500) + + + + Esercizio + + + Tipo + + + numero chiamata + + + Data inserimento chiamata + + + Ora inserimento chiamata + + + Minuti inserimento chiamata + + + operatore assegnazione + + + operatore di chiusura + + + azienda impianto + + + ora appuntamento fine + + + minuto appuntamento fine + + + Riferimento chiamata + + + telefono riferimento + + + tcodice segnalazione + + + Fermo impianto S/N + + + Data assegnazione chiamata + + + Ora assegnazione chiamata + + + Min assegnazione chiamata + + + Data chiusura chiamata + + + Ora chiusura chiamata + + + Min chiusura chiamata + + + Data inizio intervento + + + Ora inizio intervento + + + Min inizio intervento + + + Data fine intervento + + + Ora fine intervento + + + Min fine intervento + + + Numero 1 rapportino futuro + + + Serie 1 rapportino futuro + + + Numero 2 rapportino futuro + + + Modalità raccolta chiamata + + + Numero chiamata per impianto per anno + + + Importo manodopera + + + Percentuale manodopera + + + Stampa manodopera + + + Chiusura da remoto + + + Riferimento seriale importazione + + + Descrizione + + + Tipo impianto + + + Ultimo amministratore + + + Descrizione Ult. Amministratore + + + Telefono Ult. Amministratore + + + Zona manutenzione + + + Pubblico/privato + + + Zona chiamate + + + Zona supervisione + + + Data inizio manutenzione + + + Data fine manutenzione + + + Data costruzione + + + Numero telesoccorso + + + Email cliente + + + Ultimo cliente + + + codice cliente + + + tipo anagrafica + + + costo chiamata + + + spese viaggio + + + costo orario ordinario + + + costo orario notturno + + + costo orario straordinario + + + costo orario festivo + + + Azienda di riferimento associata all'impianto (gestione loghi differenti) + + + riferimento impianto (va su rapportino) + + + Tabella CHIAMATE (insert da app) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Tabella CHIAMATE (insert da app) - Output + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + errore titolo + + + errore dettaglio + + + errore status code (200, 500) + + + ViSTA Chiamate + + + Azienda + + + + Seriale Chiamata + + + + + Stato chiamata + + + + + Codice Chiamatista assegnato + + + + + Data appuntamento chiamata + + + + + Ora appuntamento inizio + + + + + Minuti appuntamento inizio + + + + + Note appuntamento + + + + + Codice Impianto chiamata + + + + + Descrizione codice segnalazione + + + + + Telefono cliente + + + + + descrizione cliente + + + + + Indirizzo impianto tipo + + Via,Piazza, + + + + Indirizzo impianto nome + + + + + Indirizzo impianto numero + + + + + Indirizzo impianto sottonumero + + + + + Indirizzo impianto Scala + + + + + Indirizzo impianto località + + + + + Indirizzo impianto Cap + + + + + Indirizzo impianto comune + + + + + Indirizzo impianto provincia + + + + + Indirizzo impianto nazione + + + + + matricola impianto + + + + + numero impianto + + + + + ubicazione impianto + + + + + Tecnico descrizione + + + + + Tecnico codice + + + + + RAPP_NEW: seriale rapp_new preso in carico + + + + + RAPP_NEW: tipo rapp_new preso in carico (valore vuoto) + + + + + RAPP_NEW: preso in carico (S o NULL) + + + + + RAPP_NEW: seriale rapp_new rifiutata + + + + + RAPP_NEW: tipo rapp rifiutata (valore vuoto) + + + + + RAPP_NEW: rifiutato (S o null) + + + + + RAPP_NEW: seriale chiamata chiusa + + + + + RAPP_NEW: tipo chiamata chiusa (3 o null) + + + + + RAPP_NEW: seriale buono chiamata chiusa + + + + + errore titolo + + + + + errore dettaglio + + + + + errore status code (200, 500) + + + + + altri dati chiamata + + Esercizio + + + Tipo + + + numero chiamata + + + Data inserimento chiamata + + + Ora inserimento chiamata + + + Minuti inserimento chiamata + + + operatore assegnazione + + + operatore di chiusura + + + azienda impianto + + + ora appuntamento fine + + + minuto appuntamento fine + + + Riferimento chiamata + + + telefono riferimento + + + tcodice segnalazione + + + altri campi + + + Codice cliente + + + costo chiamata + + + spese viaggio + + + costo orario ordinario + + + costo orario notturno + + + costo orario straordinario + + + costo orario festivo + + + Azienda di riferimento associata all'impianto (gestione loghi differenti) + + + riferimento impianto (va su rapportino) + + + indirizzo stampa (html) + + + impianto per lista (html) + + + Chiusure + + + codice chiusura + + + descrizione + + + ccrapabi + + + obbligatoria + + + ccchiint + + + azienda + + + Descrizione supplementare da mettere sul rapportino + + + ViSTA API_COMMESSE + + + Codice Commessa + + + Descrizione Commessa + + + data fine validita Commessa + + + tipo + + + codice cliente + + + descrizione cliente + + + impianto + + + tipo ind + + + indirizzo + + + numero + + + lettera + + + scala + + + localita + + + CAP + + + provincia + + + ViSTA API_COMMESSE + + + Codice Commessa + + + Descrizione Commessa + + + data fine validita Commessa + + + tipo + + + codice cliente + + + descrizione cliente + + + impianto + + + tipo ind + + + indirizzo + + + numero + + + lettera + + + scala + + + localita + + + CAP + + + provincia + + + elemento lista formato html + + + Error title + + + Error deatail + + + Error code + + + + Contiene i campi di xxxMICOMIMP (componenti impianto) + + + + + codice impianto + + + + + codice impianto + + + + + indice riga + + + + + quantità + + + + + codice articolo + + + + + note + + + + + lotto articolo + + + + + matricola articolo + + + + + descrizione articolo + + + + + + Contiene i campi di xxxMICOMIMP (componenti impianto) oggetto di output + + + + + codice impianto + + + + + codice impianto + + + + + indice riga + + + + + codice articolo + + + + + codice articolo + + + + + note + + + + + lotto articolo + + + + + matricola articolo + + + + + errore titolo + + + + + errore dettaglio + + + + + errore status code (200, 500) + + + + + Classe componenti per scrittura db + + + + + codice impianto + + + + + codice impianto + + + + + indice riga + + + + + codice articolo + + + + + codice articolo + + + + + note + + + + + lotto articolo + + + + + matricola articolo + + + + + + + azienda + + + path file buoni (immagini rapportini) + + + prefisso dei buoni da chiamata + + + prefisso dei buoni da mauntenzione + + + url ftp per upload delle immagini + + + utente ftp per upload delle immagini + + + password ftp per upload delle immagini + + + Listino articoli per magazzino + + + pulsante naviga nelle liste + + + pulsante telefona nelle liste + + + abilita funzione + + + abilita funzione + + + barcode abilitato opzionalmente in varie sezioni. Per renderlo obbligatorio vedi flag sott + + + + + + barcode obbligatorio + + + funziona anche offline + + + abilita funzione + + + hiamate_rifiuta_barcode + + + funziona anche offline + + + barcode obbligatorio + + + barcode obbligatorio + + + barcode obbligatorio + + + abilita funzione + + + funziona anche offline + + + abilita funzione + + + barcode obbligatorio + + + funziona anche offline + + + barcode obbligatorio + + + barcode obbligatorio + + + barcode obbligatorio + + + funziona anche offline + + + chiede presena DPI prima di scheda + + + visualizza anagrafica + + + abilita stato impianto + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + Costo orario intervento + + + porta ftp + + + barcode obbligatorio + + + storico rapportini + + + storico impianto + + + Abilita link storico interventi + + + Abilita link ricerca impianti + + + Abilita link storico impianto (solo per chi gestisce il magazzino) + + + Calcolo tempo rapportino automatico + + + Stampa ora inizio-fine su buono + + + Stampa intestazione su buono + + + Seriale chiamata da usare come teplate per inserire chiamata da app (commessa o normale) + + + 0=non abilitata 1,2,3=abilitata + + + storico impianto + + + Error Message + + + Error Message detail + + + Status + + + Configurazioni + + + azienda + + + path file buoni (immagini rapportini) + + + prefisso dei buoni da chiamata + + + prefisso dei buoni da mauntenzione + + + url ftp per upload delle immagini + + + utente ftp per upload delle immagini + + + password ftp per upload delle immagini + + + Listino articoli per magazzino + + + pulsante naviga nelle liste + + + pulsante telefona nelle liste + + + abilita funzione + + + abilita funzione + + + barcode abilitato opzionalmente in varie sezioni. Per renderlo obbligatorio vedi flag sott + + + + + + barcode obbligatorio + + + funziona anche offline + + + abilita funzione + + + hiamate_rifiuta_barcode + + + funziona anche offline + + + barcode obbligatorio + + + barcode obbligatorio + + + barcode obbligatorio + + + abilita funzione + + + funziona anche offline + + + abilita funzione + + + barcode obbligatorio + + + funziona anche offline + + + barcode obbligatorio + + + barcode obbligatorio + + + barcode obbligatorio + + + funziona anche offline + + + chiede presena DPI prima di scheda + + + visualizza anagrafica + + + abilita stato impianto + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + Costo orario intervento + + + porta ftp + + + barcode obbligatorio + + + OBSOLETO + + + OBSOLETO + + + Abilita link storico interventi + + + Abilita link ricerca impianti + + + Abilita link storico impianto (solo per chi gestisce il magazzino) + + + Calcolo tempo rapportino automatico + + + Stampa ora inizio-fine su buono + + + Stampa intestazione su buono + + + Seriale chiamata da usare come teplate per inserire chiamata da app (commessa o normale) + + + 0=non abilitata 1,2,3=abilitata + + + ConfigurazioniDbContext + + + conf + + + ConfigurazioniDbContext + + + OnModelCreating + + + Aziende collegate + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Rapportini + + + ConfigurazioniDbContext + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Error + + + Error title + + + Error deatail + + + Error code + + + + + + + + + + + + + + + FERRA_CHIAMATEDbContext + + + FERRA_CHIAMATEDbContext + + + FERRA_CHIAMATEDbContext + + + OnModelCreating + + + FERRA_CHIUSUREDbContext + + + Chiusure + + + + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + FERRA_MANPROG_TECDbContext + + + Manutenzioni + + + Manutenzioni + + + OnModelCreating + + + + + + + + + + + + + + + FERRA_CHIAMATEDbContext + + + FERRA_CHIAMATEDbContext + + + + + + A + + + + + + Rapportini + + + ConfigurazioniDbContext + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Rapportini + + + ConfigurazioniDbContext + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Impianto + + + Codice Impianto + + + Descrizione Impianto + + + Tipo indirizzo (Via, piazza..) + + + indirizzo + + + numero civico + + + sottonumero + + + scala + + + localita + + + Cap + + + Comune + + + Provincia + + + Azienda + + + Impianto out + + + Codice Impianto + + + Codice Impianto + + + Indirizzo Impianto + + + Cap + + + Comune + + + Provincia + + + Località + + + Error title + + + Error deatail + + + Error code + + + + Contiene i campi di input sia per RAPP_NEW che per PRESE + + + + + Tabella RAPP_NEW: Seriale rapportini + + + + + Tabella RAPP_NEW: Tipo rapportini + + + + + Tabella RAPP_NEW: Azienda + + + + + Tabella RAPP_NEW: Codice Impianto + + + + + Tabella RAPP_NEW: Azienda su cui è la chiamata + + + + + Tabella RAPP_NEW: Seriale chiamata + + + + + Tabella RAPP_NEW: Seriale chiamata + + + + + Tabella RAPP_NEW: Data rapportino + + + + + Tabella RAPP_NEW: Ora inizio + + + + + Tabella RAPP_NEW: Tabella RAPP_NEW: minuto inizio + + + + + Tabella RAPP_NEW: Ora fine + + + + + Tabella RAPP_NEW: Minuto fine + + + + + Tabella RAPP_NEW: codice chiusura + + + + + Tabella RAPP_NEW: codice chiusura + + + + + Tabella RAPP_NEW: codice chiusura + + + + + Tabella RAPP_NEW: codice chiusura + + + + + Tabella RAPP_NEW: codice chiusura + + + + + Tabella RAPP_NEW: codice chiusura + + + + + Tabella RAPP_NEW: codice chiusura + + + + + Tabella RAPP_NEW: codice chiusura + + + + + Tabella RAPP_NEW: codice chiusura + + + + + Tabella RAPP_NEW: codice chiusura + + + + + Tabella RAPP_NEW: descrizione intervento + + + + + Tabella RAPP_NEW: stato + + + + + Tabella RAPP_NEW: generato + + + + + Tabella RAPP_NEW: azienda tecnico + + + + + Tabella RAPP_NEW: codice tecnico + + + + + Tabella RAPP_NEW: flag rifiutata + + + + + Tabella RAPP_NEW: nominativo firma + + + + + Tabella RAPP_NEW: flag stato In Carico + + + + + Tabella RAPP_NEW: data validità + + + + + Tabella RAPP_NEW: pathg immagine buono o firma + + + + + Tabella RAPP_NEW: seriale del buono + + + + + Tabella RAPP_NEW: seriale del buono + + + + + Tabella RAPP_NEW: data/ora effettiva del lavoro (nel caso dispositivo offline) + + + + Tabella PRESE: Azienda + + + Tabella PRESE: Impianto + + + Tabella PRESE: Codice intervento QUI=? SEM=SEMESTRALE + + + Tabella PRESE: Tecnico + + + Tabella PRESE: data della manutenzione + + + Tabella PRESE: Zona manutenzione + + + Tabella PRESE: check presa + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Componenti impianto aggiunti + + + Componenti impianto eliminati + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Rapportini + + + ConfigurazioniDbContext + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + LoginModel + + + Username + + + Password + + + Tenant + + + Conf (configurazioni app) + + + pulsante naviga nelle liste + + + pulsante telefona nelle liste + + + abilita funzione + + + abilita funzione + + + barcode abilitato opzionalmente in varie sezioni. Per renderlo obbligatorio vedi flag sott + + + + + + barcode obbligatorio + + + funziona anche offline + + + abilita funzione + + + hiamate_rifiuta_barcode + + + funziona anche offline + + + barcode obbligatorio + + + barcode obbligatorio + + + barcode obbligatorio + + + abilita funzione + + + funziona anche offline + + + abilita funzione + + + barcode obbligatorio + + + funziona anche offline + + + barcode obbligatorio + + + barcode obbligatorio + + + barcode obbligatorio + + + funziona anche offline + + + chiede presena DPI prima di scheda + + + anagrafica visualizza anagrafica + + + abilita stato impianto + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + Costo orario intervento + + + porta ftp + + + barcode obbligatorio + + + storico rapportini abilita + + + storico impianto + + + Abilita link storico interventi + + + Abilita link ricerca impianti + + + Abilita link storico impianto (solo per chi gestisce il magazzino) + + + Calcolo tempo rapportino automatico + + + Stampa ora inizio-fine su buono + + + Stampa intestazione su buono + + + Seriale chiamata da usare come teplate per inserire chiamata da app (commessa o normale) + + + 0=non abilitata 1,2,3=abilitata + + + LoginOut (token+user) + + + token + + + token + + + token + + + token + + + storico impianto + + + Error Message + + + Error Message detail + + + Status + + + + Magazzini azienda + + + + + codice magazzino + + + + + descrizione + + + + + Contiene i campi di MAG_NEW + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + descrizione articolo + + + riga impianto + + + codice impianto + + + note + + + cpccchk + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + descrizione articolo + + + riga impianto + + + codice impianto + + + note + + + + errore titolo + + + + + errore dettaglio + + + + + errore status code (200, 500) + + + + + Manutenzioni Programmate + + + + + MANPROG: codice intervento (BIM=bimestrale, SEM=semestarle,..) + + + + + MANPROG: data prossima manutenzione + + + + + MANPROG: descrizione intervento + + + + + MANPROG: indirizzo 1 impianto + + + + + MANPROG: indirizzo 2 impianto + + + + + MANPROG: indirizzo 3 impianto + + + + + MANPROG: indirizzo 4 impianto + + + + + MANPROG: indirizzo 5 impianto + + + + + MANPROG: localita impianto + + + + + MANPROG: cap impianto + + + + + MANPROG: comune impianto + + + + + MANPROG: matricola impianto + + + + + MANPROG: numero impianto + + + + + MANPROG: ubicazione impianto + + + + + MANPROG: provincia 5 impianto + + + + + MANPROG: nazione impianto + + + + + MANPROG: codice impianto + + + + + MANPROG: tecnico descrizione + + + + + MANPROG: tecnico codice + + + + + RAPP_NEW: seriale rapportino + + + + + RAPP_NEW: seriale buono + + + + + RAPP_NEW: flag generato. Rapportino importato in AdHoc + + + + + PRESE: codice impianto + + + + + PRESE: codice intervento (BIM=bimestrale,SEM=semestrale) + + + + + PRESE: data manutenzione + + + + + errore titolo + + + + + errore dettaglio + + + + + errore status code (200, 500) + + + + + Manutenzioni: telefono 1 impianto + + + + + Manutenzioni: telefono 1 impianto + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + costo chiamata + + + spese viaggio + + + costo orario ordinario + + + costo orario notturno + + + costo orario straordinario + + + costo orario festivo + + + Azienda di riferimento associata all'impianto (gestione loghi differenti) + + + Zona Impianto + + + Riferimento Impianto + + + + Manutenzioni Programmate uscita + + + + + MANPROG: codice intervento (BIM=bimestrale, SEM=semestarle,..) + + + + + MANPROG: data prossima manutenzione + + + + + MANPROG: descrizione intervento + + + + + MANPROG: indirizzo 1 impianto + + + + + MANPROG: indirizzo 2 impianto + + + + + MANPROG: indirizzo 3 impianto + + + + + MANPROG: indirizzo 4 impianto + + + + + MANPROG: indirizzo 5 impianto + + + + + MANPROG: localita impianto + + + + + MANPROG: cap impianto + + + + + MANPROG: comune impianto + + + + + MANPROG: provincia 5 impianto + + + + + matricola impianto + + + + + numero impianto + + + + + ubicazione impianto + + + + + MANPROG: nazione impianto + + + + + MANPROG: codice impianto + + + + + MANPROG: tecnico descrizione + + + + + MANPROG: tecnico codice + + + + + RAPP_NEW: seriale rapportino + + + + + RAPP_NEW: seriale buono + + + + + RAPP_NEW: flag generato. Rapportino importato in AdHoc + + + + + PRESE: codice impianto + + + + + PRESE: codice intervento (BIM=bimestrale,SEM=semestrale) + + + + + PRESE: data manutenzione + + + + + errore titolo + + + + + errore dettaglio + + + + + errore status code (200, 500) + + + + + Manutenzioni: telefono 1 impianto + + + + + Manutenzioni: telefono 1 impianto + + + + + Manutenzioni: cliente + + + + costo chiamata + + + spese viaggio + + + costo orario ordinario + + + costo orario notturno + + + costo orario straordinario + + + costo orario festivo + + + altri dati Manutenzione + + + Azienda di riferimento associata all'impianto (gestione loghi differenti) + + + Zona Impianto + + + Riferimento Impianto + + + indirizzo stampa (html) + + + impianto per lista (html) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Rapportini + + + ConfigurazioniDbContext + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ViSTA Chiamate + + + Azienda + + + utente destinastario notifica + + + seriale della chiamata + + + data di invio della notifica + + + Uscita chiamataTable+chiamate + + + output di chiamataTable (inserimento in tabella Chiamate) + + + output di Chiamate_out (inserimento in tabella Rapp_new) + + + output di ChiamateSeriale_out (aggiornamento in tabella in tabella PINUMCHI) + + + output di ChiamateSeriale_out (aggiornamento in tabella in tabella cpwarn) + + + output di ChiamateSeriale_out (aggiornamento in tabella in tabella cpwarn) + + + errore titolo + + + errore dettaglio + + + errore status code (200, 500) + + + Output ricerca impianti e di ricerca commesse + + + Codice Commessa + + + Descrizione Commessa + + + data fine validita Commessa + + + tipo + + + codice cliente + + + descrizione cliente + + + impianto + + + tipo ind + + + indirizzo + + + numero + + + lettera + + + scala + + + localita + + + CAP + + + provincia + + + descrizione + + + elemento lista formato html + + + Error title + + + Error deatail + + + Error code + + + + Causali pagamento + + + + codice pagamento + + + descrizione pagamento + + + + Tabella PRESA + + + + Azienda + + + Impianto + + + Codice intervento QUI=? SEM=SEMESTRALE + + + Tecnico + + + data della manutenzione + + + Zona manutenzione + + + check presa + + + cpccchk + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + errore titolo + + + errore dettaglio + + + errore status code (200, 500) + + + Rappmast: storico interventi per tecnico + + + Seriale rapportini + + + Causale + + + Azienda + + + Impianto + + + Lavoro + + + fase Lavoro + + + tipo cliente + + + codice cliente + + + contratto manutenzione + + + verbale + + + azienda chiamata + + + chiamata + + + esercizio + + + codice giro + + + intervento giro + + + numero rapportino + + + serie rapportino + + + data rapportino + + + flag da fatturare + + + flag fatturabile + + + utente fatturabile + + + data fatturabilità + + + codice pagamento + + + azienda tecnico 1 + + + tecnico 1 + + + azienda tecnico 2 + + + tecnico 2 + + + azienda tecnico 3 + + + tecnico 3 + + + tecnici fatturabili + + + Ore fatturabili + + + giornate fatturabili + + + Importo unitario + + + servizio assistenza + + + Importo totale + + + descrizione + + + Note + + + Servizio dir. fisso + + + descrizione dir. fisso + + + Importo dir. fisso + + + Importo dir. fisso + + + servizio viaggio + + + descrizione viaggio + + + Importo viaggio + + + Totale viaggio + + + descrizione meteriale + + + Note meteriale + + + Importo materiali + + + Descrizione intervento + + + Note intervento + + + Riferimento cliente + + + Listino costi + + + centro di costo + + + commessa + + + Zona analitica + + + Seriale doc attivo + + + Seriale doc passivo + + + Seriale doc passivo + + + Stato rapportino (Controllato S/N) + + + Tipo intervento (Reperibile S/N) + + + Modalita fatturazione + + + Servizio per fatture a corpo + + + Listino per fatture a corpo + + + Importo servizio a corpo + + + percentuale ricarico costi materiali + + + descrizione servizio a corpo + + + descrizione suppl servizio a corpo + + + Numerazione automatica + + + U.M. viaggio + + + U.M. assistenza + + + flag assegnazione tecnico da blocchetto + + + percentuale manodopera + + + importo manodopera a corpo + + + importo materiale a corpo + + + Servizio assistenza ore straordinario + + + Servizio dir. fisso ore straordinario + + + Servizio viaggio straordinario + + + importo straord assistenza + + + importo straord viaggio + + + importo straord dir. fisso + + + ore fatturabili straordinario + + + importo totale straord assistenza + + + importo totale straord viaggio + + + Desc assistenza straordinario + + + Desc dir. fisso straordinario + + + Desc viaggio straordinario + + + Servizio assistenza ore notturno + + + Servizio dir. fisso ore notturno + + + Servizio viaggio notturno + + + importo notturno assistenza + + + importo notturno viaggio + + + importo notturno dir.fisso + + + Ore fatturabili notturno + + + importo totale notturno assistenza + + + importo totale notturno viaggio + + + 77777777 + Desc assistenza notturno + + + Desc dir fisso notturno + + + Desc viaggio notturno + + + servizio assistenza ore festivo + + + servizio dir. fisso ore festivo + + + servizio viaggio festivo + + + importo festivo assistenza + + + importo festivo viaggio + + + importo festivo dir. fisso + + + ore fatturabili festivo + + + importo totale festivo assistenza + + + importo totale festivo viaggio + + + desc assistenza festivo + + + desc dir fisso festivo + + + desc viaggio festivo + + + importo unitario viaggio 2 + + + importo totale viaggio 2 + + + U.M. viaggio 2 + + + Km totali viaggio 2 + + + codice intervento + + + Numero ordine + + + ore fatturabili starordinario aiutante + + + ore fatturabili notturne aiutante + + + ore fatturabili festive aiutante + + + importo straordinario aiutante + + + importo notte aiutante + + + importo festivo aiutante + + + servizio assistenza straordinario aiutante + + + descrizione servizio assistenza aiutante + + + descrizione servizio notte aiutante + + + descrizione servizio festivo aiutante + + + servizio festivo aiutante + + + descrizione festivo aiutante + + + importo ore straordinario aiutante + + + importo ore notturne aiutante + + + importo ore festive aiutante + + + periodo + + + numero pasti + + + importo pasti + + + + + + flag forza ore lavoro + + + flag forza impianto + + + Rapp_New + + + + Seriale rapportini + + + + + Tipo rapportini + + + + + Azienda + + + + + Codice Impianto + + + + + Azienda su cui è la chiamata + + + + + Seriale chiamata + + + + + Seriale chiamata + + + + + Data rapportino + + + + + Ora inizio + + + + + minuto inizio + + + + + Ora fine + + + + + Minuto fine + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + descrizione intervento + + + + + stato + + + + + generato + + + + + azienda tecnico + + + + + codice tecnico + + + + + flag rifiutata + + + + + nminativo firma + + + + + flag stato In Carico + + + + + data validità + + + + + pathg immagine buono o firma + + + + + seriale del buono + + + + + data/ora effettiva del lavoro (nel caso dispositivo offline) + + + + + codice_intervento (valido per manutenzioni. Esempio: SEM=semestrale) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Contiene i campi di SALDIART + + + + articolo + + + descrizione articolo + + + magazzino + + + quantita + + + matricola + + + lotto + + + listino + + + articolo del listino + + + data validità listino + + + quantita + + + prezzo + + + sconto1 + + + sconto2 + + + sconto3 + + + sconto4 + + + articolo gestito a matricole(S/N) + + + articolo gestito a lotti (S e C=si, N=no) + + + + + + + + + + + + + + + SAROM_CHIAMATEDbContext + + + SAROM_CHIAMATEDbContext + + + SAROM_CHIAMATEDbContext + + + OnModelCreating + + + + + + Chiusure + + + + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Manutenzioni + + + Manutenzioni + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + A + + + + + + Rapportini + + + ConfigurazioniDbContext + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Rapportini + + + ConfigurazioniDbContext + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Rapportini + + + Rapportini + + + ConfigurazioniDbContext + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + azienda + + + tecnico + + + zona + + + Inizio sostituzione + + + Fine sostituzione + + + codice sostituzione + + + Storico impianti + + + seriale rapportino + + + seriale rapportino + + + indice riga + + + codice magazzino + + + codice articolo + + + descrizione articolo + + + tipologia movimento (E=eliminato,A=aggiunto,S=sotituito) + + + quantità articolo + + + prezzo articolo + + + codice tecnico + + + descrizione tecnico + + + documento generato + + + note + + + codice lotto articolo + + + matricola articolo + + + + + + codice impianto + + + descrizione impianto + + + azienda impianto + + + tipo indirizzo (via, strada) + + + indirizzo + + + indirizzo numero + + + indirizzo scala + + + indirizzo sottonumero + + + Storico impianti- output + + + (LISTA)data rapportino + + + (LISTA) codice articolo + + + (LISTA) tipologia movimento (E=eliminato,A=aggiunto,S=sotituito) + + + dettaglio movimento impianto + + + errore titolo + + + errore dettaglio + + + errore status code (200, 500) + + + + Storico interventi New + + + + (LISTA) codice tecnico + + + (LISTA) descrizione tecnico + + + (LISTA) note esito + + + (LISTA) note esito + + + stato finale + + + esito intervento + + + descrizione intervento + + + firma rapportino + + + seriale chiamata (se chiamata, altrimenti null + + + seriale buono + + + difetti riscontrati + + + lavoro eseguito + + + note intervento + + + ore lavoro + + + costo materiale + + + diritto chiamata + + + anticipo + + + manodopera + + + spese viaggio + + + pagamento + + + codice impianto + + + totale + + + note pagamento + + + tipo intervento + + + rapportino generato in adhoc S/N + + + azienda tecnico + + + azienda impianto + + + azienda chiamata + + + cod chiusura 1 + + + cod chiusura 2 + + + cod chiusura 3 + + + cod chiusura 4 + + + cod chiusura 5 + + + cod chiusura 6 + + + cod chiusura 7 + + + cod chiusura 8 + + + cod chiusura 9 + + + cod chiusura 10 + + + des cod chiusura 1 + + + des cod chiusura 2 + + + des cod chiusura 3 + + + des cod chiusura 4 + + + des cod chiusura 5 + + + des cod chiusura 6 + + + des cod chiusura 7 + + + des cod chiusura 8 + + + des cod chiusura 9 + + + des cod chiusura 10 + + + des supp cod chiusura 1 + + + des supp cod chiusura 2 + + + des supp cod chiusura 3 + + + des supp cod chiusura 4 + + + des supp cod chiusura 5 + + + des supp cod chiusura 6 + + + des supp cod chiusura 7 + + + des supp cod chiusura 8 + + + des supp cod chiusura 9 + + + des supp cod chiusura 10 + + + seriale rapportino + + + codice intervento manutenzione + + + descrizione intervento manutenzione + + + descrizione suppl. intervento manutenzione + + + descrizione suppl. codice intervento manutenzione + + + codice segnalazione chiamata + + + tipo indirizzo (via, strada) + + + indirizzo + + + indirizzo numero + + + indirizzo scala + + + indirizzo sottonumero + + + ViSTA Chiamate + + + (LISTA) codice tecnico + + + (LISTA) descrizione tecnico + + + (LISTA) note esito + + + (LISTA) note esito + + + dettaglio rapportino + + + errore titolo + + + errore dettaglio + + + errore status code (200, 500) + + + Tabelle di Dominio + + + lista causali rapportino + + + lista causali pagamento + + + stati impianto + + + esito intervento + + + + + + + + + + + + tecnici + + + + Codice tecnico + + + + + Descrizione tecnico + + + + + telefono tecnico + + + + + Qualifica tecnico chiamatista + + + + + Qualifica tecnico manutentore + + + + + Azienda tecnico + + + + + Qualifica tecnico supervisore + + + + + Username tecnico + + + + + Password tecnico + + + + + Zona tecnico + + + + + data inizio attività tecnico + + + + + data fine attività tecnico + + + + Tabella Timbrature + + + chiave primaria + + + data + + + ora inizio + + + minuto inizio + + + ora fine + + + minuto fine + + + commessa + + + ore viaggio + + + totale ore + + + giorno settimana + + + azienda + + + tecnico + + + cpccchk + + + note + + + Timbrature OUT + + + id: chiave + + + data + + + ora inizio + + + minuto inizio + + + ora fine + + + minuto fine + + + commessa + + + ore viaggio + + + giorno settimana + + + azienda + + + tecnico + + + errore titolo + + + errore dettaglio + + + errore status code (200, 500) + + + note + + + token di login sul device + + + id + + + tenant azienda + + + utente login + + + token device + + + timestamp inserimento + + + TokenDbContext + + + conf + + + ConfigurazioniDbContext + + + OnModelCreating + + + token di login sul device- output + + + tenant azienda + + + utente login + + + token device + + + timestamp inserimento + + + Error Message + + + Error Message detail + + + Status + + + response + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Configuration + + + Startup + + + Costruttore + + + + + + + + + + + + tenant azienda + + + utente login + + + token device + + + title + + + body + + + not + + + Startup + + + Configuration + + + Startup + + + ConfigureServices + + + Configure:This method gets called by the runtime. Use this method to configure the HTTP request pipeline. + + + diff --git a/ApiPolo/obj/Debug/net6.0/PubTmp/Out/ApiPolo.deps.json b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/ApiPolo.deps.json new file mode 100644 index 0000000..9959600 --- /dev/null +++ b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/ApiPolo.deps.json @@ -0,0 +1,1008 @@ +{ + "runtimeTarget": { + "name": ".NETCoreApp,Version=v6.0", + "signature": "" + }, + "compilationOptions": {}, + "targets": { + ".NETCoreApp,Version=v6.0": { + "ApiPolo/1.0.0": { + "dependencies": { + "Microsoft.AspNet.Mvc": "5.2.9", + "Microsoft.AspNetCore.Authentication.Negotiate": "6.0.5", + "Microsoft.EntityFrameworkCore": "6.0.5", + "Microsoft.EntityFrameworkCore.SqlServer": "6.0.5", + "Microsoft.EntityFrameworkCore.Tools": "6.0.5", + "Swashbuckle.AspNetCore": "6.3.1" + }, + "runtime": { + "ApiPolo.dll": {} + } + }, + "Humanizer.Core/2.8.26": {}, + "Microsoft.AspNet.Mvc/5.2.9": { + "dependencies": { + "Microsoft.AspNet.Razor": "3.2.9", + "Microsoft.AspNet.WebPages": "3.2.9" + }, + "runtime": { + "lib/net45/System.Web.Mvc.dll": { + "assemblyVersion": "5.2.9.0", + "fileVersion": "5.2.61129.10" + } + } + }, + "Microsoft.AspNet.Razor/3.2.9": { + "runtime": { + "lib/net45/System.Web.Razor.dll": { + "assemblyVersion": "3.0.0.0", + "fileVersion": "3.0.61129.10" + } + } + }, + "Microsoft.AspNet.WebPages/3.2.9": { + "dependencies": { + "Microsoft.AspNet.Razor": "3.2.9", + "Microsoft.Web.Infrastructure": "1.0.0" + }, + "runtime": { + "lib/net45/System.Web.Helpers.dll": { + "assemblyVersion": "3.0.0.0", + "fileVersion": "3.0.61129.10" + }, + "lib/net45/System.Web.WebPages.Deployment.dll": { + "assemblyVersion": "3.0.0.0", + "fileVersion": "3.0.61129.10" + }, + "lib/net45/System.Web.WebPages.Razor.dll": { + "assemblyVersion": "3.0.0.0", + "fileVersion": "3.0.61129.10" + }, + "lib/net45/System.Web.WebPages.dll": { + "assemblyVersion": "3.0.0.0", + "fileVersion": "3.0.61129.10" + } + } + }, + "Microsoft.AspNetCore.Authentication.Negotiate/6.0.5": { + "dependencies": { + "Microsoft.AspNetCore.Connections.Abstractions": "6.0.5", + "System.DirectoryServices.Protocols": "6.0.1" + }, + "runtime": { + "lib/net6.0/Microsoft.AspNetCore.Authentication.Negotiate.dll": { + "assemblyVersion": "6.0.5.0", + "fileVersion": "6.0.522.21802" + } + } + }, + "Microsoft.AspNetCore.Connections.Abstractions/6.0.5": { + "dependencies": { + "Microsoft.Extensions.Features": "6.0.5", + "System.IO.Pipelines": "6.0.3" + }, + "runtime": { + "lib/net6.0/Microsoft.AspNetCore.Connections.Abstractions.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.522.21802" + } + } + }, + "Microsoft.CSharp/4.5.0": {}, + "Microsoft.Data.SqlClient/2.1.4": { + "dependencies": { + "Microsoft.Data.SqlClient.SNI.runtime": "2.1.1", + "Microsoft.Identity.Client": "4.21.1", + "Microsoft.IdentityModel.JsonWebTokens": "6.8.0", + "Microsoft.IdentityModel.Protocols.OpenIdConnect": "6.8.0", + "Microsoft.Win32.Registry": "4.7.0", + "System.Configuration.ConfigurationManager": "4.7.0", + "System.Diagnostics.DiagnosticSource": "6.0.0", + "System.Runtime.Caching": "4.7.0", + "System.Security.Principal.Windows": "4.7.0", + "System.Text.Encoding.CodePages": "4.7.0" + }, + "runtime": { + "lib/netcoreapp3.1/Microsoft.Data.SqlClient.dll": { + "assemblyVersion": "2.0.20168.4", + "fileVersion": "2.0.20168.4" + } + }, + "runtimeTargets": { + "runtimes/unix/lib/netcoreapp3.1/Microsoft.Data.SqlClient.dll": { + "rid": "unix", + "assetType": "runtime", + "assemblyVersion": "2.0.20168.4", + "fileVersion": "2.0.20168.4" + }, + "runtimes/win/lib/netcoreapp3.1/Microsoft.Data.SqlClient.dll": { + "rid": "win", + "assetType": "runtime", + "assemblyVersion": "2.0.20168.4", + "fileVersion": "2.0.20168.4" + } + } + }, + "Microsoft.Data.SqlClient.SNI.runtime/2.1.1": { + "runtimeTargets": { + "runtimes/win-arm/native/Microsoft.Data.SqlClient.SNI.dll": { + "rid": "win-arm", + "assetType": "native", + "fileVersion": "2.1.1.0" + }, + "runtimes/win-arm64/native/Microsoft.Data.SqlClient.SNI.dll": { + "rid": "win-arm64", + "assetType": "native", + "fileVersion": "2.1.1.0" + }, + "runtimes/win-x64/native/Microsoft.Data.SqlClient.SNI.dll": { + "rid": "win-x64", + "assetType": "native", + "fileVersion": "2.1.1.0" + }, + "runtimes/win-x86/native/Microsoft.Data.SqlClient.SNI.dll": { + "rid": "win-x86", + "assetType": "native", + "fileVersion": "2.1.1.0" + } + } + }, + "Microsoft.EntityFrameworkCore/6.0.5": { + "dependencies": { + "Microsoft.EntityFrameworkCore.Abstractions": "6.0.5", + "Microsoft.EntityFrameworkCore.Analyzers": "6.0.5", + "Microsoft.Extensions.Caching.Memory": "6.0.1", + "Microsoft.Extensions.DependencyInjection": "6.0.0", + "Microsoft.Extensions.Logging": "6.0.0", + "System.Collections.Immutable": "6.0.0", + "System.Diagnostics.DiagnosticSource": "6.0.0" + }, + "runtime": { + "lib/net6.0/Microsoft.EntityFrameworkCore.dll": { + "assemblyVersion": "6.0.5.0", + "fileVersion": "6.0.522.21804" + } + } + }, + "Microsoft.EntityFrameworkCore.Abstractions/6.0.5": { + "runtime": { + "lib/net6.0/Microsoft.EntityFrameworkCore.Abstractions.dll": { + "assemblyVersion": "6.0.5.0", + "fileVersion": "6.0.522.21804" + } + } + }, + "Microsoft.EntityFrameworkCore.Analyzers/6.0.5": {}, + "Microsoft.EntityFrameworkCore.Design/6.0.5": { + "dependencies": { + "Humanizer.Core": "2.8.26", + "Microsoft.EntityFrameworkCore.Relational": "6.0.5" + } + }, + "Microsoft.EntityFrameworkCore.Relational/6.0.5": { + "dependencies": { + "Microsoft.EntityFrameworkCore": "6.0.5", + "Microsoft.Extensions.Configuration.Abstractions": "6.0.0" + }, + "runtime": { + "lib/net6.0/Microsoft.EntityFrameworkCore.Relational.dll": { + "assemblyVersion": "6.0.5.0", + "fileVersion": "6.0.522.21804" + } + } + }, + "Microsoft.EntityFrameworkCore.SqlServer/6.0.5": { + "dependencies": { + "Microsoft.Data.SqlClient": "2.1.4", + "Microsoft.EntityFrameworkCore.Relational": "6.0.5" + }, + "runtime": { + "lib/net6.0/Microsoft.EntityFrameworkCore.SqlServer.dll": { + "assemblyVersion": "6.0.5.0", + "fileVersion": "6.0.522.21804" + } + } + }, + "Microsoft.EntityFrameworkCore.Tools/6.0.5": { + "dependencies": { + "Microsoft.EntityFrameworkCore.Design": "6.0.5" + } + }, + "Microsoft.Extensions.ApiDescription.Server/3.0.0": {}, + "Microsoft.Extensions.Caching.Abstractions/6.0.0": { + "dependencies": { + "Microsoft.Extensions.Primitives": "6.0.0" + } + }, + "Microsoft.Extensions.Caching.Memory/6.0.1": { + "dependencies": { + "Microsoft.Extensions.Caching.Abstractions": "6.0.0", + "Microsoft.Extensions.DependencyInjection.Abstractions": "6.0.0", + "Microsoft.Extensions.Logging.Abstractions": "6.0.0", + "Microsoft.Extensions.Options": "6.0.0", + "Microsoft.Extensions.Primitives": "6.0.0" + }, + "runtime": { + "lib/netstandard2.0/Microsoft.Extensions.Caching.Memory.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.222.6406" + } + } + }, + "Microsoft.Extensions.Configuration.Abstractions/6.0.0": { + "dependencies": { + "Microsoft.Extensions.Primitives": "6.0.0" + } + }, + "Microsoft.Extensions.DependencyInjection/6.0.0": { + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "6.0.0", + "System.Runtime.CompilerServices.Unsafe": "6.0.0" + } + }, + "Microsoft.Extensions.DependencyInjection.Abstractions/6.0.0": {}, + "Microsoft.Extensions.Features/6.0.5": { + "runtime": { + "lib/net6.0/Microsoft.Extensions.Features.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.522.21802" + } + } + }, + "Microsoft.Extensions.Logging/6.0.0": { + "dependencies": { + "Microsoft.Extensions.DependencyInjection": "6.0.0", + "Microsoft.Extensions.DependencyInjection.Abstractions": "6.0.0", + "Microsoft.Extensions.Logging.Abstractions": "6.0.0", + "Microsoft.Extensions.Options": "6.0.0", + "System.Diagnostics.DiagnosticSource": "6.0.0" + } + }, + "Microsoft.Extensions.Logging.Abstractions/6.0.0": {}, + "Microsoft.Extensions.Options/6.0.0": { + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "6.0.0", + "Microsoft.Extensions.Primitives": "6.0.0" + } + }, + "Microsoft.Extensions.Primitives/6.0.0": { + "dependencies": { + "System.Runtime.CompilerServices.Unsafe": "6.0.0" + } + }, + "Microsoft.Identity.Client/4.21.1": { + "runtime": { + "lib/netcoreapp2.1/Microsoft.Identity.Client.dll": { + "assemblyVersion": "4.21.1.0", + "fileVersion": "4.21.1.0" + } + } + }, + "Microsoft.IdentityModel.JsonWebTokens/6.8.0": { + "dependencies": { + "Microsoft.IdentityModel.Tokens": "6.8.0" + }, + "runtime": { + "lib/netstandard2.0/Microsoft.IdentityModel.JsonWebTokens.dll": { + "assemblyVersion": "6.8.0.0", + "fileVersion": "6.8.0.11012" + } + } + }, + "Microsoft.IdentityModel.Logging/6.8.0": { + "runtime": { + "lib/netstandard2.0/Microsoft.IdentityModel.Logging.dll": { + "assemblyVersion": "6.8.0.0", + "fileVersion": "6.8.0.11012" + } + } + }, + "Microsoft.IdentityModel.Protocols/6.8.0": { + "dependencies": { + "Microsoft.IdentityModel.Logging": "6.8.0", + "Microsoft.IdentityModel.Tokens": "6.8.0" + }, + "runtime": { + "lib/netstandard2.0/Microsoft.IdentityModel.Protocols.dll": { + "assemblyVersion": "6.8.0.0", + "fileVersion": "6.8.0.11012" + } + } + }, + "Microsoft.IdentityModel.Protocols.OpenIdConnect/6.8.0": { + "dependencies": { + "Microsoft.IdentityModel.Protocols": "6.8.0", + "System.IdentityModel.Tokens.Jwt": "6.8.0" + }, + "runtime": { + "lib/netstandard2.0/Microsoft.IdentityModel.Protocols.OpenIdConnect.dll": { + "assemblyVersion": "6.8.0.0", + "fileVersion": "6.8.0.11012" + } + } + }, + "Microsoft.IdentityModel.Tokens/6.8.0": { + "dependencies": { + "Microsoft.CSharp": "4.5.0", + "Microsoft.IdentityModel.Logging": "6.8.0", + "System.Security.Cryptography.Cng": "4.5.0" + }, + "runtime": { + "lib/netstandard2.0/Microsoft.IdentityModel.Tokens.dll": { + "assemblyVersion": "6.8.0.0", + "fileVersion": "6.8.0.11012" + } + } + }, + "Microsoft.NETCore.Platforms/3.1.0": {}, + "Microsoft.OpenApi/1.2.3": { + "runtime": { + "lib/netstandard2.0/Microsoft.OpenApi.dll": { + "assemblyVersion": "1.2.3.0", + "fileVersion": "1.2.3.0" + } + } + }, + "Microsoft.Web.Infrastructure/1.0.0": { + "runtime": { + "lib/net40/Microsoft.Web.Infrastructure.dll": { + "assemblyVersion": "1.0.0.0", + "fileVersion": "1.0.20105.407" + } + } + }, + "Microsoft.Win32.Registry/4.7.0": { + "dependencies": { + "System.Security.AccessControl": "4.7.0", + "System.Security.Principal.Windows": "4.7.0" + } + }, + "Microsoft.Win32.SystemEvents/4.7.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "3.1.0" + }, + "runtime": { + "lib/netstandard2.0/Microsoft.Win32.SystemEvents.dll": { + "assemblyVersion": "4.0.2.0", + "fileVersion": "4.700.19.56404" + } + }, + "runtimeTargets": { + "runtimes/win/lib/netcoreapp3.0/Microsoft.Win32.SystemEvents.dll": { + "rid": "win", + "assetType": "runtime", + "assemblyVersion": "4.0.2.0", + "fileVersion": "4.700.19.56404" + } + } + }, + "Swashbuckle.AspNetCore/6.3.1": { + "dependencies": { + "Microsoft.Extensions.ApiDescription.Server": "3.0.0", + "Swashbuckle.AspNetCore.Swagger": "6.3.1", + "Swashbuckle.AspNetCore.SwaggerGen": "6.3.1", + "Swashbuckle.AspNetCore.SwaggerUI": "6.3.1" + } + }, + "Swashbuckle.AspNetCore.Swagger/6.3.1": { + "dependencies": { + "Microsoft.OpenApi": "1.2.3" + }, + "runtime": { + "lib/net6.0/Swashbuckle.AspNetCore.Swagger.dll": { + "assemblyVersion": "6.3.1.0", + "fileVersion": "6.3.1.0" + } + } + }, + "Swashbuckle.AspNetCore.SwaggerGen/6.3.1": { + "dependencies": { + "Swashbuckle.AspNetCore.Swagger": "6.3.1" + }, + "runtime": { + "lib/net6.0/Swashbuckle.AspNetCore.SwaggerGen.dll": { + "assemblyVersion": "6.3.1.0", + "fileVersion": "6.3.1.0" + } + } + }, + "Swashbuckle.AspNetCore.SwaggerUI/6.3.1": { + "runtime": { + "lib/net6.0/Swashbuckle.AspNetCore.SwaggerUI.dll": { + "assemblyVersion": "6.3.1.0", + "fileVersion": "6.3.1.0" + } + } + }, + "System.Collections.Immutable/6.0.0": { + "dependencies": { + "System.Runtime.CompilerServices.Unsafe": "6.0.0" + } + }, + "System.Configuration.ConfigurationManager/4.7.0": { + "dependencies": { + "System.Security.Cryptography.ProtectedData": "4.7.0", + "System.Security.Permissions": "4.7.0" + }, + "runtime": { + "lib/netstandard2.0/System.Configuration.ConfigurationManager.dll": { + "assemblyVersion": "4.0.3.0", + "fileVersion": "4.700.19.56404" + } + } + }, + "System.Diagnostics.DiagnosticSource/6.0.0": { + "dependencies": { + "System.Runtime.CompilerServices.Unsafe": "6.0.0" + } + }, + "System.DirectoryServices.Protocols/6.0.1": { + "runtime": { + "lib/net6.0/System.DirectoryServices.Protocols.dll": { + "assemblyVersion": "6.0.0.1", + "fileVersion": "6.0.222.6406" + } + }, + "runtimeTargets": { + "runtimes/linux/lib/net6.0/System.DirectoryServices.Protocols.dll": { + "rid": "linux", + "assetType": "runtime", + "assemblyVersion": "6.0.0.1", + "fileVersion": "6.0.222.6406" + }, + "runtimes/osx/lib/net6.0/System.DirectoryServices.Protocols.dll": { + "rid": "osx", + "assetType": "runtime", + "assemblyVersion": "6.0.0.1", + "fileVersion": "6.0.222.6406" + }, + "runtimes/win/lib/net6.0/System.DirectoryServices.Protocols.dll": { + "rid": "win", + "assetType": "runtime", + "assemblyVersion": "6.0.0.1", + "fileVersion": "6.0.222.6406" + } + } + }, + "System.Drawing.Common/4.7.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "3.1.0", + "Microsoft.Win32.SystemEvents": "4.7.0" + }, + "runtime": { + "lib/netstandard2.0/System.Drawing.Common.dll": { + "assemblyVersion": "4.0.0.1", + "fileVersion": "4.6.26919.2" + } + }, + "runtimeTargets": { + "runtimes/unix/lib/netcoreapp3.0/System.Drawing.Common.dll": { + "rid": "unix", + "assetType": "runtime", + "assemblyVersion": "4.0.2.0", + "fileVersion": "4.700.19.56404" + }, + "runtimes/win/lib/netcoreapp3.0/System.Drawing.Common.dll": { + "rid": "win", + "assetType": "runtime", + "assemblyVersion": "4.0.2.0", + "fileVersion": "4.700.19.56404" + } + } + }, + "System.IdentityModel.Tokens.Jwt/6.8.0": { + "dependencies": { + "Microsoft.IdentityModel.JsonWebTokens": "6.8.0", + "Microsoft.IdentityModel.Tokens": "6.8.0" + }, + "runtime": { + "lib/netstandard2.0/System.IdentityModel.Tokens.Jwt.dll": { + "assemblyVersion": "6.8.0.0", + "fileVersion": "6.8.0.11012" + } + } + }, + "System.IO.Pipelines/6.0.3": { + "runtime": { + "lib/net6.0/System.IO.Pipelines.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.522.21309" + } + } + }, + "System.Runtime.Caching/4.7.0": { + "dependencies": { + "System.Configuration.ConfigurationManager": "4.7.0" + }, + "runtime": { + "lib/netstandard2.0/System.Runtime.Caching.dll": { + "assemblyVersion": "4.0.1.0", + "fileVersion": "4.700.19.56404" + } + }, + "runtimeTargets": { + "runtimes/win/lib/netstandard2.0/System.Runtime.Caching.dll": { + "rid": "win", + "assetType": "runtime", + "assemblyVersion": "4.0.1.0", + "fileVersion": "4.700.19.56404" + } + } + }, + "System.Runtime.CompilerServices.Unsafe/6.0.0": {}, + "System.Security.AccessControl/4.7.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "3.1.0", + "System.Security.Principal.Windows": "4.7.0" + } + }, + "System.Security.Cryptography.Cng/4.5.0": {}, + "System.Security.Cryptography.ProtectedData/4.7.0": { + "runtime": { + "lib/netstandard2.0/System.Security.Cryptography.ProtectedData.dll": { + "assemblyVersion": "4.0.5.0", + "fileVersion": "4.700.19.56404" + } + }, + "runtimeTargets": { + "runtimes/win/lib/netstandard2.0/System.Security.Cryptography.ProtectedData.dll": { + "rid": "win", + "assetType": "runtime", + "assemblyVersion": "4.0.5.0", + "fileVersion": "4.700.19.56404" + } + } + }, + "System.Security.Permissions/4.7.0": { + "dependencies": { + "System.Security.AccessControl": "4.7.0", + "System.Windows.Extensions": "4.7.0" + }, + "runtime": { + "lib/netcoreapp3.0/System.Security.Permissions.dll": { + "assemblyVersion": "4.0.3.0", + "fileVersion": "4.700.19.56404" + } + } + }, + "System.Security.Principal.Windows/4.7.0": {}, + "System.Text.Encoding.CodePages/4.7.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "3.1.0" + } + }, + "System.Windows.Extensions/4.7.0": { + "dependencies": { + "System.Drawing.Common": "4.7.0" + }, + "runtime": { + "lib/netcoreapp3.0/System.Windows.Extensions.dll": { + "assemblyVersion": "4.0.1.0", + "fileVersion": "4.700.19.56404" + } + }, + "runtimeTargets": { + "runtimes/win/lib/netcoreapp3.0/System.Windows.Extensions.dll": { + "rid": "win", + "assetType": "runtime", + "assemblyVersion": "4.0.1.0", + "fileVersion": "4.700.19.56404" + } + } + } + } + }, + "libraries": { + "ApiPolo/1.0.0": { + "type": "project", + "serviceable": false, + "sha512": "" + }, + "Humanizer.Core/2.8.26": { + "type": "package", + "serviceable": true, + "sha512": "sha512-OiKusGL20vby4uDEswj2IgkdchC1yQ6rwbIkZDVBPIR6al2b7n3pC91elBul9q33KaBgRKhbZH3+2Ur4fnWx2A==", + "path": "humanizer.core/2.8.26", + "hashPath": "humanizer.core.2.8.26.nupkg.sha512" + }, + "Microsoft.AspNet.Mvc/5.2.9": { + "type": "package", + "serviceable": true, + "sha512": "sha512-bcekKshCAh7kTWSMZPavQStSZQF/QmjEjO2gVWGITEd0/t5eRlb+ZLDE+az2qY1bZ8L6Hz0OCNeS0uzXtJcK5w==", + "path": "microsoft.aspnet.mvc/5.2.9", + "hashPath": "microsoft.aspnet.mvc.5.2.9.nupkg.sha512" + }, + "Microsoft.AspNet.Razor/3.2.9": { + "type": "package", + "serviceable": true, + "sha512": "sha512-QOJEnEw3xp+t5lMvYR5nGCF4CfZpHqr2p8uZOBEgDZoB6r2txtSj6581YNr+/dOHjI3YRlo1QAKGQoSohbQ/KA==", + "path": "microsoft.aspnet.razor/3.2.9", + "hashPath": "microsoft.aspnet.razor.3.2.9.nupkg.sha512" + }, + "Microsoft.AspNet.WebPages/3.2.9": { + "type": "package", + "serviceable": true, + "sha512": "sha512-yByb721lwv8YFsx1oKA5CLKXa89XVbVMkPafS4bg/bPelBEgChq/coFBQEkA4kwcabG7AR56w3vapnoZUfr2Cw==", + "path": "microsoft.aspnet.webpages/3.2.9", + "hashPath": "microsoft.aspnet.webpages.3.2.9.nupkg.sha512" + }, + "Microsoft.AspNetCore.Authentication.Negotiate/6.0.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-ZgKdA5VnmZSdpuyS9f4Myn2ybSYPyhOGWvZ63Z+ys0z9WcHGx6jyN4IjK8ORTdkhc7dOYxsMF/v/K+CGtvCbUA==", + "path": "microsoft.aspnetcore.authentication.negotiate/6.0.5", + "hashPath": "microsoft.aspnetcore.authentication.negotiate.6.0.5.nupkg.sha512" + }, + "Microsoft.AspNetCore.Connections.Abstractions/6.0.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-OBbGvih5/CLHTbJVDiJ203TmKXCx8z539O2YGnfHmExbNtMwyQ9rgpqoxyYEVvQrVsqxRhXfh57DOCQYhxcOBQ==", + "path": "microsoft.aspnetcore.connections.abstractions/6.0.5", + "hashPath": "microsoft.aspnetcore.connections.abstractions.6.0.5.nupkg.sha512" + }, + "Microsoft.CSharp/4.5.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-kaj6Wb4qoMuH3HySFJhxwQfe8R/sJsNJnANrvv8WdFPMoNbKY5htfNscv+LHCu5ipz+49m2e+WQXpLXr9XYemQ==", + "path": "microsoft.csharp/4.5.0", + "hashPath": "microsoft.csharp.4.5.0.nupkg.sha512" + }, + "Microsoft.Data.SqlClient/2.1.4": { + "type": "package", + "serviceable": true, + "sha512": "sha512-cDcKBTKILdRuAzJjbgXwGcUQXzMue+SG02kD4tZTXXfoz4ALrGLpCnA5k9khw3fnAMlMnRzLIGuvRdJurqmESA==", + "path": "microsoft.data.sqlclient/2.1.4", + "hashPath": "microsoft.data.sqlclient.2.1.4.nupkg.sha512" + }, + "Microsoft.Data.SqlClient.SNI.runtime/2.1.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-JwGDWkyZgm7SATJmFLfT2G4teimvNbNtq3lsS9a5DzvhEZnQrZjZhevCU0vdx8MjheLHoG5vocuO03QtioFQxQ==", + "path": "microsoft.data.sqlclient.sni.runtime/2.1.1", + "hashPath": "microsoft.data.sqlclient.sni.runtime.2.1.1.nupkg.sha512" + }, + "Microsoft.EntityFrameworkCore/6.0.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-hP5J3EvpVdZmCn1D3ovedphvZrIn3OXZaBZfEnCkSCqqbqAu6xzwbNqwRkik0y4R6zOOf4eLh1riwjy4eAUlZA==", + "path": "microsoft.entityframeworkcore/6.0.5", + "hashPath": "microsoft.entityframeworkcore.6.0.5.nupkg.sha512" + }, + "Microsoft.EntityFrameworkCore.Abstractions/6.0.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-Q3/fKW6XCTfnDk4fYP2BJZi84cD2SuCPkP3A3QqxvCQcXbX90bfSLzVIsoMXzigHGJgZUJ+Un7QodT5Nvk0+Eg==", + "path": "microsoft.entityframeworkcore.abstractions/6.0.5", + "hashPath": "microsoft.entityframeworkcore.abstractions.6.0.5.nupkg.sha512" + }, + "Microsoft.EntityFrameworkCore.Analyzers/6.0.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-QUeDIhs+O+MoDEc3k60mNyVDbwyDURCqZQlZoKShuZUcSfXSrDMbHKuFSxBIDNQBt092qSjfnwf7w0Ua/IB3Zw==", + "path": "microsoft.entityframeworkcore.analyzers/6.0.5", + "hashPath": "microsoft.entityframeworkcore.analyzers.6.0.5.nupkg.sha512" + }, + "Microsoft.EntityFrameworkCore.Design/6.0.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-zNjMWJ6MJ/Qm7S6wFBqVgn7DEpilbDMy0xgA7c4Y1yY9/LoaC2pWwWO4ePaYoPCZpLx/eTViWEr5ZXta/vK//Q==", + "path": "microsoft.entityframeworkcore.design/6.0.5", + "hashPath": "microsoft.entityframeworkcore.design.6.0.5.nupkg.sha512" + }, + "Microsoft.EntityFrameworkCore.Relational/6.0.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-vhAQizlAgvPfurkh9XysNaFc/g3WPXtSka3Y1rXuQdnT//p16CDKt9lO9h+rYmooD+cA7TijSxwqck4GApDT/Q==", + "path": "microsoft.entityframeworkcore.relational/6.0.5", + "hashPath": "microsoft.entityframeworkcore.relational.6.0.5.nupkg.sha512" + }, + "Microsoft.EntityFrameworkCore.SqlServer/6.0.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-fBBG1AvrqPSvTEWyg9W18F/obiV7Soi/RItwBt48kjte1heRaogCsKj8KBnJQACM/8L+NAhyKp3BH12nN7+yDA==", + "path": "microsoft.entityframeworkcore.sqlserver/6.0.5", + "hashPath": "microsoft.entityframeworkcore.sqlserver.6.0.5.nupkg.sha512" + }, + "Microsoft.EntityFrameworkCore.Tools/6.0.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-aeCzVNLmDl9IfB19WAjrlKcG61Cl4/ZV/9ubifmifKEps+kvMkKIcams5j+8q6dtx9/UL2x3tbOz2BS3eU0sXQ==", + "path": "microsoft.entityframeworkcore.tools/6.0.5", + "hashPath": "microsoft.entityframeworkcore.tools.6.0.5.nupkg.sha512" + }, + "Microsoft.Extensions.ApiDescription.Server/3.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-LH4OE/76F6sOCslif7+Xh3fS/wUUrE5ryeXAMcoCnuwOQGT5Smw0p57IgDh/pHgHaGz/e+AmEQb7pRgb++wt0w==", + "path": "microsoft.extensions.apidescription.server/3.0.0", + "hashPath": "microsoft.extensions.apidescription.server.3.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.Caching.Abstractions/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-bcz5sSFJbganH0+YrfvIjJDIcKNW7TL07C4d1eTmXy/wOt52iz4LVogJb6pazs7W0+74j0YpXFErvp++Aq5Bsw==", + "path": "microsoft.extensions.caching.abstractions/6.0.0", + "hashPath": "microsoft.extensions.caching.abstractions.6.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.Caching.Memory/6.0.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-B4y+Cev05eMcjf1na0v9gza6GUtahXbtY1JCypIgx3B4Ea/KAgsWyXEmW4q6zMbmTMtKzmPVk09rvFJirvMwTg==", + "path": "microsoft.extensions.caching.memory/6.0.1", + "hashPath": "microsoft.extensions.caching.memory.6.0.1.nupkg.sha512" + }, + "Microsoft.Extensions.Configuration.Abstractions/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-qWzV9o+ZRWq+pGm+1dF+R7qTgTYoXvbyowRoBxQJGfqTpqDun2eteerjRQhq5PQ/14S+lqto3Ft4gYaRyl4rdQ==", + "path": "microsoft.extensions.configuration.abstractions/6.0.0", + "hashPath": "microsoft.extensions.configuration.abstractions.6.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.DependencyInjection/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-k6PWQMuoBDGGHOQTtyois2u4AwyVcIwL2LaSLlTZQm2CYcJ1pxbt6jfAnpWmzENA/wfrYRI/X9DTLoUkE4AsLw==", + "path": "microsoft.extensions.dependencyinjection/6.0.0", + "hashPath": "microsoft.extensions.dependencyinjection.6.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.DependencyInjection.Abstractions/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-xlzi2IYREJH3/m6+lUrQlujzX8wDitm4QGnUu6kUXTQAWPuZY8i+ticFJbzfqaetLA6KR/rO6Ew/HuYD+bxifg==", + "path": "microsoft.extensions.dependencyinjection.abstractions/6.0.0", + "hashPath": "microsoft.extensions.dependencyinjection.abstractions.6.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.Features/6.0.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-y7KLF1jRFQjSttfoilwHU86cU9ZgxN4ABfQR8tQ9qEC5AzTGYIX+K5RDwGFVK320eTiBwWuutV24ecmxBxo7Eg==", + "path": "microsoft.extensions.features/6.0.5", + "hashPath": "microsoft.extensions.features.6.0.5.nupkg.sha512" + }, + "Microsoft.Extensions.Logging/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-eIbyj40QDg1NDz0HBW0S5f3wrLVnKWnDJ/JtZ+yJDFnDj90VoPuoPmFkeaXrtu+0cKm5GRAwoDf+dBWXK0TUdg==", + "path": "microsoft.extensions.logging/6.0.0", + "hashPath": "microsoft.extensions.logging.6.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.Logging.Abstractions/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-/HggWBbTwy8TgebGSX5DBZ24ndhzi93sHUBDvP1IxbZD7FDokYzdAr6+vbWGjw2XAfR2EJ1sfKUotpjHnFWPxA==", + "path": "microsoft.extensions.logging.abstractions/6.0.0", + "hashPath": "microsoft.extensions.logging.abstractions.6.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.Options/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-dzXN0+V1AyjOe2xcJ86Qbo233KHuLEY0njf/P2Kw8SfJU+d45HNS2ctJdnEnrWbM9Ye2eFgaC5Mj9otRMU6IsQ==", + "path": "microsoft.extensions.options/6.0.0", + "hashPath": "microsoft.extensions.options.6.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.Primitives/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-9+PnzmQFfEFNR9J2aDTfJGGupShHjOuGw4VUv+JB044biSHrnmCIMD+mJHmb2H7YryrfBEXDurxQ47gJZdCKNQ==", + "path": "microsoft.extensions.primitives/6.0.0", + "hashPath": "microsoft.extensions.primitives.6.0.0.nupkg.sha512" + }, + "Microsoft.Identity.Client/4.21.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-vycgk7S/HAbHaUaK4Tid1fsWHsXdFRRP2KavAIOHCVV27zvuQfYAjXmMvctuuF4egydSumG58CwPZob3gWeYgQ==", + "path": "microsoft.identity.client/4.21.1", + "hashPath": "microsoft.identity.client.4.21.1.nupkg.sha512" + }, + "Microsoft.IdentityModel.JsonWebTokens/6.8.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-+7JIww64PkMt7NWFxoe4Y/joeF7TAtA/fQ0b2GFGcagzB59sKkTt/sMZWR6aSZht5YC7SdHi3W6yM1yylRGJCQ==", + "path": "microsoft.identitymodel.jsonwebtokens/6.8.0", + "hashPath": "microsoft.identitymodel.jsonwebtokens.6.8.0.nupkg.sha512" + }, + "Microsoft.IdentityModel.Logging/6.8.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-Rfh/p4MaN4gkmhPxwbu8IjrmoDncGfHHPh1sTnc0AcM/Oc39/fzC9doKNWvUAjzFb8LqA6lgZyblTrIsX/wDXg==", + "path": "microsoft.identitymodel.logging/6.8.0", + "hashPath": "microsoft.identitymodel.logging.6.8.0.nupkg.sha512" + }, + "Microsoft.IdentityModel.Protocols/6.8.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-OJZx5nPdiH+MEkwCkbJrTAUiO/YzLe0VSswNlDxJsJD9bhOIdXHufh650pfm59YH1DNevp3/bXzukKrG57gA1w==", + "path": "microsoft.identitymodel.protocols/6.8.0", + "hashPath": "microsoft.identitymodel.protocols.6.8.0.nupkg.sha512" + }, + "Microsoft.IdentityModel.Protocols.OpenIdConnect/6.8.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-X/PiV5l3nYYsodtrNMrNQIVlDmHpjQQ5w48E+o/D5H4es2+4niEyQf3l03chvZGWNzBRhfSstaXr25/Ye4AeYw==", + "path": "microsoft.identitymodel.protocols.openidconnect/6.8.0", + "hashPath": "microsoft.identitymodel.protocols.openidconnect.6.8.0.nupkg.sha512" + }, + "Microsoft.IdentityModel.Tokens/6.8.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-gTqzsGcmD13HgtNePPcuVHZ/NXWmyV+InJgalW/FhWpII1D7V1k0obIseGlWMeA4G+tZfeGMfXr0klnWbMR/mQ==", + "path": "microsoft.identitymodel.tokens/6.8.0", + "hashPath": "microsoft.identitymodel.tokens.6.8.0.nupkg.sha512" + }, + "Microsoft.NETCore.Platforms/3.1.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-z7aeg8oHln2CuNulfhiLYxCVMPEwBl3rzicjvIX+4sUuCwvXw5oXQEtbiU2c0z4qYL5L3Kmx0mMA/+t/SbY67w==", + "path": "microsoft.netcore.platforms/3.1.0", + "hashPath": "microsoft.netcore.platforms.3.1.0.nupkg.sha512" + }, + "Microsoft.OpenApi/1.2.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-Nug3rO+7Kl5/SBAadzSMAVgqDlfGjJZ0GenQrLywJ84XGKO0uRqkunz5Wyl0SDwcR71bAATXvSdbdzPrYRYKGw==", + "path": "microsoft.openapi/1.2.3", + "hashPath": "microsoft.openapi.1.2.3.nupkg.sha512" + }, + "Microsoft.Web.Infrastructure/1.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-FNmvLn5m2LTU/Rs2KWVo0SIIh9Ek+U0ojex7xeDaSHw/zgEP77A8vY5cVWgUtBGS8MJfDGNn8rpXJWEIQaPwTg==", + "path": "microsoft.web.infrastructure/1.0.0", + "hashPath": "microsoft.web.infrastructure.1.0.0.nupkg.sha512" + }, + "Microsoft.Win32.Registry/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-KSrRMb5vNi0CWSGG1++id2ZOs/1QhRqROt+qgbEAdQuGjGrFcl4AOl4/exGPUYz2wUnU42nvJqon1T3U0kPXLA==", + "path": "microsoft.win32.registry/4.7.0", + "hashPath": "microsoft.win32.registry.4.7.0.nupkg.sha512" + }, + "Microsoft.Win32.SystemEvents/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-mtVirZr++rq+XCDITMUdnETD59XoeMxSpLRIII7JRI6Yj0LEDiO1pPn0ktlnIj12Ix8bfvQqQDMMIF9wC98oCA==", + "path": "microsoft.win32.systemevents/4.7.0", + "hashPath": "microsoft.win32.systemevents.4.7.0.nupkg.sha512" + }, + "Swashbuckle.AspNetCore/6.3.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-JFk0+HHUPdjYuPhkpGBMLi2JtnEuWkE2pp0yXQp64DmeMe+Fb0hZyVNq/ENJ2vQNso7Zg+C758WmR/xyAl36bA==", + "path": "swashbuckle.aspnetcore/6.3.1", + "hashPath": "swashbuckle.aspnetcore.6.3.1.nupkg.sha512" + }, + "Swashbuckle.AspNetCore.Swagger/6.3.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-idAFh4xhyJHYHfdLVOOn+BmscBul1OQbWsnL6YPJE8tO/0y6S79hDCvs6OY5VI093/9+1pYY3j31Zet9yaDZjA==", + "path": "swashbuckle.aspnetcore.swagger/6.3.1", + "hashPath": "swashbuckle.aspnetcore.swagger.6.3.1.nupkg.sha512" + }, + "Swashbuckle.AspNetCore.SwaggerGen/6.3.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-+uoBV4h/6NhCPLoTofSmuOnZ+usu4PW1jP6l4OHwPyu2frbYXGNpJsHs5uUXXn929OiVQkT8wo3Lj/o+P99Ejg==", + "path": "swashbuckle.aspnetcore.swaggergen/6.3.1", + "hashPath": "swashbuckle.aspnetcore.swaggergen.6.3.1.nupkg.sha512" + }, + "Swashbuckle.AspNetCore.SwaggerUI/6.3.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-JLm9hN67jh7RHsX3H30+tb432Li8xm/qV5lRyMMkyHYMfWitIuKAAdrpo2ILcHOIeH7CLMuOO2hp/iLBmE+Bkw==", + "path": "swashbuckle.aspnetcore.swaggerui/6.3.1", + "hashPath": "swashbuckle.aspnetcore.swaggerui.6.3.1.nupkg.sha512" + }, + "System.Collections.Immutable/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-l4zZJ1WU2hqpQQHXz1rvC3etVZN+2DLmQMO79FhOTZHMn8tDRr+WU287sbomD0BETlmKDn0ygUgVy9k5xkkJdA==", + "path": "system.collections.immutable/6.0.0", + "hashPath": "system.collections.immutable.6.0.0.nupkg.sha512" + }, + "System.Configuration.ConfigurationManager/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-/anOTeSZCNNI2zDilogWrZ8pNqCmYbzGNexUnNhjW8k0sHqEZ2nHJBp147jBV3hGYswu5lINpNg1vxR7bnqvVA==", + "path": "system.configuration.configurationmanager/4.7.0", + "hashPath": "system.configuration.configurationmanager.4.7.0.nupkg.sha512" + }, + "System.Diagnostics.DiagnosticSource/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-frQDfv0rl209cKm1lnwTgFPzNigy2EKk1BS3uAvHvlBVKe5cymGyHO+Sj+NLv5VF/AhHsqPIUUwya5oV4CHMUw==", + "path": "system.diagnostics.diagnosticsource/6.0.0", + "hashPath": "system.diagnostics.diagnosticsource.6.0.0.nupkg.sha512" + }, + "System.DirectoryServices.Protocols/6.0.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-ndUZlEkAMc1XzM0xGN++SsJrNhRkIHaKI8+te325vrUgoLT1ufWNI6KB8FFrL7NpRMHPrdxP99aF3fHbAPxW0A==", + "path": "system.directoryservices.protocols/6.0.1", + "hashPath": "system.directoryservices.protocols.6.0.1.nupkg.sha512" + }, + "System.Drawing.Common/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-v+XbyYHaZjDfn0ENmJEV1VYLgGgCTx1gnfOBcppowbpOAriglYgGCvFCPr2EEZyBvXlpxbEsTwkOlInl107ahA==", + "path": "system.drawing.common/4.7.0", + "hashPath": "system.drawing.common.4.7.0.nupkg.sha512" + }, + "System.IdentityModel.Tokens.Jwt/6.8.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-5tBCjAub2Bhd5qmcd0WhR5s354e4oLYa//kOWrkX+6/7ZbDDJjMTfwLSOiZ/MMpWdE4DWPLOfTLOq/juj9CKzA==", + "path": "system.identitymodel.tokens.jwt/6.8.0", + "hashPath": "system.identitymodel.tokens.jwt.6.8.0.nupkg.sha512" + }, + "System.IO.Pipelines/6.0.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-ryTgF+iFkpGZY1vRQhfCzX0xTdlV3pyaTTqRu2ETbEv+HlV7O6y7hyQURnghNIXvctl5DuZ//Dpks6HdL/Txgw==", + "path": "system.io.pipelines/6.0.3", + "hashPath": "system.io.pipelines.6.0.3.nupkg.sha512" + }, + "System.Runtime.Caching/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-NdvNRjTPxYvIEhXQszT9L9vJhdQoX6AQ0AlhjTU+5NqFQVuacJTfhPVAvtGWNA2OJCqRiR/okBcZgMwI6MqcZg==", + "path": "system.runtime.caching/4.7.0", + "hashPath": "system.runtime.caching.4.7.0.nupkg.sha512" + }, + "System.Runtime.CompilerServices.Unsafe/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==", + "path": "system.runtime.compilerservices.unsafe/6.0.0", + "hashPath": "system.runtime.compilerservices.unsafe.6.0.0.nupkg.sha512" + }, + "System.Security.AccessControl/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-JECvTt5aFF3WT3gHpfofL2MNNP6v84sxtXxpqhLBCcDRzqsPBmHhQ6shv4DwwN2tRlzsUxtb3G9M3763rbXKDg==", + "path": "system.security.accesscontrol/4.7.0", + "hashPath": "system.security.accesscontrol.4.7.0.nupkg.sha512" + }, + "System.Security.Cryptography.Cng/4.5.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-WG3r7EyjUe9CMPFSs6bty5doUqT+q9pbI80hlNzo2SkPkZ4VTuZkGWjpp77JB8+uaL4DFPRdBsAY+DX3dBK92A==", + "path": "system.security.cryptography.cng/4.5.0", + "hashPath": "system.security.cryptography.cng.4.5.0.nupkg.sha512" + }, + "System.Security.Cryptography.ProtectedData/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-ehYW0m9ptxpGWvE4zgqongBVWpSDU/JCFD4K7krxkQwSz/sFQjEXCUqpvencjy6DYDbn7Ig09R8GFffu8TtneQ==", + "path": "system.security.cryptography.protecteddata/4.7.0", + "hashPath": "system.security.cryptography.protecteddata.4.7.0.nupkg.sha512" + }, + "System.Security.Permissions/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-dkOV6YYVBnYRa15/yv004eCGRBVADXw8qRbbNiCn/XpdJSUXkkUeIvdvFHkvnko4CdKMqG8yRHC4ox83LSlMsQ==", + "path": "system.security.permissions/4.7.0", + "hashPath": "system.security.permissions.4.7.0.nupkg.sha512" + }, + "System.Security.Principal.Windows/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-ojD0PX0XhneCsUbAZVKdb7h/70vyYMDYs85lwEI+LngEONe/17A0cFaRFqZU+sOEidcVswYWikYOQ9PPfjlbtQ==", + "path": "system.security.principal.windows/4.7.0", + "hashPath": "system.security.principal.windows.4.7.0.nupkg.sha512" + }, + "System.Text.Encoding.CodePages/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-aeu4FlaUTemuT1qOd1MyU4T516QR4Fy+9yDbwWMPHOHy7U8FD6SgTzdZFO7gHcfAPHtECqInbwklVvUK4RHcNg==", + "path": "system.text.encoding.codepages/4.7.0", + "hashPath": "system.text.encoding.codepages.4.7.0.nupkg.sha512" + }, + "System.Windows.Extensions/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-CeWTdRNfRaSh0pm2gDTJFwVaXfTq6Xwv/sA887iwPTneW7oMtMlpvDIO+U60+3GWTB7Aom6oQwv5VZVUhQRdPQ==", + "path": "system.windows.extensions/4.7.0", + "hashPath": "system.windows.extensions.4.7.0.nupkg.sha512" + } + } +} \ No newline at end of file diff --git a/ApiPolo/obj/Debug/net6.0/PubTmp/Out/ApiPolo.dll b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/ApiPolo.dll new file mode 100644 index 0000000..5c101ab Binary files /dev/null and b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/ApiPolo.dll differ diff --git a/ApiPolo/obj/Debug/net6.0/PubTmp/Out/ApiPolo.exe b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/ApiPolo.exe new file mode 100644 index 0000000..9c10b8e Binary files /dev/null and b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/ApiPolo.exe differ diff --git a/ApiPolo/obj/Debug/net6.0/PubTmp/Out/ApiPolo.pdb b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/ApiPolo.pdb new file mode 100644 index 0000000..58328f2 Binary files /dev/null and b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/ApiPolo.pdb differ diff --git a/ApiPolo/obj/Debug/net6.0/PubTmp/Out/ApiPolo.runtimeconfig.json b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/ApiPolo.runtimeconfig.json new file mode 100644 index 0000000..dfb1b77 --- /dev/null +++ b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/ApiPolo.runtimeconfig.json @@ -0,0 +1,19 @@ +{ + "runtimeOptions": { + "tfm": "net6.0", + "frameworks": [ + { + "name": "Microsoft.NETCore.App", + "version": "6.0.0" + }, + { + "name": "Microsoft.AspNetCore.App", + "version": "6.0.0" + } + ], + "configProperties": { + "System.GC.Server": true, + "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false + } + } +} \ No newline at end of file diff --git a/ApiPolo/obj/Debug/net6.0/PubTmp/Out/ApiPolo.xml b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/ApiPolo.xml new file mode 100644 index 0000000..1a7fca8 --- /dev/null +++ b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/ApiPolo.xml @@ -0,0 +1,3419 @@ + + + + ApiPolo + + + + + Controller unico + + + + polocontroller + + + vuoto=chiamata presa in carico 3=chiamata chiusa 2=manutenzione chiusa + + + + + + + + + + + + 200=Ok 500=ErroreInterno 400=OperazioneNonAmmessa + + + + + + + + + + + + + + + + + + + + + Zucchetti Sicilia + + + Discovery + + + trasforma un Saldiart in un Mag_New + + + trasforma un Compi_Impia in un Mag_New + + + crea un cpccchk + + + + Configurazioni per azienda + + + + Magazzini per login + + + + Login iniziale + + + + Codici di chiusura per cheda intevento + + + Chiamate per tecnico e azienda (tenant) in stato C=Assegnate + + + presaInCarico: 1) crea un nuovo seriale per RAPP_NEW 2)inserisce il primo record di una presa in carico su RAPP_NEW output: Chiamate + + + rifiuta: 1) crea un nuovo seriale per RAPP_NEW 2)inserisce record su RAPP_NEW con INCARICO=N e RIFIUTATA=S output: Chiamate + + + chiudi: 1) crea un nuovo seriale per RAPP_NEW 2)inserisce record su RAPP_NEW con i dati dell'intervento output: Chiamate + + + Manutenzioni per tecnico e azienda (tenant). Intervallo: 1 mese prima e 1 mese dopo rispetto a GETDATE() con GENERATO diverso da S + + + prendi_in_carico: inserisce record su Prese con i dati dell'intervento + + + chiudi: 1) crea un nuovo seriale per RAPP_NEW 2)inserisce record su RAPP_NEW con i dati dell'intervento + + + Upload + + + Componenti impianto + + + aggiunge un componente all'impianto. Inserisce in LABSEMICOMIMP + + + toglie un componente all'impianto. Cancella in LABSEMICOMIMP + + + Ricerca articoli per impianto + + + rapportino per pezzi magazzino. Inserisce in LABSEMAG_NEW + + + Storico interventi + + + Anagrafica + + + Tabelle di dominio: causali pagamenti, causali rapportino, tipi esito, tipi intervento + + + + + + Commesse + + + Salva la timbratuta in tabella Timbrature output: Timbratura + + + + Contiene i campi di SALDIART + + + + tipo + + + codice + + + email + + + codice fiscale + + + partita iva + + + indirizzo + + + telefono + + + cellulare + + + pec + + + descrizione + + + listino cliente + + + + Causali rapportino + + + + codice causale + + + descrizione causale + + + flag fatturazione + + + ViSTA Chiamate + + + Azienda + + + + Seriale Chiamata + + + + + Stato chiamata + + + + + Codice Chiamatista assegnato + + + + + Data appuntamento chiamata + + + + + Ora appuntamento inizio + + + + + Minuti appuntamento inizio + + + + + Note appuntamento + + + + + Codice Impianto chiamata + + + + + Descrizione codice segnalazione + + + + + Telefono cliente + + + + + descrizione cliente + + + + + Indirizzo impianto tipo + + Via,Piazza, + + + + Indirizzo impianto nome + + + + + Indirizzo impianto numero + + + + + Indirizzo impianto sottonumero + + + + + Indirizzo impianto Scala + + + + + Indirizzo impianto località + + + + + Indirizzo impianto Cap + + + + + Indirizzo impianto comune + + + + + Indirizzo impianto provincia + + + + + Indirizzo impianto nazione + + + + + MANPROG: matricola impianto + + + + + MANPROG: numero impianto + + + + + MANPROG: ubicazione impianto + + + + + Tecnico descrizione + + + + + Tecnico codice + + + + + RAPP_NEW: seriale rapp_new preso in carico + + + + + RAPP_NEW: tipo rapp_new preso in carico (valore vuoto) + + + + + RAPP_NEW: preso in carico (S o NULL) + + + + + RAPP_NEW: seriale rapp_new rifiutata + + + + + RAPP_NEW: tipo rapp rifiutata (valore vuoto) + + + + + RAPP_NEW: rifiutato (S o null) + + + + + RAPP_NEW: seriale chiamata chiusa + + + + + RAPP_NEW: tipo chiamata chiusa (3 o null) + + + + + RAPP_NEW: seriale buono chiamata chiusa + + + + + errore titolo + + + + + errore dettaglio + + + + + errore status code (200, 500) + + + + Esercizio + + + Tipo + + + numero chiamata + + + Data inserimento chiamata + + + Ora inserimento chiamata + + + Minuti inserimento chiamata + + + operatore assegnazione + + + operatore di chiusura + + + azienda impianto + + + ora appuntamento fine + + + minuto appuntamento fine + + + Riferimento chiamata + + + telefono riferimento + + + tcodice segnalazione + + + Fermo impianto S/N + + + Data assegnazione chiamata + + + Ora assegnazione chiamata + + + Min assegnazione chiamata + + + Data chiusura chiamata + + + Ora chiusura chiamata + + + Min chiusura chiamata + + + Data inizio intervento + + + Ora inizio intervento + + + Min inizio intervento + + + Data fine intervento + + + Ora fine intervento + + + Min fine intervento + + + Numero 1 rapportino futuro + + + Serie 1 rapportino futuro + + + Numero 2 rapportino futuro + + + Modalità raccolta chiamata + + + Numero chiamata per impianto per anno + + + Importo manodopera + + + Percentuale manodopera + + + Stampa manodopera + + + Chiusura da remoto + + + Riferimento seriale importazione + + + Descrizione + + + Tipo impianto + + + Ultimo amministratore + + + Descrizione Ult. Amministratore + + + Telefono Ult. Amministratore + + + Zona manutenzione + + + Pubblico/privato + + + Zona chiamate + + + Zona supervisione + + + Data inizio manutenzione + + + Data fine manutenzione + + + Data costruzione + + + Numero telesoccorso + + + Email cliente + + + Ultimo cliente + + + codice cliente + + + tipo anagrafica + + + costo chiamata + + + spese viaggio + + + costo orario ordinario + + + costo orario notturno + + + costo orario straordinario + + + costo orario festivo + + + ViSTA Chiamate + + + Azienda + + + + Seriale Chiamata + + + + + Stato chiamata + + + + + Codice Chiamatista assegnato + + + + + Data appuntamento chiamata + + + + + Ora appuntamento inizio + + + + + Minuti appuntamento inizio + + + + + Note appuntamento + + + + + Codice Impianto chiamata + + + + + Descrizione codice segnalazione + + + + + Telefono cliente + + + + + descrizione cliente + + + + + Indirizzo impianto tipo + + Via,Piazza, + + + + Indirizzo impianto nome + + + + + Indirizzo impianto numero + + + + + Indirizzo impianto sottonumero + + + + + Indirizzo impianto Scala + + + + + Indirizzo impianto località + + + + + Indirizzo impianto Cap + + + + + Indirizzo impianto comune + + + + + Indirizzo impianto provincia + + + + + Indirizzo impianto nazione + + + + + matricola impianto + + + + + numero impianto + + + + + ubicazione impianto + + + + + Tecnico descrizione + + + + + Tecnico codice + + + + + RAPP_NEW: seriale rapp_new preso in carico + + + + + RAPP_NEW: tipo rapp_new preso in carico (valore vuoto) + + + + + RAPP_NEW: preso in carico (S o NULL) + + + + + RAPP_NEW: seriale rapp_new rifiutata + + + + + RAPP_NEW: tipo rapp rifiutata (valore vuoto) + + + + + RAPP_NEW: rifiutato (S o null) + + + + + RAPP_NEW: seriale chiamata chiusa + + + + + RAPP_NEW: tipo chiamata chiusa (3 o null) + + + + + RAPP_NEW: seriale buono chiamata chiusa + + + + + errore titolo + + + + + errore dettaglio + + + + + errore status code (200, 500) + + + + + altri dati chiamata + + Esercizio + + + Tipo + + + numero chiamata + + + Data inserimento chiamata + + + Ora inserimento chiamata + + + Minuti inserimento chiamata + + + operatore assegnazione + + + operatore di chiusura + + + azienda impianto + + + ora appuntamento fine + + + minuto appuntamento fine + + + Riferimento chiamata + + + telefono riferimento + + + tcodice segnalazione + + + altri campi + + + Codice cliente + + + costo chiamata + + + spese viaggio + + + costo orario ordinario + + + costo orario notturno + + + costo orario straordinario + + + costo orario festivo + + + Chiusure + + + codice chiusura + + + descrizione + + + ccrapabi + + + obbligatoria + + + ccchiint + + + azienda + + + Descrizione supplementare da mettere sul rapportino + + + ViSTA API_COMMESSE + + + Codice Commessa + + + Descrizione Commessa + + + data fine validita Commessa + + + + Contiene i campi di xxxMICOMIMP (componenti impianto) + + + + + codice impianto + + + + + codice impianto + + + + + indice riga + + + + + quantità + + + + + codice articolo + + + + + note + + + + + lotto articolo + + + + + matricola articolo + + + + + descrizione articolo + + + + + + Contiene i campi di xxxMICOMIMP (componenti impianto) oggetto di output + + + + + codice impianto + + + + + codice impianto + + + + + indice riga + + + + + codice articolo + + + + + codice articolo + + + + + note + + + + + lotto articolo + + + + + matricola articolo + + + + + errore titolo + + + + + errore dettaglio + + + + + errore status code (200, 500) + + + + + Classe componenti per scrittura db + + + + + codice impianto + + + + + codice impianto + + + + + indice riga + + + + + codice articolo + + + + + codice articolo + + + + + note + + + + + lotto articolo + + + + + matricola articolo + + + + Configurazioni + + + azienda + + + path file buoni (immagini rapportini) + + + prefisso dei buoni da chiamata + + + prefisso dei buoni da mauntenzione + + + url ftp per upload delle immagini + + + utente ftp per upload delle immagini + + + password ftp per upload delle immagini + + + Listino articoli per magazzino + + + pulsante naviga nelle liste + + + pulsante telefona nelle liste + + + abilita funzione + + + abilita funzione + + + barcode abilitato opzionalmente in varie sezioni. Per renderlo obbligatorio vedi flag sott + + + + + + barcode obbligatorio + + + funziona anche offline + + + abilita funzione + + + hiamate_rifiuta_barcode + + + funziona anche offline + + + barcode obbligatorio + + + barcode obbligatorio + + + barcode obbligatorio + + + abilita funzione + + + funziona anche offline + + + abilita funzione + + + barcode obbligatorio + + + funziona anche offline + + + barcode obbligatorio + + + barcode obbligatorio + + + barcode obbligatorio + + + funziona anche offline + + + chiede presena DPI prima di scheda + + + visualizza anagrafica + + + abilita stato impianto + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + Costo orario intervento + + + ConfigurazioniDbContext + + + conf + + + ConfigurazioniDbContext + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + FERRA_CHIAMATEDbContext + + + FERRA_CHIAMATEDbContext + + + FERRA_CHIAMATEDbContext + + + OnModelCreating + + + FERRA_CHIUSUREDbContext + + + Chiusure + + + + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + FERRA_MANPROG_TECDbContext + + + Manutenzioni + + + Manutenzioni + + + OnModelCreating + + + + + + + + + + + + + + + FERRA_CHIAMATEDbContext + + + FERRA_CHIAMATEDbContext + + + + + + A + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Contiene i campi di input sia per RAPP_NEW che per PRESE + + + + + Tabella RAPP_NEW: Seriale rapportini + + + + + Tabella RAPP_NEW: Tipo rapportini + + + + + Tabella RAPP_NEW: Azienda + + + + + Tabella RAPP_NEW: Codice Impianto + + + + + Tabella RAPP_NEW: Azienda su cui è la chiamata + + + + + Tabella RAPP_NEW: Seriale chiamata + + + + + Tabella RAPP_NEW: Seriale chiamata + + + + + Tabella RAPP_NEW: Data rapportino + + + + + Tabella RAPP_NEW: Ora inizio + + + + + Tabella RAPP_NEW: Tabella RAPP_NEW: minuto inizio + + + + + Tabella RAPP_NEW: Ora fine + + + + + Tabella RAPP_NEW: Minuto fine + + + + + Tabella RAPP_NEW: codice chiusura + + + + + Tabella RAPP_NEW: codice chiusura + + + + + Tabella RAPP_NEW: codice chiusura + + + + + Tabella RAPP_NEW: codice chiusura + + + + + Tabella RAPP_NEW: codice chiusura + + + + + Tabella RAPP_NEW: codice chiusura + + + + + Tabella RAPP_NEW: codice chiusura + + + + + Tabella RAPP_NEW: codice chiusura + + + + + Tabella RAPP_NEW: codice chiusura + + + + + Tabella RAPP_NEW: codice chiusura + + + + + Tabella RAPP_NEW: descrizione intervento + + + + + Tabella RAPP_NEW: stato + + + + + Tabella RAPP_NEW: generato + + + + + Tabella RAPP_NEW: azienda tecnico + + + + + Tabella RAPP_NEW: codice tecnico + + + + + Tabella RAPP_NEW: flag rifiutata + + + + + Tabella RAPP_NEW: nominativo firma + + + + + Tabella RAPP_NEW: flag stato In Carico + + + + + Tabella RAPP_NEW: data validità + + + + + Tabella RAPP_NEW: pathg immagine buono o firma + + + + + Tabella RAPP_NEW: seriale del buono + + + + + Tabella RAPP_NEW: seriale del buono + + + + + Tabella RAPP_NEW: data/ora effettiva del lavoro (nel caso dispositivo offline) + + + + Tabella PRESE: Azienda + + + Tabella PRESE: Impianto + + + Tabella PRESE: Codice intervento QUI=? SEM=SEMESTRALE + + + Tabella PRESE: Tecnico + + + Tabella PRESE: data della manutenzione + + + Tabella PRESE: Zona manutenzione + + + Tabella PRESE: check presa + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Componenti impianto aggiunti + + + Componenti impianto eliminati + + + LoginModel + + + Username + + + Password + + + Tenant + + + Conf (configurazioni app) + + + pulsante naviga nelle liste + + + pulsante telefona nelle liste + + + abilita funzione + + + abilita funzione + + + barcode abilitato opzionalmente in varie sezioni. Per renderlo obbligatorio vedi flag sott + + + + + + barcode obbligatorio + + + funziona anche offline + + + abilita funzione + + + hiamate_rifiuta_barcode + + + funziona anche offline + + + barcode obbligatorio + + + barcode obbligatorio + + + barcode obbligatorio + + + abilita funzione + + + funziona anche offline + + + abilita funzione + + + barcode obbligatorio + + + funziona anche offline + + + barcode obbligatorio + + + barcode obbligatorio + + + barcode obbligatorio + + + funziona anche offline + + + chiede presena DPI prima di scheda + + + anagrafica visualizza anagrafica + + + abilita stato impianto + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + Costo orario intervento + + + LoginOut (token+user) + + + token + + + token + + + token + + + token + + + Error Message + + + Error Message detail + + + Status + + + + Magazzini azienda + + + + + codice magazzino + + + + + descrizione + + + + + Contiene i campi di MAG_NEW + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + descrizione articolo + + + riga impianto + + + codice impianto + + + note + + + cpccchk + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + descrizione articolo + + + riga impianto + + + codice impianto + + + note + + + + errore titolo + + + + + errore dettaglio + + + + + errore status code (200, 500) + + + + + Manutenzioni Programmate + + + + + MANPROG: codice intervento (BIM=bimestrale, SEM=semestarle,..) + + + + + MANPROG: data prossima manutenzione + + + + + MANPROG: descrizione intervento + + + + + MANPROG: indirizzo 1 impianto + + + + + MANPROG: indirizzo 2 impianto + + + + + MANPROG: indirizzo 3 impianto + + + + + MANPROG: indirizzo 4 impianto + + + + + MANPROG: indirizzo 5 impianto + + + + + MANPROG: localita impianto + + + + + MANPROG: cap impianto + + + + + MANPROG: comune impianto + + + + + MANPROG: matricola impianto + + + + + MANPROG: numero impianto + + + + + MANPROG: ubicazione impianto + + + + + MANPROG: provincia 5 impianto + + + + + MANPROG: nazione impianto + + + + + MANPROG: codice impianto + + + + + MANPROG: tecnico descrizione + + + + + MANPROG: tecnico codice + + + + + RAPP_NEW: seriale rapportino + + + + + RAPP_NEW: seriale buono + + + + + RAPP_NEW: flag generato. Rapportino importato in AdHoc + + + + + PRESE: codice impianto + + + + + PRESE: codice intervento (BIM=bimestrale,SEM=semestrale) + + + + + PRESE: data manutenzione + + + + + errore titolo + + + + + errore dettaglio + + + + + errore status code (200, 500) + + + + + Manutenzioni: telefono 1 impianto + + + + + Manutenzioni: telefono 1 impianto + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + costo chiamata + + + spese viaggio + + + costo orario ordinario + + + costo orario notturno + + + costo orario straordinario + + + costo orario festivo + + + + Manutenzioni Programmate uscita + + + + + MANPROG: codice intervento (BIM=bimestrale, SEM=semestarle,..) + + + + + MANPROG: data prossima manutenzione + + + + + MANPROG: descrizione intervento + + + + + MANPROG: indirizzo 1 impianto + + + + + MANPROG: indirizzo 2 impianto + + + + + MANPROG: indirizzo 3 impianto + + + + + MANPROG: indirizzo 4 impianto + + + + + MANPROG: indirizzo 5 impianto + + + + + MANPROG: localita impianto + + + + + MANPROG: cap impianto + + + + + MANPROG: comune impianto + + + + + MANPROG: provincia 5 impianto + + + + + matricola impianto + + + + + numero impianto + + + + + ubicazione impianto + + + + + MANPROG: nazione impianto + + + + + MANPROG: codice impianto + + + + + MANPROG: tecnico descrizione + + + + + MANPROG: tecnico codice + + + + + RAPP_NEW: seriale rapportino + + + + + RAPP_NEW: seriale buono + + + + + RAPP_NEW: flag generato. Rapportino importato in AdHoc + + + + + PRESE: codice impianto + + + + + PRESE: codice intervento (BIM=bimestrale,SEM=semestrale) + + + + + PRESE: data manutenzione + + + + + errore titolo + + + + + errore dettaglio + + + + + errore status code (200, 500) + + + + + Manutenzioni: telefono 1 impianto + + + + + Manutenzioni: telefono 1 impianto + + + + + Manutenzioni: cliente + + + + costo chiamata + + + spese viaggio + + + costo orario ordinario + + + costo orario notturno + + + costo orario straordinario + + + costo orario festivo + + + altri dati Manutenzione + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Causali pagamento + + + + codice pagamento + + + descrizione pagamento + + + + Tabella PRESA + + + + Azienda + + + Impianto + + + Codice intervento QUI=? SEM=SEMESTRALE + + + Tecnico + + + data della manutenzione + + + Zona manutenzione + + + check presa + + + cpccchk + + + Rapp_New + + + + Seriale rapportini + + + + + Tipo rapportini + + + + + Azienda + + + + + Codice Impianto + + + + + Azienda su cui è la chiamata + + + + + Seriale chiamata + + + + + Seriale chiamata + + + + + Data rapportino + + + + + Ora inizio + + + + + minuto inizio + + + + + Ora fine + + + + + Minuto fine + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + descrizione intervento + + + + + stato + + + + + generato + + + + + azienda tecnico + + + + + codice tecnico + + + + + flag rifiutata + + + + + nminativo firma + + + + + flag stato In Carico + + + + + data validità + + + + + pathg immagine buono o firma + + + + + seriale del buono + + + + + data/ora effettiva del lavoro (nel caso dispositivo offline) + + + + + codice_intervento (valido per manutenzioni. Esempio: SEM=semestrale) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Contiene i campi di SALDIART + + + + articolo + + + descrizione articolo + + + magazzino + + + quantita + + + matricola + + + lotto + + + listino + + + articolo del listino + + + data validità listino + + + quantita + + + prezzo + + + sconto1 + + + sconto2 + + + sconto3 + + + sconto4 + + + articolo gestito a matricole(S/N) + + + articolo gestito a lotti (S e C=si, N=no) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Storico interventi + + + + + Causale + + + + + Azienda Impianto + + + + + Codice Impianto + + + + + Tipo cliente (C=cliente) + + + + + Codice cliente + + + + + Num rapportino + + + + + alfa documento + + + + + data documento + + + + + azienda tecnico 1 + + + + + codice tecnico 1 + + + + + descrizione intervento + + + + + note intervento + + + + + descrizione + + + + Tabelle di Dominio + + + lista causali rapportino + + + lista causali pagamento + + + stati impianto + + + esito intervento + + + + + + + + + + + + tecnici + + + + Codice tecnico + + + + + Descrizione tecnico + + + + + telefono tecnico + + + + + Qualifica tecnico chiamatista + + + + + Qualifica tecnico manutentore + + + + + Azienda tecnico + + + + + Qualifica tecnico supervisore + + + + + Username tecnico + + + + + Password tecnico + + + + + Zona tecnico + + + + + data inizio attività tecnico + + + + + data fine attività tecnico + + + + Tabella Timbrature + + + chiave primaria + + + data + + + ora inizio + + + minuto inizio + + + ora fine + + + minuto fine + + + commessa + + + ore viaggio + + + totale ore + + + giorno settimana + + + azienda + + + tecnico + + + cpccchk + + + Timbrature OUT + + + id: chiave + + + data + + + ora inizio + + + minuto inizio + + + ora fine + + + minuto fine + + + commessa + + + ore viaggio + + + giorno settimana + + + azienda + + + tecnico + + + errore titolo + + + errore dettaglio + + + errore status code (200, 500) + + + + + + + + + + + + Startup + + + Configuration + + + Startup + + + ConfigureServices + + + Configure:This method gets called by the runtime. Use this method to configure the HTTP request pipeline. + + + diff --git a/ApiPolo/obj/Debug/net6.0/PubTmp/Out/Microsoft.AspNetCore.Authentication.Negotiate.dll b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/Microsoft.AspNetCore.Authentication.Negotiate.dll new file mode 100644 index 0000000..927529e Binary files /dev/null and b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/Microsoft.AspNetCore.Authentication.Negotiate.dll differ diff --git a/ApiPolo/obj/Debug/net6.0/PubTmp/Out/Microsoft.AspNetCore.Connections.Abstractions.dll b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/Microsoft.AspNetCore.Connections.Abstractions.dll new file mode 100644 index 0000000..85586ae Binary files /dev/null and b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/Microsoft.AspNetCore.Connections.Abstractions.dll differ diff --git a/ApiPolo/obj/Debug/net6.0/PubTmp/Out/Microsoft.Data.SqlClient.dll b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/Microsoft.Data.SqlClient.dll new file mode 100644 index 0000000..3114e92 Binary files /dev/null and b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/Microsoft.Data.SqlClient.dll differ diff --git a/ApiPolo/obj/Debug/net6.0/PubTmp/Out/Microsoft.EntityFrameworkCore.Abstractions.dll b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/Microsoft.EntityFrameworkCore.Abstractions.dll new file mode 100644 index 0000000..c0bf058 Binary files /dev/null and b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/Microsoft.EntityFrameworkCore.Abstractions.dll differ diff --git a/ApiPolo/obj/Debug/net6.0/PubTmp/Out/Microsoft.EntityFrameworkCore.Relational.dll b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/Microsoft.EntityFrameworkCore.Relational.dll new file mode 100644 index 0000000..b1f7d91 Binary files /dev/null and b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/Microsoft.EntityFrameworkCore.Relational.dll differ diff --git a/ApiPolo/obj/Debug/net6.0/PubTmp/Out/Microsoft.EntityFrameworkCore.SqlServer.dll b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/Microsoft.EntityFrameworkCore.SqlServer.dll new file mode 100644 index 0000000..ba97f6b Binary files /dev/null and b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/Microsoft.EntityFrameworkCore.SqlServer.dll differ diff --git a/ApiPolo/obj/Debug/net6.0/PubTmp/Out/Microsoft.EntityFrameworkCore.dll b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/Microsoft.EntityFrameworkCore.dll new file mode 100644 index 0000000..ae94b8b Binary files /dev/null and b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/Microsoft.EntityFrameworkCore.dll differ diff --git a/ApiPolo/obj/Debug/net6.0/PubTmp/Out/Microsoft.Extensions.Caching.Memory.dll b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/Microsoft.Extensions.Caching.Memory.dll new file mode 100644 index 0000000..42eb85f Binary files /dev/null and b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/Microsoft.Extensions.Caching.Memory.dll differ diff --git a/ApiPolo/obj/Debug/net6.0/PubTmp/Out/Microsoft.Extensions.Features.dll b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/Microsoft.Extensions.Features.dll new file mode 100644 index 0000000..71bca4a Binary files /dev/null and b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/Microsoft.Extensions.Features.dll differ diff --git a/ApiPolo/obj/Debug/net6.0/PubTmp/Out/Microsoft.Identity.Client.dll b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/Microsoft.Identity.Client.dll new file mode 100644 index 0000000..c01fcbf Binary files /dev/null and b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/Microsoft.Identity.Client.dll differ diff --git a/ApiPolo/obj/Debug/net6.0/PubTmp/Out/Microsoft.IdentityModel.JsonWebTokens.dll b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/Microsoft.IdentityModel.JsonWebTokens.dll new file mode 100644 index 0000000..70b84f2 Binary files /dev/null and b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/Microsoft.IdentityModel.JsonWebTokens.dll differ diff --git a/ApiPolo/obj/Debug/net6.0/PubTmp/Out/Microsoft.IdentityModel.Logging.dll b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/Microsoft.IdentityModel.Logging.dll new file mode 100644 index 0000000..7ecc3be Binary files /dev/null and b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/Microsoft.IdentityModel.Logging.dll differ diff --git a/ApiPolo/obj/Debug/net6.0/PubTmp/Out/Microsoft.IdentityModel.Protocols.OpenIdConnect.dll b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/Microsoft.IdentityModel.Protocols.OpenIdConnect.dll new file mode 100644 index 0000000..d925b5b Binary files /dev/null and b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/Microsoft.IdentityModel.Protocols.OpenIdConnect.dll differ diff --git a/ApiPolo/obj/Debug/net6.0/PubTmp/Out/Microsoft.IdentityModel.Protocols.dll b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/Microsoft.IdentityModel.Protocols.dll new file mode 100644 index 0000000..17423cc Binary files /dev/null and b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/Microsoft.IdentityModel.Protocols.dll differ diff --git a/ApiPolo/obj/Debug/net6.0/PubTmp/Out/Microsoft.IdentityModel.Tokens.dll b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/Microsoft.IdentityModel.Tokens.dll new file mode 100644 index 0000000..dd66624 Binary files /dev/null and b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/Microsoft.IdentityModel.Tokens.dll differ diff --git a/ApiPolo/obj/Debug/net6.0/PubTmp/Out/Microsoft.OpenApi.dll b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/Microsoft.OpenApi.dll new file mode 100644 index 0000000..14f3ded Binary files /dev/null and b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/Microsoft.OpenApi.dll differ diff --git a/ApiPolo/obj/Debug/net6.0/PubTmp/Out/Microsoft.Web.Infrastructure.dll b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/Microsoft.Web.Infrastructure.dll new file mode 100644 index 0000000..85f1138 Binary files /dev/null and b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/Microsoft.Web.Infrastructure.dll differ diff --git a/ApiPolo/obj/Debug/net6.0/PubTmp/Out/Microsoft.Win32.SystemEvents.dll b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/Microsoft.Win32.SystemEvents.dll new file mode 100644 index 0000000..e27fe8d Binary files /dev/null and b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/Microsoft.Win32.SystemEvents.dll differ diff --git a/ApiPolo/obj/Debug/net6.0/PubTmp/Out/Swashbuckle.AspNetCore.Swagger.dll b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/Swashbuckle.AspNetCore.Swagger.dll new file mode 100644 index 0000000..88995c9 Binary files /dev/null and b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/Swashbuckle.AspNetCore.Swagger.dll differ diff --git a/ApiPolo/obj/Debug/net6.0/PubTmp/Out/Swashbuckle.AspNetCore.SwaggerGen.dll b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/Swashbuckle.AspNetCore.SwaggerGen.dll new file mode 100644 index 0000000..6afe2f0 Binary files /dev/null and b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/Swashbuckle.AspNetCore.SwaggerGen.dll differ diff --git a/ApiPolo/obj/Debug/net6.0/PubTmp/Out/Swashbuckle.AspNetCore.SwaggerUI.dll b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/Swashbuckle.AspNetCore.SwaggerUI.dll new file mode 100644 index 0000000..0f538a7 Binary files /dev/null and b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/Swashbuckle.AspNetCore.SwaggerUI.dll differ diff --git a/ApiPolo/obj/Debug/net6.0/PubTmp/Out/System.Configuration.ConfigurationManager.dll b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/System.Configuration.ConfigurationManager.dll new file mode 100644 index 0000000..6f34b8d Binary files /dev/null and b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/System.Configuration.ConfigurationManager.dll differ diff --git a/ApiPolo/obj/Debug/net6.0/PubTmp/Out/System.DirectoryServices.Protocols.dll b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/System.DirectoryServices.Protocols.dll new file mode 100644 index 0000000..f82bc91 Binary files /dev/null and b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/System.DirectoryServices.Protocols.dll differ diff --git a/ApiPolo/obj/Debug/net6.0/PubTmp/Out/System.Drawing.Common.dll b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/System.Drawing.Common.dll new file mode 100644 index 0000000..69e5f5c Binary files /dev/null and b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/System.Drawing.Common.dll differ diff --git a/ApiPolo/obj/Debug/net6.0/PubTmp/Out/System.IO.Pipelines.dll b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/System.IO.Pipelines.dll new file mode 100644 index 0000000..8ee4dfd Binary files /dev/null and b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/System.IO.Pipelines.dll differ diff --git a/ApiPolo/obj/Debug/net6.0/PubTmp/Out/System.IdentityModel.Tokens.Jwt.dll b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/System.IdentityModel.Tokens.Jwt.dll new file mode 100644 index 0000000..efd3c61 Binary files /dev/null and b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/System.IdentityModel.Tokens.Jwt.dll differ diff --git a/ApiPolo/obj/Debug/net6.0/PubTmp/Out/System.Runtime.Caching.dll b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/System.Runtime.Caching.dll new file mode 100644 index 0000000..6fedfab Binary files /dev/null and b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/System.Runtime.Caching.dll differ diff --git a/ApiPolo/obj/Debug/net6.0/PubTmp/Out/System.Security.Cryptography.ProtectedData.dll b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/System.Security.Cryptography.ProtectedData.dll new file mode 100644 index 0000000..a60b95b Binary files /dev/null and b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/System.Security.Cryptography.ProtectedData.dll differ diff --git a/ApiPolo/obj/Debug/net6.0/PubTmp/Out/System.Security.Permissions.dll b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/System.Security.Permissions.dll new file mode 100644 index 0000000..76faf41 Binary files /dev/null and b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/System.Security.Permissions.dll differ diff --git a/ApiPolo/obj/Debug/net6.0/PubTmp/Out/System.Web.Helpers.dll b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/System.Web.Helpers.dll new file mode 100644 index 0000000..5979bab Binary files /dev/null and b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/System.Web.Helpers.dll differ diff --git a/ApiPolo/obj/Debug/net6.0/PubTmp/Out/System.Web.Mvc.dll b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/System.Web.Mvc.dll new file mode 100644 index 0000000..781deee Binary files /dev/null and b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/System.Web.Mvc.dll differ diff --git a/ApiPolo/obj/Debug/net6.0/PubTmp/Out/System.Web.Razor.dll b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/System.Web.Razor.dll new file mode 100644 index 0000000..a992c65 Binary files /dev/null and b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/System.Web.Razor.dll differ diff --git a/ApiPolo/obj/Debug/net6.0/PubTmp/Out/System.Web.WebPages.Deployment.dll b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/System.Web.WebPages.Deployment.dll new file mode 100644 index 0000000..295581a Binary files /dev/null and b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/System.Web.WebPages.Deployment.dll differ diff --git a/ApiPolo/obj/Debug/net6.0/PubTmp/Out/System.Web.WebPages.Razor.dll b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/System.Web.WebPages.Razor.dll new file mode 100644 index 0000000..6d830f3 Binary files /dev/null and b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/System.Web.WebPages.Razor.dll differ diff --git a/ApiPolo/obj/Debug/net6.0/PubTmp/Out/System.Web.WebPages.dll b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/System.Web.WebPages.dll new file mode 100644 index 0000000..4a910af Binary files /dev/null and b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/System.Web.WebPages.dll differ diff --git a/ApiPolo/obj/Debug/net6.0/PubTmp/Out/System.Windows.Extensions.dll b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/System.Windows.Extensions.dll new file mode 100644 index 0000000..7f075b2 Binary files /dev/null and b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/System.Windows.Extensions.dll differ diff --git a/ApiPolo/obj/Debug/net6.0/PubTmp/Out/appsettings.Development.json b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/appsettings.Development.json new file mode 100644 index 0000000..0c208ae --- /dev/null +++ b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/appsettings.Development.json @@ -0,0 +1,8 @@ +{ + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Warning" + } + } +} diff --git a/ApiPolo/obj/Debug/net6.0/PubTmp/Out/appsettings.json b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/appsettings.json new file mode 100644 index 0000000..663999e --- /dev/null +++ b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/appsettings.json @@ -0,0 +1,26 @@ +{ + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Warning" + } + }, + "AllowedHosts": "*", + "ConnectionStrings": { + + //connessione non sicura: Encrypt=False + + "ApiStr": "Data Source=10.0.0.10;Initial Catalog=API_POLO;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + "FERRA": "Data Source=10.0.0.10;Initial Catalog=AHR60_FERRARI;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + /*"FERRA": "Data Source=37.159.179.14;Initial Catalog=AHR80_TEST;User Id=AppPolo; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False;Encrypt=False;Trust Server Certificate=True",*/ + "MARRO": "Data Source=10.0.0.10;Initial Catalog=R80_MARROCCO;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + "SICILIA": "Data Source=10.0.0.10;Initial Catalog=AHR_SICILIA;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + "DISCO": "Data Source=10.0.0.10;Initial Catalog=AHR60_FERRARI_VISTE_DISCO;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False" + + }, + "JWT": { + "ValidAudience": "http://localhost:4200", + "ValidIssuer": "http://localhost:61955", + "Secret": "ByYM000OLlMQG6VVVp1OH7Xzyr7gHuw1qvUC5dcGt3SNM" + } +} diff --git a/ApiPolo/obj/Debug/net6.0/PubTmp/Out/runtimes/linux/lib/net6.0/System.DirectoryServices.Protocols.dll b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/runtimes/linux/lib/net6.0/System.DirectoryServices.Protocols.dll new file mode 100644 index 0000000..a274287 Binary files /dev/null and b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/runtimes/linux/lib/net6.0/System.DirectoryServices.Protocols.dll differ diff --git a/ApiPolo/obj/Debug/net6.0/PubTmp/Out/runtimes/osx/lib/net6.0/System.DirectoryServices.Protocols.dll b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/runtimes/osx/lib/net6.0/System.DirectoryServices.Protocols.dll new file mode 100644 index 0000000..c14a840 Binary files /dev/null and b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/runtimes/osx/lib/net6.0/System.DirectoryServices.Protocols.dll differ diff --git a/ApiPolo/obj/Debug/net6.0/PubTmp/Out/runtimes/unix/lib/netcoreapp3.0/System.Drawing.Common.dll b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/runtimes/unix/lib/netcoreapp3.0/System.Drawing.Common.dll new file mode 100644 index 0000000..3a19d3d Binary files /dev/null and b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/runtimes/unix/lib/netcoreapp3.0/System.Drawing.Common.dll differ diff --git a/ApiPolo/obj/Debug/net6.0/PubTmp/Out/runtimes/unix/lib/netcoreapp3.1/Microsoft.Data.SqlClient.dll b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/runtimes/unix/lib/netcoreapp3.1/Microsoft.Data.SqlClient.dll new file mode 100644 index 0000000..231e75a Binary files /dev/null and b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/runtimes/unix/lib/netcoreapp3.1/Microsoft.Data.SqlClient.dll differ diff --git a/ApiPolo/obj/Debug/net6.0/PubTmp/Out/runtimes/win-arm/native/Microsoft.Data.SqlClient.SNI.dll b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/runtimes/win-arm/native/Microsoft.Data.SqlClient.SNI.dll new file mode 100644 index 0000000..3068646 Binary files /dev/null and b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/runtimes/win-arm/native/Microsoft.Data.SqlClient.SNI.dll differ diff --git a/ApiPolo/obj/Debug/net6.0/PubTmp/Out/runtimes/win-arm64/native/Microsoft.Data.SqlClient.SNI.dll b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/runtimes/win-arm64/native/Microsoft.Data.SqlClient.SNI.dll new file mode 100644 index 0000000..965f535 Binary files /dev/null and b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/runtimes/win-arm64/native/Microsoft.Data.SqlClient.SNI.dll differ diff --git a/ApiPolo/obj/Debug/net6.0/PubTmp/Out/runtimes/win-x64/native/Microsoft.Data.SqlClient.SNI.dll b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/runtimes/win-x64/native/Microsoft.Data.SqlClient.SNI.dll new file mode 100644 index 0000000..227b87b Binary files /dev/null and b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/runtimes/win-x64/native/Microsoft.Data.SqlClient.SNI.dll differ diff --git a/ApiPolo/obj/Debug/net6.0/PubTmp/Out/runtimes/win-x86/native/Microsoft.Data.SqlClient.SNI.dll b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/runtimes/win-x86/native/Microsoft.Data.SqlClient.SNI.dll new file mode 100644 index 0000000..0add8c2 Binary files /dev/null and b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/runtimes/win-x86/native/Microsoft.Data.SqlClient.SNI.dll differ diff --git a/ApiPolo/obj/Debug/net6.0/PubTmp/Out/runtimes/win/lib/net6.0/System.DirectoryServices.Protocols.dll b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/runtimes/win/lib/net6.0/System.DirectoryServices.Protocols.dll new file mode 100644 index 0000000..3ebf5d8 Binary files /dev/null and b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/runtimes/win/lib/net6.0/System.DirectoryServices.Protocols.dll differ diff --git a/ApiPolo/obj/Debug/net6.0/PubTmp/Out/runtimes/win/lib/netcoreapp3.0/Microsoft.Win32.SystemEvents.dll b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/runtimes/win/lib/netcoreapp3.0/Microsoft.Win32.SystemEvents.dll new file mode 100644 index 0000000..c49c358 Binary files /dev/null and b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/runtimes/win/lib/netcoreapp3.0/Microsoft.Win32.SystemEvents.dll differ diff --git a/ApiPolo/obj/Debug/net6.0/PubTmp/Out/runtimes/win/lib/netcoreapp3.0/System.Drawing.Common.dll b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/runtimes/win/lib/netcoreapp3.0/System.Drawing.Common.dll new file mode 100644 index 0000000..9a04b68 Binary files /dev/null and b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/runtimes/win/lib/netcoreapp3.0/System.Drawing.Common.dll differ diff --git a/ApiPolo/obj/Debug/net6.0/PubTmp/Out/runtimes/win/lib/netcoreapp3.0/System.Windows.Extensions.dll b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/runtimes/win/lib/netcoreapp3.0/System.Windows.Extensions.dll new file mode 100644 index 0000000..3fb4939 Binary files /dev/null and b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/runtimes/win/lib/netcoreapp3.0/System.Windows.Extensions.dll differ diff --git a/ApiPolo/obj/Debug/net6.0/PubTmp/Out/runtimes/win/lib/netcoreapp3.1/Microsoft.Data.SqlClient.dll b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/runtimes/win/lib/netcoreapp3.1/Microsoft.Data.SqlClient.dll new file mode 100644 index 0000000..0269777 Binary files /dev/null and b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/runtimes/win/lib/netcoreapp3.1/Microsoft.Data.SqlClient.dll differ diff --git a/ApiPolo/obj/Debug/net6.0/PubTmp/Out/runtimes/win/lib/netstandard2.0/System.Runtime.Caching.dll b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/runtimes/win/lib/netstandard2.0/System.Runtime.Caching.dll new file mode 100644 index 0000000..175d085 Binary files /dev/null and b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/runtimes/win/lib/netstandard2.0/System.Runtime.Caching.dll differ diff --git a/ApiPolo/obj/Debug/net6.0/PubTmp/Out/runtimes/win/lib/netstandard2.0/System.Security.Cryptography.ProtectedData.dll b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/runtimes/win/lib/netstandard2.0/System.Security.Cryptography.ProtectedData.dll new file mode 100644 index 0000000..d8f2f45 Binary files /dev/null and b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/runtimes/win/lib/netstandard2.0/System.Security.Cryptography.ProtectedData.dll differ diff --git a/ApiPolo/obj/Debug/net6.0/PubTmp/Out/web.config b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/web.config new file mode 100644 index 0000000..1303c93 --- /dev/null +++ b/ApiPolo/obj/Debug/net6.0/PubTmp/Out/web.config @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/ApiPolo/obj/Debug/net6.0/PublishOutputs.950e6b5bf7.txt b/ApiPolo/obj/Debug/net6.0/PublishOutputs.950e6b5bf7.txt new file mode 100644 index 0000000..374edb2 --- /dev/null +++ b/ApiPolo/obj/Debug/net6.0/PublishOutputs.950e6b5bf7.txt @@ -0,0 +1,59 @@ +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\PubTmp\Out\ApiPolo.exe +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\PubTmp\Out\appsettings.Development.json +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\PubTmp\Out\appsettings.json +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\PubTmp\Out\ApiPolo.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\PubTmp\Out\ApiPolo.runtimeconfig.json +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\PubTmp\Out\ApiPolo.pdb +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\PubTmp\Out\System.Web.Mvc.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\PubTmp\Out\System.Web.Razor.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\PubTmp\Out\System.Web.Helpers.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\PubTmp\Out\System.Web.WebPages.Deployment.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\PubTmp\Out\System.Web.WebPages.Razor.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\PubTmp\Out\System.Web.WebPages.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\PubTmp\Out\Microsoft.AspNetCore.Authentication.Negotiate.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\PubTmp\Out\Microsoft.AspNetCore.Connections.Abstractions.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\PubTmp\Out\Microsoft.Data.SqlClient.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\PubTmp\Out\Microsoft.EntityFrameworkCore.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\PubTmp\Out\Microsoft.EntityFrameworkCore.Abstractions.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\PubTmp\Out\Microsoft.EntityFrameworkCore.Relational.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\PubTmp\Out\Microsoft.EntityFrameworkCore.SqlServer.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\PubTmp\Out\Microsoft.Extensions.Caching.Memory.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\PubTmp\Out\Microsoft.Extensions.Features.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\PubTmp\Out\Microsoft.Identity.Client.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\PubTmp\Out\Microsoft.IdentityModel.JsonWebTokens.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\PubTmp\Out\Microsoft.IdentityModel.Logging.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\PubTmp\Out\Microsoft.IdentityModel.Protocols.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\PubTmp\Out\Microsoft.IdentityModel.Protocols.OpenIdConnect.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\PubTmp\Out\Microsoft.IdentityModel.Tokens.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\PubTmp\Out\Microsoft.OpenApi.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\PubTmp\Out\Microsoft.Web.Infrastructure.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\PubTmp\Out\Microsoft.Win32.SystemEvents.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\PubTmp\Out\Swashbuckle.AspNetCore.Swagger.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\PubTmp\Out\Swashbuckle.AspNetCore.SwaggerGen.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\PubTmp\Out\Swashbuckle.AspNetCore.SwaggerUI.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\PubTmp\Out\System.Configuration.ConfigurationManager.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\PubTmp\Out\System.DirectoryServices.Protocols.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\PubTmp\Out\System.Drawing.Common.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\PubTmp\Out\System.IdentityModel.Tokens.Jwt.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\PubTmp\Out\System.IO.Pipelines.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\PubTmp\Out\System.Runtime.Caching.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\PubTmp\Out\System.Security.Cryptography.ProtectedData.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\PubTmp\Out\System.Security.Permissions.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\PubTmp\Out\System.Windows.Extensions.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\PubTmp\Out\runtimes\unix\lib\netcoreapp3.1\Microsoft.Data.SqlClient.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\PubTmp\Out\runtimes\win\lib\netcoreapp3.1\Microsoft.Data.SqlClient.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\PubTmp\Out\runtimes\win-arm\native\Microsoft.Data.SqlClient.SNI.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\PubTmp\Out\runtimes\win-arm64\native\Microsoft.Data.SqlClient.SNI.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\PubTmp\Out\runtimes\win-x64\native\Microsoft.Data.SqlClient.SNI.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\PubTmp\Out\runtimes\win-x86\native\Microsoft.Data.SqlClient.SNI.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\PubTmp\Out\runtimes\win\lib\netcoreapp3.0\Microsoft.Win32.SystemEvents.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\PubTmp\Out\runtimes\linux\lib\net6.0\System.DirectoryServices.Protocols.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\PubTmp\Out\runtimes\osx\lib\net6.0\System.DirectoryServices.Protocols.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\PubTmp\Out\runtimes\win\lib\net6.0\System.DirectoryServices.Protocols.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\PubTmp\Out\runtimes\unix\lib\netcoreapp3.0\System.Drawing.Common.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\PubTmp\Out\runtimes\win\lib\netcoreapp3.0\System.Drawing.Common.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\PubTmp\Out\runtimes\win\lib\netstandard2.0\System.Runtime.Caching.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\PubTmp\Out\runtimes\win\lib\netstandard2.0\System.Security.Cryptography.ProtectedData.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\PubTmp\Out\runtimes\win\lib\netcoreapp3.0\System.Windows.Extensions.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\PubTmp\Out\ApiPolo.xml +C:\SORGENTI\ApiPolo\ApiPolo\obj\Debug\net6.0\PubTmp\Out\ApiPolo.deps.json diff --git a/ApiPolo/obj/Debug/net6.0/apphost.exe b/ApiPolo/obj/Debug/net6.0/apphost.exe new file mode 100644 index 0000000..034c160 Binary files /dev/null and b/ApiPolo/obj/Debug/net6.0/apphost.exe differ diff --git a/ApiPolo/obj/Debug/net6.0/ref/ApiPolo.dll b/ApiPolo/obj/Debug/net6.0/ref/ApiPolo.dll new file mode 100644 index 0000000..bb95460 Binary files /dev/null and b/ApiPolo/obj/Debug/net6.0/ref/ApiPolo.dll differ diff --git a/ApiPolo/obj/Debug/net6.0/refint/ApiPolo.dll b/ApiPolo/obj/Debug/net6.0/refint/ApiPolo.dll new file mode 100644 index 0000000..bb95460 Binary files /dev/null and b/ApiPolo/obj/Debug/net6.0/refint/ApiPolo.dll differ diff --git a/ApiPolo/obj/Debug/net6.0/staticwebassets.build.json b/ApiPolo/obj/Debug/net6.0/staticwebassets.build.json new file mode 100644 index 0000000..fbc350b --- /dev/null +++ b/ApiPolo/obj/Debug/net6.0/staticwebassets.build.json @@ -0,0 +1,71 @@ +{ + "Version": 1, + "Hash": "mFfNkGHkjzWQ+syyTp5kdPuOLram9b605GbMRnW9Pmg=", + "Source": "ApiPolo", + "BasePath": "_content/ApiPolo", + "Mode": "Default", + "ManifestType": "Build", + "ReferencedProjectsConfiguration": [], + "DiscoveryPatterns": [ + { + "Name": "ApiPolo\\wwwroot", + "Source": "ApiPolo", + "ContentRoot": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\", + "BasePath": "_content/ApiPolo", + "Pattern": "**" + } + ], + "Assets": [ + { + "Identity": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\logo_disco.jpg", + "SourceId": "ApiPolo", + "SourceType": "Discovered", + "ContentRoot": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\", + "BasePath": "_content/ApiPolo", + "RelativePath": "logo_disco.jpg", + "AssetKind": "All", + "AssetMode": "All", + "AssetRole": "Primary", + "RelatedAsset": "", + "AssetTraitName": "", + "AssetTraitValue": "", + "CopyToOutputDirectory": "Never", + "CopyToPublishDirectory": "PreserveNewest", + "OriginalItemSpec": "wwwroot\\logo_disco.jpg" + }, + { + "Identity": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\logo_ferra.jpg", + "SourceId": "ApiPolo", + "SourceType": "Discovered", + "ContentRoot": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\", + "BasePath": "_content/ApiPolo", + "RelativePath": "logo_ferra.jpg", + "AssetKind": "All", + "AssetMode": "All", + "AssetRole": "Primary", + "RelatedAsset": "", + "AssetTraitName": "", + "AssetTraitValue": "", + "CopyToOutputDirectory": "Never", + "CopyToPublishDirectory": "PreserveNewest", + "OriginalItemSpec": "wwwroot\\logo_ferra.jpg" + }, + { + "Identity": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\logo_marro.jpg", + "SourceId": "ApiPolo", + "SourceType": "Discovered", + "ContentRoot": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\", + "BasePath": "_content/ApiPolo", + "RelativePath": "logo_marro.jpg", + "AssetKind": "All", + "AssetMode": "All", + "AssetRole": "Primary", + "RelatedAsset": "", + "AssetTraitName": "", + "AssetTraitValue": "", + "CopyToOutputDirectory": "Never", + "CopyToPublishDirectory": "PreserveNewest", + "OriginalItemSpec": "wwwroot\\logo_marro.jpg" + } + ] +} \ No newline at end of file diff --git a/ApiPolo/obj/Debug/net6.0/staticwebassets.development.json b/ApiPolo/obj/Debug/net6.0/staticwebassets.development.json new file mode 100644 index 0000000..e6de4a4 --- /dev/null +++ b/ApiPolo/obj/Debug/net6.0/staticwebassets.development.json @@ -0,0 +1 @@ +{"ContentRoots":["C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\"],"Root":{"Children":{"logo_disco.jpg":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"logo_disco.jpg"},"Patterns":null},"logo_ferra.jpg":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"logo_ferra.jpg"},"Patterns":null},"logo_marro.jpg":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"logo_marro.jpg"},"Patterns":null}},"Asset":null,"Patterns":[{"ContentRootIndex":0,"Pattern":"**","Depth":0}]}} \ No newline at end of file diff --git a/ApiPolo/obj/Debug/net6.0/staticwebassets.pack.json b/ApiPolo/obj/Debug/net6.0/staticwebassets.pack.json new file mode 100644 index 0000000..ea277a6 --- /dev/null +++ b/ApiPolo/obj/Debug/net6.0/staticwebassets.pack.json @@ -0,0 +1,33 @@ +{ + "Files": [ + { + "Id": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\logo_disco.jpg", + "PackagePath": "staticwebassets\\logo_disco.jpg" + }, + { + "Id": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\logo_ferra.jpg", + "PackagePath": "staticwebassets\\logo_ferra.jpg" + }, + { + "Id": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\logo_marro.jpg", + "PackagePath": "staticwebassets\\logo_marro.jpg" + }, + { + "Id": "obj\\Debug\\net6.0\\staticwebassets\\msbuild.ApiPolo.Microsoft.AspNetCore.StaticWebAssets.props", + "PackagePath": "build\\Microsoft.AspNetCore.StaticWebAssets.props" + }, + { + "Id": "obj\\Debug\\net6.0\\staticwebassets\\msbuild.build.ApiPolo.props", + "PackagePath": "build\\ApiPolo.props" + }, + { + "Id": "obj\\Debug\\net6.0\\staticwebassets\\msbuild.buildMultiTargeting.ApiPolo.props", + "PackagePath": "buildMultiTargeting\\ApiPolo.props" + }, + { + "Id": "obj\\Debug\\net6.0\\staticwebassets\\msbuild.buildTransitive.ApiPolo.props", + "PackagePath": "buildTransitive\\ApiPolo.props" + } + ], + "ElementsToRemove": [] +} \ No newline at end of file diff --git a/ApiPolo/obj/Debug/net6.0/staticwebassets.publish.json b/ApiPolo/obj/Debug/net6.0/staticwebassets.publish.json new file mode 100644 index 0000000..695b1e6 --- /dev/null +++ b/ApiPolo/obj/Debug/net6.0/staticwebassets.publish.json @@ -0,0 +1,11 @@ +{ + "Version": 1, + "Hash": "TbzSe+JuOj83IwQMYGgOp6hzhr+gmZALKfs0SCC4wgA=", + "Source": "ApiPolo", + "BasePath": "_content/ApiPolo", + "Mode": "Default", + "ManifestType": "Publish", + "ReferencedProjectsConfiguration": [], + "DiscoveryPatterns": [], + "Assets": [] +} \ No newline at end of file diff --git a/ApiPolo/obj/Debug/net6.0/staticwebassets/msbuild.ApiPolo.Microsoft.AspNetCore.StaticWebAssets.props b/ApiPolo/obj/Debug/net6.0/staticwebassets/msbuild.ApiPolo.Microsoft.AspNetCore.StaticWebAssets.props new file mode 100644 index 0000000..4cb8f01 --- /dev/null +++ b/ApiPolo/obj/Debug/net6.0/staticwebassets/msbuild.ApiPolo.Microsoft.AspNetCore.StaticWebAssets.props @@ -0,0 +1,52 @@ + + + + Package + ApiPolo + $(MSBuildThisFileDirectory)..\staticwebassets\ + _content/ApiPolo + logo_disco.jpg + All + All + Primary + + + + Never + PreserveNewest + $([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\logo_disco.jpg)) + + + Package + ApiPolo + $(MSBuildThisFileDirectory)..\staticwebassets\ + _content/ApiPolo + logo_ferra.jpg + All + All + Primary + + + + Never + PreserveNewest + $([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\logo_ferra.jpg)) + + + Package + ApiPolo + $(MSBuildThisFileDirectory)..\staticwebassets\ + _content/ApiPolo + logo_marro.jpg + All + All + Primary + + + + Never + PreserveNewest + $([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\logo_marro.jpg)) + + + \ No newline at end of file diff --git a/ApiPolo/obj/Debug/net6.0/staticwebassets/msbuild.build.ApiPolo.props b/ApiPolo/obj/Debug/net6.0/staticwebassets/msbuild.build.ApiPolo.props new file mode 100644 index 0000000..5a6032a --- /dev/null +++ b/ApiPolo/obj/Debug/net6.0/staticwebassets/msbuild.build.ApiPolo.props @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/ApiPolo/obj/Debug/net6.0/staticwebassets/msbuild.buildMultiTargeting.ApiPolo.props b/ApiPolo/obj/Debug/net6.0/staticwebassets/msbuild.buildMultiTargeting.ApiPolo.props new file mode 100644 index 0000000..3d68535 --- /dev/null +++ b/ApiPolo/obj/Debug/net6.0/staticwebassets/msbuild.buildMultiTargeting.ApiPolo.props @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/ApiPolo/obj/Debug/net6.0/staticwebassets/msbuild.buildTransitive.ApiPolo.props b/ApiPolo/obj/Debug/net6.0/staticwebassets/msbuild.buildTransitive.ApiPolo.props new file mode 100644 index 0000000..57a0c06 --- /dev/null +++ b/ApiPolo/obj/Debug/net6.0/staticwebassets/msbuild.buildTransitive.ApiPolo.props @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/ApiPolo/obj/Debug/netcoreapp3.1/.NETCoreApp,Version=v3.1.AssemblyAttributes.cs b/ApiPolo/obj/Debug/netcoreapp3.1/.NETCoreApp,Version=v3.1.AssemblyAttributes.cs new file mode 100644 index 0000000..ad8dfe1 --- /dev/null +++ b/ApiPolo/obj/Debug/netcoreapp3.1/.NETCoreApp,Version=v3.1.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v3.1", FrameworkDisplayName = "")] diff --git a/ApiPolo/obj/Debug/netcoreapp3.1/ApiPolo.AssemblyInfo.cs b/ApiPolo/obj/Debug/netcoreapp3.1/ApiPolo.AssemblyInfo.cs new file mode 100644 index 0000000..5ec3b6c --- /dev/null +++ b/ApiPolo/obj/Debug/netcoreapp3.1/ApiPolo.AssemblyInfo.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// +// Il codice è stato generato da uno strumento. +// Versione runtime:4.0.30319.42000 +// +// Le modifiche apportate a questo file possono provocare un comportamento non corretto e andranno perse se +// il codice viene rigenerato. +// +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: System.Reflection.AssemblyCompanyAttribute("ApiPolo")] +[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] +[assembly: System.Reflection.AssemblyProductAttribute("ApiPolo")] +[assembly: System.Reflection.AssemblyTitleAttribute("ApiPolo")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] + +// Generato dalla classe WriteCodeFragment di MSBuild. + diff --git a/ApiPolo/obj/Debug/netcoreapp3.1/ApiPolo.AssemblyInfoInputs.cache b/ApiPolo/obj/Debug/netcoreapp3.1/ApiPolo.AssemblyInfoInputs.cache new file mode 100644 index 0000000..3726c85 --- /dev/null +++ b/ApiPolo/obj/Debug/netcoreapp3.1/ApiPolo.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +88ad5b2d9ae3cff92d91a6b6dc8e389161b50a56 diff --git a/ApiPolo/obj/Debug/netcoreapp3.1/ApiPolo.GeneratedMSBuildEditorConfig.editorconfig b/ApiPolo/obj/Debug/netcoreapp3.1/ApiPolo.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..bc6623a --- /dev/null +++ b/ApiPolo/obj/Debug/netcoreapp3.1/ApiPolo.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,3 @@ +is_global = true +build_property.RootNamespace = ApiPolo +build_property.ProjectDir = C:\SORGENTI\ApiPolo\ApiPolo\ diff --git a/ApiPolo/obj/Debug/netcoreapp3.1/ApiPolo.GlobalUsings.g.cs b/ApiPolo/obj/Debug/netcoreapp3.1/ApiPolo.GlobalUsings.g.cs new file mode 100644 index 0000000..025530a --- /dev/null +++ b/ApiPolo/obj/Debug/netcoreapp3.1/ApiPolo.GlobalUsings.g.cs @@ -0,0 +1,17 @@ +// +global using global::Microsoft.AspNetCore.Builder; +global using global::Microsoft.AspNetCore.Hosting; +global using global::Microsoft.AspNetCore.Http; +global using global::Microsoft.AspNetCore.Routing; +global using global::Microsoft.Extensions.Configuration; +global using global::Microsoft.Extensions.DependencyInjection; +global using global::Microsoft.Extensions.Hosting; +global using global::Microsoft.Extensions.Logging; +global using global::System; +global using global::System.Collections.Generic; +global using global::System.IO; +global using global::System.Linq; +global using global::System.Net.Http; +global using global::System.Net.Http.Json; +global using global::System.Threading; +global using global::System.Threading.Tasks; diff --git a/ApiPolo/obj/Debug/netcoreapp3.1/ApiPolo.assets.cache b/ApiPolo/obj/Debug/netcoreapp3.1/ApiPolo.assets.cache new file mode 100644 index 0000000..07a3489 Binary files /dev/null and b/ApiPolo/obj/Debug/netcoreapp3.1/ApiPolo.assets.cache differ diff --git a/ApiPolo/obj/Debug/netcoreapp3.1/ApiPolo.csproj.AssemblyReference.cache b/ApiPolo/obj/Debug/netcoreapp3.1/ApiPolo.csproj.AssemblyReference.cache new file mode 100644 index 0000000..7f2c779 Binary files /dev/null and b/ApiPolo/obj/Debug/netcoreapp3.1/ApiPolo.csproj.AssemblyReference.cache differ diff --git a/ApiPolo/obj/Release/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.cs b/ApiPolo/obj/Release/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.cs new file mode 100644 index 0000000..ed92695 --- /dev/null +++ b/ApiPolo/obj/Release/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v6.0", FrameworkDisplayName = ".NET 6.0")] diff --git a/ApiPolo/obj/Release/net6.0/ApiPolo.AssemblyInfo.cs b/ApiPolo/obj/Release/net6.0/ApiPolo.AssemblyInfo.cs new file mode 100644 index 0000000..a51bb63 --- /dev/null +++ b/ApiPolo/obj/Release/net6.0/ApiPolo.AssemblyInfo.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// +// Il codice è stato generato da uno strumento. +// Versione runtime:4.0.30319.42000 +// +// Le modifiche apportate a questo file possono provocare un comportamento non corretto e andranno perse se +// il codice viene rigenerato. +// +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: System.Reflection.AssemblyCompanyAttribute("ApiPolo")] +[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] +[assembly: System.Reflection.AssemblyProductAttribute("ApiPolo")] +[assembly: System.Reflection.AssemblyTitleAttribute("ApiPolo")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] + +// Generato dalla classe WriteCodeFragment di MSBuild. + diff --git a/ApiPolo/obj/Release/net6.0/ApiPolo.AssemblyInfoInputs.cache b/ApiPolo/obj/Release/net6.0/ApiPolo.AssemblyInfoInputs.cache new file mode 100644 index 0000000..a132758 --- /dev/null +++ b/ApiPolo/obj/Release/net6.0/ApiPolo.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +9edb9b8bc2af04abfb6b73147042608b7104cd85 diff --git a/ApiPolo/obj/Release/net6.0/ApiPolo.GeneratedMSBuildEditorConfig.editorconfig b/ApiPolo/obj/Release/net6.0/ApiPolo.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..645bc61 --- /dev/null +++ b/ApiPolo/obj/Release/net6.0/ApiPolo.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,17 @@ +is_global = true +build_property.TargetFramework = net6.0 +build_property.TargetPlatformMinVersion = +build_property.UsingMicrosoftNETSdkWeb = true +build_property.ProjectTypeGuids = +build_property.InvariantGlobalization = +build_property.PlatformNeutralAssembly = +build_property.EnforceExtendedAnalyzerRules = +build_property._SupportedPlatformList = Linux,macOS,Windows +build_property.RootNamespace = ApiPolo +build_property.RootNamespace = ApiPolo +build_property.ProjectDir = C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\ +build_property.RazorLangVersion = 6.0 +build_property.SupportLocalizedComponentNames = +build_property.GenerateRazorMetadataSourceChecksumAttributes = +build_property.MSBuildProjectDirectory = C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo +build_property._RazorSourceGeneratorDebug = diff --git a/ApiPolo/obj/Release/net6.0/ApiPolo.GlobalUsings.g.cs b/ApiPolo/obj/Release/net6.0/ApiPolo.GlobalUsings.g.cs new file mode 100644 index 0000000..025530a --- /dev/null +++ b/ApiPolo/obj/Release/net6.0/ApiPolo.GlobalUsings.g.cs @@ -0,0 +1,17 @@ +// +global using global::Microsoft.AspNetCore.Builder; +global using global::Microsoft.AspNetCore.Hosting; +global using global::Microsoft.AspNetCore.Http; +global using global::Microsoft.AspNetCore.Routing; +global using global::Microsoft.Extensions.Configuration; +global using global::Microsoft.Extensions.DependencyInjection; +global using global::Microsoft.Extensions.Hosting; +global using global::Microsoft.Extensions.Logging; +global using global::System; +global using global::System.Collections.Generic; +global using global::System.IO; +global using global::System.Linq; +global using global::System.Net.Http; +global using global::System.Net.Http.Json; +global using global::System.Threading; +global using global::System.Threading.Tasks; diff --git a/ApiPolo/obj/Release/net6.0/ApiPolo.MvcApplicationPartsAssemblyInfo.cache b/ApiPolo/obj/Release/net6.0/ApiPolo.MvcApplicationPartsAssemblyInfo.cache new file mode 100644 index 0000000..e69de29 diff --git a/ApiPolo/obj/Release/net6.0/ApiPolo.MvcApplicationPartsAssemblyInfo.cs b/ApiPolo/obj/Release/net6.0/ApiPolo.MvcApplicationPartsAssemblyInfo.cs new file mode 100644 index 0000000..efe3c2c --- /dev/null +++ b/ApiPolo/obj/Release/net6.0/ApiPolo.MvcApplicationPartsAssemblyInfo.cs @@ -0,0 +1,17 @@ +//------------------------------------------------------------------------------ +// +// Il codice è stato generato da uno strumento. +// Versione runtime:4.0.30319.42000 +// +// Le modifiche apportate a questo file possono provocare un comportamento non corretto e andranno perse se +// il codice viene rigenerato. +// +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartAttribute("Swashbuckle.AspNetCore.SwaggerGen")] + +// Generato dalla classe WriteCodeFragment di MSBuild. + diff --git a/ApiPolo/obj/Release/net6.0/ApiPolo.assets.cache b/ApiPolo/obj/Release/net6.0/ApiPolo.assets.cache new file mode 100644 index 0000000..bf26722 Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/ApiPolo.assets.cache differ diff --git a/ApiPolo/obj/Release/net6.0/ApiPolo.csproj.AssemblyReference.cache b/ApiPolo/obj/Release/net6.0/ApiPolo.csproj.AssemblyReference.cache new file mode 100644 index 0000000..a202ad6 Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/ApiPolo.csproj.AssemblyReference.cache differ diff --git a/ApiPolo/obj/Release/net6.0/ApiPolo.csproj.BuildWithSkipAnalyzers b/ApiPolo/obj/Release/net6.0/ApiPolo.csproj.BuildWithSkipAnalyzers new file mode 100644 index 0000000..e69de29 diff --git a/ApiPolo/obj/Release/net6.0/ApiPolo.csproj.CopyComplete b/ApiPolo/obj/Release/net6.0/ApiPolo.csproj.CopyComplete new file mode 100644 index 0000000..e69de29 diff --git a/ApiPolo/obj/Release/net6.0/ApiPolo.csproj.CoreCompileInputs.cache b/ApiPolo/obj/Release/net6.0/ApiPolo.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..662cea3 --- /dev/null +++ b/ApiPolo/obj/Release/net6.0/ApiPolo.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +bf47b0c85106d7709c0ee9272b52acfafe30a0e2 diff --git a/ApiPolo/obj/Release/net6.0/ApiPolo.csproj.FileListAbsolute.txt b/ApiPolo/obj/Release/net6.0/ApiPolo.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..a521d27 --- /dev/null +++ b/ApiPolo/obj/Release/net6.0/ApiPolo.csproj.FileListAbsolute.txt @@ -0,0 +1,97 @@ +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\appsettings.Development.json +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\appsettings.json +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\ApiPolo.exe +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\ApiPolo.deps.json +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\ApiPolo.runtimeconfig.json +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\ApiPolo.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\ApiPolo.pdb +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\ApiPolo.xml +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\Humanizer.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\Microsoft.AspNetCore.Authentication.Negotiate.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\Microsoft.AspNetCore.Connections.Abstractions.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\Microsoft.Data.SqlClient.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\Microsoft.EntityFrameworkCore.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\Microsoft.EntityFrameworkCore.Abstractions.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\Microsoft.EntityFrameworkCore.Design.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\Microsoft.EntityFrameworkCore.Relational.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\Microsoft.EntityFrameworkCore.SqlServer.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\Microsoft.Extensions.Caching.Memory.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\Microsoft.Extensions.Features.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\Microsoft.Identity.Client.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\Microsoft.IdentityModel.JsonWebTokens.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\Microsoft.IdentityModel.Logging.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\Microsoft.IdentityModel.Protocols.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\Microsoft.IdentityModel.Protocols.OpenIdConnect.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\Microsoft.IdentityModel.Tokens.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\Microsoft.OpenApi.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\Microsoft.Win32.SystemEvents.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\Swashbuckle.AspNetCore.Swagger.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\Swashbuckle.AspNetCore.SwaggerGen.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\Swashbuckle.AspNetCore.SwaggerUI.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\System.Configuration.ConfigurationManager.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\System.DirectoryServices.Protocols.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\System.Drawing.Common.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\System.IdentityModel.Tokens.Jwt.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\System.IO.Pipelines.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\System.Runtime.Caching.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\System.Security.Cryptography.ProtectedData.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\System.Security.Permissions.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\System.Windows.Extensions.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\runtimes\unix\lib\netcoreapp3.1\Microsoft.Data.SqlClient.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\runtimes\win\lib\netcoreapp3.1\Microsoft.Data.SqlClient.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\runtimes\win-arm\native\Microsoft.Data.SqlClient.SNI.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\runtimes\win-arm64\native\Microsoft.Data.SqlClient.SNI.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\runtimes\win-x64\native\Microsoft.Data.SqlClient.SNI.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\runtimes\win-x86\native\Microsoft.Data.SqlClient.SNI.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\runtimes\win\lib\netcoreapp3.0\Microsoft.Win32.SystemEvents.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\runtimes\linux\lib\net6.0\System.DirectoryServices.Protocols.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\runtimes\osx\lib\net6.0\System.DirectoryServices.Protocols.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\runtimes\win\lib\net6.0\System.DirectoryServices.Protocols.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\runtimes\unix\lib\netcoreapp3.0\System.Drawing.Common.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\runtimes\win\lib\netcoreapp3.0\System.Drawing.Common.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\runtimes\win\lib\netstandard2.0\System.Runtime.Caching.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\runtimes\win\lib\netstandard2.0\System.Security.Cryptography.ProtectedData.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\runtimes\win\lib\netcoreapp3.0\System.Windows.Extensions.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\ApiPolo.csproj.AssemblyReference.cache +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\ApiPolo.GeneratedMSBuildEditorConfig.editorconfig +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\ApiPolo.AssemblyInfoInputs.cache +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\ApiPolo.AssemblyInfo.cs +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\ApiPolo.csproj.CoreCompileInputs.cache +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\ApiPolo.MvcApplicationPartsAssemblyInfo.cs +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\ApiPolo.MvcApplicationPartsAssemblyInfo.cache +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\staticwebassets.build.json +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\staticwebassets.development.json +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\scopedcss\bundle\ApiPolo.styles.css +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\ApiPolo.csproj.CopyComplete +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\ApiPolo.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\refint\ApiPolo.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\ApiPolo.xml +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\ApiPolo.pdb +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\ApiPolo.genruntimeconfig.cache +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\ref\ApiPolo.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\System.Web.Mvc.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\System.Web.Razor.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\System.Web.Helpers.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\System.Web.WebPages.Deployment.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\System.Web.WebPages.Razor.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\System.Web.WebPages.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\Microsoft.Web.Infrastructure.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\Renci.SshNet.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\SshNet.Security.Cryptography.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\ApiPolo.staticwebassets.runtime.json +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\staticwebassets\msbuild.ApiPolo.Microsoft.AspNetCore.StaticWebAssets.props +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\staticwebassets\msbuild.build.ApiPolo.props +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\staticwebassets\msbuild.buildMultiTargeting.ApiPolo.props +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\staticwebassets\msbuild.buildTransitive.ApiPolo.props +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\staticwebassets.pack.json +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\private_key.json +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\FirebaseAdmin.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\Google.Api.Gax.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\Google.Api.Gax.Rest.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\Google.Apis.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\Google.Apis.Auth.PlatformServices.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\Google.Apis.Auth.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\Google.Apis.Core.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\Microsoft.Bcl.AsyncInterfaces.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\Newtonsoft.Json.dll +C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\Cronos.dll diff --git a/ApiPolo/obj/Release/net6.0/ApiPolo.deps.json b/ApiPolo/obj/Release/net6.0/ApiPolo.deps.json new file mode 100644 index 0000000..b726b39 --- /dev/null +++ b/ApiPolo/obj/Release/net6.0/ApiPolo.deps.json @@ -0,0 +1,1207 @@ +{ + "runtimeTarget": { + "name": ".NETCoreApp,Version=v6.0", + "signature": "" + }, + "compilationOptions": {}, + "targets": { + ".NETCoreApp,Version=v6.0": { + "ApiPolo/1.0.0": { + "dependencies": { + "Cronos": "0.7.1", + "FirebaseAdmin": "2.3.0", + "Microsoft.AspNet.Mvc": "5.2.9", + "Microsoft.AspNetCore.Authentication.Negotiate": "6.0.5", + "Microsoft.EntityFrameworkCore": "6.0.5", + "Microsoft.EntityFrameworkCore.SqlServer": "6.0.5", + "Microsoft.EntityFrameworkCore.Tools": "6.0.5", + "Newtonsoft.Json": "13.0.3", + "SSH.NET": "2020.0.2", + "Swashbuckle.AspNetCore": "6.3.1" + }, + "runtime": { + "ApiPolo.dll": {} + } + }, + "Cronos/0.7.1": { + "runtime": { + "lib/netstandard2.0/Cronos.dll": { + "assemblyVersion": "0.7.1.0", + "fileVersion": "1.0.0.0" + } + } + }, + "FirebaseAdmin/2.3.0": { + "dependencies": { + "Google.Api.Gax.Rest": "3.2.0", + "Google.Apis.Auth": "1.49.0", + "System.Collections.Immutable": "6.0.0" + }, + "runtime": { + "lib/netstandard2.0/FirebaseAdmin.dll": { + "assemblyVersion": "2.3.0.0", + "fileVersion": "2.3.0.0" + } + } + }, + "Google.Api.Gax/3.2.0": { + "dependencies": { + "Microsoft.Bcl.AsyncInterfaces": "1.0.0", + "Newtonsoft.Json": "13.0.3" + }, + "runtime": { + "lib/netstandard2.0/Google.Api.Gax.dll": { + "assemblyVersion": "3.2.0.0", + "fileVersion": "3.2.0.0" + } + } + }, + "Google.Api.Gax.Rest/3.2.0": { + "dependencies": { + "Google.Api.Gax": "3.2.0", + "Google.Apis.Auth": "1.49.0" + }, + "runtime": { + "lib/netstandard2.0/Google.Api.Gax.Rest.dll": { + "assemblyVersion": "3.2.0.0", + "fileVersion": "3.2.0.0" + } + } + }, + "Google.Apis/1.49.0": { + "dependencies": { + "Google.Apis.Core": "1.49.0" + }, + "runtime": { + "lib/netstandard2.0/Google.Apis.dll": { + "assemblyVersion": "1.49.0.0", + "fileVersion": "1.49.0.0" + } + } + }, + "Google.Apis.Auth/1.49.0": { + "dependencies": { + "Google.Apis": "1.49.0", + "Google.Apis.Core": "1.49.0" + }, + "runtime": { + "lib/netstandard2.0/Google.Apis.Auth.PlatformServices.dll": { + "assemblyVersion": "1.49.0.0", + "fileVersion": "1.49.0.0" + }, + "lib/netstandard2.0/Google.Apis.Auth.dll": { + "assemblyVersion": "1.49.0.0", + "fileVersion": "1.49.0.0" + } + } + }, + "Google.Apis.Core/1.49.0": { + "dependencies": { + "Newtonsoft.Json": "13.0.3" + }, + "runtime": { + "lib/netstandard2.0/Google.Apis.Core.dll": { + "assemblyVersion": "1.49.0.0", + "fileVersion": "1.49.0.0" + } + } + }, + "Humanizer.Core/2.8.26": {}, + "Microsoft.AspNet.Mvc/5.2.9": { + "dependencies": { + "Microsoft.AspNet.Razor": "3.2.9", + "Microsoft.AspNet.WebPages": "3.2.9" + }, + "runtime": { + "lib/net45/System.Web.Mvc.dll": { + "assemblyVersion": "5.2.9.0", + "fileVersion": "5.2.61129.10" + } + } + }, + "Microsoft.AspNet.Razor/3.2.9": { + "runtime": { + "lib/net45/System.Web.Razor.dll": { + "assemblyVersion": "3.0.0.0", + "fileVersion": "3.0.61129.10" + } + } + }, + "Microsoft.AspNet.WebPages/3.2.9": { + "dependencies": { + "Microsoft.AspNet.Razor": "3.2.9", + "Microsoft.Web.Infrastructure": "1.0.0" + }, + "runtime": { + "lib/net45/System.Web.Helpers.dll": { + "assemblyVersion": "3.0.0.0", + "fileVersion": "3.0.61129.10" + }, + "lib/net45/System.Web.WebPages.Deployment.dll": { + "assemblyVersion": "3.0.0.0", + "fileVersion": "3.0.61129.10" + }, + "lib/net45/System.Web.WebPages.Razor.dll": { + "assemblyVersion": "3.0.0.0", + "fileVersion": "3.0.61129.10" + }, + "lib/net45/System.Web.WebPages.dll": { + "assemblyVersion": "3.0.0.0", + "fileVersion": "3.0.61129.10" + } + } + }, + "Microsoft.AspNetCore.Authentication.Negotiate/6.0.5": { + "dependencies": { + "Microsoft.AspNetCore.Connections.Abstractions": "6.0.5", + "System.DirectoryServices.Protocols": "6.0.1" + }, + "runtime": { + "lib/net6.0/Microsoft.AspNetCore.Authentication.Negotiate.dll": { + "assemblyVersion": "6.0.5.0", + "fileVersion": "6.0.522.21802" + } + } + }, + "Microsoft.AspNetCore.Connections.Abstractions/6.0.5": { + "dependencies": { + "Microsoft.Extensions.Features": "6.0.5", + "System.IO.Pipelines": "6.0.3" + }, + "runtime": { + "lib/net6.0/Microsoft.AspNetCore.Connections.Abstractions.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.522.21802" + } + } + }, + "Microsoft.Bcl.AsyncInterfaces/1.0.0": { + "runtime": { + "lib/netstandard2.1/Microsoft.Bcl.AsyncInterfaces.dll": { + "assemblyVersion": "1.0.0.0", + "fileVersion": "4.700.19.46214" + } + } + }, + "Microsoft.CSharp/4.5.0": {}, + "Microsoft.Data.SqlClient/2.1.4": { + "dependencies": { + "Microsoft.Data.SqlClient.SNI.runtime": "2.1.1", + "Microsoft.Identity.Client": "4.21.1", + "Microsoft.IdentityModel.JsonWebTokens": "6.8.0", + "Microsoft.IdentityModel.Protocols.OpenIdConnect": "6.8.0", + "Microsoft.Win32.Registry": "4.7.0", + "System.Configuration.ConfigurationManager": "4.7.0", + "System.Diagnostics.DiagnosticSource": "6.0.0", + "System.Runtime.Caching": "4.7.0", + "System.Security.Principal.Windows": "4.7.0", + "System.Text.Encoding.CodePages": "4.7.0" + }, + "runtime": { + "lib/netcoreapp3.1/Microsoft.Data.SqlClient.dll": { + "assemblyVersion": "2.0.20168.4", + "fileVersion": "2.0.20168.4" + } + }, + "runtimeTargets": { + "runtimes/unix/lib/netcoreapp3.1/Microsoft.Data.SqlClient.dll": { + "rid": "unix", + "assetType": "runtime", + "assemblyVersion": "2.0.20168.4", + "fileVersion": "2.0.20168.4" + }, + "runtimes/win/lib/netcoreapp3.1/Microsoft.Data.SqlClient.dll": { + "rid": "win", + "assetType": "runtime", + "assemblyVersion": "2.0.20168.4", + "fileVersion": "2.0.20168.4" + } + } + }, + "Microsoft.Data.SqlClient.SNI.runtime/2.1.1": { + "runtimeTargets": { + "runtimes/win-arm/native/Microsoft.Data.SqlClient.SNI.dll": { + "rid": "win-arm", + "assetType": "native", + "fileVersion": "2.1.1.0" + }, + "runtimes/win-arm64/native/Microsoft.Data.SqlClient.SNI.dll": { + "rid": "win-arm64", + "assetType": "native", + "fileVersion": "2.1.1.0" + }, + "runtimes/win-x64/native/Microsoft.Data.SqlClient.SNI.dll": { + "rid": "win-x64", + "assetType": "native", + "fileVersion": "2.1.1.0" + }, + "runtimes/win-x86/native/Microsoft.Data.SqlClient.SNI.dll": { + "rid": "win-x86", + "assetType": "native", + "fileVersion": "2.1.1.0" + } + } + }, + "Microsoft.EntityFrameworkCore/6.0.5": { + "dependencies": { + "Microsoft.EntityFrameworkCore.Abstractions": "6.0.5", + "Microsoft.EntityFrameworkCore.Analyzers": "6.0.5", + "Microsoft.Extensions.Caching.Memory": "6.0.1", + "Microsoft.Extensions.DependencyInjection": "6.0.0", + "Microsoft.Extensions.Logging": "6.0.0", + "System.Collections.Immutable": "6.0.0", + "System.Diagnostics.DiagnosticSource": "6.0.0" + }, + "runtime": { + "lib/net6.0/Microsoft.EntityFrameworkCore.dll": { + "assemblyVersion": "6.0.5.0", + "fileVersion": "6.0.522.21804" + } + } + }, + "Microsoft.EntityFrameworkCore.Abstractions/6.0.5": { + "runtime": { + "lib/net6.0/Microsoft.EntityFrameworkCore.Abstractions.dll": { + "assemblyVersion": "6.0.5.0", + "fileVersion": "6.0.522.21804" + } + } + }, + "Microsoft.EntityFrameworkCore.Analyzers/6.0.5": {}, + "Microsoft.EntityFrameworkCore.Design/6.0.5": { + "dependencies": { + "Humanizer.Core": "2.8.26", + "Microsoft.EntityFrameworkCore.Relational": "6.0.5" + } + }, + "Microsoft.EntityFrameworkCore.Relational/6.0.5": { + "dependencies": { + "Microsoft.EntityFrameworkCore": "6.0.5", + "Microsoft.Extensions.Configuration.Abstractions": "6.0.0" + }, + "runtime": { + "lib/net6.0/Microsoft.EntityFrameworkCore.Relational.dll": { + "assemblyVersion": "6.0.5.0", + "fileVersion": "6.0.522.21804" + } + } + }, + "Microsoft.EntityFrameworkCore.SqlServer/6.0.5": { + "dependencies": { + "Microsoft.Data.SqlClient": "2.1.4", + "Microsoft.EntityFrameworkCore.Relational": "6.0.5" + }, + "runtime": { + "lib/net6.0/Microsoft.EntityFrameworkCore.SqlServer.dll": { + "assemblyVersion": "6.0.5.0", + "fileVersion": "6.0.522.21804" + } + } + }, + "Microsoft.EntityFrameworkCore.Tools/6.0.5": { + "dependencies": { + "Microsoft.EntityFrameworkCore.Design": "6.0.5" + } + }, + "Microsoft.Extensions.ApiDescription.Server/3.0.0": {}, + "Microsoft.Extensions.Caching.Abstractions/6.0.0": { + "dependencies": { + "Microsoft.Extensions.Primitives": "6.0.0" + } + }, + "Microsoft.Extensions.Caching.Memory/6.0.1": { + "dependencies": { + "Microsoft.Extensions.Caching.Abstractions": "6.0.0", + "Microsoft.Extensions.DependencyInjection.Abstractions": "6.0.0", + "Microsoft.Extensions.Logging.Abstractions": "6.0.0", + "Microsoft.Extensions.Options": "6.0.0", + "Microsoft.Extensions.Primitives": "6.0.0" + }, + "runtime": { + "lib/netstandard2.0/Microsoft.Extensions.Caching.Memory.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.222.6406" + } + } + }, + "Microsoft.Extensions.Configuration.Abstractions/6.0.0": { + "dependencies": { + "Microsoft.Extensions.Primitives": "6.0.0" + } + }, + "Microsoft.Extensions.DependencyInjection/6.0.0": { + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "6.0.0", + "System.Runtime.CompilerServices.Unsafe": "6.0.0" + } + }, + "Microsoft.Extensions.DependencyInjection.Abstractions/6.0.0": {}, + "Microsoft.Extensions.Features/6.0.5": { + "runtime": { + "lib/net6.0/Microsoft.Extensions.Features.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.522.21802" + } + } + }, + "Microsoft.Extensions.Logging/6.0.0": { + "dependencies": { + "Microsoft.Extensions.DependencyInjection": "6.0.0", + "Microsoft.Extensions.DependencyInjection.Abstractions": "6.0.0", + "Microsoft.Extensions.Logging.Abstractions": "6.0.0", + "Microsoft.Extensions.Options": "6.0.0", + "System.Diagnostics.DiagnosticSource": "6.0.0" + } + }, + "Microsoft.Extensions.Logging.Abstractions/6.0.0": {}, + "Microsoft.Extensions.Options/6.0.0": { + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "6.0.0", + "Microsoft.Extensions.Primitives": "6.0.0" + } + }, + "Microsoft.Extensions.Primitives/6.0.0": { + "dependencies": { + "System.Runtime.CompilerServices.Unsafe": "6.0.0" + } + }, + "Microsoft.Identity.Client/4.21.1": { + "runtime": { + "lib/netcoreapp2.1/Microsoft.Identity.Client.dll": { + "assemblyVersion": "4.21.1.0", + "fileVersion": "4.21.1.0" + } + } + }, + "Microsoft.IdentityModel.JsonWebTokens/6.8.0": { + "dependencies": { + "Microsoft.IdentityModel.Tokens": "6.8.0" + }, + "runtime": { + "lib/netstandard2.0/Microsoft.IdentityModel.JsonWebTokens.dll": { + "assemblyVersion": "6.8.0.0", + "fileVersion": "6.8.0.11012" + } + } + }, + "Microsoft.IdentityModel.Logging/6.8.0": { + "runtime": { + "lib/netstandard2.0/Microsoft.IdentityModel.Logging.dll": { + "assemblyVersion": "6.8.0.0", + "fileVersion": "6.8.0.11012" + } + } + }, + "Microsoft.IdentityModel.Protocols/6.8.0": { + "dependencies": { + "Microsoft.IdentityModel.Logging": "6.8.0", + "Microsoft.IdentityModel.Tokens": "6.8.0" + }, + "runtime": { + "lib/netstandard2.0/Microsoft.IdentityModel.Protocols.dll": { + "assemblyVersion": "6.8.0.0", + "fileVersion": "6.8.0.11012" + } + } + }, + "Microsoft.IdentityModel.Protocols.OpenIdConnect/6.8.0": { + "dependencies": { + "Microsoft.IdentityModel.Protocols": "6.8.0", + "System.IdentityModel.Tokens.Jwt": "6.8.0" + }, + "runtime": { + "lib/netstandard2.0/Microsoft.IdentityModel.Protocols.OpenIdConnect.dll": { + "assemblyVersion": "6.8.0.0", + "fileVersion": "6.8.0.11012" + } + } + }, + "Microsoft.IdentityModel.Tokens/6.8.0": { + "dependencies": { + "Microsoft.CSharp": "4.5.0", + "Microsoft.IdentityModel.Logging": "6.8.0", + "System.Security.Cryptography.Cng": "4.5.0" + }, + "runtime": { + "lib/netstandard2.0/Microsoft.IdentityModel.Tokens.dll": { + "assemblyVersion": "6.8.0.0", + "fileVersion": "6.8.0.11012" + } + } + }, + "Microsoft.NETCore.Platforms/3.1.0": {}, + "Microsoft.OpenApi/1.2.3": { + "runtime": { + "lib/netstandard2.0/Microsoft.OpenApi.dll": { + "assemblyVersion": "1.2.3.0", + "fileVersion": "1.2.3.0" + } + } + }, + "Microsoft.Web.Infrastructure/1.0.0": { + "runtime": { + "lib/net40/Microsoft.Web.Infrastructure.dll": { + "assemblyVersion": "1.0.0.0", + "fileVersion": "1.0.20105.407" + } + } + }, + "Microsoft.Win32.Registry/4.7.0": { + "dependencies": { + "System.Security.AccessControl": "4.7.0", + "System.Security.Principal.Windows": "4.7.0" + } + }, + "Microsoft.Win32.SystemEvents/4.7.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "3.1.0" + }, + "runtime": { + "lib/netstandard2.0/Microsoft.Win32.SystemEvents.dll": { + "assemblyVersion": "4.0.2.0", + "fileVersion": "4.700.19.56404" + } + }, + "runtimeTargets": { + "runtimes/win/lib/netcoreapp3.0/Microsoft.Win32.SystemEvents.dll": { + "rid": "win", + "assetType": "runtime", + "assemblyVersion": "4.0.2.0", + "fileVersion": "4.700.19.56404" + } + } + }, + "Newtonsoft.Json/13.0.3": { + "runtime": { + "lib/net6.0/Newtonsoft.Json.dll": { + "assemblyVersion": "13.0.0.0", + "fileVersion": "13.0.3.27908" + } + } + }, + "SSH.NET/2020.0.2": { + "dependencies": { + "SshNet.Security.Cryptography": "1.3.0" + }, + "runtime": { + "lib/netstandard2.0/Renci.SshNet.dll": { + "assemblyVersion": "2020.0.2.0", + "fileVersion": "2020.0.2.0" + } + } + }, + "SshNet.Security.Cryptography/1.3.0": { + "runtime": { + "lib/netstandard2.0/SshNet.Security.Cryptography.dll": { + "assemblyVersion": "1.3.0.0", + "fileVersion": "1.3.0.0" + } + } + }, + "Swashbuckle.AspNetCore/6.3.1": { + "dependencies": { + "Microsoft.Extensions.ApiDescription.Server": "3.0.0", + "Swashbuckle.AspNetCore.Swagger": "6.3.1", + "Swashbuckle.AspNetCore.SwaggerGen": "6.3.1", + "Swashbuckle.AspNetCore.SwaggerUI": "6.3.1" + } + }, + "Swashbuckle.AspNetCore.Swagger/6.3.1": { + "dependencies": { + "Microsoft.OpenApi": "1.2.3" + }, + "runtime": { + "lib/net6.0/Swashbuckle.AspNetCore.Swagger.dll": { + "assemblyVersion": "6.3.1.0", + "fileVersion": "6.3.1.0" + } + } + }, + "Swashbuckle.AspNetCore.SwaggerGen/6.3.1": { + "dependencies": { + "Swashbuckle.AspNetCore.Swagger": "6.3.1" + }, + "runtime": { + "lib/net6.0/Swashbuckle.AspNetCore.SwaggerGen.dll": { + "assemblyVersion": "6.3.1.0", + "fileVersion": "6.3.1.0" + } + } + }, + "Swashbuckle.AspNetCore.SwaggerUI/6.3.1": { + "runtime": { + "lib/net6.0/Swashbuckle.AspNetCore.SwaggerUI.dll": { + "assemblyVersion": "6.3.1.0", + "fileVersion": "6.3.1.0" + } + } + }, + "System.Collections.Immutable/6.0.0": { + "dependencies": { + "System.Runtime.CompilerServices.Unsafe": "6.0.0" + } + }, + "System.Configuration.ConfigurationManager/4.7.0": { + "dependencies": { + "System.Security.Cryptography.ProtectedData": "4.7.0", + "System.Security.Permissions": "4.7.0" + }, + "runtime": { + "lib/netstandard2.0/System.Configuration.ConfigurationManager.dll": { + "assemblyVersion": "4.0.3.0", + "fileVersion": "4.700.19.56404" + } + } + }, + "System.Diagnostics.DiagnosticSource/6.0.0": { + "dependencies": { + "System.Runtime.CompilerServices.Unsafe": "6.0.0" + } + }, + "System.DirectoryServices.Protocols/6.0.1": { + "runtime": { + "lib/net6.0/System.DirectoryServices.Protocols.dll": { + "assemblyVersion": "6.0.0.1", + "fileVersion": "6.0.222.6406" + } + }, + "runtimeTargets": { + "runtimes/linux/lib/net6.0/System.DirectoryServices.Protocols.dll": { + "rid": "linux", + "assetType": "runtime", + "assemblyVersion": "6.0.0.1", + "fileVersion": "6.0.222.6406" + }, + "runtimes/osx/lib/net6.0/System.DirectoryServices.Protocols.dll": { + "rid": "osx", + "assetType": "runtime", + "assemblyVersion": "6.0.0.1", + "fileVersion": "6.0.222.6406" + }, + "runtimes/win/lib/net6.0/System.DirectoryServices.Protocols.dll": { + "rid": "win", + "assetType": "runtime", + "assemblyVersion": "6.0.0.1", + "fileVersion": "6.0.222.6406" + } + } + }, + "System.Drawing.Common/4.7.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "3.1.0", + "Microsoft.Win32.SystemEvents": "4.7.0" + }, + "runtime": { + "lib/netstandard2.0/System.Drawing.Common.dll": { + "assemblyVersion": "4.0.0.1", + "fileVersion": "4.6.26919.2" + } + }, + "runtimeTargets": { + "runtimes/unix/lib/netcoreapp3.0/System.Drawing.Common.dll": { + "rid": "unix", + "assetType": "runtime", + "assemblyVersion": "4.0.2.0", + "fileVersion": "4.700.19.56404" + }, + "runtimes/win/lib/netcoreapp3.0/System.Drawing.Common.dll": { + "rid": "win", + "assetType": "runtime", + "assemblyVersion": "4.0.2.0", + "fileVersion": "4.700.19.56404" + } + } + }, + "System.IdentityModel.Tokens.Jwt/6.8.0": { + "dependencies": { + "Microsoft.IdentityModel.JsonWebTokens": "6.8.0", + "Microsoft.IdentityModel.Tokens": "6.8.0" + }, + "runtime": { + "lib/netstandard2.0/System.IdentityModel.Tokens.Jwt.dll": { + "assemblyVersion": "6.8.0.0", + "fileVersion": "6.8.0.11012" + } + } + }, + "System.IO.Pipelines/6.0.3": { + "runtime": { + "lib/net6.0/System.IO.Pipelines.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.522.21309" + } + } + }, + "System.Runtime.Caching/4.7.0": { + "dependencies": { + "System.Configuration.ConfigurationManager": "4.7.0" + }, + "runtime": { + "lib/netstandard2.0/System.Runtime.Caching.dll": { + "assemblyVersion": "4.0.1.0", + "fileVersion": "4.700.19.56404" + } + }, + "runtimeTargets": { + "runtimes/win/lib/netstandard2.0/System.Runtime.Caching.dll": { + "rid": "win", + "assetType": "runtime", + "assemblyVersion": "4.0.1.0", + "fileVersion": "4.700.19.56404" + } + } + }, + "System.Runtime.CompilerServices.Unsafe/6.0.0": {}, + "System.Security.AccessControl/4.7.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "3.1.0", + "System.Security.Principal.Windows": "4.7.0" + } + }, + "System.Security.Cryptography.Cng/4.5.0": {}, + "System.Security.Cryptography.ProtectedData/4.7.0": { + "runtime": { + "lib/netstandard2.0/System.Security.Cryptography.ProtectedData.dll": { + "assemblyVersion": "4.0.5.0", + "fileVersion": "4.700.19.56404" + } + }, + "runtimeTargets": { + "runtimes/win/lib/netstandard2.0/System.Security.Cryptography.ProtectedData.dll": { + "rid": "win", + "assetType": "runtime", + "assemblyVersion": "4.0.5.0", + "fileVersion": "4.700.19.56404" + } + } + }, + "System.Security.Permissions/4.7.0": { + "dependencies": { + "System.Security.AccessControl": "4.7.0", + "System.Windows.Extensions": "4.7.0" + }, + "runtime": { + "lib/netcoreapp3.0/System.Security.Permissions.dll": { + "assemblyVersion": "4.0.3.0", + "fileVersion": "4.700.19.56404" + } + } + }, + "System.Security.Principal.Windows/4.7.0": {}, + "System.Text.Encoding.CodePages/4.7.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "3.1.0" + } + }, + "System.Windows.Extensions/4.7.0": { + "dependencies": { + "System.Drawing.Common": "4.7.0" + }, + "runtime": { + "lib/netcoreapp3.0/System.Windows.Extensions.dll": { + "assemblyVersion": "4.0.1.0", + "fileVersion": "4.700.19.56404" + } + }, + "runtimeTargets": { + "runtimes/win/lib/netcoreapp3.0/System.Windows.Extensions.dll": { + "rid": "win", + "assetType": "runtime", + "assemblyVersion": "4.0.1.0", + "fileVersion": "4.700.19.56404" + } + } + } + } + }, + "libraries": { + "ApiPolo/1.0.0": { + "type": "project", + "serviceable": false, + "sha512": "" + }, + "Cronos/0.7.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-aa2DY3qGBnwX7/jW4c17PyRlIeAtc5nYTlAPekc0113jcbBuz9vQkQaQ9NG+TNGlAj4esFxh8OuKUv4vmAODbw==", + "path": "cronos/0.7.1", + "hashPath": "cronos.0.7.1.nupkg.sha512" + }, + "FirebaseAdmin/2.3.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-ror9V68bFWdr3VXoCPQrAAJ1ZA8dyLzIHJvy53BmoD83Ze9VuWC9hPBicPqqOANP3VTMWnylC7xci59UEMuU4A==", + "path": "firebaseadmin/2.3.0", + "hashPath": "firebaseadmin.2.3.0.nupkg.sha512" + }, + "Google.Api.Gax/3.2.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-0OjahFAHTOoprSgvJiQ6/fIQLrUYU4QIFgkuJ51/lcmhZbuXxB3ycPk3JTVEvx6A5yQBL14wgmHgwXLcEsnu3Q==", + "path": "google.api.gax/3.2.0", + "hashPath": "google.api.gax.3.2.0.nupkg.sha512" + }, + "Google.Api.Gax.Rest/3.2.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-YY4mD0nGxTx1uez7Perm+zAd3FH50dd3+7HTYsRFCywDEtj3RkrMjcAmw6mNpKkw2sRICu7aYNy1mgMjd3nVbw==", + "path": "google.api.gax.rest/3.2.0", + "hashPath": "google.api.gax.rest.3.2.0.nupkg.sha512" + }, + "Google.Apis/1.49.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-fmXQQTxZFOBlnvokvdQMzq0Lt+g2QzpZ4H6U8lMMFHgAR8ZqxQnPN5yHDpoHf7a++hJHb5W3pALxauGsq+afKQ==", + "path": "google.apis/1.49.0", + "hashPath": "google.apis.1.49.0.nupkg.sha512" + }, + "Google.Apis.Auth/1.49.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-3V9ohvixQtjaEvk7T9Ac7E/KvwEPa7eL4aMNreJDI0CEPzCdQdk2zCvaJPRrNIjhe+UuBeOeom1oAOMFB74JHg==", + "path": "google.apis.auth/1.49.0", + "hashPath": "google.apis.auth.1.49.0.nupkg.sha512" + }, + "Google.Apis.Core/1.49.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-9DgGdtyzgrCfHWwc/HiDXDbykNMeKQozbEHYEUEcezRuH+YR3fvq7YGVBDmUM8g6qEL3kDk6h5EU4h0IJwue1w==", + "path": "google.apis.core/1.49.0", + "hashPath": "google.apis.core.1.49.0.nupkg.sha512" + }, + "Humanizer.Core/2.8.26": { + "type": "package", + "serviceable": true, + "sha512": "sha512-OiKusGL20vby4uDEswj2IgkdchC1yQ6rwbIkZDVBPIR6al2b7n3pC91elBul9q33KaBgRKhbZH3+2Ur4fnWx2A==", + "path": "humanizer.core/2.8.26", + "hashPath": "humanizer.core.2.8.26.nupkg.sha512" + }, + "Microsoft.AspNet.Mvc/5.2.9": { + "type": "package", + "serviceable": true, + "sha512": "sha512-bcekKshCAh7kTWSMZPavQStSZQF/QmjEjO2gVWGITEd0/t5eRlb+ZLDE+az2qY1bZ8L6Hz0OCNeS0uzXtJcK5w==", + "path": "microsoft.aspnet.mvc/5.2.9", + "hashPath": "microsoft.aspnet.mvc.5.2.9.nupkg.sha512" + }, + "Microsoft.AspNet.Razor/3.2.9": { + "type": "package", + "serviceable": true, + "sha512": "sha512-QOJEnEw3xp+t5lMvYR5nGCF4CfZpHqr2p8uZOBEgDZoB6r2txtSj6581YNr+/dOHjI3YRlo1QAKGQoSohbQ/KA==", + "path": "microsoft.aspnet.razor/3.2.9", + "hashPath": "microsoft.aspnet.razor.3.2.9.nupkg.sha512" + }, + "Microsoft.AspNet.WebPages/3.2.9": { + "type": "package", + "serviceable": true, + "sha512": "sha512-yByb721lwv8YFsx1oKA5CLKXa89XVbVMkPafS4bg/bPelBEgChq/coFBQEkA4kwcabG7AR56w3vapnoZUfr2Cw==", + "path": "microsoft.aspnet.webpages/3.2.9", + "hashPath": "microsoft.aspnet.webpages.3.2.9.nupkg.sha512" + }, + "Microsoft.AspNetCore.Authentication.Negotiate/6.0.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-ZgKdA5VnmZSdpuyS9f4Myn2ybSYPyhOGWvZ63Z+ys0z9WcHGx6jyN4IjK8ORTdkhc7dOYxsMF/v/K+CGtvCbUA==", + "path": "microsoft.aspnetcore.authentication.negotiate/6.0.5", + "hashPath": "microsoft.aspnetcore.authentication.negotiate.6.0.5.nupkg.sha512" + }, + "Microsoft.AspNetCore.Connections.Abstractions/6.0.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-OBbGvih5/CLHTbJVDiJ203TmKXCx8z539O2YGnfHmExbNtMwyQ9rgpqoxyYEVvQrVsqxRhXfh57DOCQYhxcOBQ==", + "path": "microsoft.aspnetcore.connections.abstractions/6.0.5", + "hashPath": "microsoft.aspnetcore.connections.abstractions.6.0.5.nupkg.sha512" + }, + "Microsoft.Bcl.AsyncInterfaces/1.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-K63Y4hORbBcKLWH5wnKgzyn7TOfYzevIEwIedQHBIkmkEBA9SCqgvom+XTuE+fAFGvINGkhFItaZ2dvMGdT5iw==", + "path": "microsoft.bcl.asyncinterfaces/1.0.0", + "hashPath": "microsoft.bcl.asyncinterfaces.1.0.0.nupkg.sha512" + }, + "Microsoft.CSharp/4.5.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-kaj6Wb4qoMuH3HySFJhxwQfe8R/sJsNJnANrvv8WdFPMoNbKY5htfNscv+LHCu5ipz+49m2e+WQXpLXr9XYemQ==", + "path": "microsoft.csharp/4.5.0", + "hashPath": "microsoft.csharp.4.5.0.nupkg.sha512" + }, + "Microsoft.Data.SqlClient/2.1.4": { + "type": "package", + "serviceable": true, + "sha512": "sha512-cDcKBTKILdRuAzJjbgXwGcUQXzMue+SG02kD4tZTXXfoz4ALrGLpCnA5k9khw3fnAMlMnRzLIGuvRdJurqmESA==", + "path": "microsoft.data.sqlclient/2.1.4", + "hashPath": "microsoft.data.sqlclient.2.1.4.nupkg.sha512" + }, + "Microsoft.Data.SqlClient.SNI.runtime/2.1.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-JwGDWkyZgm7SATJmFLfT2G4teimvNbNtq3lsS9a5DzvhEZnQrZjZhevCU0vdx8MjheLHoG5vocuO03QtioFQxQ==", + "path": "microsoft.data.sqlclient.sni.runtime/2.1.1", + "hashPath": "microsoft.data.sqlclient.sni.runtime.2.1.1.nupkg.sha512" + }, + "Microsoft.EntityFrameworkCore/6.0.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-hP5J3EvpVdZmCn1D3ovedphvZrIn3OXZaBZfEnCkSCqqbqAu6xzwbNqwRkik0y4R6zOOf4eLh1riwjy4eAUlZA==", + "path": "microsoft.entityframeworkcore/6.0.5", + "hashPath": "microsoft.entityframeworkcore.6.0.5.nupkg.sha512" + }, + "Microsoft.EntityFrameworkCore.Abstractions/6.0.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-Q3/fKW6XCTfnDk4fYP2BJZi84cD2SuCPkP3A3QqxvCQcXbX90bfSLzVIsoMXzigHGJgZUJ+Un7QodT5Nvk0+Eg==", + "path": "microsoft.entityframeworkcore.abstractions/6.0.5", + "hashPath": "microsoft.entityframeworkcore.abstractions.6.0.5.nupkg.sha512" + }, + "Microsoft.EntityFrameworkCore.Analyzers/6.0.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-QUeDIhs+O+MoDEc3k60mNyVDbwyDURCqZQlZoKShuZUcSfXSrDMbHKuFSxBIDNQBt092qSjfnwf7w0Ua/IB3Zw==", + "path": "microsoft.entityframeworkcore.analyzers/6.0.5", + "hashPath": "microsoft.entityframeworkcore.analyzers.6.0.5.nupkg.sha512" + }, + "Microsoft.EntityFrameworkCore.Design/6.0.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-zNjMWJ6MJ/Qm7S6wFBqVgn7DEpilbDMy0xgA7c4Y1yY9/LoaC2pWwWO4ePaYoPCZpLx/eTViWEr5ZXta/vK//Q==", + "path": "microsoft.entityframeworkcore.design/6.0.5", + "hashPath": "microsoft.entityframeworkcore.design.6.0.5.nupkg.sha512" + }, + "Microsoft.EntityFrameworkCore.Relational/6.0.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-vhAQizlAgvPfurkh9XysNaFc/g3WPXtSka3Y1rXuQdnT//p16CDKt9lO9h+rYmooD+cA7TijSxwqck4GApDT/Q==", + "path": "microsoft.entityframeworkcore.relational/6.0.5", + "hashPath": "microsoft.entityframeworkcore.relational.6.0.5.nupkg.sha512" + }, + "Microsoft.EntityFrameworkCore.SqlServer/6.0.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-fBBG1AvrqPSvTEWyg9W18F/obiV7Soi/RItwBt48kjte1heRaogCsKj8KBnJQACM/8L+NAhyKp3BH12nN7+yDA==", + "path": "microsoft.entityframeworkcore.sqlserver/6.0.5", + "hashPath": "microsoft.entityframeworkcore.sqlserver.6.0.5.nupkg.sha512" + }, + "Microsoft.EntityFrameworkCore.Tools/6.0.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-aeCzVNLmDl9IfB19WAjrlKcG61Cl4/ZV/9ubifmifKEps+kvMkKIcams5j+8q6dtx9/UL2x3tbOz2BS3eU0sXQ==", + "path": "microsoft.entityframeworkcore.tools/6.0.5", + "hashPath": "microsoft.entityframeworkcore.tools.6.0.5.nupkg.sha512" + }, + "Microsoft.Extensions.ApiDescription.Server/3.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-LH4OE/76F6sOCslif7+Xh3fS/wUUrE5ryeXAMcoCnuwOQGT5Smw0p57IgDh/pHgHaGz/e+AmEQb7pRgb++wt0w==", + "path": "microsoft.extensions.apidescription.server/3.0.0", + "hashPath": "microsoft.extensions.apidescription.server.3.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.Caching.Abstractions/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-bcz5sSFJbganH0+YrfvIjJDIcKNW7TL07C4d1eTmXy/wOt52iz4LVogJb6pazs7W0+74j0YpXFErvp++Aq5Bsw==", + "path": "microsoft.extensions.caching.abstractions/6.0.0", + "hashPath": "microsoft.extensions.caching.abstractions.6.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.Caching.Memory/6.0.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-B4y+Cev05eMcjf1na0v9gza6GUtahXbtY1JCypIgx3B4Ea/KAgsWyXEmW4q6zMbmTMtKzmPVk09rvFJirvMwTg==", + "path": "microsoft.extensions.caching.memory/6.0.1", + "hashPath": "microsoft.extensions.caching.memory.6.0.1.nupkg.sha512" + }, + "Microsoft.Extensions.Configuration.Abstractions/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-qWzV9o+ZRWq+pGm+1dF+R7qTgTYoXvbyowRoBxQJGfqTpqDun2eteerjRQhq5PQ/14S+lqto3Ft4gYaRyl4rdQ==", + "path": "microsoft.extensions.configuration.abstractions/6.0.0", + "hashPath": "microsoft.extensions.configuration.abstractions.6.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.DependencyInjection/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-k6PWQMuoBDGGHOQTtyois2u4AwyVcIwL2LaSLlTZQm2CYcJ1pxbt6jfAnpWmzENA/wfrYRI/X9DTLoUkE4AsLw==", + "path": "microsoft.extensions.dependencyinjection/6.0.0", + "hashPath": "microsoft.extensions.dependencyinjection.6.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.DependencyInjection.Abstractions/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-xlzi2IYREJH3/m6+lUrQlujzX8wDitm4QGnUu6kUXTQAWPuZY8i+ticFJbzfqaetLA6KR/rO6Ew/HuYD+bxifg==", + "path": "microsoft.extensions.dependencyinjection.abstractions/6.0.0", + "hashPath": "microsoft.extensions.dependencyinjection.abstractions.6.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.Features/6.0.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-y7KLF1jRFQjSttfoilwHU86cU9ZgxN4ABfQR8tQ9qEC5AzTGYIX+K5RDwGFVK320eTiBwWuutV24ecmxBxo7Eg==", + "path": "microsoft.extensions.features/6.0.5", + "hashPath": "microsoft.extensions.features.6.0.5.nupkg.sha512" + }, + "Microsoft.Extensions.Logging/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-eIbyj40QDg1NDz0HBW0S5f3wrLVnKWnDJ/JtZ+yJDFnDj90VoPuoPmFkeaXrtu+0cKm5GRAwoDf+dBWXK0TUdg==", + "path": "microsoft.extensions.logging/6.0.0", + "hashPath": "microsoft.extensions.logging.6.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.Logging.Abstractions/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-/HggWBbTwy8TgebGSX5DBZ24ndhzi93sHUBDvP1IxbZD7FDokYzdAr6+vbWGjw2XAfR2EJ1sfKUotpjHnFWPxA==", + "path": "microsoft.extensions.logging.abstractions/6.0.0", + "hashPath": "microsoft.extensions.logging.abstractions.6.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.Options/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-dzXN0+V1AyjOe2xcJ86Qbo233KHuLEY0njf/P2Kw8SfJU+d45HNS2ctJdnEnrWbM9Ye2eFgaC5Mj9otRMU6IsQ==", + "path": "microsoft.extensions.options/6.0.0", + "hashPath": "microsoft.extensions.options.6.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.Primitives/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-9+PnzmQFfEFNR9J2aDTfJGGupShHjOuGw4VUv+JB044biSHrnmCIMD+mJHmb2H7YryrfBEXDurxQ47gJZdCKNQ==", + "path": "microsoft.extensions.primitives/6.0.0", + "hashPath": "microsoft.extensions.primitives.6.0.0.nupkg.sha512" + }, + "Microsoft.Identity.Client/4.21.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-vycgk7S/HAbHaUaK4Tid1fsWHsXdFRRP2KavAIOHCVV27zvuQfYAjXmMvctuuF4egydSumG58CwPZob3gWeYgQ==", + "path": "microsoft.identity.client/4.21.1", + "hashPath": "microsoft.identity.client.4.21.1.nupkg.sha512" + }, + "Microsoft.IdentityModel.JsonWebTokens/6.8.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-+7JIww64PkMt7NWFxoe4Y/joeF7TAtA/fQ0b2GFGcagzB59sKkTt/sMZWR6aSZht5YC7SdHi3W6yM1yylRGJCQ==", + "path": "microsoft.identitymodel.jsonwebtokens/6.8.0", + "hashPath": "microsoft.identitymodel.jsonwebtokens.6.8.0.nupkg.sha512" + }, + "Microsoft.IdentityModel.Logging/6.8.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-Rfh/p4MaN4gkmhPxwbu8IjrmoDncGfHHPh1sTnc0AcM/Oc39/fzC9doKNWvUAjzFb8LqA6lgZyblTrIsX/wDXg==", + "path": "microsoft.identitymodel.logging/6.8.0", + "hashPath": "microsoft.identitymodel.logging.6.8.0.nupkg.sha512" + }, + "Microsoft.IdentityModel.Protocols/6.8.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-OJZx5nPdiH+MEkwCkbJrTAUiO/YzLe0VSswNlDxJsJD9bhOIdXHufh650pfm59YH1DNevp3/bXzukKrG57gA1w==", + "path": "microsoft.identitymodel.protocols/6.8.0", + "hashPath": "microsoft.identitymodel.protocols.6.8.0.nupkg.sha512" + }, + "Microsoft.IdentityModel.Protocols.OpenIdConnect/6.8.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-X/PiV5l3nYYsodtrNMrNQIVlDmHpjQQ5w48E+o/D5H4es2+4niEyQf3l03chvZGWNzBRhfSstaXr25/Ye4AeYw==", + "path": "microsoft.identitymodel.protocols.openidconnect/6.8.0", + "hashPath": "microsoft.identitymodel.protocols.openidconnect.6.8.0.nupkg.sha512" + }, + "Microsoft.IdentityModel.Tokens/6.8.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-gTqzsGcmD13HgtNePPcuVHZ/NXWmyV+InJgalW/FhWpII1D7V1k0obIseGlWMeA4G+tZfeGMfXr0klnWbMR/mQ==", + "path": "microsoft.identitymodel.tokens/6.8.0", + "hashPath": "microsoft.identitymodel.tokens.6.8.0.nupkg.sha512" + }, + "Microsoft.NETCore.Platforms/3.1.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-z7aeg8oHln2CuNulfhiLYxCVMPEwBl3rzicjvIX+4sUuCwvXw5oXQEtbiU2c0z4qYL5L3Kmx0mMA/+t/SbY67w==", + "path": "microsoft.netcore.platforms/3.1.0", + "hashPath": "microsoft.netcore.platforms.3.1.0.nupkg.sha512" + }, + "Microsoft.OpenApi/1.2.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-Nug3rO+7Kl5/SBAadzSMAVgqDlfGjJZ0GenQrLywJ84XGKO0uRqkunz5Wyl0SDwcR71bAATXvSdbdzPrYRYKGw==", + "path": "microsoft.openapi/1.2.3", + "hashPath": "microsoft.openapi.1.2.3.nupkg.sha512" + }, + "Microsoft.Web.Infrastructure/1.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-FNmvLn5m2LTU/Rs2KWVo0SIIh9Ek+U0ojex7xeDaSHw/zgEP77A8vY5cVWgUtBGS8MJfDGNn8rpXJWEIQaPwTg==", + "path": "microsoft.web.infrastructure/1.0.0", + "hashPath": "microsoft.web.infrastructure.1.0.0.nupkg.sha512" + }, + "Microsoft.Win32.Registry/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-KSrRMb5vNi0CWSGG1++id2ZOs/1QhRqROt+qgbEAdQuGjGrFcl4AOl4/exGPUYz2wUnU42nvJqon1T3U0kPXLA==", + "path": "microsoft.win32.registry/4.7.0", + "hashPath": "microsoft.win32.registry.4.7.0.nupkg.sha512" + }, + "Microsoft.Win32.SystemEvents/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-mtVirZr++rq+XCDITMUdnETD59XoeMxSpLRIII7JRI6Yj0LEDiO1pPn0ktlnIj12Ix8bfvQqQDMMIF9wC98oCA==", + "path": "microsoft.win32.systemevents/4.7.0", + "hashPath": "microsoft.win32.systemevents.4.7.0.nupkg.sha512" + }, + "Newtonsoft.Json/13.0.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-HrC5BXdl00IP9zeV+0Z848QWPAoCr9P3bDEZguI+gkLcBKAOxix/tLEAAHC+UvDNPv4a2d18lOReHMOagPa+zQ==", + "path": "newtonsoft.json/13.0.3", + "hashPath": "newtonsoft.json.13.0.3.nupkg.sha512" + }, + "SSH.NET/2020.0.2": { + "type": "package", + "serviceable": true, + "sha512": "sha512-G0dNlTBAM00KZXv1wWVwgg26d9/METcM6qWBpNQwllzQmmbu+Zu+FS1L1X4fFgGdPu3e8k9mmTBu6SwtQ0614g==", + "path": "ssh.net/2020.0.2", + "hashPath": "ssh.net.2020.0.2.nupkg.sha512" + }, + "SshNet.Security.Cryptography/1.3.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-5pBIXRjcSO/amY8WztpmNOhaaCNHY/B6CcYDI7FSTgqSyo/ZUojlLiKcsl+YGbxQuLX439qIkMfP0PHqxqJi/Q==", + "path": "sshnet.security.cryptography/1.3.0", + "hashPath": "sshnet.security.cryptography.1.3.0.nupkg.sha512" + }, + "Swashbuckle.AspNetCore/6.3.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-JFk0+HHUPdjYuPhkpGBMLi2JtnEuWkE2pp0yXQp64DmeMe+Fb0hZyVNq/ENJ2vQNso7Zg+C758WmR/xyAl36bA==", + "path": "swashbuckle.aspnetcore/6.3.1", + "hashPath": "swashbuckle.aspnetcore.6.3.1.nupkg.sha512" + }, + "Swashbuckle.AspNetCore.Swagger/6.3.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-idAFh4xhyJHYHfdLVOOn+BmscBul1OQbWsnL6YPJE8tO/0y6S79hDCvs6OY5VI093/9+1pYY3j31Zet9yaDZjA==", + "path": "swashbuckle.aspnetcore.swagger/6.3.1", + "hashPath": "swashbuckle.aspnetcore.swagger.6.3.1.nupkg.sha512" + }, + "Swashbuckle.AspNetCore.SwaggerGen/6.3.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-+uoBV4h/6NhCPLoTofSmuOnZ+usu4PW1jP6l4OHwPyu2frbYXGNpJsHs5uUXXn929OiVQkT8wo3Lj/o+P99Ejg==", + "path": "swashbuckle.aspnetcore.swaggergen/6.3.1", + "hashPath": "swashbuckle.aspnetcore.swaggergen.6.3.1.nupkg.sha512" + }, + "Swashbuckle.AspNetCore.SwaggerUI/6.3.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-JLm9hN67jh7RHsX3H30+tb432Li8xm/qV5lRyMMkyHYMfWitIuKAAdrpo2ILcHOIeH7CLMuOO2hp/iLBmE+Bkw==", + "path": "swashbuckle.aspnetcore.swaggerui/6.3.1", + "hashPath": "swashbuckle.aspnetcore.swaggerui.6.3.1.nupkg.sha512" + }, + "System.Collections.Immutable/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-l4zZJ1WU2hqpQQHXz1rvC3etVZN+2DLmQMO79FhOTZHMn8tDRr+WU287sbomD0BETlmKDn0ygUgVy9k5xkkJdA==", + "path": "system.collections.immutable/6.0.0", + "hashPath": "system.collections.immutable.6.0.0.nupkg.sha512" + }, + "System.Configuration.ConfigurationManager/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-/anOTeSZCNNI2zDilogWrZ8pNqCmYbzGNexUnNhjW8k0sHqEZ2nHJBp147jBV3hGYswu5lINpNg1vxR7bnqvVA==", + "path": "system.configuration.configurationmanager/4.7.0", + "hashPath": "system.configuration.configurationmanager.4.7.0.nupkg.sha512" + }, + "System.Diagnostics.DiagnosticSource/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-frQDfv0rl209cKm1lnwTgFPzNigy2EKk1BS3uAvHvlBVKe5cymGyHO+Sj+NLv5VF/AhHsqPIUUwya5oV4CHMUw==", + "path": "system.diagnostics.diagnosticsource/6.0.0", + "hashPath": "system.diagnostics.diagnosticsource.6.0.0.nupkg.sha512" + }, + "System.DirectoryServices.Protocols/6.0.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-ndUZlEkAMc1XzM0xGN++SsJrNhRkIHaKI8+te325vrUgoLT1ufWNI6KB8FFrL7NpRMHPrdxP99aF3fHbAPxW0A==", + "path": "system.directoryservices.protocols/6.0.1", + "hashPath": "system.directoryservices.protocols.6.0.1.nupkg.sha512" + }, + "System.Drawing.Common/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-v+XbyYHaZjDfn0ENmJEV1VYLgGgCTx1gnfOBcppowbpOAriglYgGCvFCPr2EEZyBvXlpxbEsTwkOlInl107ahA==", + "path": "system.drawing.common/4.7.0", + "hashPath": "system.drawing.common.4.7.0.nupkg.sha512" + }, + "System.IdentityModel.Tokens.Jwt/6.8.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-5tBCjAub2Bhd5qmcd0WhR5s354e4oLYa//kOWrkX+6/7ZbDDJjMTfwLSOiZ/MMpWdE4DWPLOfTLOq/juj9CKzA==", + "path": "system.identitymodel.tokens.jwt/6.8.0", + "hashPath": "system.identitymodel.tokens.jwt.6.8.0.nupkg.sha512" + }, + "System.IO.Pipelines/6.0.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-ryTgF+iFkpGZY1vRQhfCzX0xTdlV3pyaTTqRu2ETbEv+HlV7O6y7hyQURnghNIXvctl5DuZ//Dpks6HdL/Txgw==", + "path": "system.io.pipelines/6.0.3", + "hashPath": "system.io.pipelines.6.0.3.nupkg.sha512" + }, + "System.Runtime.Caching/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-NdvNRjTPxYvIEhXQszT9L9vJhdQoX6AQ0AlhjTU+5NqFQVuacJTfhPVAvtGWNA2OJCqRiR/okBcZgMwI6MqcZg==", + "path": "system.runtime.caching/4.7.0", + "hashPath": "system.runtime.caching.4.7.0.nupkg.sha512" + }, + "System.Runtime.CompilerServices.Unsafe/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==", + "path": "system.runtime.compilerservices.unsafe/6.0.0", + "hashPath": "system.runtime.compilerservices.unsafe.6.0.0.nupkg.sha512" + }, + "System.Security.AccessControl/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-JECvTt5aFF3WT3gHpfofL2MNNP6v84sxtXxpqhLBCcDRzqsPBmHhQ6shv4DwwN2tRlzsUxtb3G9M3763rbXKDg==", + "path": "system.security.accesscontrol/4.7.0", + "hashPath": "system.security.accesscontrol.4.7.0.nupkg.sha512" + }, + "System.Security.Cryptography.Cng/4.5.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-WG3r7EyjUe9CMPFSs6bty5doUqT+q9pbI80hlNzo2SkPkZ4VTuZkGWjpp77JB8+uaL4DFPRdBsAY+DX3dBK92A==", + "path": "system.security.cryptography.cng/4.5.0", + "hashPath": "system.security.cryptography.cng.4.5.0.nupkg.sha512" + }, + "System.Security.Cryptography.ProtectedData/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-ehYW0m9ptxpGWvE4zgqongBVWpSDU/JCFD4K7krxkQwSz/sFQjEXCUqpvencjy6DYDbn7Ig09R8GFffu8TtneQ==", + "path": "system.security.cryptography.protecteddata/4.7.0", + "hashPath": "system.security.cryptography.protecteddata.4.7.0.nupkg.sha512" + }, + "System.Security.Permissions/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-dkOV6YYVBnYRa15/yv004eCGRBVADXw8qRbbNiCn/XpdJSUXkkUeIvdvFHkvnko4CdKMqG8yRHC4ox83LSlMsQ==", + "path": "system.security.permissions/4.7.0", + "hashPath": "system.security.permissions.4.7.0.nupkg.sha512" + }, + "System.Security.Principal.Windows/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-ojD0PX0XhneCsUbAZVKdb7h/70vyYMDYs85lwEI+LngEONe/17A0cFaRFqZU+sOEidcVswYWikYOQ9PPfjlbtQ==", + "path": "system.security.principal.windows/4.7.0", + "hashPath": "system.security.principal.windows.4.7.0.nupkg.sha512" + }, + "System.Text.Encoding.CodePages/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-aeu4FlaUTemuT1qOd1MyU4T516QR4Fy+9yDbwWMPHOHy7U8FD6SgTzdZFO7gHcfAPHtECqInbwklVvUK4RHcNg==", + "path": "system.text.encoding.codepages/4.7.0", + "hashPath": "system.text.encoding.codepages.4.7.0.nupkg.sha512" + }, + "System.Windows.Extensions/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-CeWTdRNfRaSh0pm2gDTJFwVaXfTq6Xwv/sA887iwPTneW7oMtMlpvDIO+U60+3GWTB7Aom6oQwv5VZVUhQRdPQ==", + "path": "system.windows.extensions/4.7.0", + "hashPath": "system.windows.extensions.4.7.0.nupkg.sha512" + } + } +} \ No newline at end of file diff --git a/ApiPolo/obj/Release/net6.0/ApiPolo.dll b/ApiPolo/obj/Release/net6.0/ApiPolo.dll new file mode 100644 index 0000000..405c9b4 Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/ApiPolo.dll differ diff --git a/ApiPolo/obj/Release/net6.0/ApiPolo.genruntimeconfig.cache b/ApiPolo/obj/Release/net6.0/ApiPolo.genruntimeconfig.cache new file mode 100644 index 0000000..226b282 --- /dev/null +++ b/ApiPolo/obj/Release/net6.0/ApiPolo.genruntimeconfig.cache @@ -0,0 +1 @@ +4a093cacb1924e570de3f17707e6df41c601e586 diff --git a/ApiPolo/obj/Release/net6.0/ApiPolo.pdb b/ApiPolo/obj/Release/net6.0/ApiPolo.pdb new file mode 100644 index 0000000..ea77028 Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/ApiPolo.pdb differ diff --git a/ApiPolo/obj/Release/net6.0/ApiPolo.xml b/ApiPolo/obj/Release/net6.0/ApiPolo.xml new file mode 100644 index 0000000..ab2311f --- /dev/null +++ b/ApiPolo/obj/Release/net6.0/ApiPolo.xml @@ -0,0 +1,8605 @@ + + + + ApiPolo + + + + + Controller unico + + + + polocontroller + + + vuoto=chiamata presa in carico 3=chiamata chiusa 2=manutenzione chiusa + + + + + + + + + + + + + + + 200=Ok 500=ErroreInterno 400=OperazioneNonAmmessa + + + + + + + + + + + + + + + + + + + + + Zucchetti Sicilia + + + Discovery + + + Sarom + + + Sinergo + + + Gitoga + + + Lifta + + + Siet + + + PMS + + + VT app + + + + + + + + + + + + Zucchetti Sicilia + + + Discovery + + + Sarom + + + Sinergo + + + Gitoga + + + Lifta + + + Siet + + + PMS + + + Virtual task + + + trasforma un Saldiart in un Mag_New + + + trasforma un Compi_Impia in un Mag_New + + + crea un cpccchk + + + formatta l'indirizzo della lista chiamate + + + formatta l'indirizzo stampa chiamate + + + formatta l'indirizzo stampa chiamateper Discovery + + + formatta il riferimento impainto (html) + + + formatta il riferimento impianto Disco (html) + + + formatta il riferimento impianto Ferrari (html) + + + formatta l'indirizzo stampa manutenzioni + + + formatta il riferimento impainto (html) + + + formatta l'indirizzo della lista manutenzioni + + + formatta riferimwnto impianto su buono (html) + + + formatta riferimwnto impianto su buono (html) Disco + + + Configurazioni per azienda return:ActionResult + + + token riewmpimento + + + elimina Token + + + inserisce Token + + + Magazzini per login return:ActionResult + + + Login iniziale return:ActionResult + + + Codici di chiusura per scheda intevento return:ActionResult + + + Chiamate per tecnico e azienda (tenant) in stato C=Assegnate return:ActionResult + + + presaInCarico: 1) crea un nuovo seriale per RAPP_NEW 2)inserisce il primo record di una presa in carico su RAPP_NEW return:ActionResult + + + rifiuta: 1) crea un nuovo seriale per RAPP_NEW 2)inserisce record su RAPP_NEW con INCARICO=N e RIFIUTATA=S return:ActionResult + + + chiudi: 1) crea un nuovo seriale per RAPP_NEW 2)inserisce record su RAPP_NEW con i dati dell'intervento return:ActionResult + + + rilascia: elimina record su RAPP_NEW con i dati dell'intervento return:ActionResult + + + Manutenzioni per tecnico e azienda (tenant). Intervallo: 1 mese prima e 1 mese dopo rispetto a GETDATE() con GENERATO diverso da S return:ActionResult + + + prendi_in_carico: inserisce record su Prese con i dati dell'intervento return:ActionResult + + + chiudi: 1) crea un nuovo seriale per RAPP_NEW 2)inserisce record su RAPP_NEW con i dati dell'intervento return:ActionResult + + + rilascia: elimina record su Prese con i dati dell'intervento return:ActionResult + + + + + + Upload return:ActionResult + + + Componenti impianto return:ActionResult + + + aggiunge un componente all'impianto. Inserisce in LABSEMICOMIMP return:ActionResult + + + toglie un componente all'impianto. Cancella in LABSEMICOMIMP return:ActionResult + + + Ricerca articoli per impianto return:ActionResult + + + rapportino per pezzi magazzino. Inserisce in LABSEMAG_NEW return:ActionResult + + + Ricerca Impianti return:ActionResult + + + Storico interventi return:ActionResult + + + Anagrafica return:ActionResult + + + Tabelle di dominio: causali pagamenti, causali rapportino, tipi esito, tipi intervento return:ActionResult + + + + + + Commesse return:ActionResult IEnumerable Commessa + + + Salva la timbratuta in tabella Timbrature return:ActionResult Timbratura_out + + + Storico rapportini tecnico return:ActionResult di Sto_Imp_out + + + Ricerca Commessa return:ActionResult + + + Salva la timbratuta in tabella Timbrature return:ActionResult Timbratura_out + + + Login iniziale return:ActionResult + + + VIRTUAL TASK: Tecnici per azienda + + + VIRTUAL TASK: Tecnici per azienda + + + VIRTUAL TASK: crea un tecnico return:ActionResult + + + VIRTUAL TASK: cancella un tecnico return:ActionResult + + + VIRTUAL TASK: modifica un tecnico return:ActionResult + + + VIRTUAL TASK: Codici di chiusura + + + VIRTUAL TASK: crea un codice chiusura return:ActionResult + + + VIRTUAL TASK: cancella un codice chiusura return:ActionResult + + + VIRTUAL TASK: modifica un codice chiusura return:ActionResult + + + VIRTUAL TASK: anagrafiche clienti per azienda + + + VIRTUAL TASK: crea una anagrafica return:ActionResult + + + VIRTUAL TASK: crea una anagrafica return:ActionResult + + + VIRTUAL TASK: modifica una anagrafica return:ActionResult + + + VIRTUAL TASK: cancella una anagrafica (valorizza data obsolescenza) return:ActionResult + + + VIRTUAL TASK: rapp_new per azienda + + + VIRTUAL TASK: crea una rappnew return:ActionResult + + + VIRTUAL TASK: modifica una anagrafica return:ActionResult + + + VIRTUAL TASK: cancella una rapp_new return:ActionResult + + + VIRTUAL TASK: impianti per azienda + + + VIRTUAL TASK: impianti per azienda + + + VIRTUAL TASK: crea un impianto return:ActionResult + + + VIRTUAL TASK: modifica un impianto return:ActionResult + + + VIRTUAL TASK: cancella un impianto return:ActionResult + + + VIRTUAL TASK: chiamate per azienda + + + VIRTUAL TASK: chiamate per azienda + + + VIRTUAL TASK: crea una chiamata return:ActionResult + + + VIRTUAL TASK: modifica una chiamata return:ActionResult + + + VIRTUAL TASK: cancella una chiamata return:ActionResult + + + VIRTUAL TASK: progressivi per azienda + + + VIRTUAL TASK: modifica un progressivo return:ActionResult + + + VIRTUAL TASK: dati azienda + + + VIRTUAL TASK: crea una azienda return:ActionResult + + + VIRTUAL TASK: modifica un progressivo return:ActionResult + + + VIRTUAL TASK: cancella una azienda return:ActionResult + + + VIRTUAL TASK: registrazioni + + + VIRTUAL TASK: crea una registrazione return:ActionResult + + + VIRTUAL TASK: modifica una registrazione return:ActionResult + + + VIRTUAL TASK: cancella una registrazione return:ActionResult + + + VIRTUAL TASK: registrazioni + + + VIRTUAL TASK: commesse + + + VIRTUAL TASK: crea una commessa return:ActionResult + + + VIRTUAL TASK: modifica una commessa return:ActionResult + + + VIRTUAL TASK: cancella una commessa (valorizza data obsolescenza) return:ActionResult + + + VIRTUAL TASK: dati Azienda + + + VIRTUAL TASK: crea dati azienda return:ActionResult + + + VIRTUAL TASK: modifica una commessa return:ActionResult + + + VIRTUAL TASK: cancella una dati azienda return:ActionResult + + + VIRTUAL TASK: dati Azienda + + + VIRTUAL TASK: inserisce buono + + + + Contiene i campi di SALDIART + + + + tipo + + + codice + + + email + + + codice fiscale + + + partita iva + + + indirizzo + + + telefono + + + cellulare + + + pec + + + descrizione + + + listino cliente + + + + + + + + + + + + + + + + + + tipo + + + codice + + + codice azienda + + + email + + + codice fiscale + + + partita iva + + + indirizzo + + + telefono + + + cellulare + + + pec + + + descrizione + + + listino cliente + + + cliente eliminato + + + + Contiene i campi di API_CLIENTI + + + + tipo + + + codice + + + email + + + codice fiscale + + + partita iva + + + indirizzo + + + telefono + + + cellulare + + + pec + + + descrizione + + + listino cliente + + + cliente eliminato + + + azienda (tenant2) + + + + Azienda prsente + + + + + Azienda tecnico + + + + Azienda collegata all'azienda principale + + + azienda + + + tecnico + + + tecnico + + + Nome azienda collegata + + + url logo + + + Testo rapportino + + + buoni rapportini + + + azienda + + + seriale buono + + + immagine + + + data inserimento + + + + Causali rapportino + + + + codice causale + + + descrizione causale + + + flag fatturazione + + + + + + + + + + + + + + + + + + + + + + + + + + + errore titolo + + + errore dettaglio + + + errore status code (200, 500) + + + ViSTA Chiamate + + + Azienda + + + + Seriale Chiamata + + + + + Stato chiamata + + + + + Codice Chiamatista assegnato + + + + + Data appuntamento chiamata + + + + + Ora appuntamento inizio + + + + + Minuti appuntamento inizio + + + + + Note appuntamento + + + + + Codice Impianto chiamata + + + + + Descrizione codice segnalazione + + + + + Telefono cliente + + + + + descrizione cliente + + + + + Indirizzo impianto tipo + + Via,Piazza, + + + + Indirizzo impianto nome + + + + + Indirizzo impianto numero + + + + + Indirizzo impianto sottonumero + + + + + Indirizzo impianto Scala + + + + + Indirizzo impianto località + + + + + Indirizzo impianto Cap + + + + + Indirizzo impianto comune + + + + + Indirizzo impianto provincia + + + + + Indirizzo impianto nazione + + + + + MANPROG: matricola impianto + + + + + MANPROG: numero impianto + + + + + MANPROG: ubicazione impianto + + + + + Tecnico descrizione + + + + + Tecnico codice + + + + + RAPP_NEW: seriale rapp_new preso in carico + + + + + RAPP_NEW: tipo rapp_new preso in carico (valore vuoto) + + + + + RAPP_NEW: preso in carico (S o NULL) + + + + + RAPP_NEW: seriale rapp_new rifiutata + + + + + RAPP_NEW: tipo rapp rifiutata (valore vuoto) + + + + + RAPP_NEW: rifiutato (S o null) + + + + + RAPP_NEW: seriale chiamata chiusa + + + + + RAPP_NEW: tipo chiamata chiusa (3 o null) + + + + + RAPP_NEW: seriale buono chiamata chiusa + + + + + errore titolo + + + + + errore dettaglio + + + + + errore status code (200, 500) + + + + Esercizio + + + Tipo + + + numero chiamata + + + Data inserimento chiamata + + + Ora inserimento chiamata + + + Minuti inserimento chiamata + + + operatore assegnazione + + + operatore di chiusura + + + azienda impianto + + + ora appuntamento fine + + + minuto appuntamento fine + + + Riferimento chiamata + + + telefono riferimento + + + tcodice segnalazione + + + Fermo impianto S/N + + + Data assegnazione chiamata + + + Ora assegnazione chiamata + + + Min assegnazione chiamata + + + Data chiusura chiamata + + + Ora chiusura chiamata + + + Min chiusura chiamata + + + Data inizio intervento + + + Ora inizio intervento + + + Min inizio intervento + + + Data fine intervento + + + Ora fine intervento + + + Min fine intervento + + + Numero 1 rapportino futuro + + + Serie 1 rapportino futuro + + + Numero 2 rapportino futuro + + + Modalità raccolta chiamata + + + Numero chiamata per impianto per anno + + + Importo manodopera + + + Percentuale manodopera + + + Stampa manodopera + + + Chiusura da remoto + + + Riferimento seriale importazione + + + Descrizione + + + Tipo impianto + + + Ultimo amministratore + + + Descrizione Ult. Amministratore + + + Telefono Ult. Amministratore + + + Zona manutenzione + + + Pubblico/privato + + + Zona chiamate + + + Zona supervisione + + + Data inizio manutenzione + + + Data fine manutenzione + + + Data costruzione + + + Numero telesoccorso + + + Email cliente + + + Ultimo cliente + + + codice cliente + + + tipo anagrafica + + + costo chiamata + + + spese viaggio + + + costo orario ordinario + + + costo orario notturno + + + costo orario straordinario + + + costo orario festivo + + + Azienda di riferimento associata all'impianto (gestione loghi differenti) + + + riferimento impianto (va su rapportino) + + + Tabella CHIAMATE (insert da app) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Tabella CHIAMATE (insert da app) - Output + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + errore titolo + + + errore dettaglio + + + errore status code (200, 500) + + + ViSTA Chiamate + + + Azienda + + + + Seriale Chiamata + + + + + Stato chiamata + + + + + Codice Chiamatista assegnato + + + + + Data appuntamento chiamata + + + + + Ora appuntamento inizio + + + + + Minuti appuntamento inizio + + + + + Note appuntamento + + + + + Codice Impianto chiamata + + + + + Descrizione codice segnalazione + + + + + Telefono cliente + + + + + descrizione cliente + + + + + Indirizzo impianto tipo + + Via,Piazza, + + + + Indirizzo impianto nome + + + + + Indirizzo impianto numero + + + + + Indirizzo impianto sottonumero + + + + + Indirizzo impianto Scala + + + + + Indirizzo impianto località + + + + + Indirizzo impianto Cap + + + + + Indirizzo impianto comune + + + + + Indirizzo impianto provincia + + + + + Indirizzo impianto nazione + + + + + matricola impianto + + + + + numero impianto + + + + + ubicazione impianto + + + + + Tecnico descrizione + + + + + Tecnico codice + + + + + RAPP_NEW: seriale rapp_new preso in carico + + + + + RAPP_NEW: tipo rapp_new preso in carico (valore vuoto) + + + + + RAPP_NEW: preso in carico (S o NULL) + + + + + RAPP_NEW: seriale rapp_new rifiutata + + + + + RAPP_NEW: tipo rapp rifiutata (valore vuoto) + + + + + RAPP_NEW: rifiutato (S o null) + + + + + RAPP_NEW: seriale chiamata chiusa + + + + + RAPP_NEW: tipo chiamata chiusa (3 o null) + + + + + RAPP_NEW: seriale buono chiamata chiusa + + + + + errore titolo + + + + + errore dettaglio + + + + + errore status code (200, 500) + + + + + altri dati chiamata + + Esercizio + + + Tipo + + + numero chiamata + + + Data inserimento chiamata + + + Ora inserimento chiamata + + + Minuti inserimento chiamata + + + operatore assegnazione + + + operatore di chiusura + + + azienda impianto + + + ora appuntamento fine + + + minuto appuntamento fine + + + Riferimento chiamata + + + telefono riferimento + + + tcodice segnalazione + + + altri campi + + + Codice cliente + + + costo chiamata + + + spese viaggio + + + costo orario ordinario + + + costo orario notturno + + + costo orario straordinario + + + costo orario festivo + + + Azienda di riferimento associata all'impianto (gestione loghi differenti) + + + riferimento impianto (va su rapportino) + + + indirizzo stampa (html) su buono + + + impianto per lista (html) + + + riferimento impianto (html) su buono + + + Chiusure + + + codice chiusura + + + descrizione + + + ccrapabi + + + obbligatoria + + + ccchiint + + + azienda + + + Descrizione supplementare da mettere sul rapportino + + + + (Virtual Task) Contiene i campi di CCHIUSA + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ViSTA API_COMMESSE + + + seriale Commessa + + + Codice Commessa + + + Fase Commessa + + + data fine validita Commessa + + + tipo + + + codice cliente + + + descrizione cliente + + + impianto + + + tipo ind + + + indirizzo + + + numero + + + lettera + + + scala + + + localita + + + CAP + + + provincia + + + ViSTA API_COMMESSE + + + Codice Commessa + + + Descrizione Commessa + + + data fine validita Commessa + + + tipo + + + codice cliente + + + descrizione cliente + + + impianto + + + tipo ind + + + indirizzo + + + numero + + + lettera + + + scala + + + localita + + + CAP + + + provincia + + + elemento lista formato html + + + Error title + + + Error deatail + + + Error code + + + ViSTA API_COMMESSE - VT + + + seriale Commessa + + + Azienda + + + Codice Commessa + + + Fase Commessa + + + data fine validita Commessa + + + tipo + + + codice cliente + + + descrizione cliente + + + impianto + + + tipo ind + + + indirizzo + + + numero + + + lettera + + + scala + + + localita + + + CAP + + + provincia + + + codice impianto - commesse + + + flag commessa generica cliente + + + seriale Commessa + + + seriale Commessa + + + Azienda + + + Codice Commessa + + + Fase Commessa + + + data fine validita Commessa + + + tipo + + + codice cliente + + + codice impianto + + + flag commessa generica cliente + + + + Contiene i campi di xxxMICOMIMP (componenti impianto) + + + + + codice impianto + + + + + codice impianto + + + + + indice riga + + + + + quantità + + + + + codice articolo + + + + + note + + + + + lotto articolo + + + + + matricola articolo + + + + + descrizione articolo + + + + + descrizione per ogni articolo (se abilitata da configurazioni) + + + + Contiene i campi di xxxMICOMIMP (componenti impianto) oggetto di output + + + + + codice impianto + + + + + codice impianto + + + + + indice riga + + + + + codice articolo + + + + + codice articolo + + + + + note + + + + + lotto articolo + + + + + matricola articolo + + + + + errore titolo + + + + + errore dettaglio + + + + + errore status code (200, 500) + + + + + Classe componenti per scrittura db + + + + + codice impianto + + + + + codice impianto + + + + + indice riga + + + + + codice articolo + + + + + codice articolo + + + + + note + + + + + lotto articolo + + + + + matricola articolo + + + + + + + azienda + + + path file buoni (immagini rapportini) + + + prefisso dei buoni da chiamata + + + prefisso dei buoni da mauntenzione + + + url ftp per upload delle immagini + + + utente ftp per upload delle immagini + + + password ftp per upload delle immagini + + + Listino articoli per magazzino + + + pulsante naviga nelle liste + + + pulsante telefona nelle liste + + + abilita funzione + + + abilita funzione + + + barcode abilitato opzionalmente in varie sezioni. Per renderlo obbligatorio vedi flag sott + + + + + + barcode obbligatorio + + + funziona anche offline + + + abilita funzione + + + hiamate_rifiuta_barcode + + + funziona anche offline + + + barcode obbligatorio + + + barcode obbligatorio + + + barcode obbligatorio + + + abilita funzione + + + funziona anche offline + + + abilita funzione + + + barcode obbligatorio + + + funziona anche offline + + + barcode obbligatorio + + + barcode obbligatorio + + + barcode obbligatorio + + + funziona anche offline + + + chiede presena DPI prima di scheda + + + visualizza anagrafica + + + abilita stato impianto + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + Costo orario intervento + + + porta ftp + + + barcode obbligatorio + + + storico rapportini + + + storico impianto + + + Abilita link storico interventi + + + Abilita link ricerca impianti + + + Abilita link storico impianto (solo per chi gestisce il magazzino) + + + Calcolo tempo rapportino automatico + + + Stampa ora inizio-fine su buono + + + Stampa intestazione su buono + + + Seriale chiamata da usare come teplate per inserire chiamata da app (commessa o normale) + + + 0=non abilitata 1,2,3=abilitata + + + Data rapportino editabile + + + articoli impianto in forma decimale + + + max num record in ricerca + + + storico impianto + + + Error Message + + + Error Message detail + + + Status + + + Configurazioni + + + azienda + + + path file buoni (immagini rapportini) + + + prefisso dei buoni da chiamata + + + prefisso dei buoni da mauntenzione + + + url ftp per upload delle immagini + + + utente ftp per upload delle immagini + + + password ftp per upload delle immagini + + + Listino articoli per magazzino + + + pulsante naviga nelle liste + + + pulsante telefona nelle liste + + + abilita funzione + + + abilita funzione + + + barcode abilitato opzionalmente in varie sezioni. Per renderlo obbligatorio vedi flag sott + + + + + + barcode obbligatorio + + + funziona anche offline + + + abilita funzione + + + hiamate_rifiuta_barcode + + + funziona anche offline + + + barcode obbligatorio + + + barcode obbligatorio + + + barcode obbligatorio + + + abilita funzione + + + funziona anche offline + + + abilita funzione + + + barcode obbligatorio + + + funziona anche offline + + + barcode obbligatorio + + + barcode obbligatorio + + + barcode obbligatorio + + + funziona anche offline + + + chiede presena DPI prima di scheda + + + visualizza anagrafica + + + abilita stato impianto + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + Costo orario intervento + + + porta ftp + + + barcode obbligatorio + + + OBSOLETO + + + OBSOLETO + + + Abilita link storico interventi + + + Abilita link ricerca impianti + + + Abilita link storico impianto (solo per chi gestisce il magazzino) + + + Calcolo tempo rapportino automatico + + + Stampa ora inizio-fine su buono + + + Stampa intestazione su buono + + + Seriale chiamata da usare come teplate per inserire chiamata da app (commessa o normale) + + + 0=non abilitata 1,2,3=abilitata + + + data rapportino editabile + + + articoli impianto in forma decimale se valore maggiore di 1 e la cifra indica il numero di cifre decimali, altrimenti sono numeri interi + + + max num record in ricerca + + + rende visibile la riga dei prezzi sul rapportino + + + rende visibile la riga dei prezzi sul rapportino + + + ConfigurazioniDbContext + + + conf + + + ConfigurazioniDbContext + + + OnModelCreating + + + + + + azienda + + + tecnico + + + Denominazione + + + url del logo esposto + + + logo + + + testo azienda rapportino + + + Aziende collegate + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Rapportini + + + ConfigurazioniDbContext + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Error + + + Error title + + + Error deatail + + + Error code + + + + + + + + + + + + + + + FERRA_CHIAMATEDbContext + + + FERRA_CHIAMATEDbContext + + + FERRA_CHIAMATEDbContext + + + OnModelCreating + + + FERRA_CHIUSUREDbContext + + + Chiusure + + + + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + FERRA_MANPROG_TECDbContext + + + Manutenzioni + + + Manutenzioni + + + OnModelCreating + + + + + + + + + + + + + + + FERRA_CHIAMATEDbContext + + + FERRA_CHIAMATEDbContext + + + + + + A + + + + + + Rapportini + + + ConfigurazioniDbContext + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Rapportini + + + ConfigurazioniDbContext + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Impianto + + + Codice Impianto + + + Descrizione Impianto + + + Tipo indirizzo (Via, piazza..) + + + indirizzo + + + numero civico + + + sottonumero + + + scala + + + localita + + + Cap + + + Comune + + + Provincia + + + Azienda + + + cod cliente + + + descrizione cliente + + + Data cancellazione + + + + + + Codice Impianto + + + Azienda + + + Descrizione Impianto + + + Tipo indirizzo (Via, piazza..) + + + indirizzo + + + numero civico + + + sottonumero + + + scala + + + localita + + + Cap + + + Comune + + + Provincia + + + cliente associato + + + Data cancellazione + + + Impianto out + + + Codice Impianto + + + Codice Impianto + + + Indirizzo Impianto + + + Cap + + + Comune + + + Provincia + + + Località + + + Error title + + + Error deatail + + + Error code + + + + Contiene i campi di input sia per RAPP_NEW che per PRESE + + + + + Tabella RAPP_NEW: Seriale rapportini + + + + + Tabella RAPP_NEW: Tipo rapportini + + + + + Tabella RAPP_NEW: Azienda + + + + + Tabella RAPP_NEW: Codice Impianto + + + + + Tabella RAPP_NEW: Azienda su cui è la chiamata + + + + + Tabella RAPP_NEW: Seriale chiamata + + + + + Tabella RAPP_NEW: Seriale chiamata + + + + + Tabella RAPP_NEW: Data rapportino + + + + + Tabella RAPP_NEW: Ora inizio + + + + + Tabella RAPP_NEW: Tabella RAPP_NEW: minuto inizio + + + + + Tabella RAPP_NEW: Ora fine + + + + + Tabella RAPP_NEW: Minuto fine + + + + + Tabella RAPP_NEW: codice chiusura + + + + + Tabella RAPP_NEW: codice chiusura + + + + + Tabella RAPP_NEW: codice chiusura + + + + + Tabella RAPP_NEW: codice chiusura + + + + + Tabella RAPP_NEW: codice chiusura + + + + + Tabella RAPP_NEW: codice chiusura + + + + + Tabella RAPP_NEW: codice chiusura + + + + + Tabella RAPP_NEW: codice chiusura + + + + + Tabella RAPP_NEW: codice chiusura + + + + + Tabella RAPP_NEW: codice chiusura + + + + + Tabella RAPP_NEW: descrizione intervento + + + + + Tabella RAPP_NEW: stato + + + + + Tabella RAPP_NEW: generato + + + + + Tabella RAPP_NEW: azienda tecnico + + + + + Tabella RAPP_NEW: codice tecnico + + + + + Tabella RAPP_NEW: flag rifiutata + + + + + Tabella RAPP_NEW: nominativo firma + + + + + Tabella RAPP_NEW: flag stato In Carico + + + + + Tabella RAPP_NEW: data validità + + + + + Tabella RAPP_NEW: pathg immagine buono o firma + + + + + Tabella RAPP_NEW: seriale del buono + + + + + Tabella RAPP_NEW: seriale del buono + + + + + Tabella RAPP_NEW: data/ora effettiva del lavoro (nel caso dispositivo offline) + + + + Tabella PRESE: Azienda + + + Tabella PRESE: Impianto + + + Tabella PRESE: Codice intervento QUI=? SEM=SEMESTRALE + + + Tabella PRESE: Tecnico + + + Tabella PRESE: data della manutenzione + + + Tabella PRESE: Zona manutenzione + + + Tabella PRESE: check presa + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Componenti impianto aggiunti + + + Componenti impianto eliminati + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Rapportini + + + ConfigurazioniDbContext + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + LoginModel + + + Username + + + Password + + + Tenant + + + Conf (configurazioni app) + + + pulsante naviga nelle liste + + + pulsante telefona nelle liste + + + abilita funzione + + + abilita funzione + + + barcode abilitato opzionalmente in varie sezioni. Per renderlo obbligatorio vedi flag sott + + + + + + barcode obbligatorio + + + funziona anche offline + + + abilita funzione + + + hiamate_rifiuta_barcode + + + funziona anche offline + + + barcode obbligatorio + + + barcode obbligatorio + + + barcode obbligatorio + + + abilita funzione + + + funziona anche offline + + + abilita funzione + + + barcode obbligatorio + + + funziona anche offline + + + barcode obbligatorio + + + barcode obbligatorio + + + barcode obbligatorio + + + funziona anche offline + + + chiede presena DPI prima di scheda + + + anagrafica visualizza anagrafica + + + abilita stato impianto + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + Costo orario intervento + + + porta ftp + + + barcode obbligatorio + + + storico rapportini abilita + + + storico impianto + + + Abilita link storico interventi + + + Abilita link ricerca impianti + + + Abilita link storico impianto (solo per chi gestisce il magazzino) + + + Calcolo tempo rapportino automatico + + + Stampa ora inizio-fine su buono + + + Stampa intestazione su buono + + + Seriale chiamata da usare come teplate per inserire chiamata da app (commessa o normale) + + + 0=non abilitata 1,2,3=abilitata + + + data rapportino editabile + + + articoli impianto in forma decimale + + + max num record in ricerca + + + rende visibile la riga dei prezzi sul rapportino + + + rende visibile la riga dei prezzi sul rapportino + + + LoginOut (token+user) + + + token + + + token + + + token + + + token + + + storico impianto + + + Error Message + + + Error Message detail + + + Status + + + flag admin + + + tenant + + + + Magazzini azienda + + + + + codice magazzino + + + + + descrizione + + + + + Contiene i campi di MAG_NEW + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + descrizione articolo + + + riga impianto + + + codice impianto + + + note + + + cpccchk + + + descrizione per ogni articolo (se abilitata da configurazioni) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + descrizione articolo + + + riga impianto + + + codice impianto + + + note + + + + errore titolo + + + + + errore dettaglio + + + + + errore status code (200, 500) + + + + + Manutenzioni Programmate + + + + + MANPROG: codice intervento (BIM=bimestrale, SEM=semestarle,..) + + + + + MANPROG: data prossima manutenzione + + + + + MANPROG: descrizione intervento + + + + + MANPROG: indirizzo 1 impianto + + + + + MANPROG: indirizzo 2 impianto + + + + + MANPROG: indirizzo 3 impianto + + + + + MANPROG: indirizzo 4 impianto + + + + + MANPROG: indirizzo 5 impianto + + + + + MANPROG: localita impianto + + + + + MANPROG: cap impianto + + + + + MANPROG: comune impianto + + + + + MANPROG: matricola impianto + + + + + MANPROG: numero impianto + + + + + MANPROG: ubicazione impianto + + + + + MANPROG: provincia 5 impianto + + + + + MANPROG: nazione impianto + + + + + MANPROG: codice impianto + + + + + MANPROG: tecnico descrizione + + + + + MANPROG: tecnico codice + + + + + RAPP_NEW: seriale rapportino + + + + + RAPP_NEW: seriale buono + + + + + RAPP_NEW: flag generato. Rapportino importato in AdHoc + + + + + PRESE: codice impianto + + + + + PRESE: codice intervento (BIM=bimestrale,SEM=semestrale) + + + + + PRESE: data manutenzione + + + + + errore titolo + + + + + errore dettaglio + + + + + errore status code (200, 500) + + + + + Manutenzioni: telefono 1 impianto + + + + + Manutenzioni: telefono 1 impianto + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + costo chiamata + + + spese viaggio + + + costo orario ordinario + + + costo orario notturno + + + costo orario straordinario + + + costo orario festivo + + + Azienda di riferimento associata all'impianto (gestione loghi differenti) + + + Zona Impianto + + + Riferimento Impianto + + + + Manutenzioni Programmate uscita + + + + + MANPROG: codice intervento (BIM=bimestrale, SEM=semestarle,..) + + + + + MANPROG: data prossima manutenzione + + + + + MANPROG: descrizione intervento + + + + + MANPROG: indirizzo 1 impianto + + + + + MANPROG: indirizzo 2 impianto + + + + + MANPROG: indirizzo 3 impianto + + + + + MANPROG: indirizzo 4 impianto + + + + + MANPROG: indirizzo 5 impianto + + + + + MANPROG: localita impianto + + + + + MANPROG: cap impianto + + + + + MANPROG: comune impianto + + + + + MANPROG: provincia 5 impianto + + + + + matricola impianto + + + + + numero impianto + + + + + ubicazione impianto + + + + + MANPROG: nazione impianto + + + + + MANPROG: codice impianto + + + + + MANPROG: tecnico descrizione + + + + + MANPROG: tecnico codice + + + + + RAPP_NEW: seriale rapportino + + + + + RAPP_NEW: seriale buono + + + + + RAPP_NEW: flag generato. Rapportino importato in AdHoc + + + + + PRESE: codice impianto + + + + + PRESE: codice intervento (BIM=bimestrale,SEM=semestrale) + + + + + PRESE: data manutenzione + + + + + errore titolo + + + + + errore dettaglio + + + + + errore status code (200, 500) + + + + + Manutenzioni: telefono 1 impianto + + + + + Manutenzioni: telefono 1 impianto + + + + + Manutenzioni: cliente + + + + costo chiamata + + + spese viaggio + + + costo orario ordinario + + + costo orario notturno + + + costo orario straordinario + + + costo orario festivo + + + altri dati Manutenzione + + + Azienda di riferimento associata all'impianto (gestione loghi differenti) + + + Zona Impianto + + + Riferimento Impianto + + + indirizzo stampa (html) + + + impianto per lista (html) + + + riferimento impianto (html) su buono + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Rapportini + + + ConfigurazioniDbContext + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ViSTA Chiamate + + + Azienda + + + utente destinastario notifica + + + seriale della chiamata + + + data di invio della notifica + + + Uscita chiamataTable+chiamate + + + output di chiamataTable (inserimento in tabella Chiamate) + + + output di Chiamate_out (inserimento in tabella Rapp_new) + + + output di ChiamateSeriale_out (aggiornamento in tabella in tabella PINUMCHI) + + + output di ChiamateSeriale_out (aggiornamento in tabella in tabella cpwarn) + + + output di ChiamateSeriale_out (aggiornamento in tabella in tabella cpwarn) + + + errore titolo + + + errore dettaglio + + + errore status code (200, 500) + + + Output ricerca impianti e di ricerca commesse + + + Codice Commessa + + + Descrizione Commessa + + + data fine validita Commessa + + + tipo + + + codice cliente + + + descrizione cliente + + + impianto + + + tipo ind + + + indirizzo + + + numero + + + lettera + + + scala + + + localita + + + CAP + + + provincia + + + descrizione + + + elemento lista formato html + + + Error title + + + Error deatail + + + Error code + + + + Causali pagamento + + + + codice pagamento + + + descrizione pagamento + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Rapportini + + + Rapportini + + + ConfigurazioniDbContext + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Tabella PRESA + + + + Azienda + + + Impianto + + + Codice intervento QUI=? SEM=SEMESTRALE + + + Tecnico + + + data della manutenzione + + + Zona manutenzione + + + check presa + + + cpccchk + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tabella progressivi + + + Azienda + + + stringa definisce il tipo di progressivo da gestire + + + valore progressivo + + + Azienda + + + stringa definisce il tipo di progressivo da gestire + + + valore progressivo + + + errore titolo + + + errore dettaglio + + + errore status code (200, 500) + + + + + + + + + + + + + + + + + + + + + errore titolo + + + errore dettaglio + + + errore status code (200, 500) + + + Rappmast: storico interventi per tecnico + + + Seriale rapportini + + + Causale + + + Azienda + + + Impianto + + + Lavoro + + + fase Lavoro + + + tipo cliente + + + codice cliente + + + contratto manutenzione + + + verbale + + + azienda chiamata + + + chiamata + + + esercizio + + + codice giro + + + intervento giro + + + numero rapportino + + + serie rapportino + + + data rapportino + + + flag da fatturare + + + flag fatturabile + + + utente fatturabile + + + data fatturabilità + + + codice pagamento + + + azienda tecnico 1 + + + tecnico 1 + + + azienda tecnico 2 + + + tecnico 2 + + + azienda tecnico 3 + + + tecnico 3 + + + tecnici fatturabili + + + Ore fatturabili + + + giornate fatturabili + + + Importo unitario + + + servizio assistenza + + + Importo totale + + + descrizione + + + Note + + + Servizio dir. fisso + + + descrizione dir. fisso + + + Importo dir. fisso + + + Importo dir. fisso + + + servizio viaggio + + + descrizione viaggio + + + Importo viaggio + + + Totale viaggio + + + descrizione meteriale + + + Note meteriale + + + Importo materiali + + + Descrizione intervento + + + Note intervento + + + Riferimento cliente + + + Listino costi + + + centro di costo + + + commessa + + + Zona analitica + + + Seriale doc attivo + + + Seriale doc passivo + + + Seriale doc passivo + + + Stato rapportino (Controllato S/N) + + + Tipo intervento (Reperibile S/N) + + + Modalita fatturazione + + + Servizio per fatture a corpo + + + Listino per fatture a corpo + + + Importo servizio a corpo + + + percentuale ricarico costi materiali + + + descrizione servizio a corpo + + + descrizione suppl servizio a corpo + + + Numerazione automatica + + + U.M. viaggio + + + U.M. assistenza + + + flag assegnazione tecnico da blocchetto + + + percentuale manodopera + + + importo manodopera a corpo + + + importo materiale a corpo + + + Servizio assistenza ore straordinario + + + Servizio dir. fisso ore straordinario + + + Servizio viaggio straordinario + + + importo straord assistenza + + + importo straord viaggio + + + importo straord dir. fisso + + + ore fatturabili straordinario + + + importo totale straord assistenza + + + importo totale straord viaggio + + + Desc assistenza straordinario + + + Desc dir. fisso straordinario + + + Desc viaggio straordinario + + + Servizio assistenza ore notturno + + + Servizio dir. fisso ore notturno + + + Servizio viaggio notturno + + + importo notturno assistenza + + + importo notturno viaggio + + + importo notturno dir.fisso + + + Ore fatturabili notturno + + + importo totale notturno assistenza + + + importo totale notturno viaggio + + + 77777777 + Desc assistenza notturno + + + Desc dir fisso notturno + + + Desc viaggio notturno + + + servizio assistenza ore festivo + + + servizio dir. fisso ore festivo + + + servizio viaggio festivo + + + importo festivo assistenza + + + importo festivo viaggio + + + importo festivo dir. fisso + + + ore fatturabili festivo + + + importo totale festivo assistenza + + + importo totale festivo viaggio + + + desc assistenza festivo + + + desc dir fisso festivo + + + desc viaggio festivo + + + importo unitario viaggio 2 + + + importo totale viaggio 2 + + + U.M. viaggio 2 + + + Km totali viaggio 2 + + + codice intervento + + + Numero ordine + + + ore fatturabili starordinario aiutante + + + ore fatturabili notturne aiutante + + + ore fatturabili festive aiutante + + + importo straordinario aiutante + + + importo notte aiutante + + + importo festivo aiutante + + + servizio assistenza straordinario aiutante + + + descrizione servizio assistenza aiutante + + + descrizione servizio notte aiutante + + + descrizione servizio festivo aiutante + + + servizio festivo aiutante + + + descrizione festivo aiutante + + + importo ore straordinario aiutante + + + importo ore notturne aiutante + + + importo ore festive aiutante + + + periodo + + + numero pasti + + + importo pasti + + + + + + flag forza ore lavoro + + + flag forza impianto + + + + + + + + Seriale + + + + + Azienda + + + + + Codice Impianto + + + + + Seriale chiamata + + + + + Seriale chiamata + + + + + Data rapportino + + + + Rapp_New + + + + Seriale rapportini + + + + + Tipo rapportini + + + + + Azienda + + + + + Codice Impianto + + + + + Azienda su cui è la chiamata + + + + + Seriale chiamata + + + + + Seriale chiamata + + + + + Data rapportino + + + + + Ora inizio + + + + + minuto inizio + + + + + Ora fine + + + + + Minuto fine + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + descrizione intervento + + + + + stato + + + + + generato + + + + + azienda tecnico + + + + + codice tecnico + + + + + flag rifiutata + + + + + nminativo firma + + + + + flag stato In Carico + + + + + data validità + + + + + pathg immagine buono o firma + + + + + seriale del buono + + + + + data/ora effettiva del lavoro (nel caso dispositivo offline) + + + + + codice_intervento (valido per manutenzioni. Esempio: SEM=semestrale) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Vista Rapp_New + + + Seriale rapportini + + + + Tipo rapportini + + + + + Azienda + + + + + Codice Impianto + + + + + Azienda su cui è la chiamata + + + + + Seriale chiamata + + + + + Seriale chiamata + + + + + Data rapportino + + + + + Ora inizio + + + + + minuto inizio + + + + + Ora fine + + + + + Minuto fine + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + descrizione intervento + + + + + stato + + + + + generato + + + + + azienda tecnico + + + + + codice tecnico + + + + + flag rifiutata + + + + + nminativo firma + + + + + flag stato In Carico + + + + + data validità + + + + + pathg immagine buono o firma + + + + + seriale del buono + + + + + data/ora effettiva del lavoro (nel caso dispositivo offline) + + + + + codice_intervento (valido per manutenzioni. Esempio: SEM=semestrale) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Form di registrazione + + + tipo + + + Nome + + + Cognome + + + Telefono + + + Cellulare + + + Email + + + Email di conferma + + + Azienda + + + Username + + + Password + + + Città + + + Provincia (sigla) + + + Nazione (sigla) + + + Attivato (S/N) + + + Token registrazione + + + + Contiene i campi di SALDIART + + + + articolo + + + descrizione articolo + + + magazzino + + + quantita + + + matricola + + + lotto + + + listino + + + articolo del listino + + + data validità listino + + + quantita + + + prezzo + + + sconto1 + + + sconto2 + + + sconto3 + + + sconto4 + + + articolo gestito a matricole(S/N) + + + articolo gestito a lotti (S e C=si, N=no) + + + descrizione per ogni articolo (se abilitata da configurazioni) + + + + + + + + + + + + + + + SAROM_CHIAMATEDbContext + + + SAROM_CHIAMATEDbContext + + + SAROM_CHIAMATEDbContext + + + OnModelCreating + + + + + + Chiusure + + + + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Manutenzioni + + + Manutenzioni + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + A + + + + + + Rapportini + + + ConfigurazioniDbContext + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Rapportini + + + ConfigurazioniDbContext + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Rapportini + + + Rapportini + + + ConfigurazioniDbContext + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + azienda + + + tecnico + + + zona + + + Inizio sostituzione + + + Fine sostituzione + + + codice sostituzione + + + Storico impianti + + + seriale rapportino + + + seriale rapportino + + + indice riga + + + codice magazzino + + + codice articolo + + + descrizione articolo + + + tipologia movimento (E=eliminato,A=aggiunto,S=sotituito) + + + quantità articolo + + + prezzo articolo + + + codice tecnico + + + descrizione tecnico + + + documento generato + + + note + + + codice lotto articolo + + + matricola articolo + + + + + + codice impianto + + + descrizione impianto + + + azienda impianto + + + tipo indirizzo (via, strada) + + + indirizzo + + + indirizzo numero + + + indirizzo scala + + + indirizzo sottonumero + + + Storico impianti- output + + + (LISTA)data rapportino + + + (LISTA) codice articolo + + + (LISTA) tipologia movimento (E=eliminato,A=aggiunto,S=sotituito) + + + dettaglio movimento impianto + + + errore titolo + + + errore dettaglio + + + errore status code (200, 500) + + + + Storico interventi New + + + + (LISTA) codice tecnico + + + (LISTA) descrizione tecnico + + + (LISTA) note esito + + + (LISTA) note esito + + + stato finale + + + esito intervento + + + descrizione intervento + + + firma rapportino + + + seriale chiamata (se chiamata, altrimenti null + + + seriale buono + + + difetti riscontrati + + + lavoro eseguito + + + note intervento + + + ore lavoro + + + costo materiale + + + diritto chiamata + + + anticipo + + + manodopera + + + spese viaggio + + + pagamento + + + codice impianto + + + totale + + + note pagamento + + + tipo intervento + + + rapportino generato in adhoc S/N + + + azienda tecnico + + + azienda impianto + + + azienda chiamata + + + cod chiusura 1 + + + cod chiusura 2 + + + cod chiusura 3 + + + cod chiusura 4 + + + cod chiusura 5 + + + cod chiusura 6 + + + cod chiusura 7 + + + cod chiusura 8 + + + cod chiusura 9 + + + cod chiusura 10 + + + des cod chiusura 1 + + + des cod chiusura 2 + + + des cod chiusura 3 + + + des cod chiusura 4 + + + des cod chiusura 5 + + + des cod chiusura 6 + + + des cod chiusura 7 + + + des cod chiusura 8 + + + des cod chiusura 9 + + + des cod chiusura 10 + + + des supp cod chiusura 1 + + + des supp cod chiusura 2 + + + des supp cod chiusura 3 + + + des supp cod chiusura 4 + + + des supp cod chiusura 5 + + + des supp cod chiusura 6 + + + des supp cod chiusura 7 + + + des supp cod chiusura 8 + + + des supp cod chiusura 9 + + + des supp cod chiusura 10 + + + seriale rapportino + + + codice intervento manutenzione + + + descrizione intervento manutenzione + + + descrizione suppl. intervento manutenzione + + + descrizione suppl. codice intervento manutenzione + + + codice segnalazione chiamata + + + tipo indirizzo (via, strada) + + + indirizzo + + + indirizzo numero + + + indirizzo scala + + + indirizzo sottonumero + + + ViSTA Chiamate + + + (LISTA) codice tecnico + + + (LISTA) descrizione tecnico + + + (LISTA) note esito + + + (LISTA) note esito + + + dettaglio rapportino + + + errore titolo + + + errore dettaglio + + + errore status code (200, 500) + + + Tabelle di Dominio + + + lista causali rapportino + + + lista causali pagamento + + + stati impianto + + + esito intervento + + + + + + + + + + + + tecnici + + + + Codice tecnico + + + + + Descrizione tecnico + + + + + telefono tecnico + + + + + Qualifica tecnico chiamatista + + + + + Qualifica tecnico manutentore + + + + + Azienda tecnico + + + + + Qualifica tecnico supervisore + + + + + Username tecnico + + + + + Password tecnico + + + + + Zona tecnico + + + + + data inizio attività tecnico + + + + + data fine attività tecnico + + + + + (Virtual Task) Contiene i campi di TECNICI + + + + + + + + + + + + + + + + + + + + + + costo ordinario + + + costo notturno + + + costo straordinario + + + costo festivo + + + data cancellazione + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Rapportini + + + ConfigurazioniDbContext + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Tabella Timbrature + + + chiave primaria + + + data + + + ora inizio + + + minuto inizio + + + ora fine + + + minuto fine + + + commessa + + + ore viaggio + + + totale ore + + + giorno settimana + + + azienda + + + tecnico + + + cpccchk + + + note + + + Timbrature OUT + + + id: chiave + + + data + + + ora inizio + + + minuto inizio + + + ora fine + + + minuto fine + + + commessa + + + ore viaggio + + + giorno settimana + + + azienda + + + tecnico + + + errore titolo + + + errore dettaglio + + + errore status code (200, 500) + + + note + + + token di login sul device + + + id + + + tenant azienda + + + utente login + + + token device + + + timestamp inserimento + + + TokenDbContext + + + conf + + + ConfigurazioniDbContext + + + OnModelCreating + + + token di login sul device- output + + + tenant azienda + + + utente login + + + token device + + + timestamp inserimento + + + Error Message + + + Error Message detail + + + Status + + + response + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Configuration + + + Startup + + + Costruttore + + + + + + + + + + + + tenant azienda + + + utente login + + + token device + + + title + + + body + + + not + + + Startup + + + Configuration + + + Startup + + + ConfigureServices + + + Configure:This method gets called by the runtime. Use this method to configure the HTTP request pipeline. + + + diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/ApiPolo.deps.json b/ApiPolo/obj/Release/net6.0/PubTmp/Out/ApiPolo.deps.json new file mode 100644 index 0000000..b726b39 --- /dev/null +++ b/ApiPolo/obj/Release/net6.0/PubTmp/Out/ApiPolo.deps.json @@ -0,0 +1,1207 @@ +{ + "runtimeTarget": { + "name": ".NETCoreApp,Version=v6.0", + "signature": "" + }, + "compilationOptions": {}, + "targets": { + ".NETCoreApp,Version=v6.0": { + "ApiPolo/1.0.0": { + "dependencies": { + "Cronos": "0.7.1", + "FirebaseAdmin": "2.3.0", + "Microsoft.AspNet.Mvc": "5.2.9", + "Microsoft.AspNetCore.Authentication.Negotiate": "6.0.5", + "Microsoft.EntityFrameworkCore": "6.0.5", + "Microsoft.EntityFrameworkCore.SqlServer": "6.0.5", + "Microsoft.EntityFrameworkCore.Tools": "6.0.5", + "Newtonsoft.Json": "13.0.3", + "SSH.NET": "2020.0.2", + "Swashbuckle.AspNetCore": "6.3.1" + }, + "runtime": { + "ApiPolo.dll": {} + } + }, + "Cronos/0.7.1": { + "runtime": { + "lib/netstandard2.0/Cronos.dll": { + "assemblyVersion": "0.7.1.0", + "fileVersion": "1.0.0.0" + } + } + }, + "FirebaseAdmin/2.3.0": { + "dependencies": { + "Google.Api.Gax.Rest": "3.2.0", + "Google.Apis.Auth": "1.49.0", + "System.Collections.Immutable": "6.0.0" + }, + "runtime": { + "lib/netstandard2.0/FirebaseAdmin.dll": { + "assemblyVersion": "2.3.0.0", + "fileVersion": "2.3.0.0" + } + } + }, + "Google.Api.Gax/3.2.0": { + "dependencies": { + "Microsoft.Bcl.AsyncInterfaces": "1.0.0", + "Newtonsoft.Json": "13.0.3" + }, + "runtime": { + "lib/netstandard2.0/Google.Api.Gax.dll": { + "assemblyVersion": "3.2.0.0", + "fileVersion": "3.2.0.0" + } + } + }, + "Google.Api.Gax.Rest/3.2.0": { + "dependencies": { + "Google.Api.Gax": "3.2.0", + "Google.Apis.Auth": "1.49.0" + }, + "runtime": { + "lib/netstandard2.0/Google.Api.Gax.Rest.dll": { + "assemblyVersion": "3.2.0.0", + "fileVersion": "3.2.0.0" + } + } + }, + "Google.Apis/1.49.0": { + "dependencies": { + "Google.Apis.Core": "1.49.0" + }, + "runtime": { + "lib/netstandard2.0/Google.Apis.dll": { + "assemblyVersion": "1.49.0.0", + "fileVersion": "1.49.0.0" + } + } + }, + "Google.Apis.Auth/1.49.0": { + "dependencies": { + "Google.Apis": "1.49.0", + "Google.Apis.Core": "1.49.0" + }, + "runtime": { + "lib/netstandard2.0/Google.Apis.Auth.PlatformServices.dll": { + "assemblyVersion": "1.49.0.0", + "fileVersion": "1.49.0.0" + }, + "lib/netstandard2.0/Google.Apis.Auth.dll": { + "assemblyVersion": "1.49.0.0", + "fileVersion": "1.49.0.0" + } + } + }, + "Google.Apis.Core/1.49.0": { + "dependencies": { + "Newtonsoft.Json": "13.0.3" + }, + "runtime": { + "lib/netstandard2.0/Google.Apis.Core.dll": { + "assemblyVersion": "1.49.0.0", + "fileVersion": "1.49.0.0" + } + } + }, + "Humanizer.Core/2.8.26": {}, + "Microsoft.AspNet.Mvc/5.2.9": { + "dependencies": { + "Microsoft.AspNet.Razor": "3.2.9", + "Microsoft.AspNet.WebPages": "3.2.9" + }, + "runtime": { + "lib/net45/System.Web.Mvc.dll": { + "assemblyVersion": "5.2.9.0", + "fileVersion": "5.2.61129.10" + } + } + }, + "Microsoft.AspNet.Razor/3.2.9": { + "runtime": { + "lib/net45/System.Web.Razor.dll": { + "assemblyVersion": "3.0.0.0", + "fileVersion": "3.0.61129.10" + } + } + }, + "Microsoft.AspNet.WebPages/3.2.9": { + "dependencies": { + "Microsoft.AspNet.Razor": "3.2.9", + "Microsoft.Web.Infrastructure": "1.0.0" + }, + "runtime": { + "lib/net45/System.Web.Helpers.dll": { + "assemblyVersion": "3.0.0.0", + "fileVersion": "3.0.61129.10" + }, + "lib/net45/System.Web.WebPages.Deployment.dll": { + "assemblyVersion": "3.0.0.0", + "fileVersion": "3.0.61129.10" + }, + "lib/net45/System.Web.WebPages.Razor.dll": { + "assemblyVersion": "3.0.0.0", + "fileVersion": "3.0.61129.10" + }, + "lib/net45/System.Web.WebPages.dll": { + "assemblyVersion": "3.0.0.0", + "fileVersion": "3.0.61129.10" + } + } + }, + "Microsoft.AspNetCore.Authentication.Negotiate/6.0.5": { + "dependencies": { + "Microsoft.AspNetCore.Connections.Abstractions": "6.0.5", + "System.DirectoryServices.Protocols": "6.0.1" + }, + "runtime": { + "lib/net6.0/Microsoft.AspNetCore.Authentication.Negotiate.dll": { + "assemblyVersion": "6.0.5.0", + "fileVersion": "6.0.522.21802" + } + } + }, + "Microsoft.AspNetCore.Connections.Abstractions/6.0.5": { + "dependencies": { + "Microsoft.Extensions.Features": "6.0.5", + "System.IO.Pipelines": "6.0.3" + }, + "runtime": { + "lib/net6.0/Microsoft.AspNetCore.Connections.Abstractions.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.522.21802" + } + } + }, + "Microsoft.Bcl.AsyncInterfaces/1.0.0": { + "runtime": { + "lib/netstandard2.1/Microsoft.Bcl.AsyncInterfaces.dll": { + "assemblyVersion": "1.0.0.0", + "fileVersion": "4.700.19.46214" + } + } + }, + "Microsoft.CSharp/4.5.0": {}, + "Microsoft.Data.SqlClient/2.1.4": { + "dependencies": { + "Microsoft.Data.SqlClient.SNI.runtime": "2.1.1", + "Microsoft.Identity.Client": "4.21.1", + "Microsoft.IdentityModel.JsonWebTokens": "6.8.0", + "Microsoft.IdentityModel.Protocols.OpenIdConnect": "6.8.0", + "Microsoft.Win32.Registry": "4.7.0", + "System.Configuration.ConfigurationManager": "4.7.0", + "System.Diagnostics.DiagnosticSource": "6.0.0", + "System.Runtime.Caching": "4.7.0", + "System.Security.Principal.Windows": "4.7.0", + "System.Text.Encoding.CodePages": "4.7.0" + }, + "runtime": { + "lib/netcoreapp3.1/Microsoft.Data.SqlClient.dll": { + "assemblyVersion": "2.0.20168.4", + "fileVersion": "2.0.20168.4" + } + }, + "runtimeTargets": { + "runtimes/unix/lib/netcoreapp3.1/Microsoft.Data.SqlClient.dll": { + "rid": "unix", + "assetType": "runtime", + "assemblyVersion": "2.0.20168.4", + "fileVersion": "2.0.20168.4" + }, + "runtimes/win/lib/netcoreapp3.1/Microsoft.Data.SqlClient.dll": { + "rid": "win", + "assetType": "runtime", + "assemblyVersion": "2.0.20168.4", + "fileVersion": "2.0.20168.4" + } + } + }, + "Microsoft.Data.SqlClient.SNI.runtime/2.1.1": { + "runtimeTargets": { + "runtimes/win-arm/native/Microsoft.Data.SqlClient.SNI.dll": { + "rid": "win-arm", + "assetType": "native", + "fileVersion": "2.1.1.0" + }, + "runtimes/win-arm64/native/Microsoft.Data.SqlClient.SNI.dll": { + "rid": "win-arm64", + "assetType": "native", + "fileVersion": "2.1.1.0" + }, + "runtimes/win-x64/native/Microsoft.Data.SqlClient.SNI.dll": { + "rid": "win-x64", + "assetType": "native", + "fileVersion": "2.1.1.0" + }, + "runtimes/win-x86/native/Microsoft.Data.SqlClient.SNI.dll": { + "rid": "win-x86", + "assetType": "native", + "fileVersion": "2.1.1.0" + } + } + }, + "Microsoft.EntityFrameworkCore/6.0.5": { + "dependencies": { + "Microsoft.EntityFrameworkCore.Abstractions": "6.0.5", + "Microsoft.EntityFrameworkCore.Analyzers": "6.0.5", + "Microsoft.Extensions.Caching.Memory": "6.0.1", + "Microsoft.Extensions.DependencyInjection": "6.0.0", + "Microsoft.Extensions.Logging": "6.0.0", + "System.Collections.Immutable": "6.0.0", + "System.Diagnostics.DiagnosticSource": "6.0.0" + }, + "runtime": { + "lib/net6.0/Microsoft.EntityFrameworkCore.dll": { + "assemblyVersion": "6.0.5.0", + "fileVersion": "6.0.522.21804" + } + } + }, + "Microsoft.EntityFrameworkCore.Abstractions/6.0.5": { + "runtime": { + "lib/net6.0/Microsoft.EntityFrameworkCore.Abstractions.dll": { + "assemblyVersion": "6.0.5.0", + "fileVersion": "6.0.522.21804" + } + } + }, + "Microsoft.EntityFrameworkCore.Analyzers/6.0.5": {}, + "Microsoft.EntityFrameworkCore.Design/6.0.5": { + "dependencies": { + "Humanizer.Core": "2.8.26", + "Microsoft.EntityFrameworkCore.Relational": "6.0.5" + } + }, + "Microsoft.EntityFrameworkCore.Relational/6.0.5": { + "dependencies": { + "Microsoft.EntityFrameworkCore": "6.0.5", + "Microsoft.Extensions.Configuration.Abstractions": "6.0.0" + }, + "runtime": { + "lib/net6.0/Microsoft.EntityFrameworkCore.Relational.dll": { + "assemblyVersion": "6.0.5.0", + "fileVersion": "6.0.522.21804" + } + } + }, + "Microsoft.EntityFrameworkCore.SqlServer/6.0.5": { + "dependencies": { + "Microsoft.Data.SqlClient": "2.1.4", + "Microsoft.EntityFrameworkCore.Relational": "6.0.5" + }, + "runtime": { + "lib/net6.0/Microsoft.EntityFrameworkCore.SqlServer.dll": { + "assemblyVersion": "6.0.5.0", + "fileVersion": "6.0.522.21804" + } + } + }, + "Microsoft.EntityFrameworkCore.Tools/6.0.5": { + "dependencies": { + "Microsoft.EntityFrameworkCore.Design": "6.0.5" + } + }, + "Microsoft.Extensions.ApiDescription.Server/3.0.0": {}, + "Microsoft.Extensions.Caching.Abstractions/6.0.0": { + "dependencies": { + "Microsoft.Extensions.Primitives": "6.0.0" + } + }, + "Microsoft.Extensions.Caching.Memory/6.0.1": { + "dependencies": { + "Microsoft.Extensions.Caching.Abstractions": "6.0.0", + "Microsoft.Extensions.DependencyInjection.Abstractions": "6.0.0", + "Microsoft.Extensions.Logging.Abstractions": "6.0.0", + "Microsoft.Extensions.Options": "6.0.0", + "Microsoft.Extensions.Primitives": "6.0.0" + }, + "runtime": { + "lib/netstandard2.0/Microsoft.Extensions.Caching.Memory.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.222.6406" + } + } + }, + "Microsoft.Extensions.Configuration.Abstractions/6.0.0": { + "dependencies": { + "Microsoft.Extensions.Primitives": "6.0.0" + } + }, + "Microsoft.Extensions.DependencyInjection/6.0.0": { + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "6.0.0", + "System.Runtime.CompilerServices.Unsafe": "6.0.0" + } + }, + "Microsoft.Extensions.DependencyInjection.Abstractions/6.0.0": {}, + "Microsoft.Extensions.Features/6.0.5": { + "runtime": { + "lib/net6.0/Microsoft.Extensions.Features.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.522.21802" + } + } + }, + "Microsoft.Extensions.Logging/6.0.0": { + "dependencies": { + "Microsoft.Extensions.DependencyInjection": "6.0.0", + "Microsoft.Extensions.DependencyInjection.Abstractions": "6.0.0", + "Microsoft.Extensions.Logging.Abstractions": "6.0.0", + "Microsoft.Extensions.Options": "6.0.0", + "System.Diagnostics.DiagnosticSource": "6.0.0" + } + }, + "Microsoft.Extensions.Logging.Abstractions/6.0.0": {}, + "Microsoft.Extensions.Options/6.0.0": { + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "6.0.0", + "Microsoft.Extensions.Primitives": "6.0.0" + } + }, + "Microsoft.Extensions.Primitives/6.0.0": { + "dependencies": { + "System.Runtime.CompilerServices.Unsafe": "6.0.0" + } + }, + "Microsoft.Identity.Client/4.21.1": { + "runtime": { + "lib/netcoreapp2.1/Microsoft.Identity.Client.dll": { + "assemblyVersion": "4.21.1.0", + "fileVersion": "4.21.1.0" + } + } + }, + "Microsoft.IdentityModel.JsonWebTokens/6.8.0": { + "dependencies": { + "Microsoft.IdentityModel.Tokens": "6.8.0" + }, + "runtime": { + "lib/netstandard2.0/Microsoft.IdentityModel.JsonWebTokens.dll": { + "assemblyVersion": "6.8.0.0", + "fileVersion": "6.8.0.11012" + } + } + }, + "Microsoft.IdentityModel.Logging/6.8.0": { + "runtime": { + "lib/netstandard2.0/Microsoft.IdentityModel.Logging.dll": { + "assemblyVersion": "6.8.0.0", + "fileVersion": "6.8.0.11012" + } + } + }, + "Microsoft.IdentityModel.Protocols/6.8.0": { + "dependencies": { + "Microsoft.IdentityModel.Logging": "6.8.0", + "Microsoft.IdentityModel.Tokens": "6.8.0" + }, + "runtime": { + "lib/netstandard2.0/Microsoft.IdentityModel.Protocols.dll": { + "assemblyVersion": "6.8.0.0", + "fileVersion": "6.8.0.11012" + } + } + }, + "Microsoft.IdentityModel.Protocols.OpenIdConnect/6.8.0": { + "dependencies": { + "Microsoft.IdentityModel.Protocols": "6.8.0", + "System.IdentityModel.Tokens.Jwt": "6.8.0" + }, + "runtime": { + "lib/netstandard2.0/Microsoft.IdentityModel.Protocols.OpenIdConnect.dll": { + "assemblyVersion": "6.8.0.0", + "fileVersion": "6.8.0.11012" + } + } + }, + "Microsoft.IdentityModel.Tokens/6.8.0": { + "dependencies": { + "Microsoft.CSharp": "4.5.0", + "Microsoft.IdentityModel.Logging": "6.8.0", + "System.Security.Cryptography.Cng": "4.5.0" + }, + "runtime": { + "lib/netstandard2.0/Microsoft.IdentityModel.Tokens.dll": { + "assemblyVersion": "6.8.0.0", + "fileVersion": "6.8.0.11012" + } + } + }, + "Microsoft.NETCore.Platforms/3.1.0": {}, + "Microsoft.OpenApi/1.2.3": { + "runtime": { + "lib/netstandard2.0/Microsoft.OpenApi.dll": { + "assemblyVersion": "1.2.3.0", + "fileVersion": "1.2.3.0" + } + } + }, + "Microsoft.Web.Infrastructure/1.0.0": { + "runtime": { + "lib/net40/Microsoft.Web.Infrastructure.dll": { + "assemblyVersion": "1.0.0.0", + "fileVersion": "1.0.20105.407" + } + } + }, + "Microsoft.Win32.Registry/4.7.0": { + "dependencies": { + "System.Security.AccessControl": "4.7.0", + "System.Security.Principal.Windows": "4.7.0" + } + }, + "Microsoft.Win32.SystemEvents/4.7.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "3.1.0" + }, + "runtime": { + "lib/netstandard2.0/Microsoft.Win32.SystemEvents.dll": { + "assemblyVersion": "4.0.2.0", + "fileVersion": "4.700.19.56404" + } + }, + "runtimeTargets": { + "runtimes/win/lib/netcoreapp3.0/Microsoft.Win32.SystemEvents.dll": { + "rid": "win", + "assetType": "runtime", + "assemblyVersion": "4.0.2.0", + "fileVersion": "4.700.19.56404" + } + } + }, + "Newtonsoft.Json/13.0.3": { + "runtime": { + "lib/net6.0/Newtonsoft.Json.dll": { + "assemblyVersion": "13.0.0.0", + "fileVersion": "13.0.3.27908" + } + } + }, + "SSH.NET/2020.0.2": { + "dependencies": { + "SshNet.Security.Cryptography": "1.3.0" + }, + "runtime": { + "lib/netstandard2.0/Renci.SshNet.dll": { + "assemblyVersion": "2020.0.2.0", + "fileVersion": "2020.0.2.0" + } + } + }, + "SshNet.Security.Cryptography/1.3.0": { + "runtime": { + "lib/netstandard2.0/SshNet.Security.Cryptography.dll": { + "assemblyVersion": "1.3.0.0", + "fileVersion": "1.3.0.0" + } + } + }, + "Swashbuckle.AspNetCore/6.3.1": { + "dependencies": { + "Microsoft.Extensions.ApiDescription.Server": "3.0.0", + "Swashbuckle.AspNetCore.Swagger": "6.3.1", + "Swashbuckle.AspNetCore.SwaggerGen": "6.3.1", + "Swashbuckle.AspNetCore.SwaggerUI": "6.3.1" + } + }, + "Swashbuckle.AspNetCore.Swagger/6.3.1": { + "dependencies": { + "Microsoft.OpenApi": "1.2.3" + }, + "runtime": { + "lib/net6.0/Swashbuckle.AspNetCore.Swagger.dll": { + "assemblyVersion": "6.3.1.0", + "fileVersion": "6.3.1.0" + } + } + }, + "Swashbuckle.AspNetCore.SwaggerGen/6.3.1": { + "dependencies": { + "Swashbuckle.AspNetCore.Swagger": "6.3.1" + }, + "runtime": { + "lib/net6.0/Swashbuckle.AspNetCore.SwaggerGen.dll": { + "assemblyVersion": "6.3.1.0", + "fileVersion": "6.3.1.0" + } + } + }, + "Swashbuckle.AspNetCore.SwaggerUI/6.3.1": { + "runtime": { + "lib/net6.0/Swashbuckle.AspNetCore.SwaggerUI.dll": { + "assemblyVersion": "6.3.1.0", + "fileVersion": "6.3.1.0" + } + } + }, + "System.Collections.Immutable/6.0.0": { + "dependencies": { + "System.Runtime.CompilerServices.Unsafe": "6.0.0" + } + }, + "System.Configuration.ConfigurationManager/4.7.0": { + "dependencies": { + "System.Security.Cryptography.ProtectedData": "4.7.0", + "System.Security.Permissions": "4.7.0" + }, + "runtime": { + "lib/netstandard2.0/System.Configuration.ConfigurationManager.dll": { + "assemblyVersion": "4.0.3.0", + "fileVersion": "4.700.19.56404" + } + } + }, + "System.Diagnostics.DiagnosticSource/6.0.0": { + "dependencies": { + "System.Runtime.CompilerServices.Unsafe": "6.0.0" + } + }, + "System.DirectoryServices.Protocols/6.0.1": { + "runtime": { + "lib/net6.0/System.DirectoryServices.Protocols.dll": { + "assemblyVersion": "6.0.0.1", + "fileVersion": "6.0.222.6406" + } + }, + "runtimeTargets": { + "runtimes/linux/lib/net6.0/System.DirectoryServices.Protocols.dll": { + "rid": "linux", + "assetType": "runtime", + "assemblyVersion": "6.0.0.1", + "fileVersion": "6.0.222.6406" + }, + "runtimes/osx/lib/net6.0/System.DirectoryServices.Protocols.dll": { + "rid": "osx", + "assetType": "runtime", + "assemblyVersion": "6.0.0.1", + "fileVersion": "6.0.222.6406" + }, + "runtimes/win/lib/net6.0/System.DirectoryServices.Protocols.dll": { + "rid": "win", + "assetType": "runtime", + "assemblyVersion": "6.0.0.1", + "fileVersion": "6.0.222.6406" + } + } + }, + "System.Drawing.Common/4.7.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "3.1.0", + "Microsoft.Win32.SystemEvents": "4.7.0" + }, + "runtime": { + "lib/netstandard2.0/System.Drawing.Common.dll": { + "assemblyVersion": "4.0.0.1", + "fileVersion": "4.6.26919.2" + } + }, + "runtimeTargets": { + "runtimes/unix/lib/netcoreapp3.0/System.Drawing.Common.dll": { + "rid": "unix", + "assetType": "runtime", + "assemblyVersion": "4.0.2.0", + "fileVersion": "4.700.19.56404" + }, + "runtimes/win/lib/netcoreapp3.0/System.Drawing.Common.dll": { + "rid": "win", + "assetType": "runtime", + "assemblyVersion": "4.0.2.0", + "fileVersion": "4.700.19.56404" + } + } + }, + "System.IdentityModel.Tokens.Jwt/6.8.0": { + "dependencies": { + "Microsoft.IdentityModel.JsonWebTokens": "6.8.0", + "Microsoft.IdentityModel.Tokens": "6.8.0" + }, + "runtime": { + "lib/netstandard2.0/System.IdentityModel.Tokens.Jwt.dll": { + "assemblyVersion": "6.8.0.0", + "fileVersion": "6.8.0.11012" + } + } + }, + "System.IO.Pipelines/6.0.3": { + "runtime": { + "lib/net6.0/System.IO.Pipelines.dll": { + "assemblyVersion": "6.0.0.0", + "fileVersion": "6.0.522.21309" + } + } + }, + "System.Runtime.Caching/4.7.0": { + "dependencies": { + "System.Configuration.ConfigurationManager": "4.7.0" + }, + "runtime": { + "lib/netstandard2.0/System.Runtime.Caching.dll": { + "assemblyVersion": "4.0.1.0", + "fileVersion": "4.700.19.56404" + } + }, + "runtimeTargets": { + "runtimes/win/lib/netstandard2.0/System.Runtime.Caching.dll": { + "rid": "win", + "assetType": "runtime", + "assemblyVersion": "4.0.1.0", + "fileVersion": "4.700.19.56404" + } + } + }, + "System.Runtime.CompilerServices.Unsafe/6.0.0": {}, + "System.Security.AccessControl/4.7.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "3.1.0", + "System.Security.Principal.Windows": "4.7.0" + } + }, + "System.Security.Cryptography.Cng/4.5.0": {}, + "System.Security.Cryptography.ProtectedData/4.7.0": { + "runtime": { + "lib/netstandard2.0/System.Security.Cryptography.ProtectedData.dll": { + "assemblyVersion": "4.0.5.0", + "fileVersion": "4.700.19.56404" + } + }, + "runtimeTargets": { + "runtimes/win/lib/netstandard2.0/System.Security.Cryptography.ProtectedData.dll": { + "rid": "win", + "assetType": "runtime", + "assemblyVersion": "4.0.5.0", + "fileVersion": "4.700.19.56404" + } + } + }, + "System.Security.Permissions/4.7.0": { + "dependencies": { + "System.Security.AccessControl": "4.7.0", + "System.Windows.Extensions": "4.7.0" + }, + "runtime": { + "lib/netcoreapp3.0/System.Security.Permissions.dll": { + "assemblyVersion": "4.0.3.0", + "fileVersion": "4.700.19.56404" + } + } + }, + "System.Security.Principal.Windows/4.7.0": {}, + "System.Text.Encoding.CodePages/4.7.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "3.1.0" + } + }, + "System.Windows.Extensions/4.7.0": { + "dependencies": { + "System.Drawing.Common": "4.7.0" + }, + "runtime": { + "lib/netcoreapp3.0/System.Windows.Extensions.dll": { + "assemblyVersion": "4.0.1.0", + "fileVersion": "4.700.19.56404" + } + }, + "runtimeTargets": { + "runtimes/win/lib/netcoreapp3.0/System.Windows.Extensions.dll": { + "rid": "win", + "assetType": "runtime", + "assemblyVersion": "4.0.1.0", + "fileVersion": "4.700.19.56404" + } + } + } + } + }, + "libraries": { + "ApiPolo/1.0.0": { + "type": "project", + "serviceable": false, + "sha512": "" + }, + "Cronos/0.7.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-aa2DY3qGBnwX7/jW4c17PyRlIeAtc5nYTlAPekc0113jcbBuz9vQkQaQ9NG+TNGlAj4esFxh8OuKUv4vmAODbw==", + "path": "cronos/0.7.1", + "hashPath": "cronos.0.7.1.nupkg.sha512" + }, + "FirebaseAdmin/2.3.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-ror9V68bFWdr3VXoCPQrAAJ1ZA8dyLzIHJvy53BmoD83Ze9VuWC9hPBicPqqOANP3VTMWnylC7xci59UEMuU4A==", + "path": "firebaseadmin/2.3.0", + "hashPath": "firebaseadmin.2.3.0.nupkg.sha512" + }, + "Google.Api.Gax/3.2.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-0OjahFAHTOoprSgvJiQ6/fIQLrUYU4QIFgkuJ51/lcmhZbuXxB3ycPk3JTVEvx6A5yQBL14wgmHgwXLcEsnu3Q==", + "path": "google.api.gax/3.2.0", + "hashPath": "google.api.gax.3.2.0.nupkg.sha512" + }, + "Google.Api.Gax.Rest/3.2.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-YY4mD0nGxTx1uez7Perm+zAd3FH50dd3+7HTYsRFCywDEtj3RkrMjcAmw6mNpKkw2sRICu7aYNy1mgMjd3nVbw==", + "path": "google.api.gax.rest/3.2.0", + "hashPath": "google.api.gax.rest.3.2.0.nupkg.sha512" + }, + "Google.Apis/1.49.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-fmXQQTxZFOBlnvokvdQMzq0Lt+g2QzpZ4H6U8lMMFHgAR8ZqxQnPN5yHDpoHf7a++hJHb5W3pALxauGsq+afKQ==", + "path": "google.apis/1.49.0", + "hashPath": "google.apis.1.49.0.nupkg.sha512" + }, + "Google.Apis.Auth/1.49.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-3V9ohvixQtjaEvk7T9Ac7E/KvwEPa7eL4aMNreJDI0CEPzCdQdk2zCvaJPRrNIjhe+UuBeOeom1oAOMFB74JHg==", + "path": "google.apis.auth/1.49.0", + "hashPath": "google.apis.auth.1.49.0.nupkg.sha512" + }, + "Google.Apis.Core/1.49.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-9DgGdtyzgrCfHWwc/HiDXDbykNMeKQozbEHYEUEcezRuH+YR3fvq7YGVBDmUM8g6qEL3kDk6h5EU4h0IJwue1w==", + "path": "google.apis.core/1.49.0", + "hashPath": "google.apis.core.1.49.0.nupkg.sha512" + }, + "Humanizer.Core/2.8.26": { + "type": "package", + "serviceable": true, + "sha512": "sha512-OiKusGL20vby4uDEswj2IgkdchC1yQ6rwbIkZDVBPIR6al2b7n3pC91elBul9q33KaBgRKhbZH3+2Ur4fnWx2A==", + "path": "humanizer.core/2.8.26", + "hashPath": "humanizer.core.2.8.26.nupkg.sha512" + }, + "Microsoft.AspNet.Mvc/5.2.9": { + "type": "package", + "serviceable": true, + "sha512": "sha512-bcekKshCAh7kTWSMZPavQStSZQF/QmjEjO2gVWGITEd0/t5eRlb+ZLDE+az2qY1bZ8L6Hz0OCNeS0uzXtJcK5w==", + "path": "microsoft.aspnet.mvc/5.2.9", + "hashPath": "microsoft.aspnet.mvc.5.2.9.nupkg.sha512" + }, + "Microsoft.AspNet.Razor/3.2.9": { + "type": "package", + "serviceable": true, + "sha512": "sha512-QOJEnEw3xp+t5lMvYR5nGCF4CfZpHqr2p8uZOBEgDZoB6r2txtSj6581YNr+/dOHjI3YRlo1QAKGQoSohbQ/KA==", + "path": "microsoft.aspnet.razor/3.2.9", + "hashPath": "microsoft.aspnet.razor.3.2.9.nupkg.sha512" + }, + "Microsoft.AspNet.WebPages/3.2.9": { + "type": "package", + "serviceable": true, + "sha512": "sha512-yByb721lwv8YFsx1oKA5CLKXa89XVbVMkPafS4bg/bPelBEgChq/coFBQEkA4kwcabG7AR56w3vapnoZUfr2Cw==", + "path": "microsoft.aspnet.webpages/3.2.9", + "hashPath": "microsoft.aspnet.webpages.3.2.9.nupkg.sha512" + }, + "Microsoft.AspNetCore.Authentication.Negotiate/6.0.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-ZgKdA5VnmZSdpuyS9f4Myn2ybSYPyhOGWvZ63Z+ys0z9WcHGx6jyN4IjK8ORTdkhc7dOYxsMF/v/K+CGtvCbUA==", + "path": "microsoft.aspnetcore.authentication.negotiate/6.0.5", + "hashPath": "microsoft.aspnetcore.authentication.negotiate.6.0.5.nupkg.sha512" + }, + "Microsoft.AspNetCore.Connections.Abstractions/6.0.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-OBbGvih5/CLHTbJVDiJ203TmKXCx8z539O2YGnfHmExbNtMwyQ9rgpqoxyYEVvQrVsqxRhXfh57DOCQYhxcOBQ==", + "path": "microsoft.aspnetcore.connections.abstractions/6.0.5", + "hashPath": "microsoft.aspnetcore.connections.abstractions.6.0.5.nupkg.sha512" + }, + "Microsoft.Bcl.AsyncInterfaces/1.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-K63Y4hORbBcKLWH5wnKgzyn7TOfYzevIEwIedQHBIkmkEBA9SCqgvom+XTuE+fAFGvINGkhFItaZ2dvMGdT5iw==", + "path": "microsoft.bcl.asyncinterfaces/1.0.0", + "hashPath": "microsoft.bcl.asyncinterfaces.1.0.0.nupkg.sha512" + }, + "Microsoft.CSharp/4.5.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-kaj6Wb4qoMuH3HySFJhxwQfe8R/sJsNJnANrvv8WdFPMoNbKY5htfNscv+LHCu5ipz+49m2e+WQXpLXr9XYemQ==", + "path": "microsoft.csharp/4.5.0", + "hashPath": "microsoft.csharp.4.5.0.nupkg.sha512" + }, + "Microsoft.Data.SqlClient/2.1.4": { + "type": "package", + "serviceable": true, + "sha512": "sha512-cDcKBTKILdRuAzJjbgXwGcUQXzMue+SG02kD4tZTXXfoz4ALrGLpCnA5k9khw3fnAMlMnRzLIGuvRdJurqmESA==", + "path": "microsoft.data.sqlclient/2.1.4", + "hashPath": "microsoft.data.sqlclient.2.1.4.nupkg.sha512" + }, + "Microsoft.Data.SqlClient.SNI.runtime/2.1.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-JwGDWkyZgm7SATJmFLfT2G4teimvNbNtq3lsS9a5DzvhEZnQrZjZhevCU0vdx8MjheLHoG5vocuO03QtioFQxQ==", + "path": "microsoft.data.sqlclient.sni.runtime/2.1.1", + "hashPath": "microsoft.data.sqlclient.sni.runtime.2.1.1.nupkg.sha512" + }, + "Microsoft.EntityFrameworkCore/6.0.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-hP5J3EvpVdZmCn1D3ovedphvZrIn3OXZaBZfEnCkSCqqbqAu6xzwbNqwRkik0y4R6zOOf4eLh1riwjy4eAUlZA==", + "path": "microsoft.entityframeworkcore/6.0.5", + "hashPath": "microsoft.entityframeworkcore.6.0.5.nupkg.sha512" + }, + "Microsoft.EntityFrameworkCore.Abstractions/6.0.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-Q3/fKW6XCTfnDk4fYP2BJZi84cD2SuCPkP3A3QqxvCQcXbX90bfSLzVIsoMXzigHGJgZUJ+Un7QodT5Nvk0+Eg==", + "path": "microsoft.entityframeworkcore.abstractions/6.0.5", + "hashPath": "microsoft.entityframeworkcore.abstractions.6.0.5.nupkg.sha512" + }, + "Microsoft.EntityFrameworkCore.Analyzers/6.0.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-QUeDIhs+O+MoDEc3k60mNyVDbwyDURCqZQlZoKShuZUcSfXSrDMbHKuFSxBIDNQBt092qSjfnwf7w0Ua/IB3Zw==", + "path": "microsoft.entityframeworkcore.analyzers/6.0.5", + "hashPath": "microsoft.entityframeworkcore.analyzers.6.0.5.nupkg.sha512" + }, + "Microsoft.EntityFrameworkCore.Design/6.0.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-zNjMWJ6MJ/Qm7S6wFBqVgn7DEpilbDMy0xgA7c4Y1yY9/LoaC2pWwWO4ePaYoPCZpLx/eTViWEr5ZXta/vK//Q==", + "path": "microsoft.entityframeworkcore.design/6.0.5", + "hashPath": "microsoft.entityframeworkcore.design.6.0.5.nupkg.sha512" + }, + "Microsoft.EntityFrameworkCore.Relational/6.0.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-vhAQizlAgvPfurkh9XysNaFc/g3WPXtSka3Y1rXuQdnT//p16CDKt9lO9h+rYmooD+cA7TijSxwqck4GApDT/Q==", + "path": "microsoft.entityframeworkcore.relational/6.0.5", + "hashPath": "microsoft.entityframeworkcore.relational.6.0.5.nupkg.sha512" + }, + "Microsoft.EntityFrameworkCore.SqlServer/6.0.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-fBBG1AvrqPSvTEWyg9W18F/obiV7Soi/RItwBt48kjte1heRaogCsKj8KBnJQACM/8L+NAhyKp3BH12nN7+yDA==", + "path": "microsoft.entityframeworkcore.sqlserver/6.0.5", + "hashPath": "microsoft.entityframeworkcore.sqlserver.6.0.5.nupkg.sha512" + }, + "Microsoft.EntityFrameworkCore.Tools/6.0.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-aeCzVNLmDl9IfB19WAjrlKcG61Cl4/ZV/9ubifmifKEps+kvMkKIcams5j+8q6dtx9/UL2x3tbOz2BS3eU0sXQ==", + "path": "microsoft.entityframeworkcore.tools/6.0.5", + "hashPath": "microsoft.entityframeworkcore.tools.6.0.5.nupkg.sha512" + }, + "Microsoft.Extensions.ApiDescription.Server/3.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-LH4OE/76F6sOCslif7+Xh3fS/wUUrE5ryeXAMcoCnuwOQGT5Smw0p57IgDh/pHgHaGz/e+AmEQb7pRgb++wt0w==", + "path": "microsoft.extensions.apidescription.server/3.0.0", + "hashPath": "microsoft.extensions.apidescription.server.3.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.Caching.Abstractions/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-bcz5sSFJbganH0+YrfvIjJDIcKNW7TL07C4d1eTmXy/wOt52iz4LVogJb6pazs7W0+74j0YpXFErvp++Aq5Bsw==", + "path": "microsoft.extensions.caching.abstractions/6.0.0", + "hashPath": "microsoft.extensions.caching.abstractions.6.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.Caching.Memory/6.0.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-B4y+Cev05eMcjf1na0v9gza6GUtahXbtY1JCypIgx3B4Ea/KAgsWyXEmW4q6zMbmTMtKzmPVk09rvFJirvMwTg==", + "path": "microsoft.extensions.caching.memory/6.0.1", + "hashPath": "microsoft.extensions.caching.memory.6.0.1.nupkg.sha512" + }, + "Microsoft.Extensions.Configuration.Abstractions/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-qWzV9o+ZRWq+pGm+1dF+R7qTgTYoXvbyowRoBxQJGfqTpqDun2eteerjRQhq5PQ/14S+lqto3Ft4gYaRyl4rdQ==", + "path": "microsoft.extensions.configuration.abstractions/6.0.0", + "hashPath": "microsoft.extensions.configuration.abstractions.6.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.DependencyInjection/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-k6PWQMuoBDGGHOQTtyois2u4AwyVcIwL2LaSLlTZQm2CYcJ1pxbt6jfAnpWmzENA/wfrYRI/X9DTLoUkE4AsLw==", + "path": "microsoft.extensions.dependencyinjection/6.0.0", + "hashPath": "microsoft.extensions.dependencyinjection.6.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.DependencyInjection.Abstractions/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-xlzi2IYREJH3/m6+lUrQlujzX8wDitm4QGnUu6kUXTQAWPuZY8i+ticFJbzfqaetLA6KR/rO6Ew/HuYD+bxifg==", + "path": "microsoft.extensions.dependencyinjection.abstractions/6.0.0", + "hashPath": "microsoft.extensions.dependencyinjection.abstractions.6.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.Features/6.0.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-y7KLF1jRFQjSttfoilwHU86cU9ZgxN4ABfQR8tQ9qEC5AzTGYIX+K5RDwGFVK320eTiBwWuutV24ecmxBxo7Eg==", + "path": "microsoft.extensions.features/6.0.5", + "hashPath": "microsoft.extensions.features.6.0.5.nupkg.sha512" + }, + "Microsoft.Extensions.Logging/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-eIbyj40QDg1NDz0HBW0S5f3wrLVnKWnDJ/JtZ+yJDFnDj90VoPuoPmFkeaXrtu+0cKm5GRAwoDf+dBWXK0TUdg==", + "path": "microsoft.extensions.logging/6.0.0", + "hashPath": "microsoft.extensions.logging.6.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.Logging.Abstractions/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-/HggWBbTwy8TgebGSX5DBZ24ndhzi93sHUBDvP1IxbZD7FDokYzdAr6+vbWGjw2XAfR2EJ1sfKUotpjHnFWPxA==", + "path": "microsoft.extensions.logging.abstractions/6.0.0", + "hashPath": "microsoft.extensions.logging.abstractions.6.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.Options/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-dzXN0+V1AyjOe2xcJ86Qbo233KHuLEY0njf/P2Kw8SfJU+d45HNS2ctJdnEnrWbM9Ye2eFgaC5Mj9otRMU6IsQ==", + "path": "microsoft.extensions.options/6.0.0", + "hashPath": "microsoft.extensions.options.6.0.0.nupkg.sha512" + }, + "Microsoft.Extensions.Primitives/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-9+PnzmQFfEFNR9J2aDTfJGGupShHjOuGw4VUv+JB044biSHrnmCIMD+mJHmb2H7YryrfBEXDurxQ47gJZdCKNQ==", + "path": "microsoft.extensions.primitives/6.0.0", + "hashPath": "microsoft.extensions.primitives.6.0.0.nupkg.sha512" + }, + "Microsoft.Identity.Client/4.21.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-vycgk7S/HAbHaUaK4Tid1fsWHsXdFRRP2KavAIOHCVV27zvuQfYAjXmMvctuuF4egydSumG58CwPZob3gWeYgQ==", + "path": "microsoft.identity.client/4.21.1", + "hashPath": "microsoft.identity.client.4.21.1.nupkg.sha512" + }, + "Microsoft.IdentityModel.JsonWebTokens/6.8.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-+7JIww64PkMt7NWFxoe4Y/joeF7TAtA/fQ0b2GFGcagzB59sKkTt/sMZWR6aSZht5YC7SdHi3W6yM1yylRGJCQ==", + "path": "microsoft.identitymodel.jsonwebtokens/6.8.0", + "hashPath": "microsoft.identitymodel.jsonwebtokens.6.8.0.nupkg.sha512" + }, + "Microsoft.IdentityModel.Logging/6.8.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-Rfh/p4MaN4gkmhPxwbu8IjrmoDncGfHHPh1sTnc0AcM/Oc39/fzC9doKNWvUAjzFb8LqA6lgZyblTrIsX/wDXg==", + "path": "microsoft.identitymodel.logging/6.8.0", + "hashPath": "microsoft.identitymodel.logging.6.8.0.nupkg.sha512" + }, + "Microsoft.IdentityModel.Protocols/6.8.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-OJZx5nPdiH+MEkwCkbJrTAUiO/YzLe0VSswNlDxJsJD9bhOIdXHufh650pfm59YH1DNevp3/bXzukKrG57gA1w==", + "path": "microsoft.identitymodel.protocols/6.8.0", + "hashPath": "microsoft.identitymodel.protocols.6.8.0.nupkg.sha512" + }, + "Microsoft.IdentityModel.Protocols.OpenIdConnect/6.8.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-X/PiV5l3nYYsodtrNMrNQIVlDmHpjQQ5w48E+o/D5H4es2+4niEyQf3l03chvZGWNzBRhfSstaXr25/Ye4AeYw==", + "path": "microsoft.identitymodel.protocols.openidconnect/6.8.0", + "hashPath": "microsoft.identitymodel.protocols.openidconnect.6.8.0.nupkg.sha512" + }, + "Microsoft.IdentityModel.Tokens/6.8.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-gTqzsGcmD13HgtNePPcuVHZ/NXWmyV+InJgalW/FhWpII1D7V1k0obIseGlWMeA4G+tZfeGMfXr0klnWbMR/mQ==", + "path": "microsoft.identitymodel.tokens/6.8.0", + "hashPath": "microsoft.identitymodel.tokens.6.8.0.nupkg.sha512" + }, + "Microsoft.NETCore.Platforms/3.1.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-z7aeg8oHln2CuNulfhiLYxCVMPEwBl3rzicjvIX+4sUuCwvXw5oXQEtbiU2c0z4qYL5L3Kmx0mMA/+t/SbY67w==", + "path": "microsoft.netcore.platforms/3.1.0", + "hashPath": "microsoft.netcore.platforms.3.1.0.nupkg.sha512" + }, + "Microsoft.OpenApi/1.2.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-Nug3rO+7Kl5/SBAadzSMAVgqDlfGjJZ0GenQrLywJ84XGKO0uRqkunz5Wyl0SDwcR71bAATXvSdbdzPrYRYKGw==", + "path": "microsoft.openapi/1.2.3", + "hashPath": "microsoft.openapi.1.2.3.nupkg.sha512" + }, + "Microsoft.Web.Infrastructure/1.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-FNmvLn5m2LTU/Rs2KWVo0SIIh9Ek+U0ojex7xeDaSHw/zgEP77A8vY5cVWgUtBGS8MJfDGNn8rpXJWEIQaPwTg==", + "path": "microsoft.web.infrastructure/1.0.0", + "hashPath": "microsoft.web.infrastructure.1.0.0.nupkg.sha512" + }, + "Microsoft.Win32.Registry/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-KSrRMb5vNi0CWSGG1++id2ZOs/1QhRqROt+qgbEAdQuGjGrFcl4AOl4/exGPUYz2wUnU42nvJqon1T3U0kPXLA==", + "path": "microsoft.win32.registry/4.7.0", + "hashPath": "microsoft.win32.registry.4.7.0.nupkg.sha512" + }, + "Microsoft.Win32.SystemEvents/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-mtVirZr++rq+XCDITMUdnETD59XoeMxSpLRIII7JRI6Yj0LEDiO1pPn0ktlnIj12Ix8bfvQqQDMMIF9wC98oCA==", + "path": "microsoft.win32.systemevents/4.7.0", + "hashPath": "microsoft.win32.systemevents.4.7.0.nupkg.sha512" + }, + "Newtonsoft.Json/13.0.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-HrC5BXdl00IP9zeV+0Z848QWPAoCr9P3bDEZguI+gkLcBKAOxix/tLEAAHC+UvDNPv4a2d18lOReHMOagPa+zQ==", + "path": "newtonsoft.json/13.0.3", + "hashPath": "newtonsoft.json.13.0.3.nupkg.sha512" + }, + "SSH.NET/2020.0.2": { + "type": "package", + "serviceable": true, + "sha512": "sha512-G0dNlTBAM00KZXv1wWVwgg26d9/METcM6qWBpNQwllzQmmbu+Zu+FS1L1X4fFgGdPu3e8k9mmTBu6SwtQ0614g==", + "path": "ssh.net/2020.0.2", + "hashPath": "ssh.net.2020.0.2.nupkg.sha512" + }, + "SshNet.Security.Cryptography/1.3.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-5pBIXRjcSO/amY8WztpmNOhaaCNHY/B6CcYDI7FSTgqSyo/ZUojlLiKcsl+YGbxQuLX439qIkMfP0PHqxqJi/Q==", + "path": "sshnet.security.cryptography/1.3.0", + "hashPath": "sshnet.security.cryptography.1.3.0.nupkg.sha512" + }, + "Swashbuckle.AspNetCore/6.3.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-JFk0+HHUPdjYuPhkpGBMLi2JtnEuWkE2pp0yXQp64DmeMe+Fb0hZyVNq/ENJ2vQNso7Zg+C758WmR/xyAl36bA==", + "path": "swashbuckle.aspnetcore/6.3.1", + "hashPath": "swashbuckle.aspnetcore.6.3.1.nupkg.sha512" + }, + "Swashbuckle.AspNetCore.Swagger/6.3.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-idAFh4xhyJHYHfdLVOOn+BmscBul1OQbWsnL6YPJE8tO/0y6S79hDCvs6OY5VI093/9+1pYY3j31Zet9yaDZjA==", + "path": "swashbuckle.aspnetcore.swagger/6.3.1", + "hashPath": "swashbuckle.aspnetcore.swagger.6.3.1.nupkg.sha512" + }, + "Swashbuckle.AspNetCore.SwaggerGen/6.3.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-+uoBV4h/6NhCPLoTofSmuOnZ+usu4PW1jP6l4OHwPyu2frbYXGNpJsHs5uUXXn929OiVQkT8wo3Lj/o+P99Ejg==", + "path": "swashbuckle.aspnetcore.swaggergen/6.3.1", + "hashPath": "swashbuckle.aspnetcore.swaggergen.6.3.1.nupkg.sha512" + }, + "Swashbuckle.AspNetCore.SwaggerUI/6.3.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-JLm9hN67jh7RHsX3H30+tb432Li8xm/qV5lRyMMkyHYMfWitIuKAAdrpo2ILcHOIeH7CLMuOO2hp/iLBmE+Bkw==", + "path": "swashbuckle.aspnetcore.swaggerui/6.3.1", + "hashPath": "swashbuckle.aspnetcore.swaggerui.6.3.1.nupkg.sha512" + }, + "System.Collections.Immutable/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-l4zZJ1WU2hqpQQHXz1rvC3etVZN+2DLmQMO79FhOTZHMn8tDRr+WU287sbomD0BETlmKDn0ygUgVy9k5xkkJdA==", + "path": "system.collections.immutable/6.0.0", + "hashPath": "system.collections.immutable.6.0.0.nupkg.sha512" + }, + "System.Configuration.ConfigurationManager/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-/anOTeSZCNNI2zDilogWrZ8pNqCmYbzGNexUnNhjW8k0sHqEZ2nHJBp147jBV3hGYswu5lINpNg1vxR7bnqvVA==", + "path": "system.configuration.configurationmanager/4.7.0", + "hashPath": "system.configuration.configurationmanager.4.7.0.nupkg.sha512" + }, + "System.Diagnostics.DiagnosticSource/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-frQDfv0rl209cKm1lnwTgFPzNigy2EKk1BS3uAvHvlBVKe5cymGyHO+Sj+NLv5VF/AhHsqPIUUwya5oV4CHMUw==", + "path": "system.diagnostics.diagnosticsource/6.0.0", + "hashPath": "system.diagnostics.diagnosticsource.6.0.0.nupkg.sha512" + }, + "System.DirectoryServices.Protocols/6.0.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-ndUZlEkAMc1XzM0xGN++SsJrNhRkIHaKI8+te325vrUgoLT1ufWNI6KB8FFrL7NpRMHPrdxP99aF3fHbAPxW0A==", + "path": "system.directoryservices.protocols/6.0.1", + "hashPath": "system.directoryservices.protocols.6.0.1.nupkg.sha512" + }, + "System.Drawing.Common/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-v+XbyYHaZjDfn0ENmJEV1VYLgGgCTx1gnfOBcppowbpOAriglYgGCvFCPr2EEZyBvXlpxbEsTwkOlInl107ahA==", + "path": "system.drawing.common/4.7.0", + "hashPath": "system.drawing.common.4.7.0.nupkg.sha512" + }, + "System.IdentityModel.Tokens.Jwt/6.8.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-5tBCjAub2Bhd5qmcd0WhR5s354e4oLYa//kOWrkX+6/7ZbDDJjMTfwLSOiZ/MMpWdE4DWPLOfTLOq/juj9CKzA==", + "path": "system.identitymodel.tokens.jwt/6.8.0", + "hashPath": "system.identitymodel.tokens.jwt.6.8.0.nupkg.sha512" + }, + "System.IO.Pipelines/6.0.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-ryTgF+iFkpGZY1vRQhfCzX0xTdlV3pyaTTqRu2ETbEv+HlV7O6y7hyQURnghNIXvctl5DuZ//Dpks6HdL/Txgw==", + "path": "system.io.pipelines/6.0.3", + "hashPath": "system.io.pipelines.6.0.3.nupkg.sha512" + }, + "System.Runtime.Caching/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-NdvNRjTPxYvIEhXQszT9L9vJhdQoX6AQ0AlhjTU+5NqFQVuacJTfhPVAvtGWNA2OJCqRiR/okBcZgMwI6MqcZg==", + "path": "system.runtime.caching/4.7.0", + "hashPath": "system.runtime.caching.4.7.0.nupkg.sha512" + }, + "System.Runtime.CompilerServices.Unsafe/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==", + "path": "system.runtime.compilerservices.unsafe/6.0.0", + "hashPath": "system.runtime.compilerservices.unsafe.6.0.0.nupkg.sha512" + }, + "System.Security.AccessControl/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-JECvTt5aFF3WT3gHpfofL2MNNP6v84sxtXxpqhLBCcDRzqsPBmHhQ6shv4DwwN2tRlzsUxtb3G9M3763rbXKDg==", + "path": "system.security.accesscontrol/4.7.0", + "hashPath": "system.security.accesscontrol.4.7.0.nupkg.sha512" + }, + "System.Security.Cryptography.Cng/4.5.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-WG3r7EyjUe9CMPFSs6bty5doUqT+q9pbI80hlNzo2SkPkZ4VTuZkGWjpp77JB8+uaL4DFPRdBsAY+DX3dBK92A==", + "path": "system.security.cryptography.cng/4.5.0", + "hashPath": "system.security.cryptography.cng.4.5.0.nupkg.sha512" + }, + "System.Security.Cryptography.ProtectedData/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-ehYW0m9ptxpGWvE4zgqongBVWpSDU/JCFD4K7krxkQwSz/sFQjEXCUqpvencjy6DYDbn7Ig09R8GFffu8TtneQ==", + "path": "system.security.cryptography.protecteddata/4.7.0", + "hashPath": "system.security.cryptography.protecteddata.4.7.0.nupkg.sha512" + }, + "System.Security.Permissions/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-dkOV6YYVBnYRa15/yv004eCGRBVADXw8qRbbNiCn/XpdJSUXkkUeIvdvFHkvnko4CdKMqG8yRHC4ox83LSlMsQ==", + "path": "system.security.permissions/4.7.0", + "hashPath": "system.security.permissions.4.7.0.nupkg.sha512" + }, + "System.Security.Principal.Windows/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-ojD0PX0XhneCsUbAZVKdb7h/70vyYMDYs85lwEI+LngEONe/17A0cFaRFqZU+sOEidcVswYWikYOQ9PPfjlbtQ==", + "path": "system.security.principal.windows/4.7.0", + "hashPath": "system.security.principal.windows.4.7.0.nupkg.sha512" + }, + "System.Text.Encoding.CodePages/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-aeu4FlaUTemuT1qOd1MyU4T516QR4Fy+9yDbwWMPHOHy7U8FD6SgTzdZFO7gHcfAPHtECqInbwklVvUK4RHcNg==", + "path": "system.text.encoding.codepages/4.7.0", + "hashPath": "system.text.encoding.codepages.4.7.0.nupkg.sha512" + }, + "System.Windows.Extensions/4.7.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-CeWTdRNfRaSh0pm2gDTJFwVaXfTq6Xwv/sA887iwPTneW7oMtMlpvDIO+U60+3GWTB7Aom6oQwv5VZVUhQRdPQ==", + "path": "system.windows.extensions/4.7.0", + "hashPath": "system.windows.extensions.4.7.0.nupkg.sha512" + } + } +} \ No newline at end of file diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/ApiPolo.dll b/ApiPolo/obj/Release/net6.0/PubTmp/Out/ApiPolo.dll new file mode 100644 index 0000000..40d8b15 Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/ApiPolo.dll differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/ApiPolo.exe b/ApiPolo/obj/Release/net6.0/PubTmp/Out/ApiPolo.exe new file mode 100644 index 0000000..034c160 Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/ApiPolo.exe differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/ApiPolo.pdb b/ApiPolo/obj/Release/net6.0/PubTmp/Out/ApiPolo.pdb new file mode 100644 index 0000000..4861719 Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/ApiPolo.pdb differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/ApiPolo.runtimeconfig.json b/ApiPolo/obj/Release/net6.0/PubTmp/Out/ApiPolo.runtimeconfig.json new file mode 100644 index 0000000..80d0347 --- /dev/null +++ b/ApiPolo/obj/Release/net6.0/PubTmp/Out/ApiPolo.runtimeconfig.json @@ -0,0 +1,20 @@ +{ + "runtimeOptions": { + "tfm": "net6.0", + "frameworks": [ + { + "name": "Microsoft.NETCore.App", + "version": "6.0.0" + }, + { + "name": "Microsoft.AspNetCore.App", + "version": "6.0.0" + } + ], + "configProperties": { + "System.GC.Server": true, + "System.Reflection.Metadata.MetadataUpdater.IsSupported": false, + "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false + } + } +} \ No newline at end of file diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/ApiPolo.xml b/ApiPolo/obj/Release/net6.0/PubTmp/Out/ApiPolo.xml new file mode 100644 index 0000000..fd2cf0b --- /dev/null +++ b/ApiPolo/obj/Release/net6.0/PubTmp/Out/ApiPolo.xml @@ -0,0 +1,8293 @@ + + + + ApiPolo + + + + + Controller unico + + + + polocontroller + + + vuoto=chiamata presa in carico 3=chiamata chiusa 2=manutenzione chiusa + + + + + + + + + + + + + + + 200=Ok 500=ErroreInterno 400=OperazioneNonAmmessa + + + + + + + + + + + + + + + + + + + + + Zucchetti Sicilia + + + Discovery + + + Sarom + + + Sinergo + + + Gitoga + + + Lifta + + + Siet + + + PMS + + + VT app + + + + + + + + + + + + Zucchetti Sicilia + + + Discovery + + + Sarom + + + Sinergo + + + Gitoga + + + Lifta + + + Siet + + + PMS + + + Virtual task + + + trasforma un Saldiart in un Mag_New + + + trasforma un Compi_Impia in un Mag_New + + + crea un cpccchk + + + formatta l'indirizzo della lista chiamate + + + formatta l'indirizzo stampa chiamate + + + formatta l'indirizzo stampa chiamateper Discovery + + + formatta il riferimento impainto (html) + + + formatta il riferimento impianto Disco (html) + + + formatta il riferimento impianto Ferrari (html) + + + formatta l'indirizzo stampa manutenzioni + + + formatta il riferimento impainto (html) + + + formatta l'indirizzo della lista manutenzioni + + + formatta riferimwnto impianto su buono (html) + + + formatta riferimwnto impianto su buono (html) Disco + + + Configurazioni per azienda return:ActionResult + + + token riewmpimento + + + elimina Token + + + inserisce Token + + + Magazzini per login return:ActionResult + + + Login iniziale return:ActionResult + + + Codici di chiusura per scheda intevento return:ActionResult + + + Chiamate per tecnico e azienda (tenant) in stato C=Assegnate return:ActionResult + + + presaInCarico: 1) crea un nuovo seriale per RAPP_NEW 2)inserisce il primo record di una presa in carico su RAPP_NEW return:ActionResult + + + rifiuta: 1) crea un nuovo seriale per RAPP_NEW 2)inserisce record su RAPP_NEW con INCARICO=N e RIFIUTATA=S return:ActionResult + + + chiudi: 1) crea un nuovo seriale per RAPP_NEW 2)inserisce record su RAPP_NEW con i dati dell'intervento return:ActionResult + + + rilascia: elimina record su RAPP_NEW con i dati dell'intervento return:ActionResult + + + Manutenzioni per tecnico e azienda (tenant). Intervallo: 1 mese prima e 1 mese dopo rispetto a GETDATE() con GENERATO diverso da S return:ActionResult + + + prendi_in_carico: inserisce record su Prese con i dati dell'intervento return:ActionResult + + + chiudi: 1) crea un nuovo seriale per RAPP_NEW 2)inserisce record su RAPP_NEW con i dati dell'intervento return:ActionResult + + + rilascia: elimina record su Prese con i dati dell'intervento return:ActionResult + + + + + + Upload return:ActionResult + + + Componenti impianto return:ActionResult + + + aggiunge un componente all'impianto. Inserisce in LABSEMICOMIMP return:ActionResult + + + toglie un componente all'impianto. Cancella in LABSEMICOMIMP return:ActionResult + + + Ricerca articoli per impianto return:ActionResult + + + rapportino per pezzi magazzino. Inserisce in LABSEMAG_NEW return:ActionResult + + + Ricerca Impianti return:ActionResult + + + Storico interventi return:ActionResult + + + Anagrafica return:ActionResult + + + Tabelle di dominio: causali pagamenti, causali rapportino, tipi esito, tipi intervento return:ActionResult + + + + + + Commesse return:ActionResult IEnumerable Commessa + + + Salva la timbratuta in tabella Timbrature return:ActionResult Timbratura_out + + + Storico rapportini tecnico return:ActionResult di Sto_Imp_out + + + Ricerca Commessa return:ActionResult + + + Salva la timbratuta in tabella Timbrature return:ActionResult Timbratura_out + + + Login iniziale return:ActionResult + + + VIRTUAL TASK: Tecnici per azienda + + + VIRTUAL TASK: Tecnici per azienda + + + VIRTUAL TASK: crea un tecnico return:ActionResult + + + VIRTUAL TASK: cancella un tecnico return:ActionResult + + + VIRTUAL TASK: modifica un tecnico return:ActionResult + + + VIRTUAL TASK: Codici di chiusura + + + VIRTUAL TASK: crea un codice chiusura return:ActionResult + + + VIRTUAL TASK: cancella un codice chiusura return:ActionResult + + + VIRTUAL TASK: modifica un codice chiusura return:ActionResult + + + VIRTUAL TASK: anagrafiche clienti per azienda + + + VIRTUAL TASK: crea una anagrafica return:ActionResult + + + VIRTUAL TASK: crea una anagrafica return:ActionResult + + + VIRTUAL TASK: modifica una anagrafica return:ActionResult + + + VIRTUAL TASK: cancella una anagrafica (valorizza data obsolescenza) return:ActionResult + + + VIRTUAL TASK: rapp_new per azienda + + + VIRTUAL TASK: crea una rappnew return:ActionResult + + + VIRTUAL TASK: modifica una anagrafica return:ActionResult + + + VIRTUAL TASK: cancella una rapp_new return:ActionResult + + + VIRTUAL TASK: impianti per azienda + + + VIRTUAL TASK: impianti per azienda + + + VIRTUAL TASK: crea un impianto return:ActionResult + + + VIRTUAL TASK: modifica un impianto return:ActionResult + + + VIRTUAL TASK: cancella un impianto return:ActionResult + + + VIRTUAL TASK: chiamate per azienda + + + VIRTUAL TASK: chiamate per azienda + + + VIRTUAL TASK: crea una chiamata return:ActionResult + + + VIRTUAL TASK: modifica una chiamata return:ActionResult + + + VIRTUAL TASK: cancella una chiamata return:ActionResult + + + VIRTUAL TASK: progressivi per azienda + + + VIRTUAL TASK: modifica un progressivo return:ActionResult + + + VIRTUAL TASK: dati azienda + + + VIRTUAL TASK: crea una azienda return:ActionResult + + + VIRTUAL TASK: modifica un progressivo return:ActionResult + + + VIRTUAL TASK: cancella una azienda return:ActionResult + + + VIRTUAL TASK: registrazioni + + + VIRTUAL TASK: crea una registrazione return:ActionResult + + + VIRTUAL TASK: modifica una registrazione return:ActionResult + + + VIRTUAL TASK: cancella una registrazione return:ActionResult + + + VIRTUAL TASK: registrazioni + + + VIRTUAL TASK: commesse + + + VIRTUAL TASK: crea una commessa return:ActionResult + + + VIRTUAL TASK: modifica una commessa return:ActionResult + + + VIRTUAL TASK: cancella una commessa (valorizza data obsolescenza) return:ActionResult + + + VIRTUAL TASK: dati Azienda + + + VIRTUAL TASK: crea dati azienda return:ActionResult + + + VIRTUAL TASK: modifica una commessa return:ActionResult + + + VIRTUAL TASK: cancella una dati azienda return:ActionResult + + + VIRTUAL TASK: dati Azienda + + + VIRTUAL TASK: inserisce buono + + + + Contiene i campi di SALDIART + + + + tipo + + + codice + + + email + + + codice fiscale + + + partita iva + + + indirizzo + + + telefono + + + cellulare + + + pec + + + descrizione + + + listino cliente + + + + + + + + + + + + + + + + + + tipo + + + codice + + + codice azienda + + + email + + + codice fiscale + + + partita iva + + + indirizzo + + + telefono + + + cellulare + + + pec + + + descrizione + + + listino cliente + + + cliente eliminato + + + + Contiene i campi di API_CLIENTI + + + + tipo + + + codice + + + email + + + codice fiscale + + + partita iva + + + indirizzo + + + telefono + + + cellulare + + + pec + + + descrizione + + + listino cliente + + + cliente eliminato + + + azienda (tenant2) + + + + Azienda prsente + + + + + Azienda tecnico + + + + Azienda collegata all'azienda principale + + + azienda + + + tecnico + + + tecnico + + + Nome azienda collegata + + + url logo + + + Testo rapportino + + + buoni rapportini + + + azienda + + + seriale buono + + + immagine + + + data inserimento + + + + Causali rapportino + + + + codice causale + + + descrizione causale + + + flag fatturazione + + + + + + + + + + + + + + + + + + + + + + + + + + + errore titolo + + + errore dettaglio + + + errore status code (200, 500) + + + ViSTA Chiamate + + + Azienda + + + + Seriale Chiamata + + + + + Stato chiamata + + + + + Codice Chiamatista assegnato + + + + + Data appuntamento chiamata + + + + + Ora appuntamento inizio + + + + + Minuti appuntamento inizio + + + + + Note appuntamento + + + + + Codice Impianto chiamata + + + + + Descrizione codice segnalazione + + + + + Telefono cliente + + + + + descrizione cliente + + + + + Indirizzo impianto tipo + + Via,Piazza, + + + + Indirizzo impianto nome + + + + + Indirizzo impianto numero + + + + + Indirizzo impianto sottonumero + + + + + Indirizzo impianto Scala + + + + + Indirizzo impianto località + + + + + Indirizzo impianto Cap + + + + + Indirizzo impianto comune + + + + + Indirizzo impianto provincia + + + + + Indirizzo impianto nazione + + + + + MANPROG: matricola impianto + + + + + MANPROG: numero impianto + + + + + MANPROG: ubicazione impianto + + + + + Tecnico descrizione + + + + + Tecnico codice + + + + + RAPP_NEW: seriale rapp_new preso in carico + + + + + RAPP_NEW: tipo rapp_new preso in carico (valore vuoto) + + + + + RAPP_NEW: preso in carico (S o NULL) + + + + + RAPP_NEW: seriale rapp_new rifiutata + + + + + RAPP_NEW: tipo rapp rifiutata (valore vuoto) + + + + + RAPP_NEW: rifiutato (S o null) + + + + + RAPP_NEW: seriale chiamata chiusa + + + + + RAPP_NEW: tipo chiamata chiusa (3 o null) + + + + + RAPP_NEW: seriale buono chiamata chiusa + + + + + errore titolo + + + + + errore dettaglio + + + + + errore status code (200, 500) + + + + Esercizio + + + Tipo + + + numero chiamata + + + Data inserimento chiamata + + + Ora inserimento chiamata + + + Minuti inserimento chiamata + + + operatore assegnazione + + + operatore di chiusura + + + azienda impianto + + + ora appuntamento fine + + + minuto appuntamento fine + + + Riferimento chiamata + + + telefono riferimento + + + tcodice segnalazione + + + Fermo impianto S/N + + + Data assegnazione chiamata + + + Ora assegnazione chiamata + + + Min assegnazione chiamata + + + Data chiusura chiamata + + + Ora chiusura chiamata + + + Min chiusura chiamata + + + Data inizio intervento + + + Ora inizio intervento + + + Min inizio intervento + + + Data fine intervento + + + Ora fine intervento + + + Min fine intervento + + + Numero 1 rapportino futuro + + + Serie 1 rapportino futuro + + + Numero 2 rapportino futuro + + + Modalità raccolta chiamata + + + Numero chiamata per impianto per anno + + + Importo manodopera + + + Percentuale manodopera + + + Stampa manodopera + + + Chiusura da remoto + + + Riferimento seriale importazione + + + Descrizione + + + Tipo impianto + + + Ultimo amministratore + + + Descrizione Ult. Amministratore + + + Telefono Ult. Amministratore + + + Zona manutenzione + + + Pubblico/privato + + + Zona chiamate + + + Zona supervisione + + + Data inizio manutenzione + + + Data fine manutenzione + + + Data costruzione + + + Numero telesoccorso + + + Email cliente + + + Ultimo cliente + + + codice cliente + + + tipo anagrafica + + + costo chiamata + + + spese viaggio + + + costo orario ordinario + + + costo orario notturno + + + costo orario straordinario + + + costo orario festivo + + + Azienda di riferimento associata all'impianto (gestione loghi differenti) + + + riferimento impianto (va su rapportino) + + + Tabella CHIAMATE (insert da app) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Tabella CHIAMATE (insert da app) - Output + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + errore titolo + + + errore dettaglio + + + errore status code (200, 500) + + + ViSTA Chiamate + + + Azienda + + + + Seriale Chiamata + + + + + Stato chiamata + + + + + Codice Chiamatista assegnato + + + + + Data appuntamento chiamata + + + + + Ora appuntamento inizio + + + + + Minuti appuntamento inizio + + + + + Note appuntamento + + + + + Codice Impianto chiamata + + + + + Descrizione codice segnalazione + + + + + Telefono cliente + + + + + descrizione cliente + + + + + Indirizzo impianto tipo + + Via,Piazza, + + + + Indirizzo impianto nome + + + + + Indirizzo impianto numero + + + + + Indirizzo impianto sottonumero + + + + + Indirizzo impianto Scala + + + + + Indirizzo impianto località + + + + + Indirizzo impianto Cap + + + + + Indirizzo impianto comune + + + + + Indirizzo impianto provincia + + + + + Indirizzo impianto nazione + + + + + matricola impianto + + + + + numero impianto + + + + + ubicazione impianto + + + + + Tecnico descrizione + + + + + Tecnico codice + + + + + RAPP_NEW: seriale rapp_new preso in carico + + + + + RAPP_NEW: tipo rapp_new preso in carico (valore vuoto) + + + + + RAPP_NEW: preso in carico (S o NULL) + + + + + RAPP_NEW: seriale rapp_new rifiutata + + + + + RAPP_NEW: tipo rapp rifiutata (valore vuoto) + + + + + RAPP_NEW: rifiutato (S o null) + + + + + RAPP_NEW: seriale chiamata chiusa + + + + + RAPP_NEW: tipo chiamata chiusa (3 o null) + + + + + RAPP_NEW: seriale buono chiamata chiusa + + + + + errore titolo + + + + + errore dettaglio + + + + + errore status code (200, 500) + + + + + altri dati chiamata + + Esercizio + + + Tipo + + + numero chiamata + + + Data inserimento chiamata + + + Ora inserimento chiamata + + + Minuti inserimento chiamata + + + operatore assegnazione + + + operatore di chiusura + + + azienda impianto + + + ora appuntamento fine + + + minuto appuntamento fine + + + Riferimento chiamata + + + telefono riferimento + + + tcodice segnalazione + + + altri campi + + + Codice cliente + + + costo chiamata + + + spese viaggio + + + costo orario ordinario + + + costo orario notturno + + + costo orario straordinario + + + costo orario festivo + + + Azienda di riferimento associata all'impianto (gestione loghi differenti) + + + riferimento impianto (va su rapportino) + + + indirizzo stampa (html) su buono + + + impianto per lista (html) + + + riferimento impianto (html) su buono + + + Chiusure + + + codice chiusura + + + descrizione + + + ccrapabi + + + obbligatoria + + + ccchiint + + + azienda + + + Descrizione supplementare da mettere sul rapportino + + + + (Virtual Task) Contiene i campi di CCHIUSA + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ViSTA API_COMMESSE + + + seriale Commessa + + + Codice Commessa + + + Fase Commessa + + + data fine validita Commessa + + + tipo + + + codice cliente + + + descrizione cliente + + + impianto + + + tipo ind + + + indirizzo + + + numero + + + lettera + + + scala + + + localita + + + CAP + + + provincia + + + ViSTA API_COMMESSE + + + Codice Commessa + + + Descrizione Commessa + + + data fine validita Commessa + + + tipo + + + codice cliente + + + descrizione cliente + + + impianto + + + tipo ind + + + indirizzo + + + numero + + + lettera + + + scala + + + localita + + + CAP + + + provincia + + + elemento lista formato html + + + Error title + + + Error deatail + + + Error code + + + ViSTA API_COMMESSE - VT + + + seriale Commessa + + + Azienda + + + Codice Commessa + + + Fase Commessa + + + data fine validita Commessa + + + tipo + + + codice cliente + + + descrizione cliente + + + impianto + + + tipo ind + + + indirizzo + + + numero + + + lettera + + + scala + + + localita + + + CAP + + + provincia + + + codice impianto - commesse + + + flag commessa generica cliente + + + seriale Commessa + + + seriale Commessa + + + Azienda + + + Codice Commessa + + + Fase Commessa + + + data fine validita Commessa + + + tipo + + + codice cliente + + + codice impianto + + + flag commessa generica cliente + + + + Contiene i campi di xxxMICOMIMP (componenti impianto) + + + + + codice impianto + + + + + codice impianto + + + + + indice riga + + + + + quantità + + + + + codice articolo + + + + + note + + + + + lotto articolo + + + + + matricola articolo + + + + + descrizione articolo + + + + + descrizione per ogni articolo (se abilitata da configurazioni) + + + + Contiene i campi di xxxMICOMIMP (componenti impianto) oggetto di output + + + + + codice impianto + + + + + codice impianto + + + + + indice riga + + + + + codice articolo + + + + + codice articolo + + + + + note + + + + + lotto articolo + + + + + matricola articolo + + + + + errore titolo + + + + + errore dettaglio + + + + + errore status code (200, 500) + + + + + Classe componenti per scrittura db + + + + + codice impianto + + + + + codice impianto + + + + + indice riga + + + + + codice articolo + + + + + codice articolo + + + + + note + + + + + lotto articolo + + + + + matricola articolo + + + + + + + azienda + + + path file buoni (immagini rapportini) + + + prefisso dei buoni da chiamata + + + prefisso dei buoni da mauntenzione + + + url ftp per upload delle immagini + + + utente ftp per upload delle immagini + + + password ftp per upload delle immagini + + + Listino articoli per magazzino + + + pulsante naviga nelle liste + + + pulsante telefona nelle liste + + + abilita funzione + + + abilita funzione + + + barcode abilitato opzionalmente in varie sezioni. Per renderlo obbligatorio vedi flag sott + + + + + + barcode obbligatorio + + + funziona anche offline + + + abilita funzione + + + hiamate_rifiuta_barcode + + + funziona anche offline + + + barcode obbligatorio + + + barcode obbligatorio + + + barcode obbligatorio + + + abilita funzione + + + funziona anche offline + + + abilita funzione + + + barcode obbligatorio + + + funziona anche offline + + + barcode obbligatorio + + + barcode obbligatorio + + + barcode obbligatorio + + + funziona anche offline + + + chiede presena DPI prima di scheda + + + visualizza anagrafica + + + abilita stato impianto + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + Costo orario intervento + + + porta ftp + + + barcode obbligatorio + + + storico rapportini + + + storico impianto + + + Abilita link storico interventi + + + Abilita link ricerca impianti + + + Abilita link storico impianto (solo per chi gestisce il magazzino) + + + Calcolo tempo rapportino automatico + + + Stampa ora inizio-fine su buono + + + Stampa intestazione su buono + + + Seriale chiamata da usare come teplate per inserire chiamata da app (commessa o normale) + + + 0=non abilitata 1,2,3=abilitata + + + Data rapportino editabile + + + articoli impianto in forma decimale + + + max num record in ricerca + + + storico impianto + + + Error Message + + + Error Message detail + + + Status + + + Configurazioni + + + azienda + + + path file buoni (immagini rapportini) + + + prefisso dei buoni da chiamata + + + prefisso dei buoni da mauntenzione + + + url ftp per upload delle immagini + + + utente ftp per upload delle immagini + + + password ftp per upload delle immagini + + + Listino articoli per magazzino + + + pulsante naviga nelle liste + + + pulsante telefona nelle liste + + + abilita funzione + + + abilita funzione + + + barcode abilitato opzionalmente in varie sezioni. Per renderlo obbligatorio vedi flag sott + + + + + + barcode obbligatorio + + + funziona anche offline + + + abilita funzione + + + hiamate_rifiuta_barcode + + + funziona anche offline + + + barcode obbligatorio + + + barcode obbligatorio + + + barcode obbligatorio + + + abilita funzione + + + funziona anche offline + + + abilita funzione + + + barcode obbligatorio + + + funziona anche offline + + + barcode obbligatorio + + + barcode obbligatorio + + + barcode obbligatorio + + + funziona anche offline + + + chiede presena DPI prima di scheda + + + visualizza anagrafica + + + abilita stato impianto + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + Costo orario intervento + + + porta ftp + + + barcode obbligatorio + + + OBSOLETO + + + OBSOLETO + + + Abilita link storico interventi + + + Abilita link ricerca impianti + + + Abilita link storico impianto (solo per chi gestisce il magazzino) + + + Calcolo tempo rapportino automatico + + + Stampa ora inizio-fine su buono + + + Stampa intestazione su buono + + + Seriale chiamata da usare come teplate per inserire chiamata da app (commessa o normale) + + + 0=non abilitata 1,2,3=abilitata + + + data rapportino editabile + + + articoli impianto in forma decimale se valore maggiore di 1 e la cifra indica il numero di cifre decimali, altrimenti sono numeri interi + + + max num record in ricerca + + + rende visibile la riga dei prezzi sul rapportino + + + rende visibile la riga dei prezzi sul rapportino + + + ConfigurazioniDbContext + + + conf + + + ConfigurazioniDbContext + + + OnModelCreating + + + + + + azienda + + + tecnico + + + Denominazione + + + url del logo esposto + + + logo + + + testo azienda rapportino + + + Aziende collegate + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Rapportini + + + ConfigurazioniDbContext + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Error + + + Error title + + + Error deatail + + + Error code + + + + + + + + + + + + + + + FERRA_CHIAMATEDbContext + + + FERRA_CHIAMATEDbContext + + + FERRA_CHIAMATEDbContext + + + OnModelCreating + + + FERRA_CHIUSUREDbContext + + + Chiusure + + + + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + FERRA_MANPROG_TECDbContext + + + Manutenzioni + + + Manutenzioni + + + OnModelCreating + + + + + + + + + + + + + + + FERRA_CHIAMATEDbContext + + + FERRA_CHIAMATEDbContext + + + + + + A + + + + + + Rapportini + + + ConfigurazioniDbContext + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Rapportini + + + ConfigurazioniDbContext + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Impianto + + + Codice Impianto + + + Descrizione Impianto + + + Tipo indirizzo (Via, piazza..) + + + indirizzo + + + numero civico + + + sottonumero + + + scala + + + localita + + + Cap + + + Comune + + + Provincia + + + Azienda + + + cod cliente + + + descrizione cliente + + + Data cancellazione + + + + + + Codice Impianto + + + Azienda + + + Descrizione Impianto + + + Tipo indirizzo (Via, piazza..) + + + indirizzo + + + numero civico + + + sottonumero + + + scala + + + localita + + + Cap + + + Comune + + + Provincia + + + cliente associato + + + Data cancellazione + + + Impianto out + + + Codice Impianto + + + Codice Impianto + + + Indirizzo Impianto + + + Cap + + + Comune + + + Provincia + + + Località + + + Error title + + + Error deatail + + + Error code + + + + Contiene i campi di input sia per RAPP_NEW che per PRESE + + + + + Tabella RAPP_NEW: Seriale rapportini + + + + + Tabella RAPP_NEW: Tipo rapportini + + + + + Tabella RAPP_NEW: Azienda + + + + + Tabella RAPP_NEW: Codice Impianto + + + + + Tabella RAPP_NEW: Azienda su cui è la chiamata + + + + + Tabella RAPP_NEW: Seriale chiamata + + + + + Tabella RAPP_NEW: Seriale chiamata + + + + + Tabella RAPP_NEW: Data rapportino + + + + + Tabella RAPP_NEW: Ora inizio + + + + + Tabella RAPP_NEW: Tabella RAPP_NEW: minuto inizio + + + + + Tabella RAPP_NEW: Ora fine + + + + + Tabella RAPP_NEW: Minuto fine + + + + + Tabella RAPP_NEW: codice chiusura + + + + + Tabella RAPP_NEW: codice chiusura + + + + + Tabella RAPP_NEW: codice chiusura + + + + + Tabella RAPP_NEW: codice chiusura + + + + + Tabella RAPP_NEW: codice chiusura + + + + + Tabella RAPP_NEW: codice chiusura + + + + + Tabella RAPP_NEW: codice chiusura + + + + + Tabella RAPP_NEW: codice chiusura + + + + + Tabella RAPP_NEW: codice chiusura + + + + + Tabella RAPP_NEW: codice chiusura + + + + + Tabella RAPP_NEW: descrizione intervento + + + + + Tabella RAPP_NEW: stato + + + + + Tabella RAPP_NEW: generato + + + + + Tabella RAPP_NEW: azienda tecnico + + + + + Tabella RAPP_NEW: codice tecnico + + + + + Tabella RAPP_NEW: flag rifiutata + + + + + Tabella RAPP_NEW: nominativo firma + + + + + Tabella RAPP_NEW: flag stato In Carico + + + + + Tabella RAPP_NEW: data validità + + + + + Tabella RAPP_NEW: pathg immagine buono o firma + + + + + Tabella RAPP_NEW: seriale del buono + + + + + Tabella RAPP_NEW: seriale del buono + + + + + Tabella RAPP_NEW: data/ora effettiva del lavoro (nel caso dispositivo offline) + + + + Tabella PRESE: Azienda + + + Tabella PRESE: Impianto + + + Tabella PRESE: Codice intervento QUI=? SEM=SEMESTRALE + + + Tabella PRESE: Tecnico + + + Tabella PRESE: data della manutenzione + + + Tabella PRESE: Zona manutenzione + + + Tabella PRESE: check presa + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Componenti impianto aggiunti + + + Componenti impianto eliminati + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Rapportini + + + ConfigurazioniDbContext + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + LoginModel + + + Username + + + Password + + + Tenant + + + Conf (configurazioni app) + + + pulsante naviga nelle liste + + + pulsante telefona nelle liste + + + abilita funzione + + + abilita funzione + + + barcode abilitato opzionalmente in varie sezioni. Per renderlo obbligatorio vedi flag sott + + + + + + barcode obbligatorio + + + funziona anche offline + + + abilita funzione + + + hiamate_rifiuta_barcode + + + funziona anche offline + + + barcode obbligatorio + + + barcode obbligatorio + + + barcode obbligatorio + + + abilita funzione + + + funziona anche offline + + + abilita funzione + + + barcode obbligatorio + + + funziona anche offline + + + barcode obbligatorio + + + barcode obbligatorio + + + barcode obbligatorio + + + funziona anche offline + + + chiede presena DPI prima di scheda + + + anagrafica visualizza anagrafica + + + abilita stato impianto + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + abilita + + + Costo orario intervento + + + porta ftp + + + barcode obbligatorio + + + storico rapportini abilita + + + storico impianto + + + Abilita link storico interventi + + + Abilita link ricerca impianti + + + Abilita link storico impianto (solo per chi gestisce il magazzino) + + + Calcolo tempo rapportino automatico + + + Stampa ora inizio-fine su buono + + + Stampa intestazione su buono + + + Seriale chiamata da usare come teplate per inserire chiamata da app (commessa o normale) + + + 0=non abilitata 1,2,3=abilitata + + + data rapportino editabile + + + articoli impianto in forma decimale + + + max num record in ricerca + + + rende visibile la riga dei prezzi sul rapportino + + + rende visibile la riga dei prezzi sul rapportino + + + LoginOut (token+user) + + + token + + + token + + + token + + + token + + + storico impianto + + + Error Message + + + Error Message detail + + + Status + + + flag admin + + + tenant + + + + Magazzini azienda + + + + + codice magazzino + + + + + descrizione + + + + + Contiene i campi di MAG_NEW + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + descrizione articolo + + + riga impianto + + + codice impianto + + + note + + + cpccchk + + + descrizione per ogni articolo (se abilitata da configurazioni) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + descrizione articolo + + + riga impianto + + + codice impianto + + + note + + + + errore titolo + + + + + errore dettaglio + + + + + errore status code (200, 500) + + + + + Manutenzioni Programmate + + + + + MANPROG: codice intervento (BIM=bimestrale, SEM=semestarle,..) + + + + + MANPROG: data prossima manutenzione + + + + + MANPROG: descrizione intervento + + + + + MANPROG: indirizzo 1 impianto + + + + + MANPROG: indirizzo 2 impianto + + + + + MANPROG: indirizzo 3 impianto + + + + + MANPROG: indirizzo 4 impianto + + + + + MANPROG: indirizzo 5 impianto + + + + + MANPROG: localita impianto + + + + + MANPROG: cap impianto + + + + + MANPROG: comune impianto + + + + + MANPROG: matricola impianto + + + + + MANPROG: numero impianto + + + + + MANPROG: ubicazione impianto + + + + + MANPROG: provincia 5 impianto + + + + + MANPROG: nazione impianto + + + + + MANPROG: codice impianto + + + + + MANPROG: tecnico descrizione + + + + + MANPROG: tecnico codice + + + + + RAPP_NEW: seriale rapportino + + + + + RAPP_NEW: seriale buono + + + + + RAPP_NEW: flag generato. Rapportino importato in AdHoc + + + + + PRESE: codice impianto + + + + + PRESE: codice intervento (BIM=bimestrale,SEM=semestrale) + + + + + PRESE: data manutenzione + + + + + errore titolo + + + + + errore dettaglio + + + + + errore status code (200, 500) + + + + + Manutenzioni: telefono 1 impianto + + + + + Manutenzioni: telefono 1 impianto + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + costo chiamata + + + spese viaggio + + + costo orario ordinario + + + costo orario notturno + + + costo orario straordinario + + + costo orario festivo + + + Azienda di riferimento associata all'impianto (gestione loghi differenti) + + + Zona Impianto + + + Riferimento Impianto + + + + Manutenzioni Programmate uscita + + + + + MANPROG: codice intervento (BIM=bimestrale, SEM=semestarle,..) + + + + + MANPROG: data prossima manutenzione + + + + + MANPROG: descrizione intervento + + + + + MANPROG: indirizzo 1 impianto + + + + + MANPROG: indirizzo 2 impianto + + + + + MANPROG: indirizzo 3 impianto + + + + + MANPROG: indirizzo 4 impianto + + + + + MANPROG: indirizzo 5 impianto + + + + + MANPROG: localita impianto + + + + + MANPROG: cap impianto + + + + + MANPROG: comune impianto + + + + + MANPROG: provincia 5 impianto + + + + + matricola impianto + + + + + numero impianto + + + + + ubicazione impianto + + + + + MANPROG: nazione impianto + + + + + MANPROG: codice impianto + + + + + MANPROG: tecnico descrizione + + + + + MANPROG: tecnico codice + + + + + RAPP_NEW: seriale rapportino + + + + + RAPP_NEW: seriale buono + + + + + RAPP_NEW: flag generato. Rapportino importato in AdHoc + + + + + PRESE: codice impianto + + + + + PRESE: codice intervento (BIM=bimestrale,SEM=semestrale) + + + + + PRESE: data manutenzione + + + + + errore titolo + + + + + errore dettaglio + + + + + errore status code (200, 500) + + + + + Manutenzioni: telefono 1 impianto + + + + + Manutenzioni: telefono 1 impianto + + + + + Manutenzioni: cliente + + + + costo chiamata + + + spese viaggio + + + costo orario ordinario + + + costo orario notturno + + + costo orario straordinario + + + costo orario festivo + + + altri dati Manutenzione + + + Azienda di riferimento associata all'impianto (gestione loghi differenti) + + + Zona Impianto + + + Riferimento Impianto + + + indirizzo stampa (html) + + + impianto per lista (html) + + + riferimento impianto (html) su buono + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Rapportini + + + ConfigurazioniDbContext + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ViSTA Chiamate + + + Azienda + + + utente destinastario notifica + + + seriale della chiamata + + + data di invio della notifica + + + Uscita chiamataTable+chiamate + + + output di chiamataTable (inserimento in tabella Chiamate) + + + output di Chiamate_out (inserimento in tabella Rapp_new) + + + output di ChiamateSeriale_out (aggiornamento in tabella in tabella PINUMCHI) + + + output di ChiamateSeriale_out (aggiornamento in tabella in tabella cpwarn) + + + output di ChiamateSeriale_out (aggiornamento in tabella in tabella cpwarn) + + + errore titolo + + + errore dettaglio + + + errore status code (200, 500) + + + Output ricerca impianti e di ricerca commesse + + + Codice Commessa + + + Descrizione Commessa + + + data fine validita Commessa + + + tipo + + + codice cliente + + + descrizione cliente + + + impianto + + + tipo ind + + + indirizzo + + + numero + + + lettera + + + scala + + + localita + + + CAP + + + provincia + + + descrizione + + + elemento lista formato html + + + Error title + + + Error deatail + + + Error code + + + + Causali pagamento + + + + codice pagamento + + + descrizione pagamento + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Rapportini + + + Rapportini + + + ConfigurazioniDbContext + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Tabella PRESA + + + + Azienda + + + Impianto + + + Codice intervento QUI=? SEM=SEMESTRALE + + + Tecnico + + + data della manutenzione + + + Zona manutenzione + + + check presa + + + cpccchk + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tabella progressivi + + + Azienda + + + stringa definisce il tipo di progressivo da gestire + + + valore progressivo + + + Azienda + + + stringa definisce il tipo di progressivo da gestire + + + valore progressivo + + + errore titolo + + + errore dettaglio + + + errore status code (200, 500) + + + + + + + + + + + + + + + + + + + + + errore titolo + + + errore dettaglio + + + errore status code (200, 500) + + + Rappmast: storico interventi per tecnico + + + Seriale rapportini + + + Causale + + + Azienda + + + Impianto + + + Lavoro + + + fase Lavoro + + + tipo cliente + + + codice cliente + + + contratto manutenzione + + + verbale + + + azienda chiamata + + + chiamata + + + esercizio + + + codice giro + + + intervento giro + + + numero rapportino + + + serie rapportino + + + data rapportino + + + flag da fatturare + + + flag fatturabile + + + utente fatturabile + + + data fatturabilità + + + codice pagamento + + + azienda tecnico 1 + + + tecnico 1 + + + azienda tecnico 2 + + + tecnico 2 + + + azienda tecnico 3 + + + tecnico 3 + + + tecnici fatturabili + + + Ore fatturabili + + + giornate fatturabili + + + Importo unitario + + + servizio assistenza + + + Importo totale + + + descrizione + + + Note + + + Servizio dir. fisso + + + descrizione dir. fisso + + + Importo dir. fisso + + + Importo dir. fisso + + + servizio viaggio + + + descrizione viaggio + + + Importo viaggio + + + Totale viaggio + + + descrizione meteriale + + + Note meteriale + + + Importo materiali + + + Descrizione intervento + + + Note intervento + + + Riferimento cliente + + + Listino costi + + + centro di costo + + + commessa + + + Zona analitica + + + Seriale doc attivo + + + Seriale doc passivo + + + Seriale doc passivo + + + Stato rapportino (Controllato S/N) + + + Tipo intervento (Reperibile S/N) + + + Modalita fatturazione + + + Servizio per fatture a corpo + + + Listino per fatture a corpo + + + Importo servizio a corpo + + + percentuale ricarico costi materiali + + + descrizione servizio a corpo + + + descrizione suppl servizio a corpo + + + Numerazione automatica + + + U.M. viaggio + + + U.M. assistenza + + + flag assegnazione tecnico da blocchetto + + + percentuale manodopera + + + importo manodopera a corpo + + + importo materiale a corpo + + + Servizio assistenza ore straordinario + + + Servizio dir. fisso ore straordinario + + + Servizio viaggio straordinario + + + importo straord assistenza + + + importo straord viaggio + + + importo straord dir. fisso + + + ore fatturabili straordinario + + + importo totale straord assistenza + + + importo totale straord viaggio + + + Desc assistenza straordinario + + + Desc dir. fisso straordinario + + + Desc viaggio straordinario + + + Servizio assistenza ore notturno + + + Servizio dir. fisso ore notturno + + + Servizio viaggio notturno + + + importo notturno assistenza + + + importo notturno viaggio + + + importo notturno dir.fisso + + + Ore fatturabili notturno + + + importo totale notturno assistenza + + + importo totale notturno viaggio + + + 77777777 + Desc assistenza notturno + + + Desc dir fisso notturno + + + Desc viaggio notturno + + + servizio assistenza ore festivo + + + servizio dir. fisso ore festivo + + + servizio viaggio festivo + + + importo festivo assistenza + + + importo festivo viaggio + + + importo festivo dir. fisso + + + ore fatturabili festivo + + + importo totale festivo assistenza + + + importo totale festivo viaggio + + + desc assistenza festivo + + + desc dir fisso festivo + + + desc viaggio festivo + + + importo unitario viaggio 2 + + + importo totale viaggio 2 + + + U.M. viaggio 2 + + + Km totali viaggio 2 + + + codice intervento + + + Numero ordine + + + ore fatturabili starordinario aiutante + + + ore fatturabili notturne aiutante + + + ore fatturabili festive aiutante + + + importo straordinario aiutante + + + importo notte aiutante + + + importo festivo aiutante + + + servizio assistenza straordinario aiutante + + + descrizione servizio assistenza aiutante + + + descrizione servizio notte aiutante + + + descrizione servizio festivo aiutante + + + servizio festivo aiutante + + + descrizione festivo aiutante + + + importo ore straordinario aiutante + + + importo ore notturne aiutante + + + importo ore festive aiutante + + + periodo + + + numero pasti + + + importo pasti + + + + + + flag forza ore lavoro + + + flag forza impianto + + + + + + + + Seriale + + + + + Azienda + + + + + Codice Impianto + + + + + Seriale chiamata + + + + + Seriale chiamata + + + + + Data rapportino + + + + Rapp_New + + + + Seriale rapportini + + + + + Tipo rapportini + + + + + Azienda + + + + + Codice Impianto + + + + + Azienda su cui è la chiamata + + + + + Seriale chiamata + + + + + Seriale chiamata + + + + + Data rapportino + + + + + Ora inizio + + + + + minuto inizio + + + + + Ora fine + + + + + Minuto fine + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + descrizione intervento + + + + + stato + + + + + generato + + + + + azienda tecnico + + + + + codice tecnico + + + + + flag rifiutata + + + + + nminativo firma + + + + + flag stato In Carico + + + + + data validità + + + + + pathg immagine buono o firma + + + + + seriale del buono + + + + + data/ora effettiva del lavoro (nel caso dispositivo offline) + + + + + codice_intervento (valido per manutenzioni. Esempio: SEM=semestrale) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Vista Rapp_New + + + Seriale rapportini + + + + Tipo rapportini + + + + + Azienda + + + + + Codice Impianto + + + + + Azienda su cui è la chiamata + + + + + Seriale chiamata + + + + + Seriale chiamata + + + + + Data rapportino + + + + + Ora inizio + + + + + minuto inizio + + + + + Ora fine + + + + + Minuto fine + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + descrizione intervento + + + + + stato + + + + + generato + + + + + azienda tecnico + + + + + codice tecnico + + + + + flag rifiutata + + + + + nminativo firma + + + + + flag stato In Carico + + + + + data validità + + + + + pathg immagine buono o firma + + + + + seriale del buono + + + + + data/ora effettiva del lavoro (nel caso dispositivo offline) + + + + + codice_intervento (valido per manutenzioni. Esempio: SEM=semestrale) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Form di registrazione + + + tipo + + + Nome + + + Cognome + + + Telefono + + + Cellulare + + + Email + + + Email di conferma + + + Azienda + + + Username + + + Password + + + Città + + + Provincia (sigla) + + + Nazione (sigla) + + + Attivato (S/N) + + + Token registrazione + + + + Contiene i campi di SALDIART + + + + articolo + + + descrizione articolo + + + magazzino + + + quantita + + + matricola + + + lotto + + + listino + + + articolo del listino + + + data validità listino + + + quantita + + + prezzo + + + sconto1 + + + sconto2 + + + sconto3 + + + sconto4 + + + articolo gestito a matricole(S/N) + + + articolo gestito a lotti (S e C=si, N=no) + + + descrizione per ogni articolo (se abilitata da configurazioni) + + + + + + + + + + + + + + + SAROM_CHIAMATEDbContext + + + SAROM_CHIAMATEDbContext + + + SAROM_CHIAMATEDbContext + + + OnModelCreating + + + + + + Chiusure + + + + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Manutenzioni + + + Manutenzioni + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + A + + + + + + Rapportini + + + ConfigurazioniDbContext + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Rapportini + + + ConfigurazioniDbContext + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Rapportini + + + Rapportini + + + ConfigurazioniDbContext + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + azienda + + + tecnico + + + zona + + + Inizio sostituzione + + + Fine sostituzione + + + codice sostituzione + + + Storico impianti + + + seriale rapportino + + + seriale rapportino + + + indice riga + + + codice magazzino + + + codice articolo + + + descrizione articolo + + + tipologia movimento (E=eliminato,A=aggiunto,S=sotituito) + + + quantità articolo + + + prezzo articolo + + + codice tecnico + + + descrizione tecnico + + + documento generato + + + note + + + codice lotto articolo + + + matricola articolo + + + + + + codice impianto + + + descrizione impianto + + + azienda impianto + + + tipo indirizzo (via, strada) + + + indirizzo + + + indirizzo numero + + + indirizzo scala + + + indirizzo sottonumero + + + Storico impianti- output + + + (LISTA)data rapportino + + + (LISTA) codice articolo + + + (LISTA) tipologia movimento (E=eliminato,A=aggiunto,S=sotituito) + + + dettaglio movimento impianto + + + errore titolo + + + errore dettaglio + + + errore status code (200, 500) + + + + Storico interventi New + + + + (LISTA) codice tecnico + + + (LISTA) descrizione tecnico + + + (LISTA) note esito + + + (LISTA) note esito + + + stato finale + + + esito intervento + + + descrizione intervento + + + firma rapportino + + + seriale chiamata (se chiamata, altrimenti null + + + seriale buono + + + difetti riscontrati + + + lavoro eseguito + + + note intervento + + + ore lavoro + + + costo materiale + + + diritto chiamata + + + anticipo + + + manodopera + + + spese viaggio + + + pagamento + + + codice impianto + + + totale + + + note pagamento + + + tipo intervento + + + rapportino generato in adhoc S/N + + + azienda tecnico + + + azienda impianto + + + azienda chiamata + + + cod chiusura 1 + + + cod chiusura 2 + + + cod chiusura 3 + + + cod chiusura 4 + + + cod chiusura 5 + + + cod chiusura 6 + + + cod chiusura 7 + + + cod chiusura 8 + + + cod chiusura 9 + + + cod chiusura 10 + + + des cod chiusura 1 + + + des cod chiusura 2 + + + des cod chiusura 3 + + + des cod chiusura 4 + + + des cod chiusura 5 + + + des cod chiusura 6 + + + des cod chiusura 7 + + + des cod chiusura 8 + + + des cod chiusura 9 + + + des cod chiusura 10 + + + des supp cod chiusura 1 + + + des supp cod chiusura 2 + + + des supp cod chiusura 3 + + + des supp cod chiusura 4 + + + des supp cod chiusura 5 + + + des supp cod chiusura 6 + + + des supp cod chiusura 7 + + + des supp cod chiusura 8 + + + des supp cod chiusura 9 + + + des supp cod chiusura 10 + + + seriale rapportino + + + codice intervento manutenzione + + + descrizione intervento manutenzione + + + descrizione suppl. intervento manutenzione + + + descrizione suppl. codice intervento manutenzione + + + codice segnalazione chiamata + + + tipo indirizzo (via, strada) + + + indirizzo + + + indirizzo numero + + + indirizzo scala + + + indirizzo sottonumero + + + ViSTA Chiamate + + + (LISTA) codice tecnico + + + (LISTA) descrizione tecnico + + + (LISTA) note esito + + + (LISTA) note esito + + + dettaglio rapportino + + + errore titolo + + + errore dettaglio + + + errore status code (200, 500) + + + Tabelle di Dominio + + + lista causali rapportino + + + lista causali pagamento + + + stati impianto + + + esito intervento + + + + + + + + + + + + tecnici + + + + Codice tecnico + + + + + Descrizione tecnico + + + + + telefono tecnico + + + + + Qualifica tecnico chiamatista + + + + + Qualifica tecnico manutentore + + + + + Azienda tecnico + + + + + Qualifica tecnico supervisore + + + + + Username tecnico + + + + + Password tecnico + + + + + Zona tecnico + + + + + data inizio attività tecnico + + + + + data fine attività tecnico + + + + + (Virtual Task) Contiene i campi di TECNICI + + + + + + + + + + + + + + + + + + + + + + costo ordinario + + + costo notturno + + + costo straordinario + + + costo festivo + + + data cancellazione + + + Tabella Timbrature + + + chiave primaria + + + data + + + ora inizio + + + minuto inizio + + + ora fine + + + minuto fine + + + commessa + + + ore viaggio + + + totale ore + + + giorno settimana + + + azienda + + + tecnico + + + cpccchk + + + note + + + Timbrature OUT + + + id: chiave + + + data + + + ora inizio + + + minuto inizio + + + ora fine + + + minuto fine + + + commessa + + + ore viaggio + + + giorno settimana + + + azienda + + + tecnico + + + errore titolo + + + errore dettaglio + + + errore status code (200, 500) + + + note + + + token di login sul device + + + id + + + tenant azienda + + + utente login + + + token device + + + timestamp inserimento + + + TokenDbContext + + + conf + + + ConfigurazioniDbContext + + + OnModelCreating + + + token di login sul device- output + + + tenant azienda + + + utente login + + + token device + + + timestamp inserimento + + + Error Message + + + Error Message detail + + + Status + + + response + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Configuration + + + Startup + + + Costruttore + + + + + + + + + + + + tenant azienda + + + utente login + + + token device + + + title + + + body + + + not + + + Startup + + + Configuration + + + Startup + + + ConfigureServices + + + Configure:This method gets called by the runtime. Use this method to configure the HTTP request pipeline. + + + diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/Cronos.dll b/ApiPolo/obj/Release/net6.0/PubTmp/Out/Cronos.dll new file mode 100644 index 0000000..7bb2380 Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/Cronos.dll differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/FirebaseAdmin.dll b/ApiPolo/obj/Release/net6.0/PubTmp/Out/FirebaseAdmin.dll new file mode 100644 index 0000000..0af156d Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/FirebaseAdmin.dll differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/Google.Api.Gax.Rest.dll b/ApiPolo/obj/Release/net6.0/PubTmp/Out/Google.Api.Gax.Rest.dll new file mode 100644 index 0000000..af4cdcc Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/Google.Api.Gax.Rest.dll differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/Google.Api.Gax.dll b/ApiPolo/obj/Release/net6.0/PubTmp/Out/Google.Api.Gax.dll new file mode 100644 index 0000000..54f31f7 Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/Google.Api.Gax.dll differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/Google.Apis.Auth.PlatformServices.dll b/ApiPolo/obj/Release/net6.0/PubTmp/Out/Google.Apis.Auth.PlatformServices.dll new file mode 100644 index 0000000..6ee6d62 Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/Google.Apis.Auth.PlatformServices.dll differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/Google.Apis.Auth.dll b/ApiPolo/obj/Release/net6.0/PubTmp/Out/Google.Apis.Auth.dll new file mode 100644 index 0000000..6651c21 Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/Google.Apis.Auth.dll differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/Google.Apis.Core.dll b/ApiPolo/obj/Release/net6.0/PubTmp/Out/Google.Apis.Core.dll new file mode 100644 index 0000000..d362eab Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/Google.Apis.Core.dll differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/Google.Apis.dll b/ApiPolo/obj/Release/net6.0/PubTmp/Out/Google.Apis.dll new file mode 100644 index 0000000..8abd9c0 Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/Google.Apis.dll differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/Microsoft.AspNetCore.Authentication.Negotiate.dll b/ApiPolo/obj/Release/net6.0/PubTmp/Out/Microsoft.AspNetCore.Authentication.Negotiate.dll new file mode 100644 index 0000000..927529e Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/Microsoft.AspNetCore.Authentication.Negotiate.dll differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/Microsoft.AspNetCore.Connections.Abstractions.dll b/ApiPolo/obj/Release/net6.0/PubTmp/Out/Microsoft.AspNetCore.Connections.Abstractions.dll new file mode 100644 index 0000000..85586ae Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/Microsoft.AspNetCore.Connections.Abstractions.dll differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/Microsoft.Bcl.AsyncInterfaces.dll b/ApiPolo/obj/Release/net6.0/PubTmp/Out/Microsoft.Bcl.AsyncInterfaces.dll new file mode 100644 index 0000000..30cb199 Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/Microsoft.Bcl.AsyncInterfaces.dll differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/Microsoft.Data.SqlClient.dll b/ApiPolo/obj/Release/net6.0/PubTmp/Out/Microsoft.Data.SqlClient.dll new file mode 100644 index 0000000..3114e92 Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/Microsoft.Data.SqlClient.dll differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/Microsoft.EntityFrameworkCore.Abstractions.dll b/ApiPolo/obj/Release/net6.0/PubTmp/Out/Microsoft.EntityFrameworkCore.Abstractions.dll new file mode 100644 index 0000000..c0bf058 Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/Microsoft.EntityFrameworkCore.Abstractions.dll differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/Microsoft.EntityFrameworkCore.Relational.dll b/ApiPolo/obj/Release/net6.0/PubTmp/Out/Microsoft.EntityFrameworkCore.Relational.dll new file mode 100644 index 0000000..b1f7d91 Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/Microsoft.EntityFrameworkCore.Relational.dll differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/Microsoft.EntityFrameworkCore.SqlServer.dll b/ApiPolo/obj/Release/net6.0/PubTmp/Out/Microsoft.EntityFrameworkCore.SqlServer.dll new file mode 100644 index 0000000..ba97f6b Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/Microsoft.EntityFrameworkCore.SqlServer.dll differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/Microsoft.EntityFrameworkCore.dll b/ApiPolo/obj/Release/net6.0/PubTmp/Out/Microsoft.EntityFrameworkCore.dll new file mode 100644 index 0000000..ae94b8b Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/Microsoft.EntityFrameworkCore.dll differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/Microsoft.Extensions.Caching.Memory.dll b/ApiPolo/obj/Release/net6.0/PubTmp/Out/Microsoft.Extensions.Caching.Memory.dll new file mode 100644 index 0000000..42eb85f Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/Microsoft.Extensions.Caching.Memory.dll differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/Microsoft.Extensions.Features.dll b/ApiPolo/obj/Release/net6.0/PubTmp/Out/Microsoft.Extensions.Features.dll new file mode 100644 index 0000000..71bca4a Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/Microsoft.Extensions.Features.dll differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/Microsoft.Identity.Client.dll b/ApiPolo/obj/Release/net6.0/PubTmp/Out/Microsoft.Identity.Client.dll new file mode 100644 index 0000000..c01fcbf Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/Microsoft.Identity.Client.dll differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/Microsoft.IdentityModel.JsonWebTokens.dll b/ApiPolo/obj/Release/net6.0/PubTmp/Out/Microsoft.IdentityModel.JsonWebTokens.dll new file mode 100644 index 0000000..70b84f2 Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/Microsoft.IdentityModel.JsonWebTokens.dll differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/Microsoft.IdentityModel.Logging.dll b/ApiPolo/obj/Release/net6.0/PubTmp/Out/Microsoft.IdentityModel.Logging.dll new file mode 100644 index 0000000..7ecc3be Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/Microsoft.IdentityModel.Logging.dll differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/Microsoft.IdentityModel.Protocols.OpenIdConnect.dll b/ApiPolo/obj/Release/net6.0/PubTmp/Out/Microsoft.IdentityModel.Protocols.OpenIdConnect.dll new file mode 100644 index 0000000..d925b5b Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/Microsoft.IdentityModel.Protocols.OpenIdConnect.dll differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/Microsoft.IdentityModel.Protocols.dll b/ApiPolo/obj/Release/net6.0/PubTmp/Out/Microsoft.IdentityModel.Protocols.dll new file mode 100644 index 0000000..17423cc Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/Microsoft.IdentityModel.Protocols.dll differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/Microsoft.IdentityModel.Tokens.dll b/ApiPolo/obj/Release/net6.0/PubTmp/Out/Microsoft.IdentityModel.Tokens.dll new file mode 100644 index 0000000..dd66624 Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/Microsoft.IdentityModel.Tokens.dll differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/Microsoft.OpenApi.dll b/ApiPolo/obj/Release/net6.0/PubTmp/Out/Microsoft.OpenApi.dll new file mode 100644 index 0000000..14f3ded Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/Microsoft.OpenApi.dll differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/Microsoft.Web.Infrastructure.dll b/ApiPolo/obj/Release/net6.0/PubTmp/Out/Microsoft.Web.Infrastructure.dll new file mode 100644 index 0000000..85f1138 Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/Microsoft.Web.Infrastructure.dll differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/Microsoft.Win32.SystemEvents.dll b/ApiPolo/obj/Release/net6.0/PubTmp/Out/Microsoft.Win32.SystemEvents.dll new file mode 100644 index 0000000..e27fe8d Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/Microsoft.Win32.SystemEvents.dll differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/Newtonsoft.Json.dll b/ApiPolo/obj/Release/net6.0/PubTmp/Out/Newtonsoft.Json.dll new file mode 100644 index 0000000..d035c38 Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/Newtonsoft.Json.dll differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/Renci.SshNet.dll b/ApiPolo/obj/Release/net6.0/PubTmp/Out/Renci.SshNet.dll new file mode 100644 index 0000000..181b7b2 Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/Renci.SshNet.dll differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/SshNet.Security.Cryptography.dll b/ApiPolo/obj/Release/net6.0/PubTmp/Out/SshNet.Security.Cryptography.dll new file mode 100644 index 0000000..2761fd1 Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/SshNet.Security.Cryptography.dll differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/Swashbuckle.AspNetCore.Swagger.dll b/ApiPolo/obj/Release/net6.0/PubTmp/Out/Swashbuckle.AspNetCore.Swagger.dll new file mode 100644 index 0000000..88995c9 Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/Swashbuckle.AspNetCore.Swagger.dll differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/Swashbuckle.AspNetCore.SwaggerGen.dll b/ApiPolo/obj/Release/net6.0/PubTmp/Out/Swashbuckle.AspNetCore.SwaggerGen.dll new file mode 100644 index 0000000..6afe2f0 Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/Swashbuckle.AspNetCore.SwaggerGen.dll differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/Swashbuckle.AspNetCore.SwaggerUI.dll b/ApiPolo/obj/Release/net6.0/PubTmp/Out/Swashbuckle.AspNetCore.SwaggerUI.dll new file mode 100644 index 0000000..0f538a7 Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/Swashbuckle.AspNetCore.SwaggerUI.dll differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/System.Configuration.ConfigurationManager.dll b/ApiPolo/obj/Release/net6.0/PubTmp/Out/System.Configuration.ConfigurationManager.dll new file mode 100644 index 0000000..6f34b8d Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/System.Configuration.ConfigurationManager.dll differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/System.DirectoryServices.Protocols.dll b/ApiPolo/obj/Release/net6.0/PubTmp/Out/System.DirectoryServices.Protocols.dll new file mode 100644 index 0000000..f82bc91 Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/System.DirectoryServices.Protocols.dll differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/System.Drawing.Common.dll b/ApiPolo/obj/Release/net6.0/PubTmp/Out/System.Drawing.Common.dll new file mode 100644 index 0000000..69e5f5c Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/System.Drawing.Common.dll differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/System.IO.Pipelines.dll b/ApiPolo/obj/Release/net6.0/PubTmp/Out/System.IO.Pipelines.dll new file mode 100644 index 0000000..8ee4dfd Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/System.IO.Pipelines.dll differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/System.IdentityModel.Tokens.Jwt.dll b/ApiPolo/obj/Release/net6.0/PubTmp/Out/System.IdentityModel.Tokens.Jwt.dll new file mode 100644 index 0000000..efd3c61 Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/System.IdentityModel.Tokens.Jwt.dll differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/System.Runtime.Caching.dll b/ApiPolo/obj/Release/net6.0/PubTmp/Out/System.Runtime.Caching.dll new file mode 100644 index 0000000..6fedfab Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/System.Runtime.Caching.dll differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/System.Security.Cryptography.ProtectedData.dll b/ApiPolo/obj/Release/net6.0/PubTmp/Out/System.Security.Cryptography.ProtectedData.dll new file mode 100644 index 0000000..a60b95b Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/System.Security.Cryptography.ProtectedData.dll differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/System.Security.Permissions.dll b/ApiPolo/obj/Release/net6.0/PubTmp/Out/System.Security.Permissions.dll new file mode 100644 index 0000000..76faf41 Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/System.Security.Permissions.dll differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/System.Web.Helpers.dll b/ApiPolo/obj/Release/net6.0/PubTmp/Out/System.Web.Helpers.dll new file mode 100644 index 0000000..5979bab Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/System.Web.Helpers.dll differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/System.Web.Mvc.dll b/ApiPolo/obj/Release/net6.0/PubTmp/Out/System.Web.Mvc.dll new file mode 100644 index 0000000..781deee Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/System.Web.Mvc.dll differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/System.Web.Razor.dll b/ApiPolo/obj/Release/net6.0/PubTmp/Out/System.Web.Razor.dll new file mode 100644 index 0000000..a992c65 Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/System.Web.Razor.dll differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/System.Web.WebPages.Deployment.dll b/ApiPolo/obj/Release/net6.0/PubTmp/Out/System.Web.WebPages.Deployment.dll new file mode 100644 index 0000000..295581a Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/System.Web.WebPages.Deployment.dll differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/System.Web.WebPages.Razor.dll b/ApiPolo/obj/Release/net6.0/PubTmp/Out/System.Web.WebPages.Razor.dll new file mode 100644 index 0000000..6d830f3 Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/System.Web.WebPages.Razor.dll differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/System.Web.WebPages.dll b/ApiPolo/obj/Release/net6.0/PubTmp/Out/System.Web.WebPages.dll new file mode 100644 index 0000000..4a910af Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/System.Web.WebPages.dll differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/System.Windows.Extensions.dll b/ApiPolo/obj/Release/net6.0/PubTmp/Out/System.Windows.Extensions.dll new file mode 100644 index 0000000..7f075b2 Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/System.Windows.Extensions.dll differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/appsettings.Development.json b/ApiPolo/obj/Release/net6.0/PubTmp/Out/appsettings.Development.json new file mode 100644 index 0000000..0c208ae --- /dev/null +++ b/ApiPolo/obj/Release/net6.0/PubTmp/Out/appsettings.Development.json @@ -0,0 +1,8 @@ +{ + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Warning" + } + } +} diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/appsettings.json b/ApiPolo/obj/Release/net6.0/PubTmp/Out/appsettings.json new file mode 100644 index 0000000..57b3441 --- /dev/null +++ b/ApiPolo/obj/Release/net6.0/PubTmp/Out/appsettings.json @@ -0,0 +1,55 @@ +{ + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Warning" + } + }, + "AllowedHosts": "*", + "ConnectionStrings": { + + //connessione non sicura: Encrypt=False + + /*"ApiStr": "Data Source=10.0.0.19;Initial Catalog=API_POLO;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False",*/ + "ApiStr": "Data Source=10.0.0.10;Initial Catalog=API_POLO;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + /*"ApiStr": "Data Source=10.0.0.19;Initial Catalog=API_POLO;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False",*/ + + /*"FERRA": "Data Source=10.0.0.10;Initial Catalog=AHR60_FERRARI;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False",*/ + "FERRA": "Data Source=37.159.179.14;Initial Catalog=AHR80_TEST;User Id=AppPolo; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False;Encrypt=False;Trust Server Certificate=True", + + /*"MARRO": "Data Source=poloinformatico57.clienti.init-s.it;Initial Catalog=R80_MARROCCO_TEST;User Id=app; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False",*/ + "MARRO": "Data Source=10.0.0.10;Initial Catalog=R80_MARROCCO;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + /*"MARRO": "Data Source=poloinformatico57.clienti.init-s.it;Initial Catalog=R80_MARROCCO;User Id=app; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False",*/ + + "GITSR": "Data Source=poloinformatico57.clienti.init-s.it;Initial Catalog=R80_GITSR;User Id=app; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + "GITSR_MARRO": "Data Source=poloinformatico57.clienti.init-s.it;Initial Catalog=R80_MARROCCO;User Id=app; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + + "LIFTA": "Data Source=poloinformatico57.clienti.init-s.it;Initial Catalog=R80_LIFTA;User Id=app; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + "LIFTA_MARRO": "Data Source=poloinformatico57.clienti.init-s.it;Initial Catalog=R80_MARROCCO;User Id=app; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + + /*"SICILIA": "Data Source=10.0.0.10;Initial Catalog=AHR_SICILIA;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False",*/ + "SICILIA": "Data Source=studioliuzzo.selfip.net;Initial Catalog=AHR_TEST_APP;User Id=sa; Password=1Zucchetti;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + + /*"DISCO": "Data Source=10.0.0.10;Initial Catalog=AHR60_FERRARI_VISTE_DISCO;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False",*/ + /*"DISCO": "Data Source=37.159.179.14;Initial Catalog=R80_DISCO;User Id=sa; Password=Poloinf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False",*/ + "DISCO": "Data Source=discoverylift.dyndns.org;Initial Catalog=TEST_APP_NEW;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + + "SAROM": "Data Source=37.159.179.14;Initial Catalog=AHR60_SAROM_TEST80;User Id=sa; Password=Poloinf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + /*"SAROM": "Data Source=10.0.0.10;Initial Catalog=AHR80_SAROM;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False",*/ + + /*"SINER": "Data Source=10.0.0.10;Initial Catalog=AHR_SINERGO;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False"*/ + "SINER": "Data Source=ufficio.sinergogroup.it,31433;Initial Catalog=AHR_TECLI;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + + "SIET2": "Data Source=194.50.74.66;Initial Catalog=R65_SIET;User Id=sa; Password=W1ld1x42;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + + "PMS": "Data Source=10.0.0.10;Initial Catalog=PMS_DEMO;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + "VIRTUAL_TASK": "Data Source=10.0.0.10;Initial Catalog=VIRTUAL_TASK;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False" + + + }, + "JWT": { + "ValidAudience": "http://localhost:4200", + "ValidIssuer": "http://localhost:61955", + "Secret": "ByYM000OLlMQG6VVVp1OH7Xzyr7gHuw1qvUC5dcGt3SNM" + } +} diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/private_key.json b/ApiPolo/obj/Release/net6.0/PubTmp/Out/private_key.json new file mode 100644 index 0000000..81ef1c5 --- /dev/null +++ b/ApiPolo/obj/Release/net6.0/PubTmp/Out/private_key.json @@ -0,0 +1,12 @@ +{ + "type": "service_account", + "project_id": "testpolo-5e86a", + "private_key_id": "80c027bfe39f398545dd21f60b92dd257bc50bbf", + "private_key": "-----BEGIN PRIVATE KEY-----\nMIIEuwIBADANBgkqhkiG9w0BAQEFAASCBKUwggShAgEAAoIBAQCpmJDlg4ayXKDh\nb58MgM/IpYlY90ktO5Wg9HrUWoNQrAYKUVReVZxT1ZagvCNDZMRRPsVMYKc60ru/\nVjhjv3igraKO78TjSF9BiWl019KObmVZ1h5mPAsLC2+8hzWSWspRC/Gvnhc5d6/f\nzD1UbVi9gCYaSGoRZjwa79PFYvH0v+CIf3BBxmj7vxD+PEY4p7Eh4J/QOMNGbsJr\nMzODfOGly8Vl7FEHiMLnNZHdNyN5GLgjlCJmH5wKBiPp5H22D0l23GCdDsvlHM1d\n6oF/lLcQF9raXrN7rNRkGgz9KLLz0vMAg/OGi2CK1WRa4CkXElo0fZn74mLoeNu8\neqdQowx/AgMBAAECgf8OSl8P006GS0fVbgAde090mMdnt7e7823xazqlPGj40POx\nWJbDXCo9wZ0UN1h4MLxaHDkWEepOnODr9Vfvog4aV2KkX4/J4Cq47Uj1j4MufUN6\nvCJl6KlOsqgAzRq2g4I/my/CU2tYbE+usIcMurxRzcOxTrHqfEUmkjNqkxBijxMI\nxuybqv3z4/+G3nZIlh9hol1fdx0196QTFNQSGWZOr7EvIuFhxR3vPFvwY1jIvcHP\nmhJtmq/wcTgpTiDGJ5XZk840O7C7K2R3lUWbE3HJjZuLeaq6zOkXfC6sP9rIsC9c\n1o21misyvocSZoupXe8Q9Xf9t/nKCt7n4BmPRkkCgYEA3c1S+EzCp8ll40bBPWFW\n7Z5R3ejOzuluKLI/ztU2tx5uFOSsV6mv7mM6ATWK4CGGkOPmfOitn8AOz0PvuXf/\nzmmhfXwiIR50wbe43VYdFpAb7xMf674YC5ULZ55Jm3IIwsZwAr9EkGtbl1qUuPjp\nIhArtEZcvRqoKRbrWVaJ27MCgYEAw76h8NfydgRFauG++ynQLrQ36oIDigIucIli\nvm0DjR7tzSsgsRkYa4TiCleZnNkRqgUqzCCm3hqndixyLhwwg3l/ZpIOIeAN/wII\nqLO/7mn47gGZgzBn44TaOmI5d78pf04l43/rA6gjMzW0AS51OchZHI4AG4nI3aUu\nmjD+NgUCgYAaHEivKEImBGR1K+gltKbKFEAo8nYeD4bDTbCLRbhKOE/XL9BGBZjL\nZGz4pXfyyJ+RwPJqM+30h2R269V1rPW1M+Qp5IoUAgTWpS0jCTclZ9OSAltYoiks\ne+A603xwyyzS2Q9ok2Gb6rd+itBFMjAnrWWntDzImjG/nI4aF0DlVwKBgB5d2ZOa\nfLPQT9CX+t/OCczlCnOn/dKQKhItThNKqC1hafTVRvoScZZkhAiktGD/z9y3dn86\nZYi5S9dqZ8A9gU00MQ6BhA2/S4yPDTbWw+TBreuGdgFDJirGtnAuQsoP7ukf/4K+\nmn/zupo8L5OrWGZBbYmfgebDxlSURpmHFjjdAoGBAIunnz+KWA/0stDB4FLZt8QS\n7Z9/CytT0F1hVnVieKpWtbhvvoLs+svcvTCvqeQmEUxhiX5r8N4xTjd0MwcyKjRi\ny724SWzJmdplqj5YRHrLGbmAsgqZZg3tAGJROhxH/utxBgfDBkki0if+DKysQAC/\nYJzjNY7HdXC2It0gH5iZ\n-----END PRIVATE KEY-----\n", + "client_email": "firebase-adminsdk-ypxny@testpolo-5e86a.iam.gserviceaccount.com", + "client_id": "118193031755958431078", + "auth_uri": "https://accounts.google.com/o/oauth2/auth", + "token_uri": "https://oauth2.googleapis.com/token", + "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs", + "client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/firebase-adminsdk-ypxny%40testpolo-5e86a.iam.gserviceaccount.com" +} \ No newline at end of file diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/runtimes/linux/lib/net6.0/System.DirectoryServices.Protocols.dll b/ApiPolo/obj/Release/net6.0/PubTmp/Out/runtimes/linux/lib/net6.0/System.DirectoryServices.Protocols.dll new file mode 100644 index 0000000..a274287 Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/runtimes/linux/lib/net6.0/System.DirectoryServices.Protocols.dll differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/runtimes/osx/lib/net6.0/System.DirectoryServices.Protocols.dll b/ApiPolo/obj/Release/net6.0/PubTmp/Out/runtimes/osx/lib/net6.0/System.DirectoryServices.Protocols.dll new file mode 100644 index 0000000..c14a840 Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/runtimes/osx/lib/net6.0/System.DirectoryServices.Protocols.dll differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/runtimes/unix/lib/netcoreapp3.0/System.Drawing.Common.dll b/ApiPolo/obj/Release/net6.0/PubTmp/Out/runtimes/unix/lib/netcoreapp3.0/System.Drawing.Common.dll new file mode 100644 index 0000000..3a19d3d Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/runtimes/unix/lib/netcoreapp3.0/System.Drawing.Common.dll differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/runtimes/unix/lib/netcoreapp3.1/Microsoft.Data.SqlClient.dll b/ApiPolo/obj/Release/net6.0/PubTmp/Out/runtimes/unix/lib/netcoreapp3.1/Microsoft.Data.SqlClient.dll new file mode 100644 index 0000000..231e75a Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/runtimes/unix/lib/netcoreapp3.1/Microsoft.Data.SqlClient.dll differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/runtimes/win-arm/native/Microsoft.Data.SqlClient.SNI.dll b/ApiPolo/obj/Release/net6.0/PubTmp/Out/runtimes/win-arm/native/Microsoft.Data.SqlClient.SNI.dll new file mode 100644 index 0000000..3068646 Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/runtimes/win-arm/native/Microsoft.Data.SqlClient.SNI.dll differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/runtimes/win-arm64/native/Microsoft.Data.SqlClient.SNI.dll b/ApiPolo/obj/Release/net6.0/PubTmp/Out/runtimes/win-arm64/native/Microsoft.Data.SqlClient.SNI.dll new file mode 100644 index 0000000..965f535 Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/runtimes/win-arm64/native/Microsoft.Data.SqlClient.SNI.dll differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/runtimes/win-x64/native/Microsoft.Data.SqlClient.SNI.dll b/ApiPolo/obj/Release/net6.0/PubTmp/Out/runtimes/win-x64/native/Microsoft.Data.SqlClient.SNI.dll new file mode 100644 index 0000000..227b87b Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/runtimes/win-x64/native/Microsoft.Data.SqlClient.SNI.dll differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/runtimes/win-x86/native/Microsoft.Data.SqlClient.SNI.dll b/ApiPolo/obj/Release/net6.0/PubTmp/Out/runtimes/win-x86/native/Microsoft.Data.SqlClient.SNI.dll new file mode 100644 index 0000000..0add8c2 Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/runtimes/win-x86/native/Microsoft.Data.SqlClient.SNI.dll differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/runtimes/win/lib/net6.0/System.DirectoryServices.Protocols.dll b/ApiPolo/obj/Release/net6.0/PubTmp/Out/runtimes/win/lib/net6.0/System.DirectoryServices.Protocols.dll new file mode 100644 index 0000000..3ebf5d8 Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/runtimes/win/lib/net6.0/System.DirectoryServices.Protocols.dll differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/runtimes/win/lib/netcoreapp3.0/Microsoft.Win32.SystemEvents.dll b/ApiPolo/obj/Release/net6.0/PubTmp/Out/runtimes/win/lib/netcoreapp3.0/Microsoft.Win32.SystemEvents.dll new file mode 100644 index 0000000..c49c358 Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/runtimes/win/lib/netcoreapp3.0/Microsoft.Win32.SystemEvents.dll differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/runtimes/win/lib/netcoreapp3.0/System.Drawing.Common.dll b/ApiPolo/obj/Release/net6.0/PubTmp/Out/runtimes/win/lib/netcoreapp3.0/System.Drawing.Common.dll new file mode 100644 index 0000000..9a04b68 Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/runtimes/win/lib/netcoreapp3.0/System.Drawing.Common.dll differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/runtimes/win/lib/netcoreapp3.0/System.Windows.Extensions.dll b/ApiPolo/obj/Release/net6.0/PubTmp/Out/runtimes/win/lib/netcoreapp3.0/System.Windows.Extensions.dll new file mode 100644 index 0000000..3fb4939 Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/runtimes/win/lib/netcoreapp3.0/System.Windows.Extensions.dll differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/runtimes/win/lib/netcoreapp3.1/Microsoft.Data.SqlClient.dll b/ApiPolo/obj/Release/net6.0/PubTmp/Out/runtimes/win/lib/netcoreapp3.1/Microsoft.Data.SqlClient.dll new file mode 100644 index 0000000..0269777 Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/runtimes/win/lib/netcoreapp3.1/Microsoft.Data.SqlClient.dll differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/runtimes/win/lib/netstandard2.0/System.Runtime.Caching.dll b/ApiPolo/obj/Release/net6.0/PubTmp/Out/runtimes/win/lib/netstandard2.0/System.Runtime.Caching.dll new file mode 100644 index 0000000..175d085 Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/runtimes/win/lib/netstandard2.0/System.Runtime.Caching.dll differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/runtimes/win/lib/netstandard2.0/System.Security.Cryptography.ProtectedData.dll b/ApiPolo/obj/Release/net6.0/PubTmp/Out/runtimes/win/lib/netstandard2.0/System.Security.Cryptography.ProtectedData.dll new file mode 100644 index 0000000..d8f2f45 Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/runtimes/win/lib/netstandard2.0/System.Security.Cryptography.ProtectedData.dll differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/web.config b/ApiPolo/obj/Release/net6.0/PubTmp/Out/web.config new file mode 100644 index 0000000..1303c93 --- /dev/null +++ b/ApiPolo/obj/Release/net6.0/PubTmp/Out/web.config @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/wwwroot/VIRTU/AZI01/AZI01_LOGO.jpg b/ApiPolo/obj/Release/net6.0/PubTmp/Out/wwwroot/VIRTU/AZI01/AZI01_LOGO.jpg new file mode 100644 index 0000000..2d37c62 Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/wwwroot/VIRTU/AZI01/AZI01_LOGO.jpg differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/wwwroot/VIRTU/AZI02/AZI02_LOGO.jpg b/ApiPolo/obj/Release/net6.0/PubTmp/Out/wwwroot/VIRTU/AZI02/AZI02_LOGO.jpg new file mode 100644 index 0000000..7c34a5a Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/wwwroot/VIRTU/AZI02/AZI02_LOGO.jpg differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/wwwroot/VIRTU/AZI02/R.png b/ApiPolo/obj/Release/net6.0/PubTmp/Out/wwwroot/VIRTU/AZI02/R.png new file mode 100644 index 0000000..55fdf68 Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/wwwroot/VIRTU/AZI02/R.png differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/wwwroot/VIRTU/AZI02/company2.png b/ApiPolo/obj/Release/net6.0/PubTmp/Out/wwwroot/VIRTU/AZI02/company2.png new file mode 100644 index 0000000..112aa0d Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/wwwroot/VIRTU/AZI02/company2.png differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/wwwroot/VIRTU/CAV00001.jpg b/ApiPolo/obj/Release/net6.0/PubTmp/Out/wwwroot/VIRTU/CAV00001.jpg new file mode 100644 index 0000000..c6673bf Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/wwwroot/VIRTU/CAV00001.jpg differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/wwwroot/logo_disco.jpg b/ApiPolo/obj/Release/net6.0/PubTmp/Out/wwwroot/logo_disco.jpg new file mode 100644 index 0000000..320584d Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/wwwroot/logo_disco.jpg differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/wwwroot/logo_ferra.jpg b/ApiPolo/obj/Release/net6.0/PubTmp/Out/wwwroot/logo_ferra.jpg new file mode 100644 index 0000000..5413b6e Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/wwwroot/logo_ferra.jpg differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/wwwroot/logo_marro.jpg b/ApiPolo/obj/Release/net6.0/PubTmp/Out/wwwroot/logo_marro.jpg new file mode 100644 index 0000000..5a0747b Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/wwwroot/logo_marro.jpg differ diff --git a/ApiPolo/obj/Release/net6.0/PublishOutputs.6f72113b10.txt b/ApiPolo/obj/Release/net6.0/PublishOutputs.6f72113b10.txt new file mode 100644 index 0000000..44cf167 --- /dev/null +++ b/ApiPolo/obj/Release/net6.0/PublishOutputs.6f72113b10.txt @@ -0,0 +1,72 @@ +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\ApiPolo.exe +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\appsettings.Development.json +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\appsettings.json +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\private_key.json +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\ApiPolo.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\ApiPolo.runtimeconfig.json +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\ApiPolo.pdb +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\Cronos.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\FirebaseAdmin.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\Google.Api.Gax.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\Google.Api.Gax.Rest.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\Google.Apis.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\Google.Apis.Auth.PlatformServices.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\Google.Apis.Auth.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\Google.Apis.Core.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\System.Web.Mvc.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\System.Web.Razor.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\System.Web.Helpers.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\System.Web.WebPages.Deployment.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\System.Web.WebPages.Razor.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\System.Web.WebPages.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\Microsoft.AspNetCore.Authentication.Negotiate.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\Microsoft.AspNetCore.Connections.Abstractions.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\Microsoft.Bcl.AsyncInterfaces.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\Microsoft.Data.SqlClient.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\Microsoft.EntityFrameworkCore.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\Microsoft.EntityFrameworkCore.Abstractions.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\Microsoft.EntityFrameworkCore.Relational.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\Microsoft.EntityFrameworkCore.SqlServer.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\Microsoft.Extensions.Caching.Memory.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\Microsoft.Extensions.Features.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\Microsoft.Identity.Client.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\Microsoft.IdentityModel.JsonWebTokens.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\Microsoft.IdentityModel.Logging.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\Microsoft.IdentityModel.Protocols.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\Microsoft.IdentityModel.Protocols.OpenIdConnect.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\Microsoft.IdentityModel.Tokens.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\Microsoft.OpenApi.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\Microsoft.Web.Infrastructure.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\Microsoft.Win32.SystemEvents.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\Newtonsoft.Json.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\Renci.SshNet.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\SshNet.Security.Cryptography.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\Swashbuckle.AspNetCore.Swagger.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\Swashbuckle.AspNetCore.SwaggerGen.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\Swashbuckle.AspNetCore.SwaggerUI.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\System.Configuration.ConfigurationManager.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\System.DirectoryServices.Protocols.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\System.Drawing.Common.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\System.IdentityModel.Tokens.Jwt.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\System.IO.Pipelines.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\System.Runtime.Caching.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\System.Security.Cryptography.ProtectedData.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\System.Security.Permissions.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\System.Windows.Extensions.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\runtimes\unix\lib\netcoreapp3.1\Microsoft.Data.SqlClient.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\runtimes\win\lib\netcoreapp3.1\Microsoft.Data.SqlClient.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\runtimes\win-arm\native\Microsoft.Data.SqlClient.SNI.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\runtimes\win-arm64\native\Microsoft.Data.SqlClient.SNI.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\runtimes\win-x64\native\Microsoft.Data.SqlClient.SNI.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\runtimes\win-x86\native\Microsoft.Data.SqlClient.SNI.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\runtimes\win\lib\netcoreapp3.0\Microsoft.Win32.SystemEvents.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\runtimes\linux\lib\net6.0\System.DirectoryServices.Protocols.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\runtimes\osx\lib\net6.0\System.DirectoryServices.Protocols.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\runtimes\win\lib\net6.0\System.DirectoryServices.Protocols.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\runtimes\unix\lib\netcoreapp3.0\System.Drawing.Common.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\runtimes\win\lib\netcoreapp3.0\System.Drawing.Common.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\runtimes\win\lib\netstandard2.0\System.Runtime.Caching.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\runtimes\win\lib\netstandard2.0\System.Security.Cryptography.ProtectedData.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\runtimes\win\lib\netcoreapp3.0\System.Windows.Extensions.dll +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\ApiPolo.xml +C:\SORGENTI\ApiPolo\ApiPolo\obj\Release\net6.0\PubTmp\Out\ApiPolo.deps.json diff --git a/ApiPolo/obj/Release/net6.0/apphost.exe b/ApiPolo/obj/Release/net6.0/apphost.exe new file mode 100644 index 0000000..034c160 Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/apphost.exe differ diff --git a/ApiPolo/obj/Release/net6.0/ref/ApiPolo.dll b/ApiPolo/obj/Release/net6.0/ref/ApiPolo.dll new file mode 100644 index 0000000..f70d7b5 Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/ref/ApiPolo.dll differ diff --git a/ApiPolo/obj/Release/net6.0/refint/ApiPolo.dll b/ApiPolo/obj/Release/net6.0/refint/ApiPolo.dll new file mode 100644 index 0000000..f70d7b5 Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/refint/ApiPolo.dll differ diff --git a/ApiPolo/obj/Release/net6.0/staticwebassets.build.json b/ApiPolo/obj/Release/net6.0/staticwebassets.build.json new file mode 100644 index 0000000..7cb6ccd --- /dev/null +++ b/ApiPolo/obj/Release/net6.0/staticwebassets.build.json @@ -0,0 +1,156 @@ +{ + "Version": 1, + "Hash": "xz/I8POjZ1hTi96WfSSHRMF53NSMI5CNSFbrWdo6V2U=", + "Source": "ApiPolo", + "BasePath": "_content/ApiPolo", + "Mode": "Default", + "ManifestType": "Build", + "ReferencedProjectsConfiguration": [], + "DiscoveryPatterns": [ + { + "Name": "ApiPolo\\wwwroot", + "Source": "ApiPolo", + "ContentRoot": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\", + "BasePath": "_content/ApiPolo", + "Pattern": "**" + } + ], + "Assets": [ + { + "Identity": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\logo_disco.jpg", + "SourceId": "ApiPolo", + "SourceType": "Discovered", + "ContentRoot": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\", + "BasePath": "_content/ApiPolo", + "RelativePath": "logo_disco.jpg", + "AssetKind": "All", + "AssetMode": "All", + "AssetRole": "Primary", + "RelatedAsset": "", + "AssetTraitName": "", + "AssetTraitValue": "", + "CopyToOutputDirectory": "Never", + "CopyToPublishDirectory": "PreserveNewest", + "OriginalItemSpec": "wwwroot\\logo_disco.jpg" + }, + { + "Identity": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\logo_ferra.jpg", + "SourceId": "ApiPolo", + "SourceType": "Discovered", + "ContentRoot": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\", + "BasePath": "_content/ApiPolo", + "RelativePath": "logo_ferra.jpg", + "AssetKind": "All", + "AssetMode": "All", + "AssetRole": "Primary", + "RelatedAsset": "", + "AssetTraitName": "", + "AssetTraitValue": "", + "CopyToOutputDirectory": "Never", + "CopyToPublishDirectory": "PreserveNewest", + "OriginalItemSpec": "wwwroot\\logo_ferra.jpg" + }, + { + "Identity": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\logo_marro.jpg", + "SourceId": "ApiPolo", + "SourceType": "Discovered", + "ContentRoot": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\", + "BasePath": "_content/ApiPolo", + "RelativePath": "logo_marro.jpg", + "AssetKind": "All", + "AssetMode": "All", + "AssetRole": "Primary", + "RelatedAsset": "", + "AssetTraitName": "", + "AssetTraitValue": "", + "CopyToOutputDirectory": "Never", + "CopyToPublishDirectory": "PreserveNewest", + "OriginalItemSpec": "wwwroot\\logo_marro.jpg" + }, + { + "Identity": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\VIRTU\\AZI01\\AZI01_LOGO.jpg", + "SourceId": "ApiPolo", + "SourceType": "Discovered", + "ContentRoot": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\", + "BasePath": "_content/ApiPolo", + "RelativePath": "VIRTU/AZI01/AZI01_LOGO.jpg", + "AssetKind": "All", + "AssetMode": "All", + "AssetRole": "Primary", + "RelatedAsset": "", + "AssetTraitName": "", + "AssetTraitValue": "", + "CopyToOutputDirectory": "Never", + "CopyToPublishDirectory": "PreserveNewest", + "OriginalItemSpec": "wwwroot\\VIRTU\\AZI01\\AZI01_LOGO.jpg" + }, + { + "Identity": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\VIRTU\\AZI02\\AZI02_LOGO.jpg", + "SourceId": "ApiPolo", + "SourceType": "Discovered", + "ContentRoot": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\", + "BasePath": "_content/ApiPolo", + "RelativePath": "VIRTU/AZI02/AZI02_LOGO.jpg", + "AssetKind": "All", + "AssetMode": "All", + "AssetRole": "Primary", + "RelatedAsset": "", + "AssetTraitName": "", + "AssetTraitValue": "", + "CopyToOutputDirectory": "Never", + "CopyToPublishDirectory": "PreserveNewest", + "OriginalItemSpec": "wwwroot\\VIRTU\\AZI02\\AZI02_LOGO.jpg" + }, + { + "Identity": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\VIRTU\\AZI02\\company2.png", + "SourceId": "ApiPolo", + "SourceType": "Discovered", + "ContentRoot": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\", + "BasePath": "_content/ApiPolo", + "RelativePath": "VIRTU/AZI02/company2.png", + "AssetKind": "All", + "AssetMode": "All", + "AssetRole": "Primary", + "RelatedAsset": "", + "AssetTraitName": "", + "AssetTraitValue": "", + "CopyToOutputDirectory": "Never", + "CopyToPublishDirectory": "PreserveNewest", + "OriginalItemSpec": "wwwroot\\VIRTU\\AZI02\\company2.png" + }, + { + "Identity": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\VIRTU\\AZI02\\R.png", + "SourceId": "ApiPolo", + "SourceType": "Discovered", + "ContentRoot": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\", + "BasePath": "_content/ApiPolo", + "RelativePath": "VIRTU/AZI02/R.png", + "AssetKind": "All", + "AssetMode": "All", + "AssetRole": "Primary", + "RelatedAsset": "", + "AssetTraitName": "", + "AssetTraitValue": "", + "CopyToOutputDirectory": "Never", + "CopyToPublishDirectory": "PreserveNewest", + "OriginalItemSpec": "wwwroot\\VIRTU\\AZI02\\R.png" + }, + { + "Identity": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\VIRTU\\CAV00001.jpg", + "SourceId": "ApiPolo", + "SourceType": "Discovered", + "ContentRoot": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\", + "BasePath": "_content/ApiPolo", + "RelativePath": "VIRTU/CAV00001.jpg", + "AssetKind": "All", + "AssetMode": "All", + "AssetRole": "Primary", + "RelatedAsset": "", + "AssetTraitName": "", + "AssetTraitValue": "", + "CopyToOutputDirectory": "Never", + "CopyToPublishDirectory": "PreserveNewest", + "OriginalItemSpec": "wwwroot\\VIRTU\\CAV00001.jpg" + } + ] +} \ No newline at end of file diff --git a/ApiPolo/obj/Release/net6.0/staticwebassets.development.json b/ApiPolo/obj/Release/net6.0/staticwebassets.development.json new file mode 100644 index 0000000..bbdad6e --- /dev/null +++ b/ApiPolo/obj/Release/net6.0/staticwebassets.development.json @@ -0,0 +1 @@ +{"ContentRoots":["C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\"],"Root":{"Children":{"logo_disco.jpg":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"logo_disco.jpg"},"Patterns":null},"logo_ferra.jpg":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"logo_ferra.jpg"},"Patterns":null},"logo_marro.jpg":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"logo_marro.jpg"},"Patterns":null},"VIRTU":{"Children":{"AZI01":{"Children":{"AZI01_LOGO.jpg":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"VIRTU/AZI01/AZI01_LOGO.jpg"},"Patterns":null}},"Asset":null,"Patterns":null},"AZI02":{"Children":{"AZI02_LOGO.jpg":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"VIRTU/AZI02/AZI02_LOGO.jpg"},"Patterns":null},"company2.png":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"VIRTU/AZI02/company2.png"},"Patterns":null},"R.png":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"VIRTU/AZI02/R.png"},"Patterns":null}},"Asset":null,"Patterns":null},"CAV00001.jpg":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"VIRTU/CAV00001.jpg"},"Patterns":null}},"Asset":null,"Patterns":null}},"Asset":null,"Patterns":[{"ContentRootIndex":0,"Pattern":"**","Depth":0}]}} \ No newline at end of file diff --git a/ApiPolo/obj/Release/net6.0/staticwebassets.pack.json b/ApiPolo/obj/Release/net6.0/staticwebassets.pack.json new file mode 100644 index 0000000..62aa5d5 --- /dev/null +++ b/ApiPolo/obj/Release/net6.0/staticwebassets.pack.json @@ -0,0 +1,53 @@ +{ + "Files": [ + { + "Id": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\VIRTU\\AZI01\\AZI01_LOGO.jpg", + "PackagePath": "staticwebassets\\VIRTU\\AZI01\\AZI01_LOGO.jpg" + }, + { + "Id": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\VIRTU\\AZI02\\AZI02_LOGO.jpg", + "PackagePath": "staticwebassets\\VIRTU\\AZI02\\AZI02_LOGO.jpg" + }, + { + "Id": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\VIRTU\\AZI02\\R.png", + "PackagePath": "staticwebassets\\VIRTU\\AZI02\\R.png" + }, + { + "Id": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\VIRTU\\AZI02\\company2.png", + "PackagePath": "staticwebassets\\VIRTU\\AZI02\\company2.png" + }, + { + "Id": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\VIRTU\\CAV00001.jpg", + "PackagePath": "staticwebassets\\VIRTU\\CAV00001.jpg" + }, + { + "Id": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\logo_disco.jpg", + "PackagePath": "staticwebassets\\logo_disco.jpg" + }, + { + "Id": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\logo_ferra.jpg", + "PackagePath": "staticwebassets\\logo_ferra.jpg" + }, + { + "Id": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\logo_marro.jpg", + "PackagePath": "staticwebassets\\logo_marro.jpg" + }, + { + "Id": "obj\\Release\\net6.0\\staticwebassets\\msbuild.ApiPolo.Microsoft.AspNetCore.StaticWebAssets.props", + "PackagePath": "build\\Microsoft.AspNetCore.StaticWebAssets.props" + }, + { + "Id": "obj\\Release\\net6.0\\staticwebassets\\msbuild.build.ApiPolo.props", + "PackagePath": "build\\ApiPolo.props" + }, + { + "Id": "obj\\Release\\net6.0\\staticwebassets\\msbuild.buildMultiTargeting.ApiPolo.props", + "PackagePath": "buildMultiTargeting\\ApiPolo.props" + }, + { + "Id": "obj\\Release\\net6.0\\staticwebassets\\msbuild.buildTransitive.ApiPolo.props", + "PackagePath": "buildTransitive\\ApiPolo.props" + } + ], + "ElementsToRemove": [] +} \ No newline at end of file diff --git a/ApiPolo/obj/Release/net6.0/staticwebassets.publish.json b/ApiPolo/obj/Release/net6.0/staticwebassets.publish.json new file mode 100644 index 0000000..a4477ca --- /dev/null +++ b/ApiPolo/obj/Release/net6.0/staticwebassets.publish.json @@ -0,0 +1,156 @@ +{ + "Version": 1, + "Hash": "wL/o9jW6TcFcJsAPdxhmnGF9Ul3RkiOg+6zwAhpXCN0=", + "Source": "ApiPolo", + "BasePath": "_content/ApiPolo", + "Mode": "Default", + "ManifestType": "Publish", + "ReferencedProjectsConfiguration": [], + "DiscoveryPatterns": [ + { + "Name": "ApiPolo\\wwwroot", + "Source": "ApiPolo", + "ContentRoot": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\", + "BasePath": "_content/ApiPolo", + "Pattern": "**" + } + ], + "Assets": [ + { + "Identity": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\logo_disco.jpg", + "SourceId": "ApiPolo", + "SourceType": "Discovered", + "ContentRoot": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\", + "BasePath": "_content/ApiPolo", + "RelativePath": "logo_disco.jpg", + "AssetKind": "All", + "AssetMode": "All", + "AssetRole": "Primary", + "RelatedAsset": "", + "AssetTraitName": "", + "AssetTraitValue": "", + "CopyToOutputDirectory": "Never", + "CopyToPublishDirectory": "PreserveNewest", + "OriginalItemSpec": "wwwroot\\logo_disco.jpg" + }, + { + "Identity": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\logo_ferra.jpg", + "SourceId": "ApiPolo", + "SourceType": "Discovered", + "ContentRoot": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\", + "BasePath": "_content/ApiPolo", + "RelativePath": "logo_ferra.jpg", + "AssetKind": "All", + "AssetMode": "All", + "AssetRole": "Primary", + "RelatedAsset": "", + "AssetTraitName": "", + "AssetTraitValue": "", + "CopyToOutputDirectory": "Never", + "CopyToPublishDirectory": "PreserveNewest", + "OriginalItemSpec": "wwwroot\\logo_ferra.jpg" + }, + { + "Identity": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\logo_marro.jpg", + "SourceId": "ApiPolo", + "SourceType": "Discovered", + "ContentRoot": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\", + "BasePath": "_content/ApiPolo", + "RelativePath": "logo_marro.jpg", + "AssetKind": "All", + "AssetMode": "All", + "AssetRole": "Primary", + "RelatedAsset": "", + "AssetTraitName": "", + "AssetTraitValue": "", + "CopyToOutputDirectory": "Never", + "CopyToPublishDirectory": "PreserveNewest", + "OriginalItemSpec": "wwwroot\\logo_marro.jpg" + }, + { + "Identity": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\VIRTU\\AZI01\\AZI01_LOGO.jpg", + "SourceId": "ApiPolo", + "SourceType": "Discovered", + "ContentRoot": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\", + "BasePath": "_content/ApiPolo", + "RelativePath": "VIRTU/AZI01/AZI01_LOGO.jpg", + "AssetKind": "All", + "AssetMode": "All", + "AssetRole": "Primary", + "RelatedAsset": "", + "AssetTraitName": "", + "AssetTraitValue": "", + "CopyToOutputDirectory": "Never", + "CopyToPublishDirectory": "PreserveNewest", + "OriginalItemSpec": "wwwroot\\VIRTU\\AZI01\\AZI01_LOGO.jpg" + }, + { + "Identity": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\VIRTU\\AZI02\\AZI02_LOGO.jpg", + "SourceId": "ApiPolo", + "SourceType": "Discovered", + "ContentRoot": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\", + "BasePath": "_content/ApiPolo", + "RelativePath": "VIRTU/AZI02/AZI02_LOGO.jpg", + "AssetKind": "All", + "AssetMode": "All", + "AssetRole": "Primary", + "RelatedAsset": "", + "AssetTraitName": "", + "AssetTraitValue": "", + "CopyToOutputDirectory": "Never", + "CopyToPublishDirectory": "PreserveNewest", + "OriginalItemSpec": "wwwroot\\VIRTU\\AZI02\\AZI02_LOGO.jpg" + }, + { + "Identity": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\VIRTU\\AZI02\\company2.png", + "SourceId": "ApiPolo", + "SourceType": "Discovered", + "ContentRoot": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\", + "BasePath": "_content/ApiPolo", + "RelativePath": "VIRTU/AZI02/company2.png", + "AssetKind": "All", + "AssetMode": "All", + "AssetRole": "Primary", + "RelatedAsset": "", + "AssetTraitName": "", + "AssetTraitValue": "", + "CopyToOutputDirectory": "Never", + "CopyToPublishDirectory": "PreserveNewest", + "OriginalItemSpec": "wwwroot\\VIRTU\\AZI02\\company2.png" + }, + { + "Identity": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\VIRTU\\AZI02\\R.png", + "SourceId": "ApiPolo", + "SourceType": "Discovered", + "ContentRoot": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\", + "BasePath": "_content/ApiPolo", + "RelativePath": "VIRTU/AZI02/R.png", + "AssetKind": "All", + "AssetMode": "All", + "AssetRole": "Primary", + "RelatedAsset": "", + "AssetTraitName": "", + "AssetTraitValue": "", + "CopyToOutputDirectory": "Never", + "CopyToPublishDirectory": "PreserveNewest", + "OriginalItemSpec": "wwwroot\\VIRTU\\AZI02\\R.png" + }, + { + "Identity": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\VIRTU\\CAV00001.jpg", + "SourceId": "ApiPolo", + "SourceType": "Discovered", + "ContentRoot": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\", + "BasePath": "_content/ApiPolo", + "RelativePath": "VIRTU/CAV00001.jpg", + "AssetKind": "All", + "AssetMode": "All", + "AssetRole": "Primary", + "RelatedAsset": "", + "AssetTraitName": "", + "AssetTraitValue": "", + "CopyToOutputDirectory": "Never", + "CopyToPublishDirectory": "PreserveNewest", + "OriginalItemSpec": "wwwroot\\VIRTU\\CAV00001.jpg" + } + ] +} \ No newline at end of file diff --git a/ApiPolo/obj/Release/net6.0/staticwebassets/msbuild.ApiPolo.Microsoft.AspNetCore.StaticWebAssets.props b/ApiPolo/obj/Release/net6.0/staticwebassets/msbuild.ApiPolo.Microsoft.AspNetCore.StaticWebAssets.props new file mode 100644 index 0000000..c94d02e --- /dev/null +++ b/ApiPolo/obj/Release/net6.0/staticwebassets/msbuild.ApiPolo.Microsoft.AspNetCore.StaticWebAssets.props @@ -0,0 +1,132 @@ + + + + Package + ApiPolo + $(MSBuildThisFileDirectory)..\staticwebassets\ + _content/ApiPolo + logo_disco.jpg + All + All + Primary + + + + Never + PreserveNewest + $([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\logo_disco.jpg)) + + + Package + ApiPolo + $(MSBuildThisFileDirectory)..\staticwebassets\ + _content/ApiPolo + logo_ferra.jpg + All + All + Primary + + + + Never + PreserveNewest + $([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\logo_ferra.jpg)) + + + Package + ApiPolo + $(MSBuildThisFileDirectory)..\staticwebassets\ + _content/ApiPolo + logo_marro.jpg + All + All + Primary + + + + Never + PreserveNewest + $([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\logo_marro.jpg)) + + + Package + ApiPolo + $(MSBuildThisFileDirectory)..\staticwebassets\ + _content/ApiPolo + VIRTU/AZI01/AZI01_LOGO.jpg + All + All + Primary + + + + Never + PreserveNewest + $([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\VIRTU\AZI01\AZI01_LOGO.jpg)) + + + Package + ApiPolo + $(MSBuildThisFileDirectory)..\staticwebassets\ + _content/ApiPolo + VIRTU/AZI02/AZI02_LOGO.jpg + All + All + Primary + + + + Never + PreserveNewest + $([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\VIRTU\AZI02\AZI02_LOGO.jpg)) + + + Package + ApiPolo + $(MSBuildThisFileDirectory)..\staticwebassets\ + _content/ApiPolo + VIRTU/AZI02/company2.png + All + All + Primary + + + + Never + PreserveNewest + $([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\VIRTU\AZI02\company2.png)) + + + Package + ApiPolo + $(MSBuildThisFileDirectory)..\staticwebassets\ + _content/ApiPolo + VIRTU/AZI02/R.png + All + All + Primary + + + + Never + PreserveNewest + $([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\VIRTU\AZI02\R.png)) + + + Package + ApiPolo + $(MSBuildThisFileDirectory)..\staticwebassets\ + _content/ApiPolo + VIRTU/CAV00001.jpg + All + All + Primary + + + + Never + PreserveNewest + $([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\VIRTU\CAV00001.jpg)) + + + \ No newline at end of file diff --git a/ApiPolo/obj/Release/net6.0/staticwebassets/msbuild.build.ApiPolo.props b/ApiPolo/obj/Release/net6.0/staticwebassets/msbuild.build.ApiPolo.props new file mode 100644 index 0000000..5a6032a --- /dev/null +++ b/ApiPolo/obj/Release/net6.0/staticwebassets/msbuild.build.ApiPolo.props @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/ApiPolo/obj/Release/net6.0/staticwebassets/msbuild.buildMultiTargeting.ApiPolo.props b/ApiPolo/obj/Release/net6.0/staticwebassets/msbuild.buildMultiTargeting.ApiPolo.props new file mode 100644 index 0000000..3d68535 --- /dev/null +++ b/ApiPolo/obj/Release/net6.0/staticwebassets/msbuild.buildMultiTargeting.ApiPolo.props @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/ApiPolo/obj/Release/net6.0/staticwebassets/msbuild.buildTransitive.ApiPolo.props b/ApiPolo/obj/Release/net6.0/staticwebassets/msbuild.buildTransitive.ApiPolo.props new file mode 100644 index 0000000..57a0c06 --- /dev/null +++ b/ApiPolo/obj/Release/net6.0/staticwebassets/msbuild.buildTransitive.ApiPolo.props @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/ApiPolo/obj/project.assets.json b/ApiPolo/obj/project.assets.json new file mode 100644 index 0000000..008d8f6 --- /dev/null +++ b/ApiPolo/obj/project.assets.json @@ -0,0 +1,3159 @@ +{ + "version": 3, + "targets": { + "net6.0": { + "Cronos/0.7.1": { + "type": "package", + "compile": { + "lib/netstandard2.0/Cronos.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/netstandard2.0/Cronos.dll": { + "related": ".xml" + } + } + }, + "FirebaseAdmin/2.3.0": { + "type": "package", + "dependencies": { + "Google.Api.Gax.Rest": "3.2.0", + "Google.Apis.Auth": "1.49.0", + "System.Collections.Immutable": "1.7.1" + }, + "compile": { + "lib/netstandard2.0/FirebaseAdmin.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/netstandard2.0/FirebaseAdmin.dll": { + "related": ".xml" + } + } + }, + "Google.Api.Gax/3.2.0": { + "type": "package", + "dependencies": { + "Microsoft.Bcl.AsyncInterfaces": "1.0.0", + "Newtonsoft.Json": "12.0.3" + }, + "compile": { + "lib/netstandard2.0/Google.Api.Gax.dll": { + "related": ".pdb;.xml" + } + }, + "runtime": { + "lib/netstandard2.0/Google.Api.Gax.dll": { + "related": ".pdb;.xml" + } + } + }, + "Google.Api.Gax.Rest/3.2.0": { + "type": "package", + "dependencies": { + "Google.Api.Gax": "3.2.0", + "Google.Apis.Auth": "[1.48.0, 2.0.0)" + }, + "compile": { + "lib/netstandard2.0/Google.Api.Gax.Rest.dll": { + "related": ".pdb;.xml" + } + }, + "runtime": { + "lib/netstandard2.0/Google.Api.Gax.Rest.dll": { + "related": ".pdb;.xml" + } + } + }, + "Google.Apis/1.49.0": { + "type": "package", + "dependencies": { + "Google.Apis.Core": "1.49.0" + }, + "compile": { + "lib/netstandard2.0/Google.Apis.dll": { + "related": ".pdb;.xml" + } + }, + "runtime": { + "lib/netstandard2.0/Google.Apis.dll": { + "related": ".pdb;.xml" + } + } + }, + "Google.Apis.Auth/1.49.0": { + "type": "package", + "dependencies": { + "Google.Apis": "1.49.0", + "Google.Apis.Core": "1.49.0" + }, + "compile": { + "lib/netstandard2.0/Google.Apis.Auth.PlatformServices.dll": {}, + "lib/netstandard2.0/Google.Apis.Auth.dll": { + "related": ".pdb;.xml" + } + }, + "runtime": { + "lib/netstandard2.0/Google.Apis.Auth.PlatformServices.dll": {}, + "lib/netstandard2.0/Google.Apis.Auth.dll": { + "related": ".pdb;.xml" + } + } + }, + "Google.Apis.Core/1.49.0": { + "type": "package", + "dependencies": { + "Newtonsoft.Json": "12.0.3" + }, + "compile": { + "lib/netstandard2.0/Google.Apis.Core.dll": { + "related": ".pdb;.xml" + } + }, + "runtime": { + "lib/netstandard2.0/Google.Apis.Core.dll": { + "related": ".pdb;.xml" + } + } + }, + "Humanizer.Core/2.8.26": { + "type": "package", + "compile": { + "lib/netstandard2.0/_._": { + "related": ".xml" + } + }, + "runtime": { + "lib/netstandard2.0/Humanizer.dll": { + "related": ".xml" + } + } + }, + "Microsoft.AspNet.Mvc/5.2.9": { + "type": "package", + "dependencies": { + "Microsoft.AspNet.Razor": "[3.2.9, 3.3.0)", + "Microsoft.AspNet.WebPages": "[3.2.9, 3.3.0)" + }, + "compile": { + "lib/net45/System.Web.Mvc.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net45/System.Web.Mvc.dll": { + "related": ".xml" + } + } + }, + "Microsoft.AspNet.Razor/3.2.9": { + "type": "package", + "compile": { + "lib/net45/System.Web.Razor.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net45/System.Web.Razor.dll": { + "related": ".xml" + } + } + }, + "Microsoft.AspNet.WebPages/3.2.9": { + "type": "package", + "dependencies": { + "Microsoft.AspNet.Razor": "[3.2.9, 3.3.0)", + "Microsoft.Web.Infrastructure": "1.0.0" + }, + "compile": { + "lib/net45/System.Web.Helpers.dll": { + "related": ".xml" + }, + "lib/net45/System.Web.WebPages.Deployment.dll": { + "related": ".xml" + }, + "lib/net45/System.Web.WebPages.Razor.dll": { + "related": ".xml" + }, + "lib/net45/System.Web.WebPages.dll": { + "related": ".Deployment.xml;.Razor.xml;.xml" + } + }, + "runtime": { + "lib/net45/System.Web.Helpers.dll": { + "related": ".xml" + }, + "lib/net45/System.Web.WebPages.Deployment.dll": { + "related": ".xml" + }, + "lib/net45/System.Web.WebPages.Razor.dll": { + "related": ".xml" + }, + "lib/net45/System.Web.WebPages.dll": { + "related": ".Deployment.xml;.Razor.xml;.xml" + } + } + }, + "Microsoft.AspNetCore.Authentication.Negotiate/6.0.5": { + "type": "package", + "dependencies": { + "Microsoft.AspNetCore.Connections.Abstractions": "6.0.5", + "System.DirectoryServices.Protocols": "6.0.1" + }, + "compile": { + "lib/net6.0/Microsoft.AspNetCore.Authentication.Negotiate.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net6.0/Microsoft.AspNetCore.Authentication.Negotiate.dll": { + "related": ".xml" + } + }, + "frameworkReferences": [ + "Microsoft.AspNetCore.App" + ] + }, + "Microsoft.AspNetCore.Connections.Abstractions/6.0.5": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Features": "6.0.5", + "System.IO.Pipelines": "6.0.3" + }, + "compile": { + "lib/net6.0/Microsoft.AspNetCore.Connections.Abstractions.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net6.0/Microsoft.AspNetCore.Connections.Abstractions.dll": { + "related": ".xml" + } + } + }, + "Microsoft.Bcl.AsyncInterfaces/1.0.0": { + "type": "package", + "compile": { + "ref/netstandard2.1/Microsoft.Bcl.AsyncInterfaces.dll": {} + }, + "runtime": { + "lib/netstandard2.1/Microsoft.Bcl.AsyncInterfaces.dll": { + "related": ".xml" + } + } + }, + "Microsoft.CSharp/4.5.0": { + "type": "package", + "compile": { + "ref/netcoreapp2.0/_._": {} + }, + "runtime": { + "lib/netcoreapp2.0/_._": {} + } + }, + "Microsoft.Data.SqlClient/2.1.4": { + "type": "package", + "dependencies": { + "Microsoft.Data.SqlClient.SNI.runtime": "2.1.1", + "Microsoft.Identity.Client": "4.21.1", + "Microsoft.IdentityModel.JsonWebTokens": "6.8.0", + "Microsoft.IdentityModel.Protocols.OpenIdConnect": "6.8.0", + "Microsoft.Win32.Registry": "4.7.0", + "System.Configuration.ConfigurationManager": "4.7.0", + "System.Diagnostics.DiagnosticSource": "4.7.0", + "System.Runtime.Caching": "4.7.0", + "System.Security.Principal.Windows": "4.7.0", + "System.Text.Encoding.CodePages": "4.7.0" + }, + "compile": { + "ref/netcoreapp3.1/Microsoft.Data.SqlClient.dll": { + "related": ".pdb;.xml" + } + }, + "runtime": { + "lib/netcoreapp3.1/Microsoft.Data.SqlClient.dll": { + "related": ".pdb;.xml" + } + }, + "runtimeTargets": { + "runtimes/unix/lib/netcoreapp3.1/Microsoft.Data.SqlClient.dll": { + "assetType": "runtime", + "rid": "unix" + }, + "runtimes/win/lib/netcoreapp3.1/Microsoft.Data.SqlClient.dll": { + "assetType": "runtime", + "rid": "win" + } + } + }, + "Microsoft.Data.SqlClient.SNI.runtime/2.1.1": { + "type": "package", + "runtimeTargets": { + "runtimes/win-arm/native/Microsoft.Data.SqlClient.SNI.dll": { + "assetType": "native", + "rid": "win-arm" + }, + "runtimes/win-arm64/native/Microsoft.Data.SqlClient.SNI.dll": { + "assetType": "native", + "rid": "win-arm64" + }, + "runtimes/win-x64/native/Microsoft.Data.SqlClient.SNI.dll": { + "assetType": "native", + "rid": "win-x64" + }, + "runtimes/win-x86/native/Microsoft.Data.SqlClient.SNI.dll": { + "assetType": "native", + "rid": "win-x86" + } + } + }, + "Microsoft.EntityFrameworkCore/6.0.5": { + "type": "package", + "dependencies": { + "Microsoft.EntityFrameworkCore.Abstractions": "6.0.5", + "Microsoft.EntityFrameworkCore.Analyzers": "6.0.5", + "Microsoft.Extensions.Caching.Memory": "6.0.1", + "Microsoft.Extensions.DependencyInjection": "6.0.0", + "Microsoft.Extensions.Logging": "6.0.0", + "System.Collections.Immutable": "6.0.0", + "System.Diagnostics.DiagnosticSource": "6.0.0" + }, + "compile": { + "lib/net6.0/Microsoft.EntityFrameworkCore.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net6.0/Microsoft.EntityFrameworkCore.dll": { + "related": ".xml" + } + } + }, + "Microsoft.EntityFrameworkCore.Abstractions/6.0.5": { + "type": "package", + "compile": { + "lib/net6.0/Microsoft.EntityFrameworkCore.Abstractions.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net6.0/Microsoft.EntityFrameworkCore.Abstractions.dll": { + "related": ".xml" + } + } + }, + "Microsoft.EntityFrameworkCore.Analyzers/6.0.5": { + "type": "package", + "compile": { + "lib/netstandard2.0/_._": {} + }, + "runtime": { + "lib/netstandard2.0/_._": {} + } + }, + "Microsoft.EntityFrameworkCore.Design/6.0.5": { + "type": "package", + "dependencies": { + "Humanizer.Core": "2.8.26", + "Microsoft.EntityFrameworkCore.Relational": "6.0.5" + }, + "compile": { + "lib/net6.0/_._": { + "related": ".xml" + } + }, + "runtime": { + "lib/net6.0/Microsoft.EntityFrameworkCore.Design.dll": { + "related": ".xml" + } + }, + "build": { + "build/net6.0/Microsoft.EntityFrameworkCore.Design.props": {} + } + }, + "Microsoft.EntityFrameworkCore.Relational/6.0.5": { + "type": "package", + "dependencies": { + "Microsoft.EntityFrameworkCore": "6.0.5", + "Microsoft.Extensions.Configuration.Abstractions": "6.0.0" + }, + "compile": { + "lib/net6.0/Microsoft.EntityFrameworkCore.Relational.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net6.0/Microsoft.EntityFrameworkCore.Relational.dll": { + "related": ".xml" + } + } + }, + "Microsoft.EntityFrameworkCore.SqlServer/6.0.5": { + "type": "package", + "dependencies": { + "Microsoft.Data.SqlClient": "2.1.4", + "Microsoft.EntityFrameworkCore.Relational": "6.0.5" + }, + "compile": { + "lib/net6.0/Microsoft.EntityFrameworkCore.SqlServer.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net6.0/Microsoft.EntityFrameworkCore.SqlServer.dll": { + "related": ".xml" + } + } + }, + "Microsoft.EntityFrameworkCore.Tools/6.0.5": { + "type": "package", + "dependencies": { + "Microsoft.EntityFrameworkCore.Design": "6.0.5" + }, + "compile": { + "lib/net6.0/_._": {} + }, + "runtime": { + "lib/net6.0/_._": {} + } + }, + "Microsoft.Extensions.ApiDescription.Server/3.0.0": { + "type": "package", + "build": { + "build/Microsoft.Extensions.ApiDescription.Server.props": {}, + "build/Microsoft.Extensions.ApiDescription.Server.targets": {} + }, + "buildMultiTargeting": { + "buildMultiTargeting/Microsoft.Extensions.ApiDescription.Server.props": {}, + "buildMultiTargeting/Microsoft.Extensions.ApiDescription.Server.targets": {} + } + }, + "Microsoft.Extensions.Caching.Abstractions/6.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Primitives": "6.0.0" + }, + "compile": { + "lib/netstandard2.0/Microsoft.Extensions.Caching.Abstractions.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/netstandard2.0/Microsoft.Extensions.Caching.Abstractions.dll": { + "related": ".xml" + } + } + }, + "Microsoft.Extensions.Caching.Memory/6.0.1": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Caching.Abstractions": "6.0.0", + "Microsoft.Extensions.DependencyInjection.Abstractions": "6.0.0", + "Microsoft.Extensions.Logging.Abstractions": "6.0.0", + "Microsoft.Extensions.Options": "6.0.0", + "Microsoft.Extensions.Primitives": "6.0.0" + }, + "compile": { + "lib/netstandard2.0/Microsoft.Extensions.Caching.Memory.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/netstandard2.0/Microsoft.Extensions.Caching.Memory.dll": { + "related": ".xml" + } + } + }, + "Microsoft.Extensions.Configuration.Abstractions/6.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Primitives": "6.0.0" + }, + "compile": { + "lib/netstandard2.0/Microsoft.Extensions.Configuration.Abstractions.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/netstandard2.0/Microsoft.Extensions.Configuration.Abstractions.dll": { + "related": ".xml" + } + } + }, + "Microsoft.Extensions.DependencyInjection/6.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "6.0.0", + "System.Runtime.CompilerServices.Unsafe": "6.0.0" + }, + "compile": { + "lib/net6.0/Microsoft.Extensions.DependencyInjection.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net6.0/Microsoft.Extensions.DependencyInjection.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/netcoreapp3.1/_._": {} + } + }, + "Microsoft.Extensions.DependencyInjection.Abstractions/6.0.0": { + "type": "package", + "compile": { + "lib/net6.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net6.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/netcoreapp3.1/_._": {} + } + }, + "Microsoft.Extensions.Features/6.0.5": { + "type": "package", + "compile": { + "lib/net6.0/Microsoft.Extensions.Features.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net6.0/Microsoft.Extensions.Features.dll": { + "related": ".xml" + } + } + }, + "Microsoft.Extensions.Logging/6.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.DependencyInjection": "6.0.0", + "Microsoft.Extensions.DependencyInjection.Abstractions": "6.0.0", + "Microsoft.Extensions.Logging.Abstractions": "6.0.0", + "Microsoft.Extensions.Options": "6.0.0", + "System.Diagnostics.DiagnosticSource": "6.0.0" + }, + "compile": { + "lib/netstandard2.1/Microsoft.Extensions.Logging.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/netstandard2.1/Microsoft.Extensions.Logging.dll": { + "related": ".xml" + } + } + }, + "Microsoft.Extensions.Logging.Abstractions/6.0.0": { + "type": "package", + "compile": { + "lib/net6.0/Microsoft.Extensions.Logging.Abstractions.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net6.0/Microsoft.Extensions.Logging.Abstractions.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/netcoreapp3.1/_._": {} + } + }, + "Microsoft.Extensions.Options/6.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "6.0.0", + "Microsoft.Extensions.Primitives": "6.0.0" + }, + "compile": { + "lib/netstandard2.1/Microsoft.Extensions.Options.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/netstandard2.1/Microsoft.Extensions.Options.dll": { + "related": ".xml" + } + } + }, + "Microsoft.Extensions.Primitives/6.0.0": { + "type": "package", + "dependencies": { + "System.Runtime.CompilerServices.Unsafe": "6.0.0" + }, + "compile": { + "lib/net6.0/Microsoft.Extensions.Primitives.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net6.0/Microsoft.Extensions.Primitives.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/netcoreapp3.1/_._": {} + } + }, + "Microsoft.Identity.Client/4.21.1": { + "type": "package", + "compile": { + "ref/netcoreapp2.1/_._": { + "related": ".xml" + } + }, + "runtime": { + "lib/netcoreapp2.1/Microsoft.Identity.Client.dll": { + "related": ".xml" + } + } + }, + "Microsoft.IdentityModel.JsonWebTokens/6.8.0": { + "type": "package", + "dependencies": { + "Microsoft.IdentityModel.Tokens": "6.8.0" + }, + "compile": { + "lib/netstandard2.0/Microsoft.IdentityModel.JsonWebTokens.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/netstandard2.0/Microsoft.IdentityModel.JsonWebTokens.dll": { + "related": ".xml" + } + } + }, + "Microsoft.IdentityModel.Logging/6.8.0": { + "type": "package", + "compile": { + "lib/netstandard2.0/Microsoft.IdentityModel.Logging.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/netstandard2.0/Microsoft.IdentityModel.Logging.dll": { + "related": ".xml" + } + } + }, + "Microsoft.IdentityModel.Protocols/6.8.0": { + "type": "package", + "dependencies": { + "Microsoft.IdentityModel.Logging": "6.8.0", + "Microsoft.IdentityModel.Tokens": "6.8.0" + }, + "compile": { + "lib/netstandard2.0/Microsoft.IdentityModel.Protocols.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/netstandard2.0/Microsoft.IdentityModel.Protocols.dll": { + "related": ".xml" + } + } + }, + "Microsoft.IdentityModel.Protocols.OpenIdConnect/6.8.0": { + "type": "package", + "dependencies": { + "Microsoft.IdentityModel.Protocols": "6.8.0", + "System.IdentityModel.Tokens.Jwt": "6.8.0" + }, + "compile": { + "lib/netstandard2.0/Microsoft.IdentityModel.Protocols.OpenIdConnect.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/netstandard2.0/Microsoft.IdentityModel.Protocols.OpenIdConnect.dll": { + "related": ".xml" + } + } + }, + "Microsoft.IdentityModel.Tokens/6.8.0": { + "type": "package", + "dependencies": { + "Microsoft.CSharp": "4.5.0", + "Microsoft.IdentityModel.Logging": "6.8.0", + "System.Security.Cryptography.Cng": "4.5.0" + }, + "compile": { + "lib/netstandard2.0/Microsoft.IdentityModel.Tokens.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/netstandard2.0/Microsoft.IdentityModel.Tokens.dll": { + "related": ".xml" + } + } + }, + "Microsoft.NETCore.Platforms/3.1.0": { + "type": "package", + "compile": { + "lib/netstandard1.0/_._": {} + }, + "runtime": { + "lib/netstandard1.0/_._": {} + } + }, + "Microsoft.OpenApi/1.2.3": { + "type": "package", + "compile": { + "lib/netstandard2.0/Microsoft.OpenApi.dll": { + "related": ".pdb;.xml" + } + }, + "runtime": { + "lib/netstandard2.0/Microsoft.OpenApi.dll": { + "related": ".pdb;.xml" + } + } + }, + "Microsoft.Web.Infrastructure/1.0.0": { + "type": "package", + "compile": { + "lib/net40/Microsoft.Web.Infrastructure.dll": {} + }, + "runtime": { + "lib/net40/Microsoft.Web.Infrastructure.dll": {} + } + }, + "Microsoft.Win32.Registry/4.7.0": { + "type": "package", + "dependencies": { + "System.Security.AccessControl": "4.7.0", + "System.Security.Principal.Windows": "4.7.0" + }, + "compile": { + "ref/netstandard2.0/_._": { + "related": ".xml" + } + }, + "runtime": { + "lib/netstandard2.0/Microsoft.Win32.Registry.dll": { + "related": ".xml" + } + }, + "runtimeTargets": { + "runtimes/unix/lib/netstandard2.0/Microsoft.Win32.Registry.dll": { + "assetType": "runtime", + "rid": "unix" + }, + "runtimes/win/lib/netstandard2.0/Microsoft.Win32.Registry.dll": { + "assetType": "runtime", + "rid": "win" + } + } + }, + "Microsoft.Win32.SystemEvents/4.7.0": { + "type": "package", + "dependencies": { + "Microsoft.NETCore.Platforms": "3.1.0" + }, + "compile": { + "ref/netstandard2.0/_._": { + "related": ".xml" + } + }, + "runtime": { + "lib/netstandard2.0/Microsoft.Win32.SystemEvents.dll": { + "related": ".xml" + } + }, + "runtimeTargets": { + "runtimes/win/lib/netcoreapp3.0/Microsoft.Win32.SystemEvents.dll": { + "assetType": "runtime", + "rid": "win" + } + } + }, + "Newtonsoft.Json/13.0.3": { + "type": "package", + "compile": { + "lib/net6.0/Newtonsoft.Json.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net6.0/Newtonsoft.Json.dll": { + "related": ".xml" + } + } + }, + "SSH.NET/2020.0.2": { + "type": "package", + "dependencies": { + "SshNet.Security.Cryptography": "[1.3.0]" + }, + "compile": { + "lib/netstandard2.0/Renci.SshNet.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/netstandard2.0/Renci.SshNet.dll": { + "related": ".xml" + } + } + }, + "SshNet.Security.Cryptography/1.3.0": { + "type": "package", + "compile": { + "lib/netstandard2.0/SshNet.Security.Cryptography.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/netstandard2.0/SshNet.Security.Cryptography.dll": { + "related": ".xml" + } + } + }, + "Swashbuckle.AspNetCore/6.3.1": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.ApiDescription.Server": "3.0.0", + "Swashbuckle.AspNetCore.Swagger": "6.3.1", + "Swashbuckle.AspNetCore.SwaggerGen": "6.3.1", + "Swashbuckle.AspNetCore.SwaggerUI": "6.3.1" + }, + "build": { + "build/Swashbuckle.AspNetCore.props": {} + } + }, + "Swashbuckle.AspNetCore.Swagger/6.3.1": { + "type": "package", + "dependencies": { + "Microsoft.OpenApi": "1.2.3" + }, + "compile": { + "lib/net6.0/Swashbuckle.AspNetCore.Swagger.dll": { + "related": ".pdb;.xml" + } + }, + "runtime": { + "lib/net6.0/Swashbuckle.AspNetCore.Swagger.dll": { + "related": ".pdb;.xml" + } + }, + "frameworkReferences": [ + "Microsoft.AspNetCore.App" + ] + }, + "Swashbuckle.AspNetCore.SwaggerGen/6.3.1": { + "type": "package", + "dependencies": { + "Swashbuckle.AspNetCore.Swagger": "6.3.1" + }, + "compile": { + "lib/net6.0/Swashbuckle.AspNetCore.SwaggerGen.dll": { + "related": ".pdb;.xml" + } + }, + "runtime": { + "lib/net6.0/Swashbuckle.AspNetCore.SwaggerGen.dll": { + "related": ".pdb;.xml" + } + } + }, + "Swashbuckle.AspNetCore.SwaggerUI/6.3.1": { + "type": "package", + "compile": { + "lib/net6.0/Swashbuckle.AspNetCore.SwaggerUI.dll": { + "related": ".pdb;.xml" + } + }, + "runtime": { + "lib/net6.0/Swashbuckle.AspNetCore.SwaggerUI.dll": { + "related": ".pdb;.xml" + } + }, + "frameworkReferences": [ + "Microsoft.AspNetCore.App" + ] + }, + "System.Collections.Immutable/6.0.0": { + "type": "package", + "dependencies": { + "System.Runtime.CompilerServices.Unsafe": "6.0.0" + }, + "compile": { + "lib/net6.0/System.Collections.Immutable.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net6.0/System.Collections.Immutable.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/netcoreapp3.1/_._": {} + } + }, + "System.Configuration.ConfigurationManager/4.7.0": { + "type": "package", + "dependencies": { + "System.Security.Cryptography.ProtectedData": "4.7.0", + "System.Security.Permissions": "4.7.0" + }, + "compile": { + "ref/netstandard2.0/_._": { + "related": ".xml" + } + }, + "runtime": { + "lib/netstandard2.0/System.Configuration.ConfigurationManager.dll": { + "related": ".xml" + } + } + }, + "System.Diagnostics.DiagnosticSource/6.0.0": { + "type": "package", + "dependencies": { + "System.Runtime.CompilerServices.Unsafe": "6.0.0" + }, + "compile": { + "lib/net6.0/System.Diagnostics.DiagnosticSource.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net6.0/System.Diagnostics.DiagnosticSource.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/netcoreapp3.1/_._": {} + } + }, + "System.DirectoryServices.Protocols/6.0.1": { + "type": "package", + "compile": { + "lib/net6.0/System.DirectoryServices.Protocols.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net6.0/System.DirectoryServices.Protocols.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/netcoreapp3.1/_._": {} + }, + "runtimeTargets": { + "runtimes/linux/lib/net6.0/System.DirectoryServices.Protocols.dll": { + "assetType": "runtime", + "rid": "linux" + }, + "runtimes/osx/lib/net6.0/System.DirectoryServices.Protocols.dll": { + "assetType": "runtime", + "rid": "osx" + }, + "runtimes/win/lib/net6.0/System.DirectoryServices.Protocols.dll": { + "assetType": "runtime", + "rid": "win" + } + } + }, + "System.Drawing.Common/4.7.0": { + "type": "package", + "dependencies": { + "Microsoft.NETCore.Platforms": "3.1.0", + "Microsoft.Win32.SystemEvents": "4.7.0" + }, + "compile": { + "ref/netcoreapp3.0/_._": { + "related": ".xml" + } + }, + "runtime": { + "lib/netstandard2.0/System.Drawing.Common.dll": {} + }, + "runtimeTargets": { + "runtimes/unix/lib/netcoreapp3.0/System.Drawing.Common.dll": { + "assetType": "runtime", + "rid": "unix" + }, + "runtimes/win/lib/netcoreapp3.0/System.Drawing.Common.dll": { + "assetType": "runtime", + "rid": "win" + } + } + }, + "System.IdentityModel.Tokens.Jwt/6.8.0": { + "type": "package", + "dependencies": { + "Microsoft.IdentityModel.JsonWebTokens": "6.8.0", + "Microsoft.IdentityModel.Tokens": "6.8.0" + }, + "compile": { + "lib/netstandard2.0/System.IdentityModel.Tokens.Jwt.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/netstandard2.0/System.IdentityModel.Tokens.Jwt.dll": { + "related": ".xml" + } + } + }, + "System.IO.Pipelines/6.0.3": { + "type": "package", + "compile": { + "lib/net6.0/System.IO.Pipelines.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net6.0/System.IO.Pipelines.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/netcoreapp3.1/_._": {} + } + }, + "System.Runtime.Caching/4.7.0": { + "type": "package", + "dependencies": { + "System.Configuration.ConfigurationManager": "4.7.0" + }, + "compile": { + "ref/netstandard2.0/_._": { + "related": ".xml" + } + }, + "runtime": { + "lib/netstandard2.0/System.Runtime.Caching.dll": { + "related": ".xml" + } + }, + "runtimeTargets": { + "runtimes/win/lib/netstandard2.0/System.Runtime.Caching.dll": { + "assetType": "runtime", + "rid": "win" + } + } + }, + "System.Runtime.CompilerServices.Unsafe/6.0.0": { + "type": "package", + "compile": { + "lib/net6.0/System.Runtime.CompilerServices.Unsafe.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net6.0/System.Runtime.CompilerServices.Unsafe.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/netcoreapp3.1/_._": {} + } + }, + "System.Security.AccessControl/4.7.0": { + "type": "package", + "dependencies": { + "Microsoft.NETCore.Platforms": "3.1.0", + "System.Security.Principal.Windows": "4.7.0" + }, + "compile": { + "ref/netstandard2.0/_._": { + "related": ".xml" + } + }, + "runtime": { + "lib/netstandard2.0/System.Security.AccessControl.dll": { + "related": ".xml" + } + }, + "runtimeTargets": { + "runtimes/win/lib/netcoreapp2.0/System.Security.AccessControl.dll": { + "assetType": "runtime", + "rid": "win" + } + } + }, + "System.Security.Cryptography.Cng/4.5.0": { + "type": "package", + "compile": { + "ref/netcoreapp2.1/System.Security.Cryptography.Cng.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/netcoreapp2.1/System.Security.Cryptography.Cng.dll": {} + }, + "runtimeTargets": { + "runtimes/win/lib/netcoreapp2.1/System.Security.Cryptography.Cng.dll": { + "assetType": "runtime", + "rid": "win" + } + } + }, + "System.Security.Cryptography.ProtectedData/4.7.0": { + "type": "package", + "compile": { + "ref/netstandard2.0/_._": { + "related": ".xml" + } + }, + "runtime": { + "lib/netstandard2.0/System.Security.Cryptography.ProtectedData.dll": { + "related": ".xml" + } + }, + "runtimeTargets": { + "runtimes/win/lib/netstandard2.0/System.Security.Cryptography.ProtectedData.dll": { + "assetType": "runtime", + "rid": "win" + } + } + }, + "System.Security.Permissions/4.7.0": { + "type": "package", + "dependencies": { + "System.Security.AccessControl": "4.7.0", + "System.Windows.Extensions": "4.7.0" + }, + "compile": { + "ref/netcoreapp3.0/_._": { + "related": ".xml" + } + }, + "runtime": { + "lib/netcoreapp3.0/System.Security.Permissions.dll": { + "related": ".xml" + } + } + }, + "System.Security.Principal.Windows/4.7.0": { + "type": "package", + "compile": { + "ref/netcoreapp3.0/_._": { + "related": ".xml" + } + }, + "runtime": { + "lib/netstandard2.0/System.Security.Principal.Windows.dll": { + "related": ".xml" + } + }, + "runtimeTargets": { + "runtimes/unix/lib/netcoreapp2.1/System.Security.Principal.Windows.dll": { + "assetType": "runtime", + "rid": "unix" + }, + "runtimes/win/lib/netcoreapp2.1/System.Security.Principal.Windows.dll": { + "assetType": "runtime", + "rid": "win" + } + } + }, + "System.Text.Encoding.CodePages/4.7.0": { + "type": "package", + "dependencies": { + "Microsoft.NETCore.Platforms": "3.1.0" + }, + "compile": { + "lib/netstandard2.0/_._": { + "related": ".xml" + } + }, + "runtime": { + "lib/netstandard2.0/System.Text.Encoding.CodePages.dll": { + "related": ".xml" + } + }, + "runtimeTargets": { + "runtimes/win/lib/netcoreapp2.0/System.Text.Encoding.CodePages.dll": { + "assetType": "runtime", + "rid": "win" + } + } + }, + "System.Windows.Extensions/4.7.0": { + "type": "package", + "dependencies": { + "System.Drawing.Common": "4.7.0" + }, + "compile": { + "ref/netcoreapp3.0/_._": { + "related": ".xml" + } + }, + "runtime": { + "lib/netcoreapp3.0/System.Windows.Extensions.dll": { + "related": ".xml" + } + }, + "runtimeTargets": { + "runtimes/win/lib/netcoreapp3.0/System.Windows.Extensions.dll": { + "assetType": "runtime", + "rid": "win" + } + } + } + } + }, + "libraries": { + "Cronos/0.7.1": { + "sha512": "aa2DY3qGBnwX7/jW4c17PyRlIeAtc5nYTlAPekc0113jcbBuz9vQkQaQ9NG+TNGlAj4esFxh8OuKUv4vmAODbw==", + "type": "package", + "path": "cronos/0.7.1", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "cronos.0.7.1.nupkg.sha512", + "cronos.nuspec", + "lib/net40/Cronos.dll", + "lib/net40/Cronos.xml", + "lib/net45/Cronos.dll", + "lib/net45/Cronos.xml", + "lib/netstandard1.0/Cronos.dll", + "lib/netstandard1.0/Cronos.xml", + "lib/netstandard2.0/Cronos.dll", + "lib/netstandard2.0/Cronos.xml" + ] + }, + "FirebaseAdmin/2.3.0": { + "sha512": "ror9V68bFWdr3VXoCPQrAAJ1ZA8dyLzIHJvy53BmoD83Ze9VuWC9hPBicPqqOANP3VTMWnylC7xci59UEMuU4A==", + "type": "package", + "path": "firebaseadmin/2.3.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "firebaseadmin.2.3.0.nupkg.sha512", + "firebaseadmin.nuspec", + "lib/net461/FirebaseAdmin.dll", + "lib/net461/FirebaseAdmin.xml", + "lib/netstandard2.0/FirebaseAdmin.dll", + "lib/netstandard2.0/FirebaseAdmin.xml" + ] + }, + "Google.Api.Gax/3.2.0": { + "sha512": "0OjahFAHTOoprSgvJiQ6/fIQLrUYU4QIFgkuJ51/lcmhZbuXxB3ycPk3JTVEvx6A5yQBL14wgmHgwXLcEsnu3Q==", + "type": "package", + "path": "google.api.gax/3.2.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "LICENSE", + "NuGetIcon.png", + "google.api.gax.3.2.0.nupkg.sha512", + "google.api.gax.nuspec", + "lib/net461/Google.Api.Gax.dll", + "lib/net461/Google.Api.Gax.pdb", + "lib/net461/Google.Api.Gax.xml", + "lib/netstandard2.0/Google.Api.Gax.dll", + "lib/netstandard2.0/Google.Api.Gax.pdb", + "lib/netstandard2.0/Google.Api.Gax.xml" + ] + }, + "Google.Api.Gax.Rest/3.2.0": { + "sha512": "YY4mD0nGxTx1uez7Perm+zAd3FH50dd3+7HTYsRFCywDEtj3RkrMjcAmw6mNpKkw2sRICu7aYNy1mgMjd3nVbw==", + "type": "package", + "path": "google.api.gax.rest/3.2.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "LICENSE", + "NuGetIcon.png", + "google.api.gax.rest.3.2.0.nupkg.sha512", + "google.api.gax.rest.nuspec", + "lib/net461/Google.Api.Gax.Rest.dll", + "lib/net461/Google.Api.Gax.Rest.pdb", + "lib/net461/Google.Api.Gax.Rest.xml", + "lib/netstandard2.0/Google.Api.Gax.Rest.dll", + "lib/netstandard2.0/Google.Api.Gax.Rest.pdb", + "lib/netstandard2.0/Google.Api.Gax.Rest.xml" + ] + }, + "Google.Apis/1.49.0": { + "sha512": "fmXQQTxZFOBlnvokvdQMzq0Lt+g2QzpZ4H6U8lMMFHgAR8ZqxQnPN5yHDpoHf7a++hJHb5W3pALxauGsq+afKQ==", + "type": "package", + "path": "google.apis/1.49.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "LICENSE", + "NuGetIcon.png", + "google.apis.1.49.0.nupkg.sha512", + "google.apis.nuspec", + "lib/net45/Google.Apis.PlatformServices.dll", + "lib/net45/Google.Apis.dll", + "lib/net45/Google.Apis.pdb", + "lib/net45/Google.Apis.xml", + "lib/netstandard1.3/Google.Apis.dll", + "lib/netstandard1.3/Google.Apis.pdb", + "lib/netstandard1.3/Google.Apis.xml", + "lib/netstandard2.0/Google.Apis.dll", + "lib/netstandard2.0/Google.Apis.pdb", + "lib/netstandard2.0/Google.Apis.xml" + ] + }, + "Google.Apis.Auth/1.49.0": { + "sha512": "3V9ohvixQtjaEvk7T9Ac7E/KvwEPa7eL4aMNreJDI0CEPzCdQdk2zCvaJPRrNIjhe+UuBeOeom1oAOMFB74JHg==", + "type": "package", + "path": "google.apis.auth/1.49.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "LICENSE", + "NuGetIcon.png", + "google.apis.auth.1.49.0.nupkg.sha512", + "google.apis.auth.nuspec", + "lib/net45/Google.Apis.Auth.PlatformServices.dll", + "lib/net45/Google.Apis.Auth.dll", + "lib/net45/Google.Apis.Auth.pdb", + "lib/net45/Google.Apis.Auth.xml", + "lib/netstandard1.3/Google.Apis.Auth.PlatformServices.dll", + "lib/netstandard1.3/Google.Apis.Auth.dll", + "lib/netstandard1.3/Google.Apis.Auth.pdb", + "lib/netstandard1.3/Google.Apis.Auth.xml", + "lib/netstandard2.0/Google.Apis.Auth.PlatformServices.dll", + "lib/netstandard2.0/Google.Apis.Auth.dll", + "lib/netstandard2.0/Google.Apis.Auth.pdb", + "lib/netstandard2.0/Google.Apis.Auth.xml" + ] + }, + "Google.Apis.Core/1.49.0": { + "sha512": "9DgGdtyzgrCfHWwc/HiDXDbykNMeKQozbEHYEUEcezRuH+YR3fvq7YGVBDmUM8g6qEL3kDk6h5EU4h0IJwue1w==", + "type": "package", + "path": "google.apis.core/1.49.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "LICENSE", + "NuGetIcon.png", + "google.apis.core.1.49.0.nupkg.sha512", + "google.apis.core.nuspec", + "lib/net45/Google.Apis.Core.dll", + "lib/net45/Google.Apis.Core.pdb", + "lib/net45/Google.Apis.Core.xml", + "lib/netstandard1.3/Google.Apis.Core.dll", + "lib/netstandard1.3/Google.Apis.Core.pdb", + "lib/netstandard1.3/Google.Apis.Core.xml", + "lib/netstandard2.0/Google.Apis.Core.dll", + "lib/netstandard2.0/Google.Apis.Core.pdb", + "lib/netstandard2.0/Google.Apis.Core.xml" + ] + }, + "Humanizer.Core/2.8.26": { + "sha512": "OiKusGL20vby4uDEswj2IgkdchC1yQ6rwbIkZDVBPIR6al2b7n3pC91elBul9q33KaBgRKhbZH3+2Ur4fnWx2A==", + "type": "package", + "path": "humanizer.core/2.8.26", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "humanizer.core.2.8.26.nupkg.sha512", + "humanizer.core.nuspec", + "lib/netstandard1.0/Humanizer.dll", + "lib/netstandard1.0/Humanizer.xml", + "lib/netstandard2.0/Humanizer.dll", + "lib/netstandard2.0/Humanizer.xml", + "logo.png" + ] + }, + "Microsoft.AspNet.Mvc/5.2.9": { + "sha512": "bcekKshCAh7kTWSMZPavQStSZQF/QmjEjO2gVWGITEd0/t5eRlb+ZLDE+az2qY1bZ8L6Hz0OCNeS0uzXtJcK5w==", + "type": "package", + "path": "microsoft.aspnet.mvc/5.2.9", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Content/Web.config.install.xdt", + "Content/Web.config.uninstall.xdt", + "NET.icon.png", + "NET_Library_EULA_ENU.txt", + "lib/net45/System.Web.Mvc.dll", + "lib/net45/System.Web.Mvc.xml", + "microsoft.aspnet.mvc.5.2.9.nupkg.sha512", + "microsoft.aspnet.mvc.nuspec" + ] + }, + "Microsoft.AspNet.Razor/3.2.9": { + "sha512": "QOJEnEw3xp+t5lMvYR5nGCF4CfZpHqr2p8uZOBEgDZoB6r2txtSj6581YNr+/dOHjI3YRlo1QAKGQoSohbQ/KA==", + "type": "package", + "path": "microsoft.aspnet.razor/3.2.9", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "NET.icon.png", + "NET_Library_EULA_ENU.txt", + "lib/net45/System.Web.Razor.dll", + "lib/net45/System.Web.Razor.xml", + "microsoft.aspnet.razor.3.2.9.nupkg.sha512", + "microsoft.aspnet.razor.nuspec" + ] + }, + "Microsoft.AspNet.WebPages/3.2.9": { + "sha512": "yByb721lwv8YFsx1oKA5CLKXa89XVbVMkPafS4bg/bPelBEgChq/coFBQEkA4kwcabG7AR56w3vapnoZUfr2Cw==", + "type": "package", + "path": "microsoft.aspnet.webpages/3.2.9", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Content/Web.config.install.xdt", + "Content/Web.config.uninstall.xdt", + "NET.icon.png", + "NET_Library_EULA_ENU.txt", + "lib/net45/System.Web.Helpers.dll", + "lib/net45/System.Web.Helpers.xml", + "lib/net45/System.Web.WebPages.Deployment.dll", + "lib/net45/System.Web.WebPages.Deployment.xml", + "lib/net45/System.Web.WebPages.Razor.dll", + "lib/net45/System.Web.WebPages.Razor.xml", + "lib/net45/System.Web.WebPages.dll", + "lib/net45/System.Web.WebPages.xml", + "microsoft.aspnet.webpages.3.2.9.nupkg.sha512", + "microsoft.aspnet.webpages.nuspec" + ] + }, + "Microsoft.AspNetCore.Authentication.Negotiate/6.0.5": { + "sha512": "ZgKdA5VnmZSdpuyS9f4Myn2ybSYPyhOGWvZ63Z+ys0z9WcHGx6jyN4IjK8ORTdkhc7dOYxsMF/v/K+CGtvCbUA==", + "type": "package", + "path": "microsoft.aspnetcore.authentication.negotiate/6.0.5", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "THIRD-PARTY-NOTICES.TXT", + "lib/net6.0/Microsoft.AspNetCore.Authentication.Negotiate.dll", + "lib/net6.0/Microsoft.AspNetCore.Authentication.Negotiate.xml", + "microsoft.aspnetcore.authentication.negotiate.6.0.5.nupkg.sha512", + "microsoft.aspnetcore.authentication.negotiate.nuspec" + ] + }, + "Microsoft.AspNetCore.Connections.Abstractions/6.0.5": { + "sha512": "OBbGvih5/CLHTbJVDiJ203TmKXCx8z539O2YGnfHmExbNtMwyQ9rgpqoxyYEVvQrVsqxRhXfh57DOCQYhxcOBQ==", + "type": "package", + "path": "microsoft.aspnetcore.connections.abstractions/6.0.5", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "THIRD-PARTY-NOTICES.TXT", + "lib/net461/Microsoft.AspNetCore.Connections.Abstractions.dll", + "lib/net461/Microsoft.AspNetCore.Connections.Abstractions.xml", + "lib/net6.0/Microsoft.AspNetCore.Connections.Abstractions.dll", + "lib/net6.0/Microsoft.AspNetCore.Connections.Abstractions.xml", + "lib/netstandard2.0/Microsoft.AspNetCore.Connections.Abstractions.dll", + "lib/netstandard2.0/Microsoft.AspNetCore.Connections.Abstractions.xml", + "lib/netstandard2.1/Microsoft.AspNetCore.Connections.Abstractions.dll", + "lib/netstandard2.1/Microsoft.AspNetCore.Connections.Abstractions.xml", + "microsoft.aspnetcore.connections.abstractions.6.0.5.nupkg.sha512", + "microsoft.aspnetcore.connections.abstractions.nuspec" + ] + }, + "Microsoft.Bcl.AsyncInterfaces/1.0.0": { + "sha512": "K63Y4hORbBcKLWH5wnKgzyn7TOfYzevIEwIedQHBIkmkEBA9SCqgvom+XTuE+fAFGvINGkhFItaZ2dvMGdT5iw==", + "type": "package", + "path": "microsoft.bcl.asyncinterfaces/1.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "LICENSE.TXT", + "THIRD-PARTY-NOTICES.TXT", + "lib/net461/Microsoft.Bcl.AsyncInterfaces.dll", + "lib/net461/Microsoft.Bcl.AsyncInterfaces.xml", + "lib/netstandard2.0/Microsoft.Bcl.AsyncInterfaces.dll", + "lib/netstandard2.0/Microsoft.Bcl.AsyncInterfaces.xml", + "lib/netstandard2.1/Microsoft.Bcl.AsyncInterfaces.dll", + "lib/netstandard2.1/Microsoft.Bcl.AsyncInterfaces.xml", + "microsoft.bcl.asyncinterfaces.1.0.0.nupkg.sha512", + "microsoft.bcl.asyncinterfaces.nuspec", + "ref/net461/Microsoft.Bcl.AsyncInterfaces.dll", + "ref/netstandard2.0/Microsoft.Bcl.AsyncInterfaces.dll", + "ref/netstandard2.1/Microsoft.Bcl.AsyncInterfaces.dll", + "useSharedDesignerContext.txt", + "version.txt" + ] + }, + "Microsoft.CSharp/4.5.0": { + "sha512": "kaj6Wb4qoMuH3HySFJhxwQfe8R/sJsNJnANrvv8WdFPMoNbKY5htfNscv+LHCu5ipz+49m2e+WQXpLXr9XYemQ==", + "type": "package", + "path": "microsoft.csharp/4.5.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "LICENSE.TXT", + "THIRD-PARTY-NOTICES.TXT", + "lib/MonoAndroid10/_._", + "lib/MonoTouch10/_._", + "lib/net45/_._", + "lib/netcore50/Microsoft.CSharp.dll", + "lib/netcoreapp2.0/_._", + "lib/netstandard1.3/Microsoft.CSharp.dll", + "lib/netstandard2.0/Microsoft.CSharp.dll", + "lib/portable-net45+win8+wp8+wpa81/_._", + "lib/uap10.0.16299/_._", + "lib/win8/_._", + "lib/wp80/_._", + "lib/wpa81/_._", + "lib/xamarinios10/_._", + "lib/xamarinmac20/_._", + "lib/xamarintvos10/_._", + "lib/xamarinwatchos10/_._", + "microsoft.csharp.4.5.0.nupkg.sha512", + "microsoft.csharp.nuspec", + "ref/MonoAndroid10/_._", + "ref/MonoTouch10/_._", + "ref/net45/_._", + "ref/netcore50/Microsoft.CSharp.dll", + "ref/netcore50/Microsoft.CSharp.xml", + "ref/netcore50/de/Microsoft.CSharp.xml", + "ref/netcore50/es/Microsoft.CSharp.xml", + "ref/netcore50/fr/Microsoft.CSharp.xml", + "ref/netcore50/it/Microsoft.CSharp.xml", + "ref/netcore50/ja/Microsoft.CSharp.xml", + "ref/netcore50/ko/Microsoft.CSharp.xml", + "ref/netcore50/ru/Microsoft.CSharp.xml", + "ref/netcore50/zh-hans/Microsoft.CSharp.xml", + "ref/netcore50/zh-hant/Microsoft.CSharp.xml", + "ref/netcoreapp2.0/_._", + "ref/netstandard1.0/Microsoft.CSharp.dll", + "ref/netstandard1.0/Microsoft.CSharp.xml", + "ref/netstandard1.0/de/Microsoft.CSharp.xml", + "ref/netstandard1.0/es/Microsoft.CSharp.xml", + "ref/netstandard1.0/fr/Microsoft.CSharp.xml", + "ref/netstandard1.0/it/Microsoft.CSharp.xml", + "ref/netstandard1.0/ja/Microsoft.CSharp.xml", + "ref/netstandard1.0/ko/Microsoft.CSharp.xml", + "ref/netstandard1.0/ru/Microsoft.CSharp.xml", + "ref/netstandard1.0/zh-hans/Microsoft.CSharp.xml", + "ref/netstandard1.0/zh-hant/Microsoft.CSharp.xml", + "ref/netstandard2.0/Microsoft.CSharp.dll", + "ref/netstandard2.0/Microsoft.CSharp.xml", + "ref/portable-net45+win8+wp8+wpa81/_._", + "ref/uap10.0.16299/_._", + "ref/win8/_._", + "ref/wp80/_._", + "ref/wpa81/_._", + "ref/xamarinios10/_._", + "ref/xamarinmac20/_._", + "ref/xamarintvos10/_._", + "ref/xamarinwatchos10/_._", + "useSharedDesignerContext.txt", + "version.txt" + ] + }, + "Microsoft.Data.SqlClient/2.1.4": { + "sha512": "cDcKBTKILdRuAzJjbgXwGcUQXzMue+SG02kD4tZTXXfoz4ALrGLpCnA5k9khw3fnAMlMnRzLIGuvRdJurqmESA==", + "type": "package", + "path": "microsoft.data.sqlclient/2.1.4", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "dotnet.png", + "lib/net46/Microsoft.Data.SqlClient.dll", + "lib/net46/Microsoft.Data.SqlClient.pdb", + "lib/net46/Microsoft.Data.SqlClient.xml", + "lib/net46/de/Microsoft.Data.SqlClient.resources.dll", + "lib/net46/es/Microsoft.Data.SqlClient.resources.dll", + "lib/net46/fr/Microsoft.Data.SqlClient.resources.dll", + "lib/net46/it/Microsoft.Data.SqlClient.resources.dll", + "lib/net46/ja/Microsoft.Data.SqlClient.resources.dll", + "lib/net46/ko/Microsoft.Data.SqlClient.resources.dll", + "lib/net46/pt-BR/Microsoft.Data.SqlClient.resources.dll", + "lib/net46/ru/Microsoft.Data.SqlClient.resources.dll", + "lib/net46/zh-Hans/Microsoft.Data.SqlClient.resources.dll", + "lib/net46/zh-Hant/Microsoft.Data.SqlClient.resources.dll", + "lib/netcoreapp2.1/Microsoft.Data.SqlClient.dll", + "lib/netcoreapp2.1/Microsoft.Data.SqlClient.pdb", + "lib/netcoreapp2.1/Microsoft.Data.SqlClient.xml", + "lib/netcoreapp3.1/Microsoft.Data.SqlClient.dll", + "lib/netcoreapp3.1/Microsoft.Data.SqlClient.pdb", + "lib/netcoreapp3.1/Microsoft.Data.SqlClient.xml", + "lib/netstandard2.0/Microsoft.Data.SqlClient.dll", + "lib/netstandard2.0/Microsoft.Data.SqlClient.pdb", + "lib/netstandard2.0/Microsoft.Data.SqlClient.xml", + "lib/netstandard2.1/Microsoft.Data.SqlClient.dll", + "lib/netstandard2.1/Microsoft.Data.SqlClient.pdb", + "lib/netstandard2.1/Microsoft.Data.SqlClient.xml", + "microsoft.data.sqlclient.2.1.4.nupkg.sha512", + "microsoft.data.sqlclient.nuspec", + "ref/net46/Microsoft.Data.SqlClient.dll", + "ref/net46/Microsoft.Data.SqlClient.pdb", + "ref/net46/Microsoft.Data.SqlClient.xml", + "ref/netcoreapp2.1/Microsoft.Data.SqlClient.dll", + "ref/netcoreapp2.1/Microsoft.Data.SqlClient.pdb", + "ref/netcoreapp2.1/Microsoft.Data.SqlClient.xml", + "ref/netcoreapp3.1/Microsoft.Data.SqlClient.dll", + "ref/netcoreapp3.1/Microsoft.Data.SqlClient.pdb", + "ref/netcoreapp3.1/Microsoft.Data.SqlClient.xml", + "ref/netstandard2.0/Microsoft.Data.SqlClient.dll", + "ref/netstandard2.0/Microsoft.Data.SqlClient.pdb", + "ref/netstandard2.0/Microsoft.Data.SqlClient.xml", + "ref/netstandard2.1/Microsoft.Data.SqlClient.dll", + "ref/netstandard2.1/Microsoft.Data.SqlClient.pdb", + "ref/netstandard2.1/Microsoft.Data.SqlClient.xml", + "runtimes/unix/lib/netcoreapp2.1/Microsoft.Data.SqlClient.dll", + "runtimes/unix/lib/netcoreapp2.1/Microsoft.Data.SqlClient.pdb", + "runtimes/unix/lib/netcoreapp3.1/Microsoft.Data.SqlClient.dll", + "runtimes/unix/lib/netcoreapp3.1/Microsoft.Data.SqlClient.pdb", + "runtimes/unix/lib/netstandard2.0/Microsoft.Data.SqlClient.dll", + "runtimes/unix/lib/netstandard2.0/Microsoft.Data.SqlClient.pdb", + "runtimes/unix/lib/netstandard2.1/Microsoft.Data.SqlClient.dll", + "runtimes/unix/lib/netstandard2.1/Microsoft.Data.SqlClient.pdb", + "runtimes/win/lib/net46/Microsoft.Data.SqlClient.dll", + "runtimes/win/lib/net46/Microsoft.Data.SqlClient.pdb", + "runtimes/win/lib/netcoreapp2.1/Microsoft.Data.SqlClient.dll", + "runtimes/win/lib/netcoreapp2.1/Microsoft.Data.SqlClient.pdb", + "runtimes/win/lib/netcoreapp3.1/Microsoft.Data.SqlClient.dll", + "runtimes/win/lib/netcoreapp3.1/Microsoft.Data.SqlClient.pdb", + "runtimes/win/lib/netstandard2.0/Microsoft.Data.SqlClient.dll", + "runtimes/win/lib/netstandard2.0/Microsoft.Data.SqlClient.pdb", + "runtimes/win/lib/netstandard2.1/Microsoft.Data.SqlClient.dll", + "runtimes/win/lib/netstandard2.1/Microsoft.Data.SqlClient.pdb" + ] + }, + "Microsoft.Data.SqlClient.SNI.runtime/2.1.1": { + "sha512": "JwGDWkyZgm7SATJmFLfT2G4teimvNbNtq3lsS9a5DzvhEZnQrZjZhevCU0vdx8MjheLHoG5vocuO03QtioFQxQ==", + "type": "package", + "path": "microsoft.data.sqlclient.sni.runtime/2.1.1", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "LICENSE.txt", + "dotnet.png", + "microsoft.data.sqlclient.sni.runtime.2.1.1.nupkg.sha512", + "microsoft.data.sqlclient.sni.runtime.nuspec", + "runtimes/win-arm/native/Microsoft.Data.SqlClient.SNI.dll", + "runtimes/win-arm64/native/Microsoft.Data.SqlClient.SNI.dll", + "runtimes/win-x64/native/Microsoft.Data.SqlClient.SNI.dll", + "runtimes/win-x86/native/Microsoft.Data.SqlClient.SNI.dll" + ] + }, + "Microsoft.EntityFrameworkCore/6.0.5": { + "sha512": "hP5J3EvpVdZmCn1D3ovedphvZrIn3OXZaBZfEnCkSCqqbqAu6xzwbNqwRkik0y4R6zOOf4eLh1riwjy4eAUlZA==", + "type": "package", + "path": "microsoft.entityframeworkcore/6.0.5", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "lib/net6.0/Microsoft.EntityFrameworkCore.dll", + "lib/net6.0/Microsoft.EntityFrameworkCore.xml", + "microsoft.entityframeworkcore.6.0.5.nupkg.sha512", + "microsoft.entityframeworkcore.nuspec" + ] + }, + "Microsoft.EntityFrameworkCore.Abstractions/6.0.5": { + "sha512": "Q3/fKW6XCTfnDk4fYP2BJZi84cD2SuCPkP3A3QqxvCQcXbX90bfSLzVIsoMXzigHGJgZUJ+Un7QodT5Nvk0+Eg==", + "type": "package", + "path": "microsoft.entityframeworkcore.abstractions/6.0.5", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "lib/net6.0/Microsoft.EntityFrameworkCore.Abstractions.dll", + "lib/net6.0/Microsoft.EntityFrameworkCore.Abstractions.xml", + "microsoft.entityframeworkcore.abstractions.6.0.5.nupkg.sha512", + "microsoft.entityframeworkcore.abstractions.nuspec" + ] + }, + "Microsoft.EntityFrameworkCore.Analyzers/6.0.5": { + "sha512": "QUeDIhs+O+MoDEc3k60mNyVDbwyDURCqZQlZoKShuZUcSfXSrDMbHKuFSxBIDNQBt092qSjfnwf7w0Ua/IB3Zw==", + "type": "package", + "path": "microsoft.entityframeworkcore.analyzers/6.0.5", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "analyzers/dotnet/cs/Microsoft.EntityFrameworkCore.Analyzers.dll", + "lib/netstandard2.0/_._", + "microsoft.entityframeworkcore.analyzers.6.0.5.nupkg.sha512", + "microsoft.entityframeworkcore.analyzers.nuspec" + ] + }, + "Microsoft.EntityFrameworkCore.Design/6.0.5": { + "sha512": "zNjMWJ6MJ/Qm7S6wFBqVgn7DEpilbDMy0xgA7c4Y1yY9/LoaC2pWwWO4ePaYoPCZpLx/eTViWEr5ZXta/vK//Q==", + "type": "package", + "path": "microsoft.entityframeworkcore.design/6.0.5", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "build/net6.0/Microsoft.EntityFrameworkCore.Design.props", + "lib/net6.0/Microsoft.EntityFrameworkCore.Design.dll", + "lib/net6.0/Microsoft.EntityFrameworkCore.Design.xml", + "microsoft.entityframeworkcore.design.6.0.5.nupkg.sha512", + "microsoft.entityframeworkcore.design.nuspec" + ] + }, + "Microsoft.EntityFrameworkCore.Relational/6.0.5": { + "sha512": "vhAQizlAgvPfurkh9XysNaFc/g3WPXtSka3Y1rXuQdnT//p16CDKt9lO9h+rYmooD+cA7TijSxwqck4GApDT/Q==", + "type": "package", + "path": "microsoft.entityframeworkcore.relational/6.0.5", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "lib/net6.0/Microsoft.EntityFrameworkCore.Relational.dll", + "lib/net6.0/Microsoft.EntityFrameworkCore.Relational.xml", + "microsoft.entityframeworkcore.relational.6.0.5.nupkg.sha512", + "microsoft.entityframeworkcore.relational.nuspec" + ] + }, + "Microsoft.EntityFrameworkCore.SqlServer/6.0.5": { + "sha512": "fBBG1AvrqPSvTEWyg9W18F/obiV7Soi/RItwBt48kjte1heRaogCsKj8KBnJQACM/8L+NAhyKp3BH12nN7+yDA==", + "type": "package", + "path": "microsoft.entityframeworkcore.sqlserver/6.0.5", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "lib/net6.0/Microsoft.EntityFrameworkCore.SqlServer.dll", + "lib/net6.0/Microsoft.EntityFrameworkCore.SqlServer.xml", + "microsoft.entityframeworkcore.sqlserver.6.0.5.nupkg.sha512", + "microsoft.entityframeworkcore.sqlserver.nuspec" + ] + }, + "Microsoft.EntityFrameworkCore.Tools/6.0.5": { + "sha512": "aeCzVNLmDl9IfB19WAjrlKcG61Cl4/ZV/9ubifmifKEps+kvMkKIcams5j+8q6dtx9/UL2x3tbOz2BS3eU0sXQ==", + "type": "package", + "path": "microsoft.entityframeworkcore.tools/6.0.5", + "hasTools": true, + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "lib/net6.0/_._", + "microsoft.entityframeworkcore.tools.6.0.5.nupkg.sha512", + "microsoft.entityframeworkcore.tools.nuspec", + "tools/EntityFrameworkCore.PS2.psd1", + "tools/EntityFrameworkCore.PS2.psm1", + "tools/EntityFrameworkCore.psd1", + "tools/EntityFrameworkCore.psm1", + "tools/about_EntityFrameworkCore.help.txt", + "tools/init.ps1", + "tools/net461/any/ef.exe", + "tools/net461/win-x86/ef.exe", + "tools/netcoreapp2.0/any/ef.dll", + "tools/netcoreapp2.0/any/ef.runtimeconfig.json" + ] + }, + "Microsoft.Extensions.ApiDescription.Server/3.0.0": { + "sha512": "LH4OE/76F6sOCslif7+Xh3fS/wUUrE5ryeXAMcoCnuwOQGT5Smw0p57IgDh/pHgHaGz/e+AmEQb7pRgb++wt0w==", + "type": "package", + "path": "microsoft.extensions.apidescription.server/3.0.0", + "hasTools": true, + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "build/Microsoft.Extensions.ApiDescription.Server.props", + "build/Microsoft.Extensions.ApiDescription.Server.targets", + "buildMultiTargeting/Microsoft.Extensions.ApiDescription.Server.props", + "buildMultiTargeting/Microsoft.Extensions.ApiDescription.Server.targets", + "microsoft.extensions.apidescription.server.3.0.0.nupkg.sha512", + "microsoft.extensions.apidescription.server.nuspec", + "tools/Newtonsoft.Json.dll", + "tools/dotnet-getdocument.deps.json", + "tools/dotnet-getdocument.dll", + "tools/dotnet-getdocument.runtimeconfig.json", + "tools/net461-x86/GetDocument.Insider.exe", + "tools/net461-x86/GetDocument.Insider.exe.config", + "tools/net461/GetDocument.Insider.exe", + "tools/net461/GetDocument.Insider.exe.config", + "tools/netcoreapp2.1/GetDocument.Insider.deps.json", + "tools/netcoreapp2.1/GetDocument.Insider.dll", + "tools/netcoreapp2.1/GetDocument.Insider.runtimeconfig.json" + ] + }, + "Microsoft.Extensions.Caching.Abstractions/6.0.0": { + "sha512": "bcz5sSFJbganH0+YrfvIjJDIcKNW7TL07C4d1eTmXy/wOt52iz4LVogJb6pazs7W0+74j0YpXFErvp++Aq5Bsw==", + "type": "package", + "path": "microsoft.extensions.caching.abstractions/6.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "LICENSE.TXT", + "THIRD-PARTY-NOTICES.TXT", + "lib/net461/Microsoft.Extensions.Caching.Abstractions.dll", + "lib/net461/Microsoft.Extensions.Caching.Abstractions.xml", + "lib/netstandard2.0/Microsoft.Extensions.Caching.Abstractions.dll", + "lib/netstandard2.0/Microsoft.Extensions.Caching.Abstractions.xml", + "microsoft.extensions.caching.abstractions.6.0.0.nupkg.sha512", + "microsoft.extensions.caching.abstractions.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Caching.Memory/6.0.1": { + "sha512": "B4y+Cev05eMcjf1na0v9gza6GUtahXbtY1JCypIgx3B4Ea/KAgsWyXEmW4q6zMbmTMtKzmPVk09rvFJirvMwTg==", + "type": "package", + "path": "microsoft.extensions.caching.memory/6.0.1", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "LICENSE.TXT", + "THIRD-PARTY-NOTICES.TXT", + "lib/net461/Microsoft.Extensions.Caching.Memory.dll", + "lib/net461/Microsoft.Extensions.Caching.Memory.xml", + "lib/netstandard2.0/Microsoft.Extensions.Caching.Memory.dll", + "lib/netstandard2.0/Microsoft.Extensions.Caching.Memory.xml", + "microsoft.extensions.caching.memory.6.0.1.nupkg.sha512", + "microsoft.extensions.caching.memory.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Configuration.Abstractions/6.0.0": { + "sha512": "qWzV9o+ZRWq+pGm+1dF+R7qTgTYoXvbyowRoBxQJGfqTpqDun2eteerjRQhq5PQ/14S+lqto3Ft4gYaRyl4rdQ==", + "type": "package", + "path": "microsoft.extensions.configuration.abstractions/6.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "LICENSE.TXT", + "THIRD-PARTY-NOTICES.TXT", + "lib/net461/Microsoft.Extensions.Configuration.Abstractions.dll", + "lib/net461/Microsoft.Extensions.Configuration.Abstractions.xml", + "lib/netstandard2.0/Microsoft.Extensions.Configuration.Abstractions.dll", + "lib/netstandard2.0/Microsoft.Extensions.Configuration.Abstractions.xml", + "microsoft.extensions.configuration.abstractions.6.0.0.nupkg.sha512", + "microsoft.extensions.configuration.abstractions.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.DependencyInjection/6.0.0": { + "sha512": "k6PWQMuoBDGGHOQTtyois2u4AwyVcIwL2LaSLlTZQm2CYcJ1pxbt6jfAnpWmzENA/wfrYRI/X9DTLoUkE4AsLw==", + "type": "package", + "path": "microsoft.extensions.dependencyinjection/6.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "LICENSE.TXT", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.DependencyInjection.targets", + "buildTransitive/netcoreapp3.1/_._", + "lib/net461/Microsoft.Extensions.DependencyInjection.dll", + "lib/net461/Microsoft.Extensions.DependencyInjection.xml", + "lib/net6.0/Microsoft.Extensions.DependencyInjection.dll", + "lib/net6.0/Microsoft.Extensions.DependencyInjection.xml", + "lib/netstandard2.0/Microsoft.Extensions.DependencyInjection.dll", + "lib/netstandard2.0/Microsoft.Extensions.DependencyInjection.xml", + "lib/netstandard2.1/Microsoft.Extensions.DependencyInjection.dll", + "lib/netstandard2.1/Microsoft.Extensions.DependencyInjection.xml", + "microsoft.extensions.dependencyinjection.6.0.0.nupkg.sha512", + "microsoft.extensions.dependencyinjection.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.DependencyInjection.Abstractions/6.0.0": { + "sha512": "xlzi2IYREJH3/m6+lUrQlujzX8wDitm4QGnUu6kUXTQAWPuZY8i+ticFJbzfqaetLA6KR/rO6Ew/HuYD+bxifg==", + "type": "package", + "path": "microsoft.extensions.dependencyinjection.abstractions/6.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "LICENSE.TXT", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.DependencyInjection.Abstractions.targets", + "buildTransitive/netcoreapp3.1/_._", + "lib/net461/Microsoft.Extensions.DependencyInjection.Abstractions.dll", + "lib/net461/Microsoft.Extensions.DependencyInjection.Abstractions.xml", + "lib/net6.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll", + "lib/net6.0/Microsoft.Extensions.DependencyInjection.Abstractions.xml", + "lib/netstandard2.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll", + "lib/netstandard2.0/Microsoft.Extensions.DependencyInjection.Abstractions.xml", + "lib/netstandard2.1/Microsoft.Extensions.DependencyInjection.Abstractions.dll", + "lib/netstandard2.1/Microsoft.Extensions.DependencyInjection.Abstractions.xml", + "microsoft.extensions.dependencyinjection.abstractions.6.0.0.nupkg.sha512", + "microsoft.extensions.dependencyinjection.abstractions.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Features/6.0.5": { + "sha512": "y7KLF1jRFQjSttfoilwHU86cU9ZgxN4ABfQR8tQ9qEC5AzTGYIX+K5RDwGFVK320eTiBwWuutV24ecmxBxo7Eg==", + "type": "package", + "path": "microsoft.extensions.features/6.0.5", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "THIRD-PARTY-NOTICES.TXT", + "lib/net461/Microsoft.Extensions.Features.dll", + "lib/net461/Microsoft.Extensions.Features.xml", + "lib/net6.0/Microsoft.Extensions.Features.dll", + "lib/net6.0/Microsoft.Extensions.Features.xml", + "lib/netstandard2.0/Microsoft.Extensions.Features.dll", + "lib/netstandard2.0/Microsoft.Extensions.Features.xml", + "microsoft.extensions.features.6.0.5.nupkg.sha512", + "microsoft.extensions.features.nuspec" + ] + }, + "Microsoft.Extensions.Logging/6.0.0": { + "sha512": "eIbyj40QDg1NDz0HBW0S5f3wrLVnKWnDJ/JtZ+yJDFnDj90VoPuoPmFkeaXrtu+0cKm5GRAwoDf+dBWXK0TUdg==", + "type": "package", + "path": "microsoft.extensions.logging/6.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "LICENSE.TXT", + "THIRD-PARTY-NOTICES.TXT", + "lib/net461/Microsoft.Extensions.Logging.dll", + "lib/net461/Microsoft.Extensions.Logging.xml", + "lib/netstandard2.0/Microsoft.Extensions.Logging.dll", + "lib/netstandard2.0/Microsoft.Extensions.Logging.xml", + "lib/netstandard2.1/Microsoft.Extensions.Logging.dll", + "lib/netstandard2.1/Microsoft.Extensions.Logging.xml", + "microsoft.extensions.logging.6.0.0.nupkg.sha512", + "microsoft.extensions.logging.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Logging.Abstractions/6.0.0": { + "sha512": "/HggWBbTwy8TgebGSX5DBZ24ndhzi93sHUBDvP1IxbZD7FDokYzdAr6+vbWGjw2XAfR2EJ1sfKUotpjHnFWPxA==", + "type": "package", + "path": "microsoft.extensions.logging.abstractions/6.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "LICENSE.TXT", + "THIRD-PARTY-NOTICES.TXT", + "analyzers/dotnet/roslyn3.11/cs/Microsoft.Extensions.Logging.Generators.dll", + "analyzers/dotnet/roslyn3.11/cs/cs/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/de/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/es/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/fr/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/it/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/ja/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/ko/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/pl/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/pt-BR/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/ru/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/tr/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/zh-Hans/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/zh-Hant/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/Microsoft.Extensions.Logging.Generators.dll", + "analyzers/dotnet/roslyn4.0/cs/cs/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/de/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/es/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/fr/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/it/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/ja/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/ko/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/pl/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/pt-BR/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/ru/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/tr/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/zh-Hans/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/zh-Hant/Microsoft.Extensions.Logging.Generators.resources.dll", + "build/Microsoft.Extensions.Logging.Abstractions.targets", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Logging.Abstractions.targets", + "buildTransitive/netcoreapp3.1/_._", + "lib/net461/Microsoft.Extensions.Logging.Abstractions.dll", + "lib/net461/Microsoft.Extensions.Logging.Abstractions.xml", + "lib/net6.0/Microsoft.Extensions.Logging.Abstractions.dll", + "lib/net6.0/Microsoft.Extensions.Logging.Abstractions.xml", + "lib/netstandard2.0/Microsoft.Extensions.Logging.Abstractions.dll", + "lib/netstandard2.0/Microsoft.Extensions.Logging.Abstractions.xml", + "microsoft.extensions.logging.abstractions.6.0.0.nupkg.sha512", + "microsoft.extensions.logging.abstractions.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Options/6.0.0": { + "sha512": "dzXN0+V1AyjOe2xcJ86Qbo233KHuLEY0njf/P2Kw8SfJU+d45HNS2ctJdnEnrWbM9Ye2eFgaC5Mj9otRMU6IsQ==", + "type": "package", + "path": "microsoft.extensions.options/6.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "LICENSE.TXT", + "THIRD-PARTY-NOTICES.TXT", + "lib/net461/Microsoft.Extensions.Options.dll", + "lib/net461/Microsoft.Extensions.Options.xml", + "lib/netstandard2.0/Microsoft.Extensions.Options.dll", + "lib/netstandard2.0/Microsoft.Extensions.Options.xml", + "lib/netstandard2.1/Microsoft.Extensions.Options.dll", + "lib/netstandard2.1/Microsoft.Extensions.Options.xml", + "microsoft.extensions.options.6.0.0.nupkg.sha512", + "microsoft.extensions.options.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Primitives/6.0.0": { + "sha512": "9+PnzmQFfEFNR9J2aDTfJGGupShHjOuGw4VUv+JB044biSHrnmCIMD+mJHmb2H7YryrfBEXDurxQ47gJZdCKNQ==", + "type": "package", + "path": "microsoft.extensions.primitives/6.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "LICENSE.TXT", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Primitives.targets", + "buildTransitive/netcoreapp3.1/_._", + "lib/net461/Microsoft.Extensions.Primitives.dll", + "lib/net461/Microsoft.Extensions.Primitives.xml", + "lib/net6.0/Microsoft.Extensions.Primitives.dll", + "lib/net6.0/Microsoft.Extensions.Primitives.xml", + "lib/netcoreapp3.1/Microsoft.Extensions.Primitives.dll", + "lib/netcoreapp3.1/Microsoft.Extensions.Primitives.xml", + "lib/netstandard2.0/Microsoft.Extensions.Primitives.dll", + "lib/netstandard2.0/Microsoft.Extensions.Primitives.xml", + "microsoft.extensions.primitives.6.0.0.nupkg.sha512", + "microsoft.extensions.primitives.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Identity.Client/4.21.1": { + "sha512": "vycgk7S/HAbHaUaK4Tid1fsWHsXdFRRP2KavAIOHCVV27zvuQfYAjXmMvctuuF4egydSumG58CwPZob3gWeYgQ==", + "type": "package", + "path": "microsoft.identity.client/4.21.1", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "lib/monoandroid10.0/Microsoft.Identity.Client.dll", + "lib/monoandroid10.0/Microsoft.Identity.Client.xml", + "lib/monoandroid90/Microsoft.Identity.Client.dll", + "lib/monoandroid90/Microsoft.Identity.Client.xml", + "lib/net45/Microsoft.Identity.Client.dll", + "lib/net45/Microsoft.Identity.Client.xml", + "lib/net461/Microsoft.Identity.Client.dll", + "lib/net461/Microsoft.Identity.Client.xml", + "lib/netcoreapp2.1/Microsoft.Identity.Client.dll", + "lib/netcoreapp2.1/Microsoft.Identity.Client.xml", + "lib/netstandard1.3/Microsoft.Identity.Client.dll", + "lib/netstandard1.3/Microsoft.Identity.Client.xml", + "lib/uap10.0/Microsoft.Identity.Client.dll", + "lib/uap10.0/Microsoft.Identity.Client.pri", + "lib/uap10.0/Microsoft.Identity.Client.xml", + "lib/xamarinios10/Microsoft.Identity.Client.dll", + "lib/xamarinios10/Microsoft.Identity.Client.xml", + "lib/xamarinmac20/Microsoft.Identity.Client.dll", + "lib/xamarinmac20/Microsoft.Identity.Client.xml", + "microsoft.identity.client.4.21.1.nupkg.sha512", + "microsoft.identity.client.nuspec", + "ref/MonoAndroid10.0/Microsoft.Identity.Client.dll", + "ref/MonoAndroid10.0/Microsoft.Identity.Client.xml", + "ref/MonoAndroid9.0/Microsoft.Identity.Client.dll", + "ref/MonoAndroid9.0/Microsoft.Identity.Client.xml", + "ref/Xamarin.iOS10/Microsoft.Identity.Client.dll", + "ref/Xamarin.iOS10/Microsoft.Identity.Client.xml", + "ref/net45/Microsoft.Identity.Client.dll", + "ref/net45/Microsoft.Identity.Client.xml", + "ref/net461/Microsoft.Identity.Client.dll", + "ref/net461/Microsoft.Identity.Client.xml", + "ref/netcoreapp2.1/Microsoft.Identity.Client.dll", + "ref/netcoreapp2.1/Microsoft.Identity.Client.xml", + "ref/netstandard1.3/Microsoft.Identity.Client.dll", + "ref/netstandard1.3/Microsoft.Identity.Client.xml", + "ref/uap10.0/Microsoft.Identity.Client.dll", + "ref/uap10.0/Microsoft.Identity.Client.xml", + "ref/xamarinmac20/Microsoft.Identity.Client.dll", + "ref/xamarinmac20/Microsoft.Identity.Client.xml" + ] + }, + "Microsoft.IdentityModel.JsonWebTokens/6.8.0": { + "sha512": "+7JIww64PkMt7NWFxoe4Y/joeF7TAtA/fQ0b2GFGcagzB59sKkTt/sMZWR6aSZht5YC7SdHi3W6yM1yylRGJCQ==", + "type": "package", + "path": "microsoft.identitymodel.jsonwebtokens/6.8.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "lib/net45/Microsoft.IdentityModel.JsonWebTokens.dll", + "lib/net45/Microsoft.IdentityModel.JsonWebTokens.xml", + "lib/net461/Microsoft.IdentityModel.JsonWebTokens.dll", + "lib/net461/Microsoft.IdentityModel.JsonWebTokens.xml", + "lib/netstandard2.0/Microsoft.IdentityModel.JsonWebTokens.dll", + "lib/netstandard2.0/Microsoft.IdentityModel.JsonWebTokens.xml", + "microsoft.identitymodel.jsonwebtokens.6.8.0.nupkg.sha512", + "microsoft.identitymodel.jsonwebtokens.nuspec" + ] + }, + "Microsoft.IdentityModel.Logging/6.8.0": { + "sha512": "Rfh/p4MaN4gkmhPxwbu8IjrmoDncGfHHPh1sTnc0AcM/Oc39/fzC9doKNWvUAjzFb8LqA6lgZyblTrIsX/wDXg==", + "type": "package", + "path": "microsoft.identitymodel.logging/6.8.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "lib/net45/Microsoft.IdentityModel.Logging.dll", + "lib/net45/Microsoft.IdentityModel.Logging.xml", + "lib/net461/Microsoft.IdentityModel.Logging.dll", + "lib/net461/Microsoft.IdentityModel.Logging.xml", + "lib/netstandard2.0/Microsoft.IdentityModel.Logging.dll", + "lib/netstandard2.0/Microsoft.IdentityModel.Logging.xml", + "microsoft.identitymodel.logging.6.8.0.nupkg.sha512", + "microsoft.identitymodel.logging.nuspec" + ] + }, + "Microsoft.IdentityModel.Protocols/6.8.0": { + "sha512": "OJZx5nPdiH+MEkwCkbJrTAUiO/YzLe0VSswNlDxJsJD9bhOIdXHufh650pfm59YH1DNevp3/bXzukKrG57gA1w==", + "type": "package", + "path": "microsoft.identitymodel.protocols/6.8.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "lib/net45/Microsoft.IdentityModel.Protocols.dll", + "lib/net45/Microsoft.IdentityModel.Protocols.xml", + "lib/net461/Microsoft.IdentityModel.Protocols.dll", + "lib/net461/Microsoft.IdentityModel.Protocols.xml", + "lib/netstandard2.0/Microsoft.IdentityModel.Protocols.dll", + "lib/netstandard2.0/Microsoft.IdentityModel.Protocols.xml", + "microsoft.identitymodel.protocols.6.8.0.nupkg.sha512", + "microsoft.identitymodel.protocols.nuspec" + ] + }, + "Microsoft.IdentityModel.Protocols.OpenIdConnect/6.8.0": { + "sha512": "X/PiV5l3nYYsodtrNMrNQIVlDmHpjQQ5w48E+o/D5H4es2+4niEyQf3l03chvZGWNzBRhfSstaXr25/Ye4AeYw==", + "type": "package", + "path": "microsoft.identitymodel.protocols.openidconnect/6.8.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "lib/net45/Microsoft.IdentityModel.Protocols.OpenIdConnect.dll", + "lib/net45/Microsoft.IdentityModel.Protocols.OpenIdConnect.xml", + "lib/net461/Microsoft.IdentityModel.Protocols.OpenIdConnect.dll", + "lib/net461/Microsoft.IdentityModel.Protocols.OpenIdConnect.xml", + "lib/netstandard2.0/Microsoft.IdentityModel.Protocols.OpenIdConnect.dll", + "lib/netstandard2.0/Microsoft.IdentityModel.Protocols.OpenIdConnect.xml", + "microsoft.identitymodel.protocols.openidconnect.6.8.0.nupkg.sha512", + "microsoft.identitymodel.protocols.openidconnect.nuspec" + ] + }, + "Microsoft.IdentityModel.Tokens/6.8.0": { + "sha512": "gTqzsGcmD13HgtNePPcuVHZ/NXWmyV+InJgalW/FhWpII1D7V1k0obIseGlWMeA4G+tZfeGMfXr0klnWbMR/mQ==", + "type": "package", + "path": "microsoft.identitymodel.tokens/6.8.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "lib/net45/Microsoft.IdentityModel.Tokens.dll", + "lib/net45/Microsoft.IdentityModel.Tokens.xml", + "lib/net461/Microsoft.IdentityModel.Tokens.dll", + "lib/net461/Microsoft.IdentityModel.Tokens.xml", + "lib/netstandard2.0/Microsoft.IdentityModel.Tokens.dll", + "lib/netstandard2.0/Microsoft.IdentityModel.Tokens.xml", + "microsoft.identitymodel.tokens.6.8.0.nupkg.sha512", + "microsoft.identitymodel.tokens.nuspec" + ] + }, + "Microsoft.NETCore.Platforms/3.1.0": { + "sha512": "z7aeg8oHln2CuNulfhiLYxCVMPEwBl3rzicjvIX+4sUuCwvXw5oXQEtbiU2c0z4qYL5L3Kmx0mMA/+t/SbY67w==", + "type": "package", + "path": "microsoft.netcore.platforms/3.1.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "LICENSE.TXT", + "THIRD-PARTY-NOTICES.TXT", + "lib/netstandard1.0/_._", + "microsoft.netcore.platforms.3.1.0.nupkg.sha512", + "microsoft.netcore.platforms.nuspec", + "runtime.json", + "useSharedDesignerContext.txt", + "version.txt" + ] + }, + "Microsoft.OpenApi/1.2.3": { + "sha512": "Nug3rO+7Kl5/SBAadzSMAVgqDlfGjJZ0GenQrLywJ84XGKO0uRqkunz5Wyl0SDwcR71bAATXvSdbdzPrYRYKGw==", + "type": "package", + "path": "microsoft.openapi/1.2.3", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "lib/net46/Microsoft.OpenApi.dll", + "lib/net46/Microsoft.OpenApi.pdb", + "lib/net46/Microsoft.OpenApi.xml", + "lib/netstandard2.0/Microsoft.OpenApi.dll", + "lib/netstandard2.0/Microsoft.OpenApi.pdb", + "lib/netstandard2.0/Microsoft.OpenApi.xml", + "microsoft.openapi.1.2.3.nupkg.sha512", + "microsoft.openapi.nuspec" + ] + }, + "Microsoft.Web.Infrastructure/1.0.0": { + "sha512": "FNmvLn5m2LTU/Rs2KWVo0SIIh9Ek+U0ojex7xeDaSHw/zgEP77A8vY5cVWgUtBGS8MJfDGNn8rpXJWEIQaPwTg==", + "type": "package", + "path": "microsoft.web.infrastructure/1.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "lib/net40/Microsoft.Web.Infrastructure.dll", + "microsoft.web.infrastructure.1.0.0.nupkg.sha512", + "microsoft.web.infrastructure.nuspec" + ] + }, + "Microsoft.Win32.Registry/4.7.0": { + "sha512": "KSrRMb5vNi0CWSGG1++id2ZOs/1QhRqROt+qgbEAdQuGjGrFcl4AOl4/exGPUYz2wUnU42nvJqon1T3U0kPXLA==", + "type": "package", + "path": "microsoft.win32.registry/4.7.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "LICENSE.TXT", + "THIRD-PARTY-NOTICES.TXT", + "lib/net46/Microsoft.Win32.Registry.dll", + "lib/net461/Microsoft.Win32.Registry.dll", + "lib/net461/Microsoft.Win32.Registry.xml", + "lib/netstandard1.3/Microsoft.Win32.Registry.dll", + "lib/netstandard2.0/Microsoft.Win32.Registry.dll", + "lib/netstandard2.0/Microsoft.Win32.Registry.xml", + "microsoft.win32.registry.4.7.0.nupkg.sha512", + "microsoft.win32.registry.nuspec", + "ref/net46/Microsoft.Win32.Registry.dll", + "ref/net461/Microsoft.Win32.Registry.dll", + "ref/net461/Microsoft.Win32.Registry.xml", + "ref/net472/Microsoft.Win32.Registry.dll", + "ref/net472/Microsoft.Win32.Registry.xml", + "ref/netstandard1.3/Microsoft.Win32.Registry.dll", + "ref/netstandard1.3/Microsoft.Win32.Registry.xml", + "ref/netstandard1.3/de/Microsoft.Win32.Registry.xml", + "ref/netstandard1.3/es/Microsoft.Win32.Registry.xml", + "ref/netstandard1.3/fr/Microsoft.Win32.Registry.xml", + "ref/netstandard1.3/it/Microsoft.Win32.Registry.xml", + "ref/netstandard1.3/ja/Microsoft.Win32.Registry.xml", + "ref/netstandard1.3/ko/Microsoft.Win32.Registry.xml", + "ref/netstandard1.3/ru/Microsoft.Win32.Registry.xml", + "ref/netstandard1.3/zh-hans/Microsoft.Win32.Registry.xml", + "ref/netstandard1.3/zh-hant/Microsoft.Win32.Registry.xml", + "ref/netstandard2.0/Microsoft.Win32.Registry.dll", + "ref/netstandard2.0/Microsoft.Win32.Registry.xml", + "runtimes/unix/lib/netstandard2.0/Microsoft.Win32.Registry.dll", + "runtimes/unix/lib/netstandard2.0/Microsoft.Win32.Registry.xml", + "runtimes/win/lib/net46/Microsoft.Win32.Registry.dll", + "runtimes/win/lib/net461/Microsoft.Win32.Registry.dll", + "runtimes/win/lib/net461/Microsoft.Win32.Registry.xml", + "runtimes/win/lib/netstandard1.3/Microsoft.Win32.Registry.dll", + "runtimes/win/lib/netstandard2.0/Microsoft.Win32.Registry.dll", + "runtimes/win/lib/netstandard2.0/Microsoft.Win32.Registry.xml", + "useSharedDesignerContext.txt", + "version.txt" + ] + }, + "Microsoft.Win32.SystemEvents/4.7.0": { + "sha512": "mtVirZr++rq+XCDITMUdnETD59XoeMxSpLRIII7JRI6Yj0LEDiO1pPn0ktlnIj12Ix8bfvQqQDMMIF9wC98oCA==", + "type": "package", + "path": "microsoft.win32.systemevents/4.7.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "LICENSE.TXT", + "THIRD-PARTY-NOTICES.TXT", + "lib/net461/Microsoft.Win32.SystemEvents.dll", + "lib/net461/Microsoft.Win32.SystemEvents.xml", + "lib/netstandard2.0/Microsoft.Win32.SystemEvents.dll", + "lib/netstandard2.0/Microsoft.Win32.SystemEvents.xml", + "microsoft.win32.systemevents.4.7.0.nupkg.sha512", + "microsoft.win32.systemevents.nuspec", + "ref/net461/Microsoft.Win32.SystemEvents.dll", + "ref/net461/Microsoft.Win32.SystemEvents.xml", + "ref/net472/Microsoft.Win32.SystemEvents.dll", + "ref/net472/Microsoft.Win32.SystemEvents.xml", + "ref/netstandard2.0/Microsoft.Win32.SystemEvents.dll", + "ref/netstandard2.0/Microsoft.Win32.SystemEvents.xml", + "runtimes/win/lib/netcoreapp2.0/Microsoft.Win32.SystemEvents.dll", + "runtimes/win/lib/netcoreapp2.0/Microsoft.Win32.SystemEvents.xml", + "runtimes/win/lib/netcoreapp3.0/Microsoft.Win32.SystemEvents.dll", + "runtimes/win/lib/netcoreapp3.0/Microsoft.Win32.SystemEvents.xml", + "useSharedDesignerContext.txt", + "version.txt" + ] + }, + "Newtonsoft.Json/13.0.3": { + "sha512": "HrC5BXdl00IP9zeV+0Z848QWPAoCr9P3bDEZguI+gkLcBKAOxix/tLEAAHC+UvDNPv4a2d18lOReHMOagPa+zQ==", + "type": "package", + "path": "newtonsoft.json/13.0.3", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "LICENSE.md", + "README.md", + "lib/net20/Newtonsoft.Json.dll", + "lib/net20/Newtonsoft.Json.xml", + "lib/net35/Newtonsoft.Json.dll", + "lib/net35/Newtonsoft.Json.xml", + "lib/net40/Newtonsoft.Json.dll", + "lib/net40/Newtonsoft.Json.xml", + "lib/net45/Newtonsoft.Json.dll", + "lib/net45/Newtonsoft.Json.xml", + "lib/net6.0/Newtonsoft.Json.dll", + "lib/net6.0/Newtonsoft.Json.xml", + "lib/netstandard1.0/Newtonsoft.Json.dll", + "lib/netstandard1.0/Newtonsoft.Json.xml", + "lib/netstandard1.3/Newtonsoft.Json.dll", + "lib/netstandard1.3/Newtonsoft.Json.xml", + "lib/netstandard2.0/Newtonsoft.Json.dll", + "lib/netstandard2.0/Newtonsoft.Json.xml", + "newtonsoft.json.13.0.3.nupkg.sha512", + "newtonsoft.json.nuspec", + "packageIcon.png" + ] + }, + "SSH.NET/2020.0.2": { + "sha512": "G0dNlTBAM00KZXv1wWVwgg26d9/METcM6qWBpNQwllzQmmbu+Zu+FS1L1X4fFgGdPu3e8k9mmTBu6SwtQ0614g==", + "type": "package", + "path": "ssh.net/2020.0.2", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "lib/net35/Renci.SshNet.dll", + "lib/net35/Renci.SshNet.xml", + "lib/net40/Renci.SshNet.dll", + "lib/net40/Renci.SshNet.xml", + "lib/netstandard1.3/Renci.SshNet.dll", + "lib/netstandard1.3/Renci.SshNet.xml", + "lib/netstandard2.0/Renci.SshNet.dll", + "lib/netstandard2.0/Renci.SshNet.xml", + "lib/sl4/Renci.SshNet.dll", + "lib/sl4/Renci.SshNet.xml", + "lib/sl5/Renci.SshNet.dll", + "lib/sl5/Renci.SshNet.xml", + "lib/uap10/Renci.SshNet.dll", + "lib/uap10/Renci.SshNet.xml", + "lib/wp71/Renci.SshNet.dll", + "lib/wp71/Renci.SshNet.xml", + "lib/wp8/Renci.SshNet.dll", + "lib/wp8/Renci.SshNet.xml", + "ssh.net.2020.0.2.nupkg.sha512", + "ssh.net.nuspec" + ] + }, + "SshNet.Security.Cryptography/1.3.0": { + "sha512": "5pBIXRjcSO/amY8WztpmNOhaaCNHY/B6CcYDI7FSTgqSyo/ZUojlLiKcsl+YGbxQuLX439qIkMfP0PHqxqJi/Q==", + "type": "package", + "path": "sshnet.security.cryptography/1.3.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "lib/net20/SshNet.Security.Cryptography.dll", + "lib/net20/SshNet.Security.Cryptography.xml", + "lib/net40/SshNet.Security.Cryptography.dll", + "lib/net40/SshNet.Security.Cryptography.xml", + "lib/net45/SshNet.Security.Cryptography.dll", + "lib/net45/SshNet.Security.Cryptography.xml", + "lib/netstandard1.0/SshNet.Security.Cryptography.dll", + "lib/netstandard1.0/SshNet.Security.Cryptography.xml", + "lib/netstandard1.3/SshNet.Security.Cryptography.dll", + "lib/netstandard1.3/SshNet.Security.Cryptography.xml", + "lib/netstandard2.0/SshNet.Security.Cryptography.dll", + "lib/netstandard2.0/SshNet.Security.Cryptography.xml", + "lib/portable-net45+win8+wpa81/SshNet.Security.Cryptography.dll", + "lib/portable-net45+win8+wpa81/SshNet.Security.Cryptography.xml", + "lib/sl4/SshNet.Security.Cryptography.dll", + "lib/sl4/SshNet.Security.Cryptography.xml", + "lib/sl5/SshNet.Security.Cryptography.dll", + "lib/sl5/SshNet.Security.Cryptography.xml", + "lib/uap10.0/SshNet.Security.Cryptography.dll", + "lib/uap10.0/SshNet.Security.Cryptography.xml", + "lib/wp71/SshNet.Security.Cryptography.dll", + "lib/wp71/SshNet.Security.Cryptography.xml", + "lib/wp8/SshNet.Security.Cryptography.dll", + "lib/wp8/SshNet.Security.Cryptography.xml", + "sshnet.security.cryptography.1.3.0.nupkg.sha512", + "sshnet.security.cryptography.nuspec" + ] + }, + "Swashbuckle.AspNetCore/6.3.1": { + "sha512": "JFk0+HHUPdjYuPhkpGBMLi2JtnEuWkE2pp0yXQp64DmeMe+Fb0hZyVNq/ENJ2vQNso7Zg+C758WmR/xyAl36bA==", + "type": "package", + "path": "swashbuckle.aspnetcore/6.3.1", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "build/Swashbuckle.AspNetCore.props", + "swashbuckle.aspnetcore.6.3.1.nupkg.sha512", + "swashbuckle.aspnetcore.nuspec" + ] + }, + "Swashbuckle.AspNetCore.Swagger/6.3.1": { + "sha512": "idAFh4xhyJHYHfdLVOOn+BmscBul1OQbWsnL6YPJE8tO/0y6S79hDCvs6OY5VI093/9+1pYY3j31Zet9yaDZjA==", + "type": "package", + "path": "swashbuckle.aspnetcore.swagger/6.3.1", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "lib/net5.0/Swashbuckle.AspNetCore.Swagger.dll", + "lib/net5.0/Swashbuckle.AspNetCore.Swagger.pdb", + "lib/net5.0/Swashbuckle.AspNetCore.Swagger.xml", + "lib/net6.0/Swashbuckle.AspNetCore.Swagger.dll", + "lib/net6.0/Swashbuckle.AspNetCore.Swagger.pdb", + "lib/net6.0/Swashbuckle.AspNetCore.Swagger.xml", + "lib/netcoreapp3.0/Swashbuckle.AspNetCore.Swagger.dll", + "lib/netcoreapp3.0/Swashbuckle.AspNetCore.Swagger.pdb", + "lib/netcoreapp3.0/Swashbuckle.AspNetCore.Swagger.xml", + "lib/netstandard2.0/Swashbuckle.AspNetCore.Swagger.dll", + "lib/netstandard2.0/Swashbuckle.AspNetCore.Swagger.pdb", + "lib/netstandard2.0/Swashbuckle.AspNetCore.Swagger.xml", + "swashbuckle.aspnetcore.swagger.6.3.1.nupkg.sha512", + "swashbuckle.aspnetcore.swagger.nuspec" + ] + }, + "Swashbuckle.AspNetCore.SwaggerGen/6.3.1": { + "sha512": "+uoBV4h/6NhCPLoTofSmuOnZ+usu4PW1jP6l4OHwPyu2frbYXGNpJsHs5uUXXn929OiVQkT8wo3Lj/o+P99Ejg==", + "type": "package", + "path": "swashbuckle.aspnetcore.swaggergen/6.3.1", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "lib/net5.0/Swashbuckle.AspNetCore.SwaggerGen.dll", + "lib/net5.0/Swashbuckle.AspNetCore.SwaggerGen.pdb", + "lib/net5.0/Swashbuckle.AspNetCore.SwaggerGen.xml", + "lib/net6.0/Swashbuckle.AspNetCore.SwaggerGen.dll", + "lib/net6.0/Swashbuckle.AspNetCore.SwaggerGen.pdb", + "lib/net6.0/Swashbuckle.AspNetCore.SwaggerGen.xml", + "lib/netcoreapp3.0/Swashbuckle.AspNetCore.SwaggerGen.dll", + "lib/netcoreapp3.0/Swashbuckle.AspNetCore.SwaggerGen.pdb", + "lib/netcoreapp3.0/Swashbuckle.AspNetCore.SwaggerGen.xml", + "lib/netstandard2.0/Swashbuckle.AspNetCore.SwaggerGen.dll", + "lib/netstandard2.0/Swashbuckle.AspNetCore.SwaggerGen.pdb", + "lib/netstandard2.0/Swashbuckle.AspNetCore.SwaggerGen.xml", + "swashbuckle.aspnetcore.swaggergen.6.3.1.nupkg.sha512", + "swashbuckle.aspnetcore.swaggergen.nuspec" + ] + }, + "Swashbuckle.AspNetCore.SwaggerUI/6.3.1": { + "sha512": "JLm9hN67jh7RHsX3H30+tb432Li8xm/qV5lRyMMkyHYMfWitIuKAAdrpo2ILcHOIeH7CLMuOO2hp/iLBmE+Bkw==", + "type": "package", + "path": "swashbuckle.aspnetcore.swaggerui/6.3.1", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "lib/net5.0/Swashbuckle.AspNetCore.SwaggerUI.dll", + "lib/net5.0/Swashbuckle.AspNetCore.SwaggerUI.pdb", + "lib/net5.0/Swashbuckle.AspNetCore.SwaggerUI.xml", + "lib/net6.0/Swashbuckle.AspNetCore.SwaggerUI.dll", + "lib/net6.0/Swashbuckle.AspNetCore.SwaggerUI.pdb", + "lib/net6.0/Swashbuckle.AspNetCore.SwaggerUI.xml", + "lib/netcoreapp3.0/Swashbuckle.AspNetCore.SwaggerUI.dll", + "lib/netcoreapp3.0/Swashbuckle.AspNetCore.SwaggerUI.pdb", + "lib/netcoreapp3.0/Swashbuckle.AspNetCore.SwaggerUI.xml", + "lib/netstandard2.0/Swashbuckle.AspNetCore.SwaggerUI.dll", + "lib/netstandard2.0/Swashbuckle.AspNetCore.SwaggerUI.pdb", + "lib/netstandard2.0/Swashbuckle.AspNetCore.SwaggerUI.xml", + "swashbuckle.aspnetcore.swaggerui.6.3.1.nupkg.sha512", + "swashbuckle.aspnetcore.swaggerui.nuspec" + ] + }, + "System.Collections.Immutable/6.0.0": { + "sha512": "l4zZJ1WU2hqpQQHXz1rvC3etVZN+2DLmQMO79FhOTZHMn8tDRr+WU287sbomD0BETlmKDn0ygUgVy9k5xkkJdA==", + "type": "package", + "path": "system.collections.immutable/6.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "LICENSE.TXT", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/netcoreapp2.0/System.Collections.Immutable.targets", + "buildTransitive/netcoreapp3.1/_._", + "lib/net461/System.Collections.Immutable.dll", + "lib/net461/System.Collections.Immutable.xml", + "lib/net6.0/System.Collections.Immutable.dll", + "lib/net6.0/System.Collections.Immutable.xml", + "lib/netstandard2.0/System.Collections.Immutable.dll", + "lib/netstandard2.0/System.Collections.Immutable.xml", + "system.collections.immutable.6.0.0.nupkg.sha512", + "system.collections.immutable.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "System.Configuration.ConfigurationManager/4.7.0": { + "sha512": "/anOTeSZCNNI2zDilogWrZ8pNqCmYbzGNexUnNhjW8k0sHqEZ2nHJBp147jBV3hGYswu5lINpNg1vxR7bnqvVA==", + "type": "package", + "path": "system.configuration.configurationmanager/4.7.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "LICENSE.TXT", + "THIRD-PARTY-NOTICES.TXT", + "lib/net461/System.Configuration.ConfigurationManager.dll", + "lib/net461/System.Configuration.ConfigurationManager.xml", + "lib/netstandard2.0/System.Configuration.ConfigurationManager.dll", + "lib/netstandard2.0/System.Configuration.ConfigurationManager.xml", + "ref/net461/System.Configuration.ConfigurationManager.dll", + "ref/net461/System.Configuration.ConfigurationManager.xml", + "ref/netstandard2.0/System.Configuration.ConfigurationManager.dll", + "ref/netstandard2.0/System.Configuration.ConfigurationManager.xml", + "system.configuration.configurationmanager.4.7.0.nupkg.sha512", + "system.configuration.configurationmanager.nuspec", + "useSharedDesignerContext.txt", + "version.txt" + ] + }, + "System.Diagnostics.DiagnosticSource/6.0.0": { + "sha512": "frQDfv0rl209cKm1lnwTgFPzNigy2EKk1BS3uAvHvlBVKe5cymGyHO+Sj+NLv5VF/AhHsqPIUUwya5oV4CHMUw==", + "type": "package", + "path": "system.diagnostics.diagnosticsource/6.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "LICENSE.TXT", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/netcoreapp2.0/System.Diagnostics.DiagnosticSource.targets", + "buildTransitive/netcoreapp3.1/_._", + "lib/net461/System.Diagnostics.DiagnosticSource.dll", + "lib/net461/System.Diagnostics.DiagnosticSource.xml", + "lib/net5.0/System.Diagnostics.DiagnosticSource.dll", + "lib/net5.0/System.Diagnostics.DiagnosticSource.xml", + "lib/net6.0/System.Diagnostics.DiagnosticSource.dll", + "lib/net6.0/System.Diagnostics.DiagnosticSource.xml", + "lib/netstandard2.0/System.Diagnostics.DiagnosticSource.dll", + "lib/netstandard2.0/System.Diagnostics.DiagnosticSource.xml", + "system.diagnostics.diagnosticsource.6.0.0.nupkg.sha512", + "system.diagnostics.diagnosticsource.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "System.DirectoryServices.Protocols/6.0.1": { + "sha512": "ndUZlEkAMc1XzM0xGN++SsJrNhRkIHaKI8+te325vrUgoLT1ufWNI6KB8FFrL7NpRMHPrdxP99aF3fHbAPxW0A==", + "type": "package", + "path": "system.directoryservices.protocols/6.0.1", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "LICENSE.TXT", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/netcoreapp2.0/System.DirectoryServices.Protocols.targets", + "buildTransitive/netcoreapp3.1/_._", + "lib/net461/_._", + "lib/net6.0/System.DirectoryServices.Protocols.dll", + "lib/net6.0/System.DirectoryServices.Protocols.xml", + "lib/netcoreapp3.1/System.DirectoryServices.Protocols.dll", + "lib/netcoreapp3.1/System.DirectoryServices.Protocols.xml", + "lib/netstandard2.0/System.DirectoryServices.Protocols.dll", + "lib/netstandard2.0/System.DirectoryServices.Protocols.xml", + "runtimes/linux/lib/net6.0/System.DirectoryServices.Protocols.dll", + "runtimes/linux/lib/net6.0/System.DirectoryServices.Protocols.xml", + "runtimes/linux/lib/netcoreapp3.1/System.DirectoryServices.Protocols.dll", + "runtimes/linux/lib/netcoreapp3.1/System.DirectoryServices.Protocols.xml", + "runtimes/osx/lib/net6.0/System.DirectoryServices.Protocols.dll", + "runtimes/osx/lib/net6.0/System.DirectoryServices.Protocols.xml", + "runtimes/osx/lib/netcoreapp3.1/System.DirectoryServices.Protocols.dll", + "runtimes/osx/lib/netcoreapp3.1/System.DirectoryServices.Protocols.xml", + "runtimes/win/lib/net6.0/System.DirectoryServices.Protocols.dll", + "runtimes/win/lib/net6.0/System.DirectoryServices.Protocols.xml", + "runtimes/win/lib/netcoreapp3.1/System.DirectoryServices.Protocols.dll", + "runtimes/win/lib/netcoreapp3.1/System.DirectoryServices.Protocols.xml", + "system.directoryservices.protocols.6.0.1.nupkg.sha512", + "system.directoryservices.protocols.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "System.Drawing.Common/4.7.0": { + "sha512": "v+XbyYHaZjDfn0ENmJEV1VYLgGgCTx1gnfOBcppowbpOAriglYgGCvFCPr2EEZyBvXlpxbEsTwkOlInl107ahA==", + "type": "package", + "path": "system.drawing.common/4.7.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "LICENSE.TXT", + "THIRD-PARTY-NOTICES.TXT", + "lib/MonoAndroid10/_._", + "lib/MonoTouch10/_._", + "lib/net461/System.Drawing.Common.dll", + "lib/netstandard2.0/System.Drawing.Common.dll", + "lib/xamarinios10/_._", + "lib/xamarinmac20/_._", + "lib/xamarintvos10/_._", + "lib/xamarinwatchos10/_._", + "ref/MonoAndroid10/_._", + "ref/MonoTouch10/_._", + "ref/net461/System.Drawing.Common.dll", + "ref/netcoreapp3.0/System.Drawing.Common.dll", + "ref/netcoreapp3.0/System.Drawing.Common.xml", + "ref/netstandard2.0/System.Drawing.Common.dll", + "ref/xamarinios10/_._", + "ref/xamarinmac20/_._", + "ref/xamarintvos10/_._", + "ref/xamarinwatchos10/_._", + "runtimes/unix/lib/netcoreapp2.0/System.Drawing.Common.dll", + "runtimes/unix/lib/netcoreapp3.0/System.Drawing.Common.dll", + "runtimes/unix/lib/netcoreapp3.0/System.Drawing.Common.xml", + "runtimes/win/lib/netcoreapp2.0/System.Drawing.Common.dll", + "runtimes/win/lib/netcoreapp3.0/System.Drawing.Common.dll", + "runtimes/win/lib/netcoreapp3.0/System.Drawing.Common.xml", + "system.drawing.common.4.7.0.nupkg.sha512", + "system.drawing.common.nuspec", + "useSharedDesignerContext.txt", + "version.txt" + ] + }, + "System.IdentityModel.Tokens.Jwt/6.8.0": { + "sha512": "5tBCjAub2Bhd5qmcd0WhR5s354e4oLYa//kOWrkX+6/7ZbDDJjMTfwLSOiZ/MMpWdE4DWPLOfTLOq/juj9CKzA==", + "type": "package", + "path": "system.identitymodel.tokens.jwt/6.8.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "lib/net45/System.IdentityModel.Tokens.Jwt.dll", + "lib/net45/System.IdentityModel.Tokens.Jwt.xml", + "lib/net461/System.IdentityModel.Tokens.Jwt.dll", + "lib/net461/System.IdentityModel.Tokens.Jwt.xml", + "lib/netstandard2.0/System.IdentityModel.Tokens.Jwt.dll", + "lib/netstandard2.0/System.IdentityModel.Tokens.Jwt.xml", + "system.identitymodel.tokens.jwt.6.8.0.nupkg.sha512", + "system.identitymodel.tokens.jwt.nuspec" + ] + }, + "System.IO.Pipelines/6.0.3": { + "sha512": "ryTgF+iFkpGZY1vRQhfCzX0xTdlV3pyaTTqRu2ETbEv+HlV7O6y7hyQURnghNIXvctl5DuZ//Dpks6HdL/Txgw==", + "type": "package", + "path": "system.io.pipelines/6.0.3", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "LICENSE.TXT", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/netcoreapp2.0/System.IO.Pipelines.targets", + "buildTransitive/netcoreapp3.1/_._", + "lib/net461/System.IO.Pipelines.dll", + "lib/net461/System.IO.Pipelines.xml", + "lib/net6.0/System.IO.Pipelines.dll", + "lib/net6.0/System.IO.Pipelines.xml", + "lib/netcoreapp3.1/System.IO.Pipelines.dll", + "lib/netcoreapp3.1/System.IO.Pipelines.xml", + "lib/netstandard2.0/System.IO.Pipelines.dll", + "lib/netstandard2.0/System.IO.Pipelines.xml", + "system.io.pipelines.6.0.3.nupkg.sha512", + "system.io.pipelines.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "System.Runtime.Caching/4.7.0": { + "sha512": "NdvNRjTPxYvIEhXQszT9L9vJhdQoX6AQ0AlhjTU+5NqFQVuacJTfhPVAvtGWNA2OJCqRiR/okBcZgMwI6MqcZg==", + "type": "package", + "path": "system.runtime.caching/4.7.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "LICENSE.TXT", + "THIRD-PARTY-NOTICES.TXT", + "lib/MonoAndroid10/_._", + "lib/MonoTouch10/_._", + "lib/net45/_._", + "lib/netstandard2.0/System.Runtime.Caching.dll", + "lib/netstandard2.0/System.Runtime.Caching.xml", + "lib/xamarinios10/_._", + "lib/xamarinmac20/_._", + "lib/xamarintvos10/_._", + "lib/xamarinwatchos10/_._", + "ref/MonoAndroid10/_._", + "ref/MonoTouch10/_._", + "ref/net45/_._", + "ref/netstandard2.0/System.Runtime.Caching.dll", + "ref/netstandard2.0/System.Runtime.Caching.xml", + "ref/xamarinios10/_._", + "ref/xamarinmac20/_._", + "ref/xamarintvos10/_._", + "ref/xamarinwatchos10/_._", + "runtimes/win/lib/net45/_._", + "runtimes/win/lib/netstandard2.0/System.Runtime.Caching.dll", + "runtimes/win/lib/netstandard2.0/System.Runtime.Caching.xml", + "system.runtime.caching.4.7.0.nupkg.sha512", + "system.runtime.caching.nuspec", + "useSharedDesignerContext.txt", + "version.txt" + ] + }, + "System.Runtime.CompilerServices.Unsafe/6.0.0": { + "sha512": "/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==", + "type": "package", + "path": "system.runtime.compilerservices.unsafe/6.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "LICENSE.TXT", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/netcoreapp2.0/System.Runtime.CompilerServices.Unsafe.targets", + "buildTransitive/netcoreapp3.1/_._", + "lib/net461/System.Runtime.CompilerServices.Unsafe.dll", + "lib/net461/System.Runtime.CompilerServices.Unsafe.xml", + "lib/net6.0/System.Runtime.CompilerServices.Unsafe.dll", + "lib/net6.0/System.Runtime.CompilerServices.Unsafe.xml", + "lib/netcoreapp3.1/System.Runtime.CompilerServices.Unsafe.dll", + "lib/netcoreapp3.1/System.Runtime.CompilerServices.Unsafe.xml", + "lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll", + "lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.xml", + "system.runtime.compilerservices.unsafe.6.0.0.nupkg.sha512", + "system.runtime.compilerservices.unsafe.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "System.Security.AccessControl/4.7.0": { + "sha512": "JECvTt5aFF3WT3gHpfofL2MNNP6v84sxtXxpqhLBCcDRzqsPBmHhQ6shv4DwwN2tRlzsUxtb3G9M3763rbXKDg==", + "type": "package", + "path": "system.security.accesscontrol/4.7.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "LICENSE.TXT", + "THIRD-PARTY-NOTICES.TXT", + "lib/net46/System.Security.AccessControl.dll", + "lib/net461/System.Security.AccessControl.dll", + "lib/net461/System.Security.AccessControl.xml", + "lib/netstandard1.3/System.Security.AccessControl.dll", + "lib/netstandard2.0/System.Security.AccessControl.dll", + "lib/netstandard2.0/System.Security.AccessControl.xml", + "lib/uap10.0.16299/_._", + "ref/net46/System.Security.AccessControl.dll", + "ref/net461/System.Security.AccessControl.dll", + "ref/net461/System.Security.AccessControl.xml", + "ref/netstandard1.3/System.Security.AccessControl.dll", + "ref/netstandard1.3/System.Security.AccessControl.xml", + "ref/netstandard1.3/de/System.Security.AccessControl.xml", + "ref/netstandard1.3/es/System.Security.AccessControl.xml", + "ref/netstandard1.3/fr/System.Security.AccessControl.xml", + "ref/netstandard1.3/it/System.Security.AccessControl.xml", + "ref/netstandard1.3/ja/System.Security.AccessControl.xml", + "ref/netstandard1.3/ko/System.Security.AccessControl.xml", + "ref/netstandard1.3/ru/System.Security.AccessControl.xml", + "ref/netstandard1.3/zh-hans/System.Security.AccessControl.xml", + "ref/netstandard1.3/zh-hant/System.Security.AccessControl.xml", + "ref/netstandard2.0/System.Security.AccessControl.dll", + "ref/netstandard2.0/System.Security.AccessControl.xml", + "ref/uap10.0.16299/_._", + "runtimes/win/lib/net46/System.Security.AccessControl.dll", + "runtimes/win/lib/net461/System.Security.AccessControl.dll", + "runtimes/win/lib/net461/System.Security.AccessControl.xml", + "runtimes/win/lib/netcoreapp2.0/System.Security.AccessControl.dll", + "runtimes/win/lib/netcoreapp2.0/System.Security.AccessControl.xml", + "runtimes/win/lib/netstandard1.3/System.Security.AccessControl.dll", + "runtimes/win/lib/uap10.0.16299/_._", + "system.security.accesscontrol.4.7.0.nupkg.sha512", + "system.security.accesscontrol.nuspec", + "useSharedDesignerContext.txt", + "version.txt" + ] + }, + "System.Security.Cryptography.Cng/4.5.0": { + "sha512": "WG3r7EyjUe9CMPFSs6bty5doUqT+q9pbI80hlNzo2SkPkZ4VTuZkGWjpp77JB8+uaL4DFPRdBsAY+DX3dBK92A==", + "type": "package", + "path": "system.security.cryptography.cng/4.5.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "LICENSE.TXT", + "THIRD-PARTY-NOTICES.TXT", + "lib/MonoAndroid10/_._", + "lib/MonoTouch10/_._", + "lib/net46/System.Security.Cryptography.Cng.dll", + "lib/net461/System.Security.Cryptography.Cng.dll", + "lib/net462/System.Security.Cryptography.Cng.dll", + "lib/net47/System.Security.Cryptography.Cng.dll", + "lib/netcoreapp2.1/System.Security.Cryptography.Cng.dll", + "lib/netstandard1.3/System.Security.Cryptography.Cng.dll", + "lib/netstandard1.4/System.Security.Cryptography.Cng.dll", + "lib/netstandard1.6/System.Security.Cryptography.Cng.dll", + "lib/netstandard2.0/System.Security.Cryptography.Cng.dll", + "lib/uap10.0.16299/_._", + "lib/xamarinios10/_._", + "lib/xamarinmac20/_._", + "lib/xamarintvos10/_._", + "lib/xamarinwatchos10/_._", + "ref/MonoAndroid10/_._", + "ref/MonoTouch10/_._", + "ref/net46/System.Security.Cryptography.Cng.dll", + "ref/net461/System.Security.Cryptography.Cng.dll", + "ref/net461/System.Security.Cryptography.Cng.xml", + "ref/net462/System.Security.Cryptography.Cng.dll", + "ref/net462/System.Security.Cryptography.Cng.xml", + "ref/net47/System.Security.Cryptography.Cng.dll", + "ref/net47/System.Security.Cryptography.Cng.xml", + "ref/netcoreapp2.0/System.Security.Cryptography.Cng.dll", + "ref/netcoreapp2.0/System.Security.Cryptography.Cng.xml", + "ref/netcoreapp2.1/System.Security.Cryptography.Cng.dll", + "ref/netcoreapp2.1/System.Security.Cryptography.Cng.xml", + "ref/netstandard1.3/System.Security.Cryptography.Cng.dll", + "ref/netstandard1.4/System.Security.Cryptography.Cng.dll", + "ref/netstandard1.6/System.Security.Cryptography.Cng.dll", + "ref/netstandard2.0/System.Security.Cryptography.Cng.dll", + "ref/netstandard2.0/System.Security.Cryptography.Cng.xml", + "ref/uap10.0.16299/_._", + "ref/xamarinios10/_._", + "ref/xamarinmac20/_._", + "ref/xamarintvos10/_._", + "ref/xamarinwatchos10/_._", + "runtimes/win/lib/net46/System.Security.Cryptography.Cng.dll", + "runtimes/win/lib/net461/System.Security.Cryptography.Cng.dll", + "runtimes/win/lib/net462/System.Security.Cryptography.Cng.dll", + "runtimes/win/lib/net47/System.Security.Cryptography.Cng.dll", + "runtimes/win/lib/netcoreapp2.0/System.Security.Cryptography.Cng.dll", + "runtimes/win/lib/netcoreapp2.1/System.Security.Cryptography.Cng.dll", + "runtimes/win/lib/netstandard1.4/System.Security.Cryptography.Cng.dll", + "runtimes/win/lib/netstandard1.6/System.Security.Cryptography.Cng.dll", + "runtimes/win/lib/uap10.0.16299/_._", + "system.security.cryptography.cng.4.5.0.nupkg.sha512", + "system.security.cryptography.cng.nuspec", + "useSharedDesignerContext.txt", + "version.txt" + ] + }, + "System.Security.Cryptography.ProtectedData/4.7.0": { + "sha512": "ehYW0m9ptxpGWvE4zgqongBVWpSDU/JCFD4K7krxkQwSz/sFQjEXCUqpvencjy6DYDbn7Ig09R8GFffu8TtneQ==", + "type": "package", + "path": "system.security.cryptography.protecteddata/4.7.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "LICENSE.TXT", + "THIRD-PARTY-NOTICES.TXT", + "lib/MonoAndroid10/_._", + "lib/MonoTouch10/_._", + "lib/net46/System.Security.Cryptography.ProtectedData.dll", + "lib/net461/System.Security.Cryptography.ProtectedData.dll", + "lib/net461/System.Security.Cryptography.ProtectedData.xml", + "lib/netstandard1.3/System.Security.Cryptography.ProtectedData.dll", + "lib/netstandard2.0/System.Security.Cryptography.ProtectedData.dll", + "lib/netstandard2.0/System.Security.Cryptography.ProtectedData.xml", + "lib/xamarinios10/_._", + "lib/xamarinmac20/_._", + "lib/xamarintvos10/_._", + "lib/xamarinwatchos10/_._", + "ref/MonoAndroid10/_._", + "ref/MonoTouch10/_._", + "ref/net46/System.Security.Cryptography.ProtectedData.dll", + "ref/net461/System.Security.Cryptography.ProtectedData.dll", + "ref/net461/System.Security.Cryptography.ProtectedData.xml", + "ref/netstandard1.3/System.Security.Cryptography.ProtectedData.dll", + "ref/netstandard2.0/System.Security.Cryptography.ProtectedData.dll", + "ref/netstandard2.0/System.Security.Cryptography.ProtectedData.xml", + "ref/xamarinios10/_._", + "ref/xamarinmac20/_._", + "ref/xamarintvos10/_._", + "ref/xamarinwatchos10/_._", + "runtimes/win/lib/net46/System.Security.Cryptography.ProtectedData.dll", + "runtimes/win/lib/net461/System.Security.Cryptography.ProtectedData.dll", + "runtimes/win/lib/net461/System.Security.Cryptography.ProtectedData.xml", + "runtimes/win/lib/netstandard1.3/System.Security.Cryptography.ProtectedData.dll", + "runtimes/win/lib/netstandard2.0/System.Security.Cryptography.ProtectedData.dll", + "runtimes/win/lib/netstandard2.0/System.Security.Cryptography.ProtectedData.xml", + "system.security.cryptography.protecteddata.4.7.0.nupkg.sha512", + "system.security.cryptography.protecteddata.nuspec", + "useSharedDesignerContext.txt", + "version.txt" + ] + }, + "System.Security.Permissions/4.7.0": { + "sha512": "dkOV6YYVBnYRa15/yv004eCGRBVADXw8qRbbNiCn/XpdJSUXkkUeIvdvFHkvnko4CdKMqG8yRHC4ox83LSlMsQ==", + "type": "package", + "path": "system.security.permissions/4.7.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "LICENSE.TXT", + "THIRD-PARTY-NOTICES.TXT", + "lib/net461/System.Security.Permissions.dll", + "lib/net461/System.Security.Permissions.xml", + "lib/netcoreapp3.0/System.Security.Permissions.dll", + "lib/netcoreapp3.0/System.Security.Permissions.xml", + "lib/netstandard2.0/System.Security.Permissions.dll", + "lib/netstandard2.0/System.Security.Permissions.xml", + "ref/net461/System.Security.Permissions.dll", + "ref/net461/System.Security.Permissions.xml", + "ref/netcoreapp3.0/System.Security.Permissions.dll", + "ref/netcoreapp3.0/System.Security.Permissions.xml", + "ref/netstandard2.0/System.Security.Permissions.dll", + "ref/netstandard2.0/System.Security.Permissions.xml", + "system.security.permissions.4.7.0.nupkg.sha512", + "system.security.permissions.nuspec", + "useSharedDesignerContext.txt", + "version.txt" + ] + }, + "System.Security.Principal.Windows/4.7.0": { + "sha512": "ojD0PX0XhneCsUbAZVKdb7h/70vyYMDYs85lwEI+LngEONe/17A0cFaRFqZU+sOEidcVswYWikYOQ9PPfjlbtQ==", + "type": "package", + "path": "system.security.principal.windows/4.7.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "LICENSE.TXT", + "THIRD-PARTY-NOTICES.TXT", + "lib/net46/System.Security.Principal.Windows.dll", + "lib/net461/System.Security.Principal.Windows.dll", + "lib/net461/System.Security.Principal.Windows.xml", + "lib/netstandard1.3/System.Security.Principal.Windows.dll", + "lib/netstandard2.0/System.Security.Principal.Windows.dll", + "lib/netstandard2.0/System.Security.Principal.Windows.xml", + "lib/uap10.0.16299/_._", + "ref/net46/System.Security.Principal.Windows.dll", + "ref/net461/System.Security.Principal.Windows.dll", + "ref/net461/System.Security.Principal.Windows.xml", + "ref/netcoreapp3.0/System.Security.Principal.Windows.dll", + "ref/netcoreapp3.0/System.Security.Principal.Windows.xml", + "ref/netstandard1.3/System.Security.Principal.Windows.dll", + "ref/netstandard1.3/System.Security.Principal.Windows.xml", + "ref/netstandard1.3/de/System.Security.Principal.Windows.xml", + "ref/netstandard1.3/es/System.Security.Principal.Windows.xml", + "ref/netstandard1.3/fr/System.Security.Principal.Windows.xml", + "ref/netstandard1.3/it/System.Security.Principal.Windows.xml", + "ref/netstandard1.3/ja/System.Security.Principal.Windows.xml", + "ref/netstandard1.3/ko/System.Security.Principal.Windows.xml", + "ref/netstandard1.3/ru/System.Security.Principal.Windows.xml", + "ref/netstandard1.3/zh-hans/System.Security.Principal.Windows.xml", + "ref/netstandard1.3/zh-hant/System.Security.Principal.Windows.xml", + "ref/netstandard2.0/System.Security.Principal.Windows.dll", + "ref/netstandard2.0/System.Security.Principal.Windows.xml", + "ref/uap10.0.16299/_._", + "runtimes/unix/lib/netcoreapp2.0/System.Security.Principal.Windows.dll", + "runtimes/unix/lib/netcoreapp2.0/System.Security.Principal.Windows.xml", + "runtimes/unix/lib/netcoreapp2.1/System.Security.Principal.Windows.dll", + "runtimes/unix/lib/netcoreapp2.1/System.Security.Principal.Windows.xml", + "runtimes/win/lib/net46/System.Security.Principal.Windows.dll", + "runtimes/win/lib/net461/System.Security.Principal.Windows.dll", + "runtimes/win/lib/net461/System.Security.Principal.Windows.xml", + "runtimes/win/lib/netcoreapp2.0/System.Security.Principal.Windows.dll", + "runtimes/win/lib/netcoreapp2.0/System.Security.Principal.Windows.xml", + "runtimes/win/lib/netcoreapp2.1/System.Security.Principal.Windows.dll", + "runtimes/win/lib/netcoreapp2.1/System.Security.Principal.Windows.xml", + "runtimes/win/lib/netstandard1.3/System.Security.Principal.Windows.dll", + "runtimes/win/lib/uap10.0.16299/_._", + "system.security.principal.windows.4.7.0.nupkg.sha512", + "system.security.principal.windows.nuspec", + "useSharedDesignerContext.txt", + "version.txt" + ] + }, + "System.Text.Encoding.CodePages/4.7.0": { + "sha512": "aeu4FlaUTemuT1qOd1MyU4T516QR4Fy+9yDbwWMPHOHy7U8FD6SgTzdZFO7gHcfAPHtECqInbwklVvUK4RHcNg==", + "type": "package", + "path": "system.text.encoding.codepages/4.7.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "LICENSE.TXT", + "THIRD-PARTY-NOTICES.TXT", + "lib/MonoAndroid10/_._", + "lib/MonoTouch10/_._", + "lib/net46/System.Text.Encoding.CodePages.dll", + "lib/net461/System.Text.Encoding.CodePages.dll", + "lib/net461/System.Text.Encoding.CodePages.xml", + "lib/netstandard1.3/System.Text.Encoding.CodePages.dll", + "lib/netstandard2.0/System.Text.Encoding.CodePages.dll", + "lib/netstandard2.0/System.Text.Encoding.CodePages.xml", + "lib/xamarinios10/_._", + "lib/xamarinmac20/_._", + "lib/xamarintvos10/_._", + "lib/xamarinwatchos10/_._", + "ref/MonoAndroid10/_._", + "ref/MonoTouch10/_._", + "ref/xamarinios10/_._", + "ref/xamarinmac20/_._", + "ref/xamarintvos10/_._", + "ref/xamarinwatchos10/_._", + "runtimes/win/lib/net461/System.Text.Encoding.CodePages.dll", + "runtimes/win/lib/net461/System.Text.Encoding.CodePages.xml", + "runtimes/win/lib/netcoreapp2.0/System.Text.Encoding.CodePages.dll", + "runtimes/win/lib/netcoreapp2.0/System.Text.Encoding.CodePages.xml", + "runtimes/win/lib/netstandard1.3/System.Text.Encoding.CodePages.dll", + "runtimes/win/lib/netstandard2.0/System.Text.Encoding.CodePages.dll", + "runtimes/win/lib/netstandard2.0/System.Text.Encoding.CodePages.xml", + "system.text.encoding.codepages.4.7.0.nupkg.sha512", + "system.text.encoding.codepages.nuspec", + "useSharedDesignerContext.txt", + "version.txt" + ] + }, + "System.Windows.Extensions/4.7.0": { + "sha512": "CeWTdRNfRaSh0pm2gDTJFwVaXfTq6Xwv/sA887iwPTneW7oMtMlpvDIO+U60+3GWTB7Aom6oQwv5VZVUhQRdPQ==", + "type": "package", + "path": "system.windows.extensions/4.7.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "LICENSE.TXT", + "THIRD-PARTY-NOTICES.TXT", + "lib/netcoreapp3.0/System.Windows.Extensions.dll", + "lib/netcoreapp3.0/System.Windows.Extensions.xml", + "ref/netcoreapp3.0/System.Windows.Extensions.dll", + "ref/netcoreapp3.0/System.Windows.Extensions.xml", + "runtimes/win/lib/netcoreapp3.0/System.Windows.Extensions.dll", + "runtimes/win/lib/netcoreapp3.0/System.Windows.Extensions.xml", + "system.windows.extensions.4.7.0.nupkg.sha512", + "system.windows.extensions.nuspec", + "useSharedDesignerContext.txt", + "version.txt" + ] + } + }, + "projectFileDependencyGroups": { + "net6.0": [ + "Cronos >= 0.7.1", + "FirebaseAdmin >= 2.3.0", + "Microsoft.AspNet.Mvc >= 5.2.9", + "Microsoft.AspNetCore.Authentication.Negotiate >= 6.0.5", + "Microsoft.EntityFrameworkCore >= 6.0.5", + "Microsoft.EntityFrameworkCore.SqlServer >= 6.0.5", + "Microsoft.EntityFrameworkCore.Tools >= 6.0.5", + "Newtonsoft.Json >= 13.0.3", + "SSH.NET >= 2020.0.2", + "Swashbuckle.AspNetCore >= 6.3.1" + ] + }, + "packageFolders": { + "C:\\Users\\audif\\.nuget\\packages\\": {} + }, + "project": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\ApiPolo.csproj", + "projectName": "ApiPolo", + "projectPath": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\ApiPolo.csproj", + "packagesPath": "C:\\Users\\audif\\.nuget\\packages\\", + "outputPath": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\obj\\", + "projectStyle": "PackageReference", + "configFilePaths": [ + "C:\\Users\\audif\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" + ], + "originalTargetFrameworks": [ + "net6.0" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "C:\\Program Files\\dotnet\\sdk\\7.0.302\\Sdks\\Microsoft.NET.Sdk.Web\\library-packs": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + } + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "dependencies": { + "Cronos": { + "target": "Package", + "version": "[0.7.1, )" + }, + "FirebaseAdmin": { + "target": "Package", + "version": "[2.3.0, )" + }, + "Microsoft.AspNet.Mvc": { + "target": "Package", + "version": "[5.2.9, )" + }, + "Microsoft.AspNetCore.Authentication.Negotiate": { + "target": "Package", + "version": "[6.0.5, )" + }, + "Microsoft.EntityFrameworkCore": { + "target": "Package", + "version": "[6.0.5, )" + }, + "Microsoft.EntityFrameworkCore.SqlServer": { + "target": "Package", + "version": "[6.0.5, )" + }, + "Microsoft.EntityFrameworkCore.Tools": { + "include": "Runtime, Build, Native, ContentFiles, Analyzers, BuildTransitive", + "suppressParent": "All", + "target": "Package", + "version": "[6.0.5, )" + }, + "Newtonsoft.Json": { + "target": "Package", + "version": "[13.0.3, )" + }, + "SSH.NET": { + "target": "Package", + "version": "[2020.0.2, )" + }, + "Swashbuckle.AspNetCore": { + "target": "Package", + "version": "[6.3.1, )" + } + }, + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.AspNetCore.App": { + "privateAssets": "none" + }, + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.302\\RuntimeIdentifierGraph.json" + } + } + }, + "logs": [ + { + "code": "NU1701", + "level": "Warning", + "warningLevel": 1, + "message": "Il pacchetto 'Microsoft.AspNet.Mvc 5.2.9' è stato ripristinato mediante '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1' e non mediante il framework di destinazione del progetto 'net6.0'. Questo pacchetto potrebbe non essere completamente compatibile con il progetto.", + "libraryId": "Microsoft.AspNet.Mvc", + "targetGraphs": [ + "net6.0" + ] + }, + { + "code": "NU1701", + "level": "Warning", + "warningLevel": 1, + "message": "Il pacchetto 'Microsoft.AspNet.Razor 3.2.9' è stato ripristinato mediante '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1' e non mediante il framework di destinazione del progetto 'net6.0'. Questo pacchetto potrebbe non essere completamente compatibile con il progetto.", + "libraryId": "Microsoft.AspNet.Razor", + "targetGraphs": [ + "net6.0" + ] + }, + { + "code": "NU1701", + "level": "Warning", + "warningLevel": 1, + "message": "Il pacchetto 'Microsoft.AspNet.WebPages 3.2.9' è stato ripristinato mediante '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1' e non mediante il framework di destinazione del progetto 'net6.0'. Questo pacchetto potrebbe non essere completamente compatibile con il progetto.", + "libraryId": "Microsoft.AspNet.WebPages", + "targetGraphs": [ + "net6.0" + ] + }, + { + "code": "NU1701", + "level": "Warning", + "warningLevel": 1, + "message": "Il pacchetto 'Microsoft.Web.Infrastructure 1.0.0' è stato ripristinato mediante '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1' e non mediante il framework di destinazione del progetto 'net6.0'. Questo pacchetto potrebbe non essere completamente compatibile con il progetto.", + "libraryId": "Microsoft.Web.Infrastructure", + "targetGraphs": [ + "net6.0" + ] + } + ] +} \ No newline at end of file diff --git a/ApiPolo/obj/project.nuget.cache b/ApiPolo/obj/project.nuget.cache new file mode 100644 index 0000000..ef96fce --- /dev/null +++ b/ApiPolo/obj/project.nuget.cache @@ -0,0 +1,119 @@ +{ + "version": 2, + "dgSpecHash": "bDTOBvJ7l0eePJV2P+K8bglSKFhj7Slb1uYsDOfS6h1YkirrGTcyrqEuu/pt1pe2QWFTVN4uD8CoKBdh7wmikw==", + "success": true, + "projectFilePath": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\ApiPolo.csproj", + "expectedPackageFiles": [ + "C:\\Users\\audif\\.nuget\\packages\\cronos\\0.7.1\\cronos.0.7.1.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\firebaseadmin\\2.3.0\\firebaseadmin.2.3.0.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\google.api.gax\\3.2.0\\google.api.gax.3.2.0.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\google.api.gax.rest\\3.2.0\\google.api.gax.rest.3.2.0.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\google.apis\\1.49.0\\google.apis.1.49.0.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\google.apis.auth\\1.49.0\\google.apis.auth.1.49.0.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\google.apis.core\\1.49.0\\google.apis.core.1.49.0.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\humanizer.core\\2.8.26\\humanizer.core.2.8.26.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\microsoft.aspnet.mvc\\5.2.9\\microsoft.aspnet.mvc.5.2.9.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\microsoft.aspnet.razor\\3.2.9\\microsoft.aspnet.razor.3.2.9.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\microsoft.aspnet.webpages\\3.2.9\\microsoft.aspnet.webpages.3.2.9.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\microsoft.aspnetcore.authentication.negotiate\\6.0.5\\microsoft.aspnetcore.authentication.negotiate.6.0.5.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\microsoft.aspnetcore.connections.abstractions\\6.0.5\\microsoft.aspnetcore.connections.abstractions.6.0.5.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\microsoft.bcl.asyncinterfaces\\1.0.0\\microsoft.bcl.asyncinterfaces.1.0.0.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\microsoft.csharp\\4.5.0\\microsoft.csharp.4.5.0.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\microsoft.data.sqlclient\\2.1.4\\microsoft.data.sqlclient.2.1.4.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\microsoft.data.sqlclient.sni.runtime\\2.1.1\\microsoft.data.sqlclient.sni.runtime.2.1.1.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\microsoft.entityframeworkcore\\6.0.5\\microsoft.entityframeworkcore.6.0.5.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\microsoft.entityframeworkcore.abstractions\\6.0.5\\microsoft.entityframeworkcore.abstractions.6.0.5.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\microsoft.entityframeworkcore.analyzers\\6.0.5\\microsoft.entityframeworkcore.analyzers.6.0.5.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\microsoft.entityframeworkcore.design\\6.0.5\\microsoft.entityframeworkcore.design.6.0.5.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\microsoft.entityframeworkcore.relational\\6.0.5\\microsoft.entityframeworkcore.relational.6.0.5.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\microsoft.entityframeworkcore.sqlserver\\6.0.5\\microsoft.entityframeworkcore.sqlserver.6.0.5.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\microsoft.entityframeworkcore.tools\\6.0.5\\microsoft.entityframeworkcore.tools.6.0.5.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\microsoft.extensions.apidescription.server\\3.0.0\\microsoft.extensions.apidescription.server.3.0.0.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\microsoft.extensions.caching.abstractions\\6.0.0\\microsoft.extensions.caching.abstractions.6.0.0.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\microsoft.extensions.caching.memory\\6.0.1\\microsoft.extensions.caching.memory.6.0.1.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\microsoft.extensions.configuration.abstractions\\6.0.0\\microsoft.extensions.configuration.abstractions.6.0.0.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\microsoft.extensions.dependencyinjection\\6.0.0\\microsoft.extensions.dependencyinjection.6.0.0.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\microsoft.extensions.dependencyinjection.abstractions\\6.0.0\\microsoft.extensions.dependencyinjection.abstractions.6.0.0.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\microsoft.extensions.features\\6.0.5\\microsoft.extensions.features.6.0.5.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\microsoft.extensions.logging\\6.0.0\\microsoft.extensions.logging.6.0.0.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\microsoft.extensions.logging.abstractions\\6.0.0\\microsoft.extensions.logging.abstractions.6.0.0.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\microsoft.extensions.options\\6.0.0\\microsoft.extensions.options.6.0.0.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\microsoft.extensions.primitives\\6.0.0\\microsoft.extensions.primitives.6.0.0.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\microsoft.identity.client\\4.21.1\\microsoft.identity.client.4.21.1.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\microsoft.identitymodel.jsonwebtokens\\6.8.0\\microsoft.identitymodel.jsonwebtokens.6.8.0.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\microsoft.identitymodel.logging\\6.8.0\\microsoft.identitymodel.logging.6.8.0.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\microsoft.identitymodel.protocols\\6.8.0\\microsoft.identitymodel.protocols.6.8.0.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\microsoft.identitymodel.protocols.openidconnect\\6.8.0\\microsoft.identitymodel.protocols.openidconnect.6.8.0.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\microsoft.identitymodel.tokens\\6.8.0\\microsoft.identitymodel.tokens.6.8.0.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\microsoft.netcore.platforms\\3.1.0\\microsoft.netcore.platforms.3.1.0.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\microsoft.openapi\\1.2.3\\microsoft.openapi.1.2.3.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\microsoft.web.infrastructure\\1.0.0\\microsoft.web.infrastructure.1.0.0.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\microsoft.win32.registry\\4.7.0\\microsoft.win32.registry.4.7.0.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\microsoft.win32.systemevents\\4.7.0\\microsoft.win32.systemevents.4.7.0.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\newtonsoft.json\\13.0.3\\newtonsoft.json.13.0.3.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\ssh.net\\2020.0.2\\ssh.net.2020.0.2.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\sshnet.security.cryptography\\1.3.0\\sshnet.security.cryptography.1.3.0.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\swashbuckle.aspnetcore\\6.3.1\\swashbuckle.aspnetcore.6.3.1.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\swashbuckle.aspnetcore.swagger\\6.3.1\\swashbuckle.aspnetcore.swagger.6.3.1.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\swashbuckle.aspnetcore.swaggergen\\6.3.1\\swashbuckle.aspnetcore.swaggergen.6.3.1.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\swashbuckle.aspnetcore.swaggerui\\6.3.1\\swashbuckle.aspnetcore.swaggerui.6.3.1.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\system.collections.immutable\\6.0.0\\system.collections.immutable.6.0.0.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\system.configuration.configurationmanager\\4.7.0\\system.configuration.configurationmanager.4.7.0.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\system.diagnostics.diagnosticsource\\6.0.0\\system.diagnostics.diagnosticsource.6.0.0.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\system.directoryservices.protocols\\6.0.1\\system.directoryservices.protocols.6.0.1.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\system.drawing.common\\4.7.0\\system.drawing.common.4.7.0.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\system.identitymodel.tokens.jwt\\6.8.0\\system.identitymodel.tokens.jwt.6.8.0.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\system.io.pipelines\\6.0.3\\system.io.pipelines.6.0.3.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\system.runtime.caching\\4.7.0\\system.runtime.caching.4.7.0.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\system.runtime.compilerservices.unsafe\\6.0.0\\system.runtime.compilerservices.unsafe.6.0.0.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\system.security.accesscontrol\\4.7.0\\system.security.accesscontrol.4.7.0.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\system.security.cryptography.cng\\4.5.0\\system.security.cryptography.cng.4.5.0.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\system.security.cryptography.protecteddata\\4.7.0\\system.security.cryptography.protecteddata.4.7.0.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\system.security.permissions\\4.7.0\\system.security.permissions.4.7.0.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\system.security.principal.windows\\4.7.0\\system.security.principal.windows.4.7.0.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\system.text.encoding.codepages\\4.7.0\\system.text.encoding.codepages.4.7.0.nupkg.sha512", + "C:\\Users\\audif\\.nuget\\packages\\system.windows.extensions\\4.7.0\\system.windows.extensions.4.7.0.nupkg.sha512" + ], + "logs": [ + { + "code": "NU1701", + "level": "Warning", + "warningLevel": 1, + "message": "Il pacchetto 'Microsoft.AspNet.Mvc 5.2.9' è stato ripristinato mediante '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1' e non mediante il framework di destinazione del progetto 'net6.0'. Questo pacchetto potrebbe non essere completamente compatibile con il progetto.", + "libraryId": "Microsoft.AspNet.Mvc", + "targetGraphs": [ + "net6.0" + ] + }, + { + "code": "NU1701", + "level": "Warning", + "warningLevel": 1, + "message": "Il pacchetto 'Microsoft.AspNet.Razor 3.2.9' è stato ripristinato mediante '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1' e non mediante il framework di destinazione del progetto 'net6.0'. Questo pacchetto potrebbe non essere completamente compatibile con il progetto.", + "libraryId": "Microsoft.AspNet.Razor", + "targetGraphs": [ + "net6.0" + ] + }, + { + "code": "NU1701", + "level": "Warning", + "warningLevel": 1, + "message": "Il pacchetto 'Microsoft.AspNet.WebPages 3.2.9' è stato ripristinato mediante '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1' e non mediante il framework di destinazione del progetto 'net6.0'. Questo pacchetto potrebbe non essere completamente compatibile con il progetto.", + "libraryId": "Microsoft.AspNet.WebPages", + "targetGraphs": [ + "net6.0" + ] + }, + { + "code": "NU1701", + "level": "Warning", + "warningLevel": 1, + "message": "Il pacchetto 'Microsoft.Web.Infrastructure 1.0.0' è stato ripristinato mediante '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1' e non mediante il framework di destinazione del progetto 'net6.0'. Questo pacchetto potrebbe non essere completamente compatibile con il progetto.", + "libraryId": "Microsoft.Web.Infrastructure", + "targetGraphs": [ + "net6.0" + ] + } + ] +} \ No newline at end of file diff --git a/ApiPolo/obj/staticwebassets.pack.sentinel b/ApiPolo/obj/staticwebassets.pack.sentinel new file mode 100644 index 0000000..2121048 --- /dev/null +++ b/ApiPolo/obj/staticwebassets.pack.sentinel @@ -0,0 +1,1003 @@ +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 +2.0 diff --git a/ApiPolo/private_key.json b/ApiPolo/private_key.json new file mode 100644 index 0000000..81ef1c5 --- /dev/null +++ b/ApiPolo/private_key.json @@ -0,0 +1,12 @@ +{ + "type": "service_account", + "project_id": "testpolo-5e86a", + "private_key_id": "80c027bfe39f398545dd21f60b92dd257bc50bbf", + "private_key": "-----BEGIN PRIVATE KEY-----\nMIIEuwIBADANBgkqhkiG9w0BAQEFAASCBKUwggShAgEAAoIBAQCpmJDlg4ayXKDh\nb58MgM/IpYlY90ktO5Wg9HrUWoNQrAYKUVReVZxT1ZagvCNDZMRRPsVMYKc60ru/\nVjhjv3igraKO78TjSF9BiWl019KObmVZ1h5mPAsLC2+8hzWSWspRC/Gvnhc5d6/f\nzD1UbVi9gCYaSGoRZjwa79PFYvH0v+CIf3BBxmj7vxD+PEY4p7Eh4J/QOMNGbsJr\nMzODfOGly8Vl7FEHiMLnNZHdNyN5GLgjlCJmH5wKBiPp5H22D0l23GCdDsvlHM1d\n6oF/lLcQF9raXrN7rNRkGgz9KLLz0vMAg/OGi2CK1WRa4CkXElo0fZn74mLoeNu8\neqdQowx/AgMBAAECgf8OSl8P006GS0fVbgAde090mMdnt7e7823xazqlPGj40POx\nWJbDXCo9wZ0UN1h4MLxaHDkWEepOnODr9Vfvog4aV2KkX4/J4Cq47Uj1j4MufUN6\nvCJl6KlOsqgAzRq2g4I/my/CU2tYbE+usIcMurxRzcOxTrHqfEUmkjNqkxBijxMI\nxuybqv3z4/+G3nZIlh9hol1fdx0196QTFNQSGWZOr7EvIuFhxR3vPFvwY1jIvcHP\nmhJtmq/wcTgpTiDGJ5XZk840O7C7K2R3lUWbE3HJjZuLeaq6zOkXfC6sP9rIsC9c\n1o21misyvocSZoupXe8Q9Xf9t/nKCt7n4BmPRkkCgYEA3c1S+EzCp8ll40bBPWFW\n7Z5R3ejOzuluKLI/ztU2tx5uFOSsV6mv7mM6ATWK4CGGkOPmfOitn8AOz0PvuXf/\nzmmhfXwiIR50wbe43VYdFpAb7xMf674YC5ULZ55Jm3IIwsZwAr9EkGtbl1qUuPjp\nIhArtEZcvRqoKRbrWVaJ27MCgYEAw76h8NfydgRFauG++ynQLrQ36oIDigIucIli\nvm0DjR7tzSsgsRkYa4TiCleZnNkRqgUqzCCm3hqndixyLhwwg3l/ZpIOIeAN/wII\nqLO/7mn47gGZgzBn44TaOmI5d78pf04l43/rA6gjMzW0AS51OchZHI4AG4nI3aUu\nmjD+NgUCgYAaHEivKEImBGR1K+gltKbKFEAo8nYeD4bDTbCLRbhKOE/XL9BGBZjL\nZGz4pXfyyJ+RwPJqM+30h2R269V1rPW1M+Qp5IoUAgTWpS0jCTclZ9OSAltYoiks\ne+A603xwyyzS2Q9ok2Gb6rd+itBFMjAnrWWntDzImjG/nI4aF0DlVwKBgB5d2ZOa\nfLPQT9CX+t/OCczlCnOn/dKQKhItThNKqC1hafTVRvoScZZkhAiktGD/z9y3dn86\nZYi5S9dqZ8A9gU00MQ6BhA2/S4yPDTbWw+TBreuGdgFDJirGtnAuQsoP7ukf/4K+\nmn/zupo8L5OrWGZBbYmfgebDxlSURpmHFjjdAoGBAIunnz+KWA/0stDB4FLZt8QS\n7Z9/CytT0F1hVnVieKpWtbhvvoLs+svcvTCvqeQmEUxhiX5r8N4xTjd0MwcyKjRi\ny724SWzJmdplqj5YRHrLGbmAsgqZZg3tAGJROhxH/utxBgfDBkki0if+DKysQAC/\nYJzjNY7HdXC2It0gH5iZ\n-----END PRIVATE KEY-----\n", + "client_email": "firebase-adminsdk-ypxny@testpolo-5e86a.iam.gserviceaccount.com", + "client_id": "118193031755958431078", + "auth_uri": "https://accounts.google.com/o/oauth2/auth", + "token_uri": "https://oauth2.googleapis.com/token", + "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs", + "client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/firebase-adminsdk-ypxny%40testpolo-5e86a.iam.gserviceaccount.com" +} \ No newline at end of file diff --git a/ApiPolo/wwwroot/VIRTU/AZI01/AZI01_LOGO.jpg b/ApiPolo/wwwroot/VIRTU/AZI01/AZI01_LOGO.jpg new file mode 100644 index 0000000..2d37c62 Binary files /dev/null and b/ApiPolo/wwwroot/VIRTU/AZI01/AZI01_LOGO.jpg differ diff --git a/ApiPolo/wwwroot/VIRTU/AZI02/AZI02_LOGO.jpg b/ApiPolo/wwwroot/VIRTU/AZI02/AZI02_LOGO.jpg new file mode 100644 index 0000000..7c34a5a Binary files /dev/null and b/ApiPolo/wwwroot/VIRTU/AZI02/AZI02_LOGO.jpg differ diff --git a/ApiPolo/wwwroot/VIRTU/AZI02/R.png b/ApiPolo/wwwroot/VIRTU/AZI02/R.png new file mode 100644 index 0000000..55fdf68 Binary files /dev/null and b/ApiPolo/wwwroot/VIRTU/AZI02/R.png differ diff --git a/ApiPolo/wwwroot/VIRTU/AZI02/company2.png b/ApiPolo/wwwroot/VIRTU/AZI02/company2.png new file mode 100644 index 0000000..112aa0d Binary files /dev/null and b/ApiPolo/wwwroot/VIRTU/AZI02/company2.png differ diff --git a/ApiPolo/wwwroot/VIRTU/CAV00001.jpg b/ApiPolo/wwwroot/VIRTU/CAV00001.jpg new file mode 100644 index 0000000..c6673bf Binary files /dev/null and b/ApiPolo/wwwroot/VIRTU/CAV00001.jpg differ diff --git a/ApiPolo/wwwroot/logo_disco.jpg b/ApiPolo/wwwroot/logo_disco.jpg new file mode 100644 index 0000000..320584d Binary files /dev/null and b/ApiPolo/wwwroot/logo_disco.jpg differ diff --git a/ApiPolo/wwwroot/logo_ferra.jpg b/ApiPolo/wwwroot/logo_ferra.jpg new file mode 100644 index 0000000..5413b6e Binary files /dev/null and b/ApiPolo/wwwroot/logo_ferra.jpg differ diff --git a/ApiPolo/wwwroot/logo_marro.jpg b/ApiPolo/wwwroot/logo_marro.jpg new file mode 100644 index 0000000..5a0747b Binary files /dev/null and b/ApiPolo/wwwroot/logo_marro.jpg differ