Skip to main content

Class: ProductOption

Hierarchy​

  • SoftDeletableEntity

    ↳ ProductOption

Constructors​

constructor​

• new ProductOption()

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


id​

• id: string

Inherited from​

SoftDeletableEntity.id

Defined in​

interfaces/models/base-entity.ts:13


metadata​

• metadata: Record<string, unknown>

Defined in​

models/product-option.ts:34


product​

• product: Product

Defined in​

models/product-option.ts:31


product_id​

• product_id: string

Defined in​

models/product-option.ts:27


title​

• title: string

Defined in​

models/product-option.ts:19


updated_at​

• updated_at: Date

Inherited from​

SoftDeletableEntity.updated_at

Defined in​

interfaces/models/base-entity.ts:19


values​

• values: ProductOptionValue[]

Defined in​

models/product-option.ts:24

Methods​

beforeInsert​

▸ Private beforeInsert(): void

Returns​

void

Defined in​

models/product-option.ts:36

Was this section helpful?