Pdf Import Rewrite
Pdf Import rewritten to greatly improve QR Code detection, reduce reliance on iTextSharp and improve thumbnails. Fixes #50
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
namespace Disco.Models.Repository
|
||||
{
|
||||
public enum AttachmentTypes
|
||||
{
|
||||
Device,
|
||||
Job,
|
||||
User
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
using System;
|
||||
|
||||
namespace Disco.Models.Repository
|
||||
{
|
||||
public interface IAttachment
|
||||
{
|
||||
int Id { get; set; }
|
||||
|
||||
object Reference { get; }
|
||||
|
||||
string TechUserId { get; set; }
|
||||
|
||||
string Filename { get; set; }
|
||||
string MimeType { get; set; }
|
||||
|
||||
DateTime Timestamp { get; set; }
|
||||
|
||||
string Comments { get; set; }
|
||||
|
||||
string DocumentTemplateId { get; set; }
|
||||
|
||||
AttachmentTypes AttachmentType { get; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
namespace Disco.Models.Repository
|
||||
{
|
||||
public interface IAttachmentTarget
|
||||
{
|
||||
string AttachmentReferenceId { get; }
|
||||
|
||||
AttachmentTypes HasAttachmentType { get; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user