mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 13:02:56 +00:00
Add models for search
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import { EventSearch } from './event-search';
|
||||
|
||||
describe('EventSearch', () => {
|
||||
it('should create an instance', () => {
|
||||
expect(new EventSearch()).toBeTruthy();
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,19 @@
|
||||
export class EventSearch {
|
||||
|
||||
Categories: {
|
||||
Id: number;
|
||||
Name: string;
|
||||
Qtd: 6;
|
||||
}[] = [];
|
||||
|
||||
Documents: {
|
||||
ApplicationType: number;
|
||||
Assunto: string;
|
||||
Data: string;
|
||||
DocTypeDesc: string;
|
||||
EntidadeOrganicaId: number;
|
||||
EntidadeOrganicaNome: string
|
||||
Id: string
|
||||
}[] = [];
|
||||
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
import { SearchCategory } from './search-category';
|
||||
|
||||
describe('SearchCategory', () => {
|
||||
it('should create an instance', () => {
|
||||
expect(new SearchCategory()).toBeTruthy();
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,5 @@
|
||||
export class SearchCategory {
|
||||
Id: number;
|
||||
Name: string;
|
||||
Qtd: 6;
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
import { SearchDocument } from './search-document';
|
||||
|
||||
describe('SearchDocument', () => {
|
||||
it('should create an instance', () => {
|
||||
expect(new SearchDocument()).toBeTruthy();
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,10 @@
|
||||
export class SearchDocument {
|
||||
|
||||
ApplicationType: number;
|
||||
Assunto: string;
|
||||
Data: string;
|
||||
DocTypeDesc: string;
|
||||
EntidadeOrganicaId: number;
|
||||
EntidadeOrganicaNome: string
|
||||
Id: string
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
export class Search {
|
||||
subject: string;
|
||||
date: string;
|
||||
sender: string;
|
||||
organicEntity: string;
|
||||
docTypeId: string;
|
||||
}
|
||||
Reference in New Issue
Block a user