UNPKG

opencart-manager

Version:

Node.js package helping to manage your opencart store data easily.

17 lines (16 loc) 631 B
import IEntity from "../interfaces/entity"; import type Model from "../model"; import { TProductOptionValue } from "../types/product"; export default class ProductOptionValue implements IEntity { private model; private productOptionId; private optionValueId; private _id?; constructor(model: Model, productOptionId: number, optionValueId: number, _id?: number | undefined); data: Partial<TProductOptionValue>; get id(): number | undefined; setData(newData: Partial<TProductOptionValue>): this; insert(): Promise<this>; update(): Promise<this>; delete(): Promise<this>; }