import { IsNotEmpty, IsString } from 'class-validator';

/**
 * Payload accepted by `POST /auth/login`.
 */
export class LoginDto {
  @IsString()
  @IsNotEmpty()
  username!: string;

  @IsString()
  @IsNotEmpty()
  password!: string;
}
