Skip to main content

talawa-api / Exports / models/Donation / InterfaceDonation

Interface: InterfaceDonation

models/Donation.InterfaceDonation

This is an interface representing a document for a donation in the database(MongoDB).

Table of contents

Properties

Properties

amount

amount: number

Defined in

src/models/Donation.ts:13


createdAt

createdAt: Date

Defined in

src/models/Donation.ts:14


nameOfOrg

nameOfOrg: string

Defined in

src/models/Donation.ts:10


nameOfUser

nameOfUser: string

Defined in

src/models/Donation.ts:12


orgId

orgId: string | ObjectId

Defined in

src/models/Donation.ts:9


payPalId

payPalId: string

Defined in

src/models/Donation.ts:11


updatedAt

updatedAt: Date

Defined in

src/models/Donation.ts:15


userId

userId: string | ObjectId

Defined in

src/models/Donation.ts:8