mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
30 lines
573 B
TypeScript
30 lines
573 B
TypeScript
import { Decimal } from 'decimal.js-light'
|
|
import { ArgsType, Field, Int } from 'type-graphql'
|
|
|
|
@ArgsType()
|
|
export class ContributionLinkArgs {
|
|
@Field(() => Decimal)
|
|
amount: Decimal
|
|
|
|
@Field(() => String)
|
|
name: string
|
|
|
|
@Field(() => String)
|
|
memo: string
|
|
|
|
@Field(() => String)
|
|
cycle: string
|
|
|
|
@Field(() => String, { nullable: true })
|
|
validFrom?: string | null
|
|
|
|
@Field(() => String, { nullable: true })
|
|
validTo?: string | null
|
|
|
|
@Field(() => Decimal, { nullable: true })
|
|
maxAmountPerMonth?: Decimal | null
|
|
|
|
@Field(() => Int)
|
|
maxPerCycle: number
|
|
}
|