using System.ComponentModel.DataAnnotations; using System.Xml.Linq; namespace VirtualTask.Models { public class Anag { [Display(Name = "TIPO")] /// tipo (chiave) public string? antipcon { get; set; } [Display(Name = "CODICE")] /// codice (chiave) public string? ancodice { get; set; } [Display(Name = "AZIENDA")] /// aziewnda (chiave) public string? ancodazi { get; set; } [Display(Name = "EMAIL")] /// email public string? an_email { get; set; } [Display(Name = "CODICE FISCALE")] /// codice fiscale public string? ancodfis { get; set; } [Display(Name = "PARTITA IVA")] /// partita iva public string? anpariva { get; set; } [Display(Name = "INDIRIZZO")] /// indirizzo public string? anindiri { get; set; } [Display(Name = "TELEFONO")] /// telefono public string? antelefo { get; set; } [Display(Name = "CELLULARE")] /// cellulare public string? annumcel { get; set; } [Display(Name = "PEC")] /// pec public string? an_empec { get; set; } [Display(Name = "RAGIONE SOCIALE"), Required(ErrorMessage = "Ragione sociale obbligatoria")] /// descrizione public string? andescri { get; set; } [Display(Name = "CODICE LISTINO")] /// listino cliente public string? annumlis { get; set; } [Display(Name = "DATA CANCELLAZIONE")] /// cliente eliminato public DateTime? andtobso { get; set; } } }