mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
36 lines
553 B
TypeScript
36 lines
553 B
TypeScript
import { ObjectType, Field, Int } from 'type-graphql'
|
|
import Decimal from 'decimal.js-light'
|
|
|
|
@ObjectType()
|
|
export class PendingCreation {
|
|
@Field(() => String)
|
|
firstName: string
|
|
|
|
@Field(() => Int)
|
|
id?: number
|
|
|
|
@Field(() => String)
|
|
lastName: string
|
|
|
|
@Field(() => Number)
|
|
userId: number
|
|
|
|
@Field(() => String)
|
|
email: string
|
|
|
|
@Field(() => Date)
|
|
date: Date
|
|
|
|
@Field(() => String)
|
|
memo: string
|
|
|
|
@Field(() => Decimal)
|
|
amount: Decimal
|
|
|
|
@Field(() => Number)
|
|
moderator: number
|
|
|
|
@Field(() => [Decimal])
|
|
creation: Decimal[]
|
|
}
|