Refactor CreatePaymentDto for consistent formatting
This commit is contained in:
parent
aa6860f5d6
commit
f7f17a07bd
@ -1,9 +1,9 @@
|
|||||||
import {IsNumber, IsUUID} from "class-validator";
|
import { IsNumber, IsUUID } from 'class-validator';
|
||||||
|
|
||||||
export class CreatePaymentDto {
|
export class CreatePaymentDto {
|
||||||
@IsNumber()
|
@IsNumber()
|
||||||
amount: number;
|
amount: number;
|
||||||
|
|
||||||
@IsUUID()
|
@IsUUID()
|
||||||
correlationId: string;
|
correlationId: string;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user