22 lines
377 B
TypeScript
22 lines
377 B
TypeScript
import { Type } from "class-transformer";
|
|
import { IsInt, IsOptional, IsString, Max, Min } from "class-validator";
|
|
|
|
export class GetMissionControlAuditLogQueryDto {
|
|
@IsOptional()
|
|
@IsString()
|
|
sessionId?: string;
|
|
|
|
@IsOptional()
|
|
@Type(() => Number)
|
|
@IsInt()
|
|
@Min(1)
|
|
page = 1;
|
|
|
|
@IsOptional()
|
|
@Type(() => Number)
|
|
@IsInt()
|
|
@Min(1)
|
|
@Max(200)
|
|
limit = 50;
|
|
}
|