Skip to main content

Class: Post

backend.Post

Hierarchy#

Implements#

  • TPost

Table of contents#

Constructors#

Properties#

Accessors#

Constructors#

constructor#

• new Post()

Inherited from#

BasePageEntity.constructor

Properties#

_meta#

• Optional _meta: null | string

Inherited from#

BasePageEntity._meta

Defined in#

system/core/backend/src/models/entities/base-page.entity.ts:37


author#

• Optional author: null | User

Implementation of#

TPost.author

Defined in#

system/core/backend/src/models/entities/post.entity.ts:24


authorId#

• Optional authorId: null | number

Implementation of#

TPost.authorId

Defined in#

system/core/backend/src/models/entities/post.entity.ts:29


comments#

• Optional comments: TPostComment[]

Defined in#

system/core/backend/src/models/entities/post.entity.ts:68


content#

• Optional content: null | string

Implementation of#

TPost.content

Defined in#

system/core/backend/src/models/entities/post.entity.ts:33


createDate#

• Optional createDate: null | Date

Implementation of#

TPost.createDate

Inherited from#

BasePageEntity.createDate

Defined in#

system/core/backend/src/models/entities/base-page.entity.ts:51


delta#

• Optional delta: null | string

Implementation of#

TPost.delta

Defined in#

system/core/backend/src/models/entities/post.entity.ts:37


excerpt#

• Optional excerpt: null | string

Implementation of#

TPost.excerpt

Defined in#

system/core/backend/src/models/entities/post.entity.ts:41


featured#

• Optional featured: null | boolean

Implementation of#

TPost.featured

Defined in#

system/core/backend/src/models/entities/post.entity.ts:73


id#

• id: number

Implementation of#

TPost.id

Inherited from#

BasePageEntity.id

Defined in#

system/core/backend/src/models/entities/base-page.entity.ts:22


isEnabled#

• Optional isEnabled: null | boolean

Implementation of#

TPost.isEnabled

Inherited from#

BasePageEntity.isEnabled

Defined in#

system/core/backend/src/models/entities/base-page.entity.ts:60


mainImage#

• Optional mainImage: null | string

Implementation of#

TPost.mainImage

Defined in#

system/core/backend/src/models/entities/post.entity.ts:45


metaRecords#

• Optional metaRecords: PostMeta[]

Defined in#

system/core/backend/src/models/entities/post.entity.ts:78


pageDescription#

• Optional pageDescription: null | string

Implementation of#

TPost.pageDescription

Inherited from#

BasePageEntity.pageDescription

Defined in#

system/core/backend/src/models/entities/base-page.entity.ts:34


pageTitle#

• Optional pageTitle: null | string

Implementation of#

TPost.pageTitle

Inherited from#

BasePageEntity.pageTitle

Defined in#

system/core/backend/src/models/entities/base-page.entity.ts:30


publishDate#

• Optional publishDate: null | Date

Implementation of#

TPost.publishDate

Defined in#

system/core/backend/src/models/entities/post.entity.ts:63


published#

• Optional published: null | boolean

Implementation of#

TPost.published

Defined in#

system/core/backend/src/models/entities/post.entity.ts:59


readTime#

• Optional readTime: null | string

Implementation of#

TPost.readTime

Defined in#

system/core/backend/src/models/entities/post.entity.ts:49


slug#

• Optional slug: null | string

Implementation of#

TPost.slug

Inherited from#

BasePageEntity.slug

Defined in#

system/core/backend/src/models/entities/base-page.entity.ts:26


tags#

• Optional tags: null | Tag[]

Implementation of#

TPost.tags

Defined in#

system/core/backend/src/models/entities/post.entity.ts:54


title#

• Optional title: null | string

Implementation of#

TPost.title

Defined in#

system/core/backend/src/models/entities/post.entity.ts:20


updateDate#

• Optional updateDate: null | Date

Implementation of#

TPost.updateDate

Inherited from#

BasePageEntity.updateDate

Defined in#

system/core/backend/src/models/entities/base-page.entity.ts:56

Accessors#

meta#

• get meta(): undefined | null | TBasePageMeta

Returns#

undefined | null | TBasePageMeta

Defined in#

system/core/backend/src/models/entities/base-page.entity.ts:40

• set meta(data): void

Parameters#

NameType
dataundefined | null | TBasePageMeta

Returns#

void

Defined in#

system/core/backend/src/models/entities/base-page.entity.ts:44