feat: add archiveBox and archiveFolder fields to Document

Maps cols 1 (Box) and 2 (Mappe) from the ODS to the Document entity.
These are physical archival location identifiers needed to locate
original documents in the physical archive.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Marcel
2026-03-15 20:44:09 +01:00
parent fa60c5be90
commit a6acc11fc0
2 changed files with 9 additions and 0 deletions

View File

@@ -55,6 +55,13 @@ public class Document {
@Column(name = "meta_document_location")
private String documentLocation;
// Physischer Archivstandort (aus ODS-Import)
@Column(name = "archive_box")
private String archiveBox;
@Column(name = "archive_folder")
private String archiveFolder;
@Column(columnDefinition = "TEXT")
private String transcription;

View File

@@ -0,0 +1,2 @@
ALTER TABLE documents ADD COLUMN archive_box VARCHAR(255);
ALTER TABLE documents ADD COLUMN archive_folder VARCHAR(255);