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