initial commit

This commit is contained in:
2026-06-09 14:07:37 +03:30
parent 30ac533800
commit 996a4fcda7
121 changed files with 20557 additions and 3 deletions

15
src/auth/dto/login.dto.ts Normal file
View File

@@ -0,0 +1,15 @@
import { ApiProperty } from '@nestjs/swagger';
import { IsNotEmpty, IsString, MinLength } from 'class-validator';
export class LoginDto {
@ApiProperty({ example: 'admin' })
@IsString()
@IsNotEmpty()
username!: string;
@ApiProperty({ example: 'SecureP@ssw0rd' })
@IsString()
@IsNotEmpty()
@MinLength(8)
password!: string;
}