import { ApiProperty } from '@nestjs/swagger'; export class CashDto { @ApiProperty({ description: 'ID', type: String, }) id: string; @ApiProperty({ description: 'Название', example: 'Наличные', type: String, }) name: string; @ApiProperty({ description: 'Баланс', example: 10_000.00, type: Number, }) balance: number; @ApiProperty({ description: 'Дата создания', type: Date, }) createdAt: Date; @ApiProperty({ description: 'Дата обновления', type: Date, }) updatedAt: Date; }