import { IsBoolean, IsEmpty, IsInt, IsNotEmpty, IsNumber, IsString, IsOptional } from "class-validator";
import { IsNull } from "typeorm";

export class createRoomDto
{
	@IsString()
	@IsNotEmpty()
	room_name: string;

	@IsString()
	@IsNotEmpty()
	room_type: 'public' | 'private' | 'direct';

	@IsString()
	@IsOptional()
	room_password: string;
}

