import { IsNotEmpty, IsString, MinLength } from "class-validator";

export class RegisterUserDto {
  @IsNotEmpty()
  @IsString()
  username!: string;

  @MinLength(8)
  @IsString()
  password!: string;
}
