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; } } }