Skip to main content

talawa-api / Exports / models/FundraisingCampaign / InterfaceFundraisingCampaign

Interface: InterfaceFundraisingCampaign

models/FundraisingCampaign.InterfaceFundraisingCampaign

This is the structure of a file

Param

parent fund to which campaign belongs

Param

Name of the campaign

Param

Start date of the campaign

Param

End date of the campaign

Param

Goal of the campaign

Param

Currency of the campaign

Param

Timestamp of creation

Param

Timestamp of updation

Table of contents

Properties

Properties

_id

_id: ObjectId

Defined in

src/models/FundraisingCampaign.ts:185


createdAt

createdAt: Date

Defined in

src/models/FundraisingCampaign.ts:193


currency

currency: CurrencyType

Defined in

src/models/FundraisingCampaign.ts:191


endDate

endDate: Date

Defined in

src/models/FundraisingCampaign.ts:189


fundId

fundId: PopulatedDoc<InterfaceFund & Document>

Defined in

src/models/FundraisingCampaign.ts:186


fundingGoal

fundingGoal: number

Defined in

src/models/FundraisingCampaign.ts:190


name

name: string

Defined in

src/models/FundraisingCampaign.ts:187


pledges

pledges: PopulatedDoc<InterfaceFundraisingCampaignPledges & Document>[]

Defined in

src/models/FundraisingCampaign.ts:192


startDate

startDate: Date

Defined in

src/models/FundraisingCampaign.ts:188


updatedAt

updatedAt: Date

Defined in

src/models/FundraisingCampaign.ts:194