60 lines
1.3 KiB
C#
60 lines
1.3 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace WebDoorCreator.Data.DTO
|
|
{
|
|
/// <summary>
|
|
/// COmpany data DTO
|
|
/// </summary>
|
|
[Serializable]
|
|
public class CustomerDTO
|
|
{
|
|
public int CompanyId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Codice esterno x riferimento (es ERP)
|
|
/// </summary>
|
|
[MaxLength(250)]
|
|
public string CompanyExtCode { get; set; } = "";
|
|
|
|
/// <summary>
|
|
/// Nome / ragione Sociale
|
|
/// </summary>
|
|
[MaxLength(500)]
|
|
public string CompanyName { get; set; } = "";
|
|
|
|
/// <summary>
|
|
/// indirizzo
|
|
/// </summary>
|
|
[MaxLength(250)]
|
|
public string Address { get; set; } = "";
|
|
|
|
/// <summary>
|
|
/// CAP
|
|
/// </summary>
|
|
public int ZipCode { get; set; } = 0;
|
|
|
|
/// <summary>
|
|
/// Citta
|
|
/// </summary>
|
|
[MaxLength(50)]
|
|
public string City { get; set; } = "";
|
|
|
|
/// <summary>
|
|
/// Stato
|
|
/// </summary>
|
|
[MaxLength(50)]
|
|
public string State { get; set; } = "";
|
|
|
|
/// <summary>
|
|
/// VAT / P.Iva
|
|
/// </summary>
|
|
[MaxLength(50)]
|
|
public string VAT { get; set; } = "";
|
|
}
|
|
}
|