refactor: atualizações e remoção de módulos não utilizados
This commit is contained in:
@@ -14,4 +14,4 @@ export class CreateInvoiceDto {
|
||||
required: true,
|
||||
})
|
||||
userId: number;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@ export class CreatePaymentDto {
|
||||
|
||||
@ApiProperty({
|
||||
description: 'Valor do pagamento',
|
||||
example: 1000.00,
|
||||
example: 1000.0,
|
||||
required: true,
|
||||
})
|
||||
amount: number;
|
||||
@@ -63,4 +63,4 @@ export class CreatePaymentDto {
|
||||
required: true,
|
||||
})
|
||||
userId: number;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -69,7 +69,7 @@ export class OrderDto {
|
||||
|
||||
@ApiProperty({
|
||||
description: 'Valor total do pedido',
|
||||
example: 1000.00,
|
||||
example: 1000.0,
|
||||
})
|
||||
amount: number;
|
||||
|
||||
@@ -81,11 +81,11 @@ export class OrderDto {
|
||||
|
||||
@ApiProperty({
|
||||
description: 'Valor total pago',
|
||||
example: 1000.00,
|
||||
example: 1000.0,
|
||||
})
|
||||
amountPaid: number;
|
||||
|
||||
|
||||
constructor(partial: Partial<OrderDto>) {
|
||||
Object.assign(this, partial);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -39,7 +39,7 @@ export class PaymentDto {
|
||||
|
||||
@ApiProperty({
|
||||
description: 'Valor do pagamento',
|
||||
example: 1000.00,
|
||||
example: 1000.0,
|
||||
})
|
||||
amount: number;
|
||||
|
||||
@@ -64,4 +64,4 @@ export class PaymentDto {
|
||||
constructor(partial: Partial<PaymentDto>) {
|
||||
Object.assign(this, partial);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user