using System.ComponentModel.DataAnnotations; namespace ApiPolo.Models { /// Form di registrazione public class Registrazione { /// tipo [Key] public int Id { get; set; } /// Nome public string? Nome { get; set; } /// Cognome public string? Cognome { get; set; } /// Telefono public string? Telefono { get; set; } /// Cellulare public string? Cellulare { get; set; } /// Email public string? Email { get; set; } /// Email di conferma public string? EmailConf { get; set; } /// Azienda public string? Azienda { get; set; } /// Username public string? Username { get; set; } /// Password public string? Passwd { get; set; } /// Città public string? Citta { get; set; } /// Provincia (sigla) public string? Provincia { get; set; } /// Nazione (sigla) public string? Nazione { get; set; } /// Attivato (S/N) public string? Attivato { get; set; } /// Token registrazione public string? Token { get; set; } /// Form registrazione: check 1 public bool privacy1 { get; set; } /// Form registrazione: check 2 public bool privacy2 { get; set; } /// Form registrazione: check 3 public bool privacy3 { get; set; } /// Form registrazione: check 4 public bool privacy4 { get; set; } /// Richiesta del moduulo Timesheet public bool ModuloTimesheet { get; set; } /// Richiesta del moduulo Rapportini public bool ModuloRapportini { get; set; } /// Ragione sociale public string? RagioneSociale { get; set; } } }