mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
15 lines
257 B
TypeScript
15 lines
257 B
TypeScript
import { ObjectType, Field, Int } from 'type-graphql'
|
|
import { Decimal } from 'decimal.js-light'
|
|
|
|
@ObjectType()
|
|
export class OpenCreation {
|
|
@Field(() => Int)
|
|
month: number
|
|
|
|
@Field(() => Int)
|
|
year: number
|
|
|
|
@Field(() => Decimal)
|
|
amount: Decimal
|
|
}
|