mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Add confirmedBy and confirmedAt for the contribution query.
This commit is contained in:
parent
8c6ec08e88
commit
fdea5f68ef
@ -13,6 +13,8 @@ export class Contribution {
|
||||
this.memo = contribution.memo
|
||||
this.createdAt = contribution.createdAt
|
||||
this.deletedAt = contribution.deletedAt
|
||||
this.confirmedAt = contribution.confirmedAt
|
||||
this.confirmedBy = contribution.confirmedBy
|
||||
}
|
||||
|
||||
@Field(() => Number)
|
||||
@ -35,6 +37,12 @@ export class Contribution {
|
||||
|
||||
@Field(() => Date, { nullable: true })
|
||||
deletedAt: Date | null
|
||||
|
||||
@Field(() => Date, { nullable: true })
|
||||
confirmedAt: Date | null
|
||||
|
||||
@Field(() => Number, { nullable: true })
|
||||
confirmedBy: number | null
|
||||
}
|
||||
|
||||
@ObjectType()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user