Skip to main content

InterfaceFund

talawa-apiDocs


talawa-api / models/Fund / InterfaceFund

Interface: InterfaceFund

This is an interface representing a document for a fund in the database (MongoDB). This interface defines the structure and types of data that a fund document will hold.

Properties

_id

> _id: ObjectId

Defined in

src/models/Fund.ts:11


campaigns

> campaigns: PopulatedDoc<InterfaceFundraisingCampaign & Document>[]

Defined in

src/models/Fund.ts:19


createdAt

> createdAt: Date

Defined in

src/models/Fund.ts:20


creatorId

> creatorId: PopulatedDoc<InterfaceUser & Document>

Defined in

src/models/Fund.ts:18


isArchived

> isArchived: boolean

Defined in

src/models/Fund.ts:17


isDefault

> isDefault: boolean

Defined in

src/models/Fund.ts:16


name

> name: string

Defined in

src/models/Fund.ts:13


organizationId

> organizationId: ObjectId

Defined in

src/models/Fund.ts:12


refrenceNumber

> refrenceNumber: string

Defined in

src/models/Fund.ts:14


taxDeductible

> taxDeductible: boolean

Defined in

src/models/Fund.ts:15


updatedAt

> updatedAt: Date

Defined in

src/models/Fund.ts:21