Commit 6c5d10d5 authored by nanahira's avatar nanahira

fix

parent 6c6e16ef
Pipeline #7330 passed with stages
in 2 minutes and 55 seconds
import { IsInt, IsOptional, IsPositive } from 'class-validator';
import { IsInt, IsPositive } from 'class-validator';
import { SelectQueryBuilder } from 'typeorm';
import { ApiProperty } from '@nestjs/swagger';
import { NotWritable } from '../entities/decorators/transform';
export class PageSettingsDto {
@IsOptional()
@NotWritable()
@IsPositive()
@IsInt()
@ApiProperty({ description: '第 n 页,从 1 开始', required: false })
pageCount: number;
@IsOptional()
@NotWritable()
@IsPositive()
@IsInt()
@ApiProperty({ description: '每页显示的数量', required: false })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment