123456789101112131415161718192021222324252627282930313233343536 |
- using InABox.Core;
- using System;
- using System.Collections.Generic;
- using System.Text;
- namespace Comal.Classes
- {
- public class Scan : Entity, IRemotable, IPersistent, ILicense<DocumentScannerLicense>
- {
- [EditorSequence(1)]
- public DocumentLink Document { get; set; }
- [EditorSequence(2)]
- public ScanTagLink Tag { get; set; }
-
- [EditorSequence(3)]
- public EmployeeLink Employee { get; set; }
-
- [CheckBoxEditor]
- [EditorSequence(4)]
- public bool Processed { get; set; }
- [NullEditor]
- public byte[]? Thumbnail { get; set; }
- protected override void Init()
- {
- base.Init();
-
- Document = new DocumentLink();
- Tag = new ScanTagLink();
- Employee = new EmployeeLink(() => this);
- Processed = false;
- }
- }
- }
|