Initial commit of the Mado Motor NestJS API.
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import { RepresentationStatus } from '@prisma/client';
|
||||
import { IsEnum, IsOptional } from 'class-validator';
|
||||
|
||||
export class ListRepresentationsQueryDto {
|
||||
@IsOptional()
|
||||
@IsEnum(RepresentationStatus)
|
||||
status?: RepresentationStatus;
|
||||
}
|
||||
Reference in New Issue
Block a user