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 {
|
||||
@IsNumber()
|
||||
amount: number;
|
||||
@IsNumber()
|
||||
amount: number;
|
||||
|
||||
@IsUUID()
|
||||
correlationId: string;
|
||||
@IsUUID()
|
||||
correlationId: string;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user