ApiVirtualTask/ApiPolo/Models/Rappmast.cs
2025-05-08 17:41:48 +02:00

516 lines
20 KiB
C#

using System.ComponentModel.DataAnnotations;
namespace ApiPolo.Models
{
/// <summary>Rappmast: storico interventi per tecnico</summary>
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
/// <summary> Seriale rapportini</summary>
[Key]
public string? raserial { get; set; }
/// <summary> Causale</summary>
public string? racaurap { get; set; }
/// <summary> Azienda</summary>
public string? raaziimp { get; set; }
/// <summary> Impianto</summary>
public string? racodimp { get; set; }
/// <summary> Lavoro</summary>
public string? racodlav { get; set; }
/// <summary> fase Lavoro</summary>
public int? rafaslav { get; set; }
/// <summary> tipo cliente</summary>
public string? ratipcli { get; set; }
/// <summary> codice cliente</summary>
public string? racodcli { get; set; }
/// <summary> contratto manutenzione</summary>
public string? racontma { get; set; }
/// <summary> verbale</summary>
public string? racodver { get; set; }
/// <summary> azienda chiamata</summary>
public string? raazichi { get; set; }
/// <summary> chiamata</summary>
public string? racodchi { get; set; }
/// <summary> esercizio</summary>
public string? racodese { get; set; }
/// <summary> codice giro</summary>
public string? rasergir { get; set; }
/// <summary> intervento giro</summary>
public string? raintgir { get; set; }
/// <summary> numero rapportino</summary>
public int? ranumrap { get; set; }
/// <summary> serie rapportino</summary>
public string? raalfrap { get; set; }
// , , , , , , , , , ,
/// <summary> data rapportino</summary>
public DateTime? radatrap { get; set; }
/// <summary> flag da fatturare</summary>
public string? raflafat { get; set; }
/// <summary> flag fatturabile</summary>
public string? raflfatt { get; set; }
/// <summary> utente fatturabile</summary>
public int? rautefat { get; set; }
/// <summary> data fatturabilità</summary>
public DateTime? radatfat { get; set; }
/// <summary> codice pagamento</summary>
public string? racodpag { get; set; }
/// <summary> azienda tecnico 1</summary>
public string? raazite1 { get; set; }
/// <summary> tecnico 1</summary>
public string? racodte1 { get; set; }
/// <summary> azienda tecnico 2</summary>
public string? raazite2 { get; set; }
/// <summary> tecnico 2</summary>
public string? racodte2 { get; set; }
/// <summary> azienda tecnico 3</summary>
public string? raazite3 { get; set; }
/// <summary> tecnico 3</summary>
public string? racodte3 { get; set; }
/// <summary> tecnici fatturabili</summary>
public int? ranumtec { get; set; }
//11111111111111111111
/// <summary>Ore fatturabili</summary>
[System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(7, 4)")]
public decimal? raorefat { get; set; }
/// <summary>giornate fatturabili</summary>
public int? raggfatt { get; set; }
/// <summary>Importo unitario</summary>
[System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")]
public decimal? raimpuni { get; set; }
/// <summary>servizio assistenza</summary>
public string? raserint { get; set; }
// , , , , , , , , , , , , , , , , ,
/// <summary>Importo totale</summary>
[System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")]
public decimal? raimptot { get; set; }
/// <summary>descrizione</summary>
public string? radescri { get; set; }
/// <summary>Note</summary>
public string? radessup { get; set; }
/// <summary>Servizio dir. fisso</summary>
public string? raserfis { get; set; }
/// <summary>descrizione dir. fisso</summary>
public string? radesfis { get; set; }
/// <summary>Importo dir. fisso</summary>
[System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")]
public decimal? raimpfis { get; set; }
//2222222222222222
/// <summary>Importo dir. fisso</summary>
public int? rakmvia { get; set; }
/// <summary>servizio viaggio</summary>
public string? raservia { get; set; }
/// <summary>descrizione viaggio</summary>
public string? radesvia { get; set; }
/// <summary>Importo viaggio</summary>
[System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")]
public decimal? raimpuvi { get; set; }
/// <summary>Totale viaggio</summary>
[System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")]
public decimal? ratotvia { get; set; }
/// <summary>descrizione meteriale</summary>
public string? radesmat { get; set; }
/// <summary>Note meteriale</summary>
public string? rasupmat { get; set; }
/// <summary>Importo materiali</summary>
[System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")]
public decimal? raimpmat { get; set; }
/// <summary>Descrizione intervento</summary>
public string? radesint { get; set; }
/// <summary>Note intervento</summary>
public string? ranotint { get; set; }
/// <summary>Riferimento cliente</summary>
public string? rarifcli { get; set; }
/// <summary>Listino costi</summary>
public string? ralisrif { get; set; }
//, , , , , , , , , , , , , , , , , ,
/// <summary>centro di costo</summary>
public string? racencos { get; set; }
/// <summary>commessa</summary>
public string? racodcom { get; set; }
/// <summary>Zona analitica</summary>
public string? racodzon { get; set; }
/// <summary>Seriale doc attivo</summary>
public string? raseratt { get; set; }
/// <summary>Seriale doc passivo</summary>
public string? raserpas { get; set; }
/// <summary>Seriale doc passivo</summary>
public DateTime? radatvis { get; set; }
/// <summary>Stato rapportino (Controllato S/N)</summary>
public string? rastato { get; set; }
/// <summary>Tipo intervento (Reperibile S/N)</summary>
public string? ratipint { get; set; }
/// <summary>Modalita fatturazione</summary>
public string? ramodfat { get; set; }
/// <summary>Servizio per fatture a corpo</summary>
public string? rascorp { get; set; }
/// <summary>Listino per fatture a corpo</summary>
public string? ralcorp { get; set; }
//44444444444444444444444444444
/// <summary>Importo servizio a corpo</summary>
[System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")]
public decimal? raimpcor { get; set; }
/// <summary>percentuale ricarico costi materiali</summary>
[System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(6, 2)")]
public decimal? rariclis { get; set; }
/// <summary>descrizione servizio a corpo</summary>
public string? radecor { get; set; }
/// <summary>descrizione suppl servizio a corpo</summary>
public string? radscor { get; set; }
/// <summary>Numerazione automatica</summary>
public string? raflnume { get; set; }
/// <summary>U.M. viaggio</summary>
public string? raumvia { get; set; }
/// <summary>U.M. assistenza</summary>
public string? raumass { get; set; }
//, , , , , , , , , , , , , , , , , ,
/// <summary>flag assegnazione tecnico da blocchetto</summary>
public string? raflbloc { get; set; }
/// <summary>percentuale manodopera</summary>
[System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(6, 2)")]
public decimal? raperman { get; set; }
/// <summary>importo manodopera a corpo</summary>
[System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")]
public decimal? raimpman { get; set; }
/// <summary>importo materiale a corpo</summary>
[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,
/// <summary>Servizio assistenza ore straordinario</summary>
public string? rastrass { get; set; }
/// <summary>Servizio dir. fisso ore straordinario</summary>
public string? rastrfis { get; set; }
/// <summary>Servizio viaggio straordinario</summary>
public string? rastrvia { get; set; }
/// <summary>importo straord assistenza</summary>
[System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")]
public decimal? rastrima { get; set; }
//, , , ,
/// <summary>importo straord viaggio</summary>
[System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")]
public decimal? rastrimv { get; set; }
/// <summary>importo straord dir. fisso</summary>
[System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")]
public decimal? rastrimf { get; set; }
/// <summary>ore fatturabili straordinario</summary>
[System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(7, 4)")]
public decimal? rastrorf { get; set; }
/// <summary>importo totale straord assistenza</summary>
[System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")]
public decimal? rastrimat { get; set; }
/// <summary>importo totale straord viaggio</summary>
[System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")]
public decimal? rastrimvt { get; set; }
/// <summary>Desc assistenza straordinario</summary>
public string? rastrda { get; set; }
//66666666666666
/// <summary>Desc dir. fisso straordinario</summary>
public string? rastrdf { get; set; }
/// <summary>Desc viaggio straordinario</summary>
public string? rastrdv { get; set; }
/// <summary>Servizio assistenza ore notturno</summary>
public string? ranotass { get; set; }
/// <summary>Servizio dir. fisso ore notturno</summary>
public string? ranotfis { get; set; }
/// <summary>Servizio viaggio notturno</summary>
public string? ranotvia { get; set; }
/// <summary>importo notturno assistenza</summary>
[System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")]
public decimal? ranotima { get; set; }
/// <summary>importo notturno viaggio</summary>
[System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")]
public decimal? ranotimv { get; set; }
/// <summary>importo notturno dir.fisso</summary>
[System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")]
public decimal? ranotimf { get; set; }
/// <summary>Ore fatturabili notturno</summary>
[System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(7, 4)")]
public decimal? ranotorf { get; set; }
/// <summary>importo totale notturno assistenza</summary>
[System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")]
public decimal? ranotimat { get; set; }
/// <summary>importo totale notturno viaggio</summary>
[System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")]
public decimal? ranotimvt { get; set; }
// , , , , , , , , , , , , , , , , ,
///77777777
/// <summary>Desc assistenza notturno</summary>
public string? ranotda { get; set; }
/// <summary>Desc dir fisso notturno</summary>
public string? ranotdf { get; set; }
/// <summary>Desc viaggio notturno</summary>
public string? ranotdv { get; set; }
/// <summary>servizio assistenza ore festivo</summary>
public string? rafesass { get; set; }
/// <summary>servizio dir. fisso ore festivo</summary>
public string? rafesfis { get; set; }
/// <summary>servizio viaggio festivo</summary>
public string? rafesvia { get; set; }
/// <summary>importo festivo assistenza</summary>
[System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")]
public decimal? rafesima { get; set; }
/// <summary>importo festivo viaggio</summary>
[System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")]
public decimal? rafesimv { get; set; }
/// <summary>importo festivo dir. fisso</summary>
[System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")]
public decimal? rafesimf { get; set; }
/// <summary>ore fatturabili festivo</summary>
[System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(7, 4)")]
public decimal? rafesorf { get; set; }
/// <summary>importo totale festivo assistenza</summary>
[System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")]
public decimal? rafesimat { get; set; }
/// <summary>importo totale festivo viaggio</summary>
[System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")]
public decimal? rafesimvt { get; set; }
/// <summary>desc assistenza festivo</summary>
public string? rafesda { get; set; }
/// <summary>desc dir fisso festivo</summary>
public string? rafesdf { get; set; }
/// <summary>desc viaggio festivo</summary>
public string? rafesdv { get; set; }
//888888888888888888888
/// <summary>importo unitario viaggio 2</summary>
[System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")]
public decimal? raimpuvi2 { get; set; }
/// <summary>importo totale viaggio 2</summary>
[System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")]
public decimal? ratotvia2 { get; set; }
/// <summary>U.M. viaggio 2</summary>
[System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")]
public decimal? raumvia2 { get; set; }
// , , , , , , , , , , , , , , , , , ,
/// <summary>Km totali viaggio 2</summary>
[System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(6, 2)")]
public decimal? rakmvia2 { get; set; }
/// <summary>codice intervento</summary>
public string? racodinte { get; set; }
/// <summary>Numero ordine</summary>
public string? ranrordi { get; set; }
/// <summary>ore fatturabili starordinario aiutante</summary>
[System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(7, 4)")]
public decimal? rastrorfa { get; set; }
/// <summary>ore fatturabili notturne aiutante</summary>
[System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(7, 4)")]
public decimal? ranotorfa { get; set; }
/// <summary>ore fatturabili festive aiutante</summary>
[System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(7, 4)")]
public decimal? rafesorfa { get; set; }
/// <summary>importo straordinario aiutante</summary>
[System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")]
public decimal? rastrimaa { get; set; }
/// <summary>importo notte aiutante</summary>
[System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")]
public decimal? ranotimaa { get; set; }
/// <summary>importo festivo aiutante</summary>
[System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")]
public decimal? rafesimaa { get; set; }
/// <summary>servizio assistenza straordinario aiutante</summary>
public string? rastrassa { get; set; }
/// <summary>descrizione servizio assistenza aiutante</summary>
public string? rastrdaa { get; set; }
/// <summary>descrizione servizio notte aiutante</summary>
public string? ranotassa { get; set; }
/// <summary>descrizione servizio festivo aiutante</summary>
public string? ranotdaa { get; set; }
/// <summary>servizio festivo aiutante</summary>
public string? rafesassa { get; set; }
/// <summary>descrizione festivo aiutante</summary>
[System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")]
public decimal? rafesdaa { get; set; }
/// <summary>importo ore straordinario aiutante</summary>
[System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")]
public decimal? rastrimata { get; set; }
//99999999999999999999999999999999
// , , , , , , , , , , , , , , , ,
/// <summary>importo ore notturne aiutante</summary>
[System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")]
public decimal? ranotimata { get; set; }
/// <summary>importo ore festive aiutante</summary>
[System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")]
public decimal? rafesimata { get; set; }
/// <summary>periodo</summary>
public string? rperiodo { get; set; }
/// <summary>numero pasti</summary>
public int? ranumpas { get; set; }
/// <summary>importo pasti</summary>
[System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")]
public decimal? raimppas { get; set; }
/// <summary></summary>
[System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 4)")]
public decimal? raimp_od { get; set; }
/// <summary>flag forza ore lavoro</summary>
public string? raflfoor { get; set; }
/// <summary>flag forza impianto</summary>
public string? piforimp { get; set; }
// , , , , , , ,
}
}