12 lines
270 B
TypeScript
12 lines
270 B
TypeScript
import { ApiProperty } from '@nestjs/swagger';
|
|
import { IsBoolean, IsString } from 'class-validator';
|
|
|
|
export class RejectJoinRequestOutputDTO {
|
|
@ApiProperty()
|
|
@IsBoolean()
|
|
success!: boolean;
|
|
|
|
@ApiProperty({ required: false })
|
|
@IsString()
|
|
message?: string;
|
|
} |