using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//
// This is here so CodeMaid doesn't reorganize this document
//
namespace WebDoorCreator.Data.DbModels
{
///
/// Tabella dati Company
///
[Table("Company")]
public class CompanyModel
{
[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int CompanyId { get; set; }
///
/// Codice esterno x riferimento (es ERP)
///
[MaxLength(250)]
public string CompanyExtCode { get; set; } = "";
///
/// Nome / ragione Sociale
///
[MaxLength(500)]
public string CompanyName { get; set; } = "";
///
/// indirizzo
///
[MaxLength(250)]
public string Address { get; set; } = "";
///
/// CAP
///
public int ZipCode { get; set; } = 0;
///
/// Citta
///
[MaxLength(50)]
public string City { get; set; } = "";
///
/// Stato
///
[MaxLength(50)]
public string State { get; set; } = "";
///
/// VAT / P.Iva
///
[MaxLength(50)]
public string VAT { get; set; } = "";
///
/// Note private
///
[MaxLength(500)]
public string PrivateNote { get; set; } = "";
///
/// Codice GUID x collegare utente
///
[MaxLength(150)]
public string CompanyToken { get; set; } = "";
}
}