Skip to content
Snippets Groups Projects
Commit 46b79247 authored by Lukáš Kratochvíl's avatar Lukáš Kratochvíl
Browse files

feat: added category entity (response schema) Swagger docs

parent 88fcc81b
No related branches found
No related tags found
No related merge requests found
import { ApiHideProperty } from '@nestjs/swagger';
import { Category } from '@prisma/client'; import { Category } from '@prisma/client';
export class CategoryEntity implements Category { export class CategoryEntity implements Category {
id: string; id: string;
@ApiHideProperty()
createdAt: Date; createdAt: Date;
@ApiHideProperty()
updatedAt: Date; updatedAt: Date;
@ApiHideProperty()
deletedAt: Date; deletedAt: Date;
name: string; name: string;
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment