1234567891011121314151617181920212223242526272829303132333435363738 |
- using InABox.Core;
- using System;
- using System.Collections.Generic;
- using System.Text;
- namespace Comal.Classes
- {
- public class DataEntryDocument : Entity, IRemotable, IPersistent, ILicense<DataEntryLicense>
- {
- [EditorSequence(1)]
- public DocumentLink Document { get; set; }
- [EditorSequence(2)]
- public DataEntryTagLink Tag { get; set; }
-
- [EditorSequence(3)]
- public EmployeeLink Employee { get; set; }
-
- [NullEditor]
- public Guid EntityID { get; set; }
-
- [NullEditor]
- public DateTime Archived { get; set; }
- [NullEditor]
- public byte[]? Thumbnail { get; set; }
- protected override void Init()
- {
- base.Init();
-
- Document = new DocumentLink();
- Tag = new DataEntryTagLink();
- Employee = new EmployeeLink(() => this);
- Archived = DateTime.MinValue;
- }
- }
- }
|