mirror of https://github.com/ghostfolio/ghostfolio
3 changed files with 17 additions and 4 deletions
@ -0,0 +1,9 @@ |
|||||
|
import { IsISO8601, IsNumber } from 'class-validator'; |
||||
|
|
||||
|
export class MarketDataDto { |
||||
|
@IsISO8601() |
||||
|
date: string; |
||||
|
|
||||
|
@IsNumber() |
||||
|
marketPrice: number; |
||||
|
} |
||||
Loading…
Reference in new issue