Skip to content

Commit

Permalink
Создание DTO для работы с документами и пагинацией
Browse files Browse the repository at this point in the history
  • Loading branch information
greenDev7 committed Aug 14, 2022
1 parent c31bdbd commit 835b101
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/documents/dto/create-document.dto.ts
@@ -0,0 +1,7 @@
export class CreateDocumentDto {
id: Number;
cipher: String;
createdOn: Date;
inArchive: Boolean;
}

7 changes: 7 additions & 0 deletions src/documents/dto/paging-document.dto.ts
@@ -0,0 +1,7 @@
import { CreateDocumentDto } from './create-document.dto';

export class PagingDocumentDto extends CreateDocumentDto {
paging: {};
sorting: {};
filtering: {};
}

0 comments on commit 835b101

Please sign in to comment.