using System.ComponentModel.DataAnnotations; namespace VirtualTask.Models { public class Timbratura { [Display(Name = "Id")] /// chiave primaria public int id { get; set; } [Display(Name = "Data timbratura")] /// data public DateTime? data_timbratura { get; set; } [Display(Name = "Ora inzio")] /// ora inizio public int ora_ini { get; set; } [Display(Name = "Minuti inizio")] /// minuto inizio public int min_ini { get; set; } [Display(Name = "Ora fine")] /// ora fine public int ora_fin { get; set; } [Display(Name = "Minuti fine")] /// minuto fine public int min_fin { get; set; } [Display(Name = "Commessa")] /// commessa public string? commessa { get; set; } [Display(Name = "Ore viaggio")] /// ore viaggio [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(7, 2)")] public decimal? ore_viaggio { get; set; } [Display(Name = "Totale ore")] /// totale ore [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(7, 2)")] public decimal? tot_ore { get; set; } [Display(Name = "Giorno sett.")] /// giorno settimana public int? giorno { get; set; } [Display(Name = "Azienda")] /// azienda public string? azienda { get; set; } [Display(Name = "Tecnico")] /// tecnico public string? tecnico { get; set; } /// cpccchk public string? cpccchk { get; set; } [Display(Name = "Note")] /// note public string? note { get; set; } } }