mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
yarn lint --fix
This commit is contained in:
parent
510ee8a8df
commit
c5ea5a8b40
@ -7,9 +7,11 @@ export class Transaction extends BaseEntity {
|
||||
userId(userId: any) {
|
||||
throw new Error('Method not implemented.')
|
||||
}
|
||||
|
||||
amount(amount: any): number {
|
||||
throw new Error('Method not implemented.')
|
||||
}
|
||||
|
||||
// TODO the id is defined as bigint(20) - there might be problems with that: https://github.com/typeorm/typeorm/issues/2400
|
||||
@PrimaryGeneratedColumn('increment', { unsigned: true })
|
||||
id: number
|
||||
@ -37,6 +39,7 @@ export class Transaction extends BaseEntity {
|
||||
|
||||
@OneToOne(() => TransactionCreation, (transactionCreation) => transactionCreation.transaction)
|
||||
transactionCreation: TransactionCreation
|
||||
|
||||
sendReceiverUserId: number
|
||||
sendReceiverPublicKey: Buffer
|
||||
sendSenderFinalBalance: bigint
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user