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.totalBalance = 0
|
||||
this.memo = ''
|
||||
this.firstTransaction = false
|
||||
}
|
||||
|
||||
@Field(() => String)
|
||||
@ -26,15 +27,6 @@ export class Transaction {
|
||||
@Field(() => Number)
|
||||
totalBalance: number
|
||||
|
||||
@Field({ nullable: true })
|
||||
decayStart?: string
|
||||
|
||||
@Field({ nullable: true })
|
||||
decayEnd?: string
|
||||
|
||||
@Field({ nullable: true })
|
||||
decayDuration?: number
|
||||
|
||||
@Field(() => String)
|
||||
memo: string
|
||||
|
||||
@ -52,4 +44,7 @@ export class Transaction {
|
||||
|
||||
@Field({ nullable: true })
|
||||
decay?: Decay
|
||||
|
||||
@Field(() => Boolean)
|
||||
firstTransaction: boolean
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user