UNPKG

@egi/smart-db

Version:

Unified Smart DB Access

42 lines (41 loc) 1.43 kB
import { GenericModelData, ModelAttributeMap } from "../smart-db-interfaces"; import { AbstractModel } from "./abstract-model"; export interface SmartDbCoreTableModelData extends GenericModelData { id?: number; name?: string; type?: string; } export declare class SmartDbCoreTableModel extends AbstractModel<SmartDbCoreTableModel, SmartDbCoreTableModelData> { private _id?; private _name?; private _type?; static readonly attributeMap: ModelAttributeMap; static getClassName(): string; static getTableName(): string; static getPrimaryKey(): string; static from(other: SmartDbCoreTableModel | SmartDbCoreTableModelData): SmartDbCoreTableModel; constructor(data?: SmartDbCoreTableModel | SmartDbCoreTableModelData); clone(): SmartDbCoreTableModel; getClassName(): string; getTableName(): string; getPrimaryKey(): string; getAttributeMap(): ModelAttributeMap; get id(): number; set id(id: number); get ctb_id(): number; set ctb_id(id: number); get CTB_ID(): number; set CTB_ID(id: number); get name(): string; set name(name: string); get ctb_name(): string; set ctb_name(name: string); get CTB_NAME(): string; set CTB_NAME(name: string); get type(): string; set type(type: string); get ctb_type(): string; set ctb_type(type: string); get CTB_TYPE(): string; set CTB_TYPE(type: string); }