Files
lcbp3/backend/src/common/auth/dto/login.dto.ts
2025-11-19 16:58:44 +07:00

12 lines
186 B
TypeScript

import { IsNotEmpty, IsString } from 'class-validator';
export class LoginDto {
@IsString()
@IsNotEmpty()
username!: string;
@IsString()
@IsNotEmpty()
password!: string;
}