Form persone di riferimento e clienti
This commit is contained in:
18
salesbook.Shared/Core/Dto/CRMCreateContactRequestDTO.cs
Normal file
18
salesbook.Shared/Core/Dto/CRMCreateContactRequestDTO.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace salesbook.Shared.Core.Dto;
|
||||
|
||||
public class CRMCreateContactRequestDTO
|
||||
{
|
||||
[JsonPropertyName("codVdes")]
|
||||
public string? CodVdes { get; set; }
|
||||
|
||||
[JsonPropertyName("tipoAnag")]
|
||||
public string TipoAnag { get; set; }
|
||||
|
||||
[JsonPropertyName("cliente")]
|
||||
public ContactDTO Cliente { get; set; }
|
||||
|
||||
[JsonPropertyName("persRif")]
|
||||
public List<PersRifDTO>? PersRif { get; set; }
|
||||
}
|
||||
@@ -28,6 +28,9 @@ public class PersRifDTO
|
||||
[JsonPropertyName("telefono")]
|
||||
public string Telefono { get; set; }
|
||||
|
||||
[JsonIgnore]
|
||||
public int TempId { get; set; }
|
||||
|
||||
public PersRifDTO Clone()
|
||||
{
|
||||
return (PersRifDTO)MemberwiseClone();
|
||||
|
||||
@@ -13,4 +13,7 @@ public class SettingsResponseDTO
|
||||
|
||||
[JsonPropertyName("stbUsers")]
|
||||
public List<StbUser>? StbUsers { get; set; }
|
||||
|
||||
[JsonPropertyName("vtbTipi")]
|
||||
public List<VtbTipi>? VtbTipi { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user