UNPKG

opencart-manager

Version:

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

18 lines (17 loc) 712 B
import IEntity from "../interfaces/entity"; import type Model from "../model"; import { Multilang } from "../types"; import { TAttributeGroup, TAttributeGroupDescription } from "../types/attribute"; export default class AttributeGroup implements IEntity { private model; private _id?; constructor(model: Model, _id?: number | undefined); data: Partial<TAttributeGroup>; description: Multilang<TAttributeGroupDescription>; get id(): number | undefined; setData(newData: Partial<TAttributeGroup>): this; setDescription(description: Partial<TAttributeGroupDescription>): this; insert(): Promise<this>; update(): Promise<this>; delete(): Promise<this>; }