Completata gestione allegati e riepilogo commessa
This commit is contained in:
@@ -8,8 +8,12 @@ public class AttachedDTO
|
||||
public string? MimeType { get; set; }
|
||||
public long? DimensionBytes { get; set; }
|
||||
public string? Path { get; set; }
|
||||
public byte[]? FileContent { get; set; }
|
||||
|
||||
|
||||
public byte[]? FileBytes { get; set; }
|
||||
|
||||
public Stream? FileContent =>
|
||||
FileBytes is null ? null : new MemoryStream(FileBytes);
|
||||
|
||||
public double? Lat { get; set; }
|
||||
public double? Lng { get; set; }
|
||||
|
||||
|
||||
27
salesbook.Shared/Core/Dto/CRMAttachedResponseDTO.cs
Normal file
27
salesbook.Shared/Core/Dto/CRMAttachedResponseDTO.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace salesbook.Shared.Core.Dto;
|
||||
|
||||
public class CRMAttachedResponseDTO
|
||||
{
|
||||
[JsonPropertyName("fileName")]
|
||||
public string FileName { get; set; }
|
||||
|
||||
[JsonPropertyName("description")]
|
||||
public string? Description { get; set; }
|
||||
|
||||
[JsonPropertyName("dateAttached")]
|
||||
public DateTime DateAttached { get; set; }
|
||||
|
||||
[JsonPropertyName("fileSize")]
|
||||
public decimal FileSize { get; set; }
|
||||
|
||||
[JsonPropertyName("refUuid")]
|
||||
public string RefUuid { get; set; }
|
||||
|
||||
[JsonPropertyName("refAttached")]
|
||||
public string RefAttached { get; set; }
|
||||
|
||||
[JsonPropertyName("activity")]
|
||||
public bool IsActivity { get; set; }
|
||||
}
|
||||
13
salesbook.Shared/Core/Dto/CRMRetrieveActivityRequestDTO.cs
Normal file
13
salesbook.Shared/Core/Dto/CRMRetrieveActivityRequestDTO.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using Java.Time;
|
||||
|
||||
namespace salesbook.Shared.Core.Dto;
|
||||
|
||||
public class CRMRetrieveActivityRequestDTO
|
||||
{
|
||||
[JsonPropertyName("dateFilter")]
|
||||
public string? DateFilter { get; set; }
|
||||
|
||||
[JsonPropertyName("codJcom")]
|
||||
public string? CodJcom { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user