feat: first commit

This commit is contained in:
2024-10-26 12:10:13 +08:00
parent b244826aa1
commit b064c4cb87
158 changed files with 18888 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
import { IsOptional, Min } from 'class-validator';
import { Type } from 'class-transformer';
export class PaginationDto {
@IsOptional()
@Type(() => Number)
@Min(1)
public readonly page?: number = 1;
@IsOptional()
@Type(() => Number)
public readonly pageSize?: number = 10;
}