mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
add transaction link id to transaction model
This commit is contained in:
parent
e7554030b8
commit
06d45c1e51
@ -30,6 +30,7 @@ export class Transaction {
|
|||||||
this.creationDate = transaction.creationDate
|
this.creationDate = transaction.creationDate
|
||||||
this.linkedUser = linkedUser
|
this.linkedUser = linkedUser
|
||||||
this.linkedTransactionId = transaction.linkedTransactionId
|
this.linkedTransactionId = transaction.linkedTransactionId
|
||||||
|
this.transactionLinkId = transaction.transactionLinkId
|
||||||
}
|
}
|
||||||
|
|
||||||
@Field(() => Number)
|
@Field(() => Number)
|
||||||
@ -67,4 +68,8 @@ export class Transaction {
|
|||||||
|
|
||||||
@Field(() => Number, { nullable: true })
|
@Field(() => Number, { nullable: true })
|
||||||
linkedTransactionId?: number | null
|
linkedTransactionId?: number | null
|
||||||
|
|
||||||
|
// Links to the TransactionLink when transaction was created by a link
|
||||||
|
@Field(() => Number, { nullable: true })
|
||||||
|
transactionLinkId?: number | null
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user