implementação do logger
This commit is contained in:
9
src/data-consult/dto/billing.dto.ts
Normal file
9
src/data-consult/dto/billing.dto.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { ApiProperty } from '@nestjs/swagger';
|
||||
|
||||
export class BillingDto {
|
||||
@ApiProperty({ description: 'Identificador do faturamento' })
|
||||
id: string;
|
||||
|
||||
@ApiProperty({ description: 'Descrição do faturamento' })
|
||||
description: string;
|
||||
}
|
||||
9
src/data-consult/dto/customer.dto.ts
Normal file
9
src/data-consult/dto/customer.dto.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { ApiProperty } from '@nestjs/swagger';
|
||||
|
||||
export class CustomerDto {
|
||||
@ApiProperty({ description: 'Identificador do cliente' })
|
||||
id: string;
|
||||
|
||||
@ApiProperty({ description: 'Nome e identificação do cliente' })
|
||||
name: string;
|
||||
}
|
||||
9
src/data-consult/dto/product.dto.ts
Normal file
9
src/data-consult/dto/product.dto.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { ApiProperty } from '@nestjs/swagger';
|
||||
|
||||
export class ProductDto {
|
||||
@ApiProperty({ description: 'Identificador do produto' })
|
||||
id: string;
|
||||
|
||||
@ApiProperty({ description: 'Descrição do produto' })
|
||||
description: string;
|
||||
}
|
||||
9
src/data-consult/dto/seller.dto.ts
Normal file
9
src/data-consult/dto/seller.dto.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { ApiProperty } from '@nestjs/swagger';
|
||||
|
||||
export class SellerDto {
|
||||
@ApiProperty({ description: 'Identificador do vendedor' })
|
||||
id: string;
|
||||
|
||||
@ApiProperty({ description: 'Nome do vendedor' })
|
||||
name: string;
|
||||
}
|
||||
12
src/data-consult/dto/store.dto.ts
Normal file
12
src/data-consult/dto/store.dto.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { ApiProperty } from '@nestjs/swagger';
|
||||
|
||||
export class StoreDto {
|
||||
@ApiProperty({ description: 'Identificador da loja' })
|
||||
id: string;
|
||||
|
||||
@ApiProperty({ description: 'Nome da loja' })
|
||||
name: string;
|
||||
|
||||
@ApiProperty({ description: 'Representação da loja (código e fantasia)' })
|
||||
store: string;
|
||||
}
|
||||
Reference in New Issue
Block a user