mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Args object for create ContributionLink
This commit is contained in:
parent
f7935973ef
commit
0817b54384
30
backend/src/graphql/arg/CreateContributionLinkArgs.ts
Normal file
30
backend/src/graphql/arg/CreateContributionLinkArgs.ts
Normal file
@ -0,0 +1,30 @@
|
||||
import { ArgsType, Field, InputType } from 'type-graphql'
|
||||
import Decimal from 'decimal.js-light'
|
||||
|
||||
@InputType()
|
||||
@ArgsType()
|
||||
export default class CreateContributionLinkArgs {
|
||||
@Field(() => String)
|
||||
startDate: string
|
||||
|
||||
@Field(() => String)
|
||||
endDate: string
|
||||
|
||||
@Field(() => String)
|
||||
name: string
|
||||
|
||||
@Field(() => Decimal)
|
||||
amount: Decimal
|
||||
|
||||
@Field(() => String)
|
||||
memo: string
|
||||
|
||||
@Field(() => String)
|
||||
cycle: string
|
||||
|
||||
@Field(() => Int)
|
||||
repetition: number
|
||||
|
||||
@Field(() => Decimal)
|
||||
maxAmount: Decimal
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user