Gestiti allegati da galleria e fotocamera e aggiunto sentry

This commit is contained in:
2026-02-17 10:23:46 +01:00
parent c1a133c61e
commit 544c9e8237
13 changed files with 220 additions and 76 deletions

View File

@@ -0,0 +1,23 @@
namespace SteUp.Shared.Core.Dto;
public class AttachedDto
{
public string? Name { get; set; }
public string? Description { get; set; }
public string? MimeType { get; set; }
public long? DimensionBytes { get; set; }
public string? Path { get; set; }
public byte[]? FileBytes { get; set; }
public Stream? FileContent =>
FileBytes is null ? null : new MemoryStream(FileBytes);
public TypeAttached Type { get; set; }
public enum TypeAttached
{
Image
}
}