You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kubsu-platform-crud-2023/apps/auth/src/user/dto/uuid.dto.ts

10 lines
160 B

import { IsUUID } from "class-validator";
export class UuidDto {
@IsUUID(4)
public uuid: string;
constructor(uuid: string) {
this.uuid = uuid;
}
}