Files
doneit-web/src/app/models/search-document.ts
T
tiago.kayaya db851e95dd save
2021-09-15 13:38:14 +01:00

73 lines
1.4 KiB
TypeScript

export class SearchList {
ApplicationType: number | string;
Assunto: string;
Data: string;
DocTypeDesc: string;
EntidadeOrganicaId: number;
EntidadeOrganicaNome: string;
Id: string;
appName?: string;
ApplicationName: string;
}
export class Attachments {
Id?: number
ParentId?:any
Source: number
SourceId: any
SourceName: any
ApplicationId: number | string
}
// details
export class SearchDocumentDetails {
ApplicationId: number
ApplicationID: number
Assunto: string
DocDate: string
DocId: number
Sender: string
SenderId: number
}
// details
export class SearchFolderDetails {
ApplicationID: number
ApplicationId: number
Assunto:string
DateDispatch: string
DispatchNumber: string
Docs: string
Documents: SearchFolderDetailsDocuments[]
DocumentsTotal: 2
IntervenerList: string[]
Interveners: string
Nature:string
Sender: null | string
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;
}