mirror of
https://github.com/vastxie/99AI.git
synced 2026-04-24 11:14:29 +08:00
10 lines
342 B
TypeScript
10 lines
342 B
TypeScript
import { ApiProperty } from '@nestjs/swagger';
|
|
import { ArrayMinSize, IsArray } from 'class-validator';
|
|
|
|
export class BatchDelCramiDto {
|
|
@ApiProperty({ example: 1, description: '要删除的套餐Ids', required: true })
|
|
@IsArray({ message: '参数类型为数组' })
|
|
@ArrayMinSize(1, { message: '最短长度为1' })
|
|
ids: number[];
|
|
}
|