mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Add firstTransaction boolean to Transaction.
This commit is contained in:
parent
27d4623137
commit
8c6aafcedb
@ -15,6 +15,7 @@ export class Transaction {
|
|||||||
this.balance = 0
|
this.balance = 0
|
||||||
this.totalBalance = 0
|
this.totalBalance = 0
|
||||||
this.memo = ''
|
this.memo = ''
|
||||||
|
this.firstTransaction = false
|
||||||
}
|
}
|
||||||
|
|
||||||
@Field(() => String)
|
@Field(() => String)
|
||||||
@ -26,15 +27,6 @@ export class Transaction {
|
|||||||
@Field(() => Number)
|
@Field(() => Number)
|
||||||
totalBalance: number
|
totalBalance: number
|
||||||
|
|
||||||
@Field({ nullable: true })
|
|
||||||
decayStart?: string
|
|
||||||
|
|
||||||
@Field({ nullable: true })
|
|
||||||
decayEnd?: string
|
|
||||||
|
|
||||||
@Field({ nullable: true })
|
|
||||||
decayDuration?: number
|
|
||||||
|
|
||||||
@Field(() => String)
|
@Field(() => String)
|
||||||
memo: string
|
memo: string
|
||||||
|
|
||||||
@ -52,4 +44,7 @@ export class Transaction {
|
|||||||
|
|
||||||
@Field({ nullable: true })
|
@Field({ nullable: true })
|
||||||
decay?: Decay
|
decay?: Decay
|
||||||
|
|
||||||
|
@Field(() => Boolean)
|
||||||
|
firstTransaction: boolean
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user