paperless-ngx/src-ui/src/app/data/paperless-document.ts

43 lines
749 B
TypeScript
Raw Normal View History

2020-10-27 01:10:18 +01:00
import { PaperlessCorrespondent } from './paperless-correspondent'
import { ObjectWithId } from './object-with-id'
import { PaperlessTag } from './paperless-tag'
import { PaperlessDocumentType } from './paperless-document-type'
export class PaperlessDocument extends ObjectWithId {
correspondent?: PaperlessCorrespondent
correspondent_id?: number
document_type?: PaperlessDocumentType
document_type_id?: number
title?: string
content?: string
file_type?: string
tags?: PaperlessTag[]
tags_id?: number[]
checksum?: string
created?: Date
modified?: Date
added?: Date
file_name?: string
download_url?: string
thumbnail_url?: string
archive_serial_number?: number
}