Gestito elenco clienti e prospect in lista contatti
This commit is contained in:
60
salesbook.Shared/Core/Dto/ContactDTO.cs
Normal file
60
salesbook.Shared/Core/Dto/ContactDTO.cs
Normal file
@@ -0,0 +1,60 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace salesbook.Shared.Core.Dto;
|
||||
|
||||
public class ContactDTO
|
||||
{
|
||||
[JsonPropertyName("codContact")]
|
||||
public string CodContact { get; set; }
|
||||
|
||||
[JsonPropertyName("isContact")]
|
||||
public bool IsContact { get; set; }
|
||||
|
||||
[JsonPropertyName("codVtip")]
|
||||
public string? CodVtip { get; set; }
|
||||
|
||||
[JsonPropertyName("codVage")]
|
||||
public string? CodVage { get; set; }
|
||||
|
||||
[JsonPropertyName("ragSoc")]
|
||||
public string RagSoc { get; set; }
|
||||
|
||||
[JsonPropertyName("indirizzo")]
|
||||
public string Indirizzo { get; set; }
|
||||
|
||||
[JsonPropertyName("cap")]
|
||||
public string Cap { get; set; }
|
||||
|
||||
[JsonPropertyName("citta")]
|
||||
public string Citta { get; set; }
|
||||
|
||||
[JsonPropertyName("prov")]
|
||||
public string Prov { get; set; }
|
||||
|
||||
[JsonPropertyName("nazione")]
|
||||
public string Nazione { get; set; }
|
||||
|
||||
[JsonPropertyName("telefono")]
|
||||
public string? Telefono { get; set; }
|
||||
|
||||
[JsonPropertyName("fax")]
|
||||
public string Fax { get; set; }
|
||||
|
||||
[JsonPropertyName("partIva")]
|
||||
public string PartIva { get; set; }
|
||||
|
||||
[JsonPropertyName("codFisc")]
|
||||
public string CodFisc { get; set; }
|
||||
|
||||
[JsonPropertyName("note")]
|
||||
public string Note { get; set; }
|
||||
|
||||
[JsonPropertyName("personaRif")]
|
||||
public string PersonaRif { get; set; }
|
||||
|
||||
[JsonPropertyName("eMail")]
|
||||
public string? EMail { get; set; }
|
||||
|
||||
[JsonPropertyName("eMailPec")]
|
||||
public string EMailPec { get; set; }
|
||||
}
|
||||
@@ -2,4 +2,12 @@
|
||||
|
||||
public class FilterUserDTO
|
||||
{
|
||||
public bool ConAgente { get; set; }
|
||||
public bool SenzaAgente { get; set; }
|
||||
public IEnumerable<string>? Agenti { get; set; }
|
||||
|
||||
public string? Indirizzo { get; set; }
|
||||
public string? Citta { get; set; }
|
||||
public string? Nazione { get; set; }
|
||||
public string? Prov { get; set; }
|
||||
}
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
namespace salesbook.Shared.Core.Dto;
|
||||
|
||||
public class UserDTO
|
||||
{
|
||||
public string? CodAnag { get; set; }
|
||||
public string? RagSoc { get; set; }
|
||||
public string? Indirizzo { get; set; }
|
||||
public string? Cap { get; set; }
|
||||
public string? Citta { get; set; }
|
||||
public string? Prov { get; set; }
|
||||
public string? Nazione { get; set; }
|
||||
public string? PartIva { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user