import { ApiProperty } from '@nestjs/swagger'; export class AuthUpdateUserDto { @ApiProperty({ description: '用户id', type: 'number' }) userId: number; @ApiProperty({ description: '密码', type: 'string' }) password: string; }