first
This commit is contained in:
27
src/orders/dto/emitente.dto.ts
Normal file
27
src/orders/dto/emitente.dto.ts
Normal file
@@ -0,0 +1,27 @@
|
||||
import { ApiProperty } from '@nestjs/swagger';
|
||||
|
||||
/**
|
||||
* DTO para dados do emitente da nota fiscal
|
||||
*/
|
||||
export class EmitenteDto {
|
||||
@ApiProperty({
|
||||
description: 'Código do emitente da nota fiscal',
|
||||
example: 32,
|
||||
nullable: true,
|
||||
})
|
||||
codEmitente: number | null;
|
||||
|
||||
@ApiProperty({
|
||||
description: 'Matrícula do funcionário emitente',
|
||||
example: 32,
|
||||
nullable: true,
|
||||
})
|
||||
emitenteMatricula: number | null;
|
||||
|
||||
@ApiProperty({
|
||||
description: 'Nome do funcionário emitente',
|
||||
example: 'João Silva',
|
||||
nullable: true,
|
||||
})
|
||||
emitenteNome: string | null;
|
||||
}
|
||||
Reference in New Issue
Block a user