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