12 lines
224 B
TypeScript
12 lines
224 B
TypeScript
import { ApiProperty } from '@nestjs/swagger';
|
|
|
|
import type { Money } from './money.types';
|
|
|
|
export class MoneyDto implements Money {
|
|
@ApiProperty()
|
|
declare currency: string;
|
|
|
|
@ApiProperty()
|
|
declare value: string;
|
|
}
|