import { IsNumber, IsString } from "class-validator";

export class CommentDto {

    @IsString()
    content: string

    @IsNumber()
    userId: number

    @IsString()
    userName: string

    @IsNumber()
    momentsId: number

    replyUserName?: string

    rootCommentId?: number

    toCommentId?: number

}