import { ApiProperty } from '@nestjs/swagger'; export class AuthLoginDto { @ApiProperty({ description: '用户名', type: 'string' }) username: string; @ApiProperty({ description: '密码', type: 'string' }) password: string; }