Skip to main content

Class: ReturnReason

Hierarchy

  • SoftDeletableEntity

    ReturnReason

Constructors

constructor

new ReturnReason()

Inherited from

SoftDeletableEntity.constructor

Properties

created_at

created_at: Date

Inherited from

SoftDeletableEntity.created_at

Defined in

interfaces/models/base-entity.ts:16


deleted_at

deleted_at: null | Date

Inherited from

SoftDeletableEntity.deleted_at

Defined in

interfaces/models/soft-deletable-entity.ts:7


description

description: string

Defined in

models/return-reason.ts:25


id

id: string

Inherited from

SoftDeletableEntity.id

Defined in

interfaces/models/base-entity.ts:13


label

label: string

Defined in

models/return-reason.ts:22


metadata

metadata: Record<string, unknown>

Defined in

models/return-reason.ts:42


parent_return_reason

parent_return_reason: null | ReturnReason

Defined in

models/return-reason.ts:32


parent_return_reason_id

parent_return_reason_id: null | string

Defined in

models/return-reason.ts:28


return_reason_children

return_reason_children: ReturnReason[]

Defined in

models/return-reason.ts:39


updated_at

updated_at: Date

Inherited from

SoftDeletableEntity.updated_at

Defined in

interfaces/models/base-entity.ts:19


value

value: string

Defined in

models/return-reason.ts:19

Methods

beforeInsert

Private beforeInsert(): void

Returns

void

Defined in

models/return-reason.ts:44