22 lines
443 B
TypeScript
22 lines
443 B
TypeScript
import { ApiProperty } from '@nestjs/swagger'
|
|
|
|
export class AccountInfo {
|
|
@ApiProperty({ description: '用户名' })
|
|
username: string
|
|
|
|
@ApiProperty({ description: '昵称' })
|
|
nickname: string
|
|
|
|
@ApiProperty({ description: '邮箱' })
|
|
email: string
|
|
|
|
@ApiProperty({ description: '手机号' })
|
|
phone: string
|
|
|
|
@ApiProperty({ description: '备注' })
|
|
remark: string
|
|
|
|
@ApiProperty({ description: '头像' })
|
|
avatar: string
|
|
}
|