Data dictionary. Source: Document* / SmartText / Signatory entities (TenantDb), DocumentModel.cs.
| Term | Definition | Key fields |
|---|---|---|
| DocumentTemplate | A reusable document. | DocumentTemplateTypeId, Description, Alias, Contents, DocumentTemplateStatusId, SignaturePersonId, Signature, SignatureDate, IsDefault, IsForNewEmployees, IsForExistingEmployees, IsSignatureRequired, ReviewDate, Url |
| DocumentTemplateType | The kind of template. | Offer / Employee document / Company document |
| DocumentTemplateStatus | Where the template is in its lifecycle. | In progress / Completed / Approved / Declined |
| EmployeeDocument | A template issued to a person. | PersonId, DocumentTemplateId, Signature, ActionDate |
| SmartText | A merge field, context-tagged. | Alias, Description, IsForOffer, IsForRequest, IsForOnboardingNote, IsForAnniversary, IsForHiring |
| Signatory | A person authorised to sign for the company. | PersonId, IsPrimary, CompanyId |
| DocumentPolicy | A policy document + items. | Description, Alias, Contents, IsEmployeeEnabled, PolicyTypeId, DocumentPolicyItems |
| Views | Read models | ViewDocumentTemplate, ViewEmployeeDocument, ViewSignatory, ViewDocumentPolicyItem |
DocumentTemplateTypeParams)| Const | Value | Int | Origin |
|---|---|---|---|
OFFER |
Offer | 1 | Admin (powers Hiring) |
EMPLOYEE_DOCUMENT |
Employee document | 2 | Admin |
COMPANY_DOCUMENT |
Company document | 3 | PaidHR (inbound) |
DocumentTemplateStatuParams)| Const | Value | Int |
|---|---|---|
IN_PROGRESS |
In progress | 1 |
COMPLETED |
Completed | 2 |
APPROVED |
Approved | 3 |
DECLINED |
Declined | 4 |
| Term | Definition |
|---|---|
| Smart text | Merge fields that resolve per recipient; tagged by context. |
| Sign | Employee completion capturing a signature • date (IsSignatureRequired = true). |
| Acknowledge | Employee completion capturing date only (read-and-understood). |
| Signatory | Company-side signer; one is primary. |
| Company counter-signature | The company's signature on a template (DocumentTemplate.Signature, via SignaturePersonId). |
| Assign / Recall | Issue a template to people / withdraw the assignment. |
| Audience | IsForNewEmployees / IsForExistingEmployees / IsDefault. |
| Document policy | Defined documentation expectations; optionally employee-visible. |
| Document request | An employee's request for a document; runs on the Requests engine. |
| Field | Whose | Where |
|---|---|---|
DocumentTemplate.Signature (+ SignaturePersonId, SignatureDate) |
The company (a Signatory) | On the template |
EmployeeDocument.Signature (+ ActionDate) |
The employee | On their issued copy |
| Component | Owns |
|---|---|
DocumentService (1,218) |
Core CRUD, smart text, signatories, employee docs |
AdminDocumentsService (317) |
Admin orchestration |
Employee/DocumentsService (106) |
Sign, Acknowledge |
Admin/Documents (15 endpoints) |
Add, Assign, Recall, Approve, Decline, Rename, Delete/Remove/Restore, … |
Employee/Documents (4) |
Select, Sign, Acknowledge, Get |
can_view_documents_and_offer_templates · can_create_offer_templates · can_update_offer_templates · can_delete_offer_templates · can_create_document_policies · can_create_document_requests
| Screen | Route |
|---|---|
| Documents (Employee / Company tabs) | /dashboard/documents |
| Create | /dashboard/documents/new |
| Employee self-service | employee-dashboard/documents/{DocumentSign, DocumentAcknowledge} |