feature: document instance exporting

resolves #154
This commit is contained in:
Gary Sharp
2025-02-14 16:05:23 +11:00
parent d3cef11796
commit 786d4809b5
31 changed files with 2194 additions and 38 deletions
@@ -0,0 +1,23 @@
using Disco.Models.Exporting;
using Disco.Models.Repository;
using System.Collections.Generic;
namespace Disco.Models.Services.Documents
{
public class DocumentExportRecord : IExportRecord
{
public DocumentTemplate DocumentTemplate { get; set; }
public IAttachment Attachment { get; set; }
public IAttachmentTarget AttachmentTarget { get; set; }
public Device Device { get; set; }
public Job Job { get; set; }
public string JobStatus { get; set; }
public string JobTypeDescription { get; set; }
public IEnumerable<string> JobSubTypeDescriptions { get; set; }
public User User { get; set; }
public Dictionary<string, string> UserCustomDetails { get; set; }
}
}