Skip to content

Latest commit

 

History

History
122 lines (66 loc) · 3 KB

models_Advertisement.InterfaceAdvertisement.md

File metadata and controls

122 lines (66 loc) · 3 KB

talawa-api / Exports / models/Advertisement / InterfaceAdvertisement

Interface: InterfaceAdvertisement

models/Advertisement.InterfaceAdvertisement

This is an interface that represents a database(MongoDB) document for Advertisement.

Table of contents

Properties

Properties

_id

_id: ObjectId

Defined in

src/models/Advertisement.ts:8


createdAt

createdAt: Date

Defined in

src/models/Advertisement.ts:16


creatorId

creatorId: PopulatedDoc<InterfaceUser & Document>

Defined in

src/models/Advertisement.ts:11


endDate

endDate: string

Defined in

src/models/Advertisement.ts:15


link

link: string

Defined in

src/models/Advertisement.ts:12


name

name: string

Defined in

src/models/Advertisement.ts:10


orgId

orgId: string

Defined in

src/models/Advertisement.ts:9


startDate

startDate: string

Defined in

src/models/Advertisement.ts:14


type

type: "POPUP" | "MENU" | "BANNER"

Defined in

src/models/Advertisement.ts:13


updatedAt

updatedAt: Date

Defined in

src/models/Advertisement.ts:17