Skip to main content

talawa-api / Exports / models/Advertisement / InterfaceAdvertisement

Interface: InterfaceAdvertisement

models/Advertisement.InterfaceAdvertisement

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

Table of contents

Properties

Properties

_id

_id: string

Defined in

src/models/Advertisement.ts:10


createdAt

createdAt: Date

Defined in

src/models/Advertisement.ts:18


creatorId

creatorId: any

Defined in

src/models/Advertisement.ts:14


endDate

endDate: string

Defined in

src/models/Advertisement.ts:17


mediaUrl

mediaUrl: string

Defined in

src/models/Advertisement.ts:13


name

name: string

Defined in

src/models/Advertisement.ts:12


organizationId

organizationId: any

Defined in

src/models/Advertisement.ts:11


startDate

startDate: string

Defined in

src/models/Advertisement.ts:16


type

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

Defined in

src/models/Advertisement.ts:15


updatedAt

updatedAt: Date

Defined in

src/models/Advertisement.ts:19