localhost_oa_based/src/modules/tools/storage/storage.modal.ts

28 lines
584 B
TypeScript
Raw Normal View History

2024-02-28 08:32:35 +08:00
import { ApiProperty } from '@nestjs/swagger'
export class StorageInfo {
@ApiProperty({ description: '文件ID' })
id: number
@ApiProperty({ description: '文件名' })
name: string
@ApiProperty({ description: '文件扩展名' })
extName: string
@ApiProperty({ description: '文件路径' })
path: string
@ApiProperty({ description: '文件类型' })
type: string
@ApiProperty({ description: '大小' })
size: string
@ApiProperty({ description: '上传时间' })
createdAt: string
@ApiProperty({ description: '上传者' })
username: string
}