This commit is contained in:
Peter Maquiran
2021-08-20 12:02:27 +01:00
parent edb1a5c9d9
commit 375eeda2ca
31 changed files with 258 additions and 166 deletions
+28 -11
View File
@@ -1,4 +1,4 @@
export class SearchDocument {
export class SearchList {
ApplicationType: number | string;
Assunto: string;
Data: string;
@@ -7,6 +7,7 @@ export class SearchDocument {
EntidadeOrganicaNome: string;
Id: string;
appName?: string;
ApplicationName: string;
}
export class Attachments {
@@ -18,7 +19,7 @@ export class Attachments {
}
// details
export class FromSearchDocument {
export class SearchDocumentDetails {
ApplicationId: number
ApplicationID: number
Assunto: string
@@ -28,21 +29,17 @@ export class FromSearchDocument {
SenderId: number
}
// details
export class SearchFolder {
export class SearchFolderDetails {
ApplicationID: number
ApplicationId: number
Assunto:string
DateDispatch: string
DispatchNumber: string
Docs: string
Documents: {
Assunto: string
DocDate: string
DocId: number
DocNumber: string
Sender: string
}[]
Documents: SearchFolderDetailsDocuments[]
DocumentsTotal: 2
IntervenerList: string[]
Interveners: string
@@ -51,4 +48,24 @@ export class SearchFolder {
SenderId: null | string
Status: string
folderId: number
}
}
export class SearchFolderDetailsDocuments {
Assunto: string
DocDate: string
DocId: number
DocNumber: string
Sender: string
}
export interface SearchCategory {
SecFsId?: any;
Id: number;
Name: string;
Qtd: number;
}
export interface searchResult {
Categories: SearchCategory[];
Documents: SearchList[];
Total: number;
}