UNPKG

pure-orm

Version:

A SQL Toolkit based on pure business objects passed to and from stateful data access objects

18 lines (17 loc) 534 B
import { IModel, ICollection, IColumns } from '../../../src/index'; export declare const tableName: string; export declare const columns: IColumns; export declare class Brand implements IModel { id: number; constructor(props: any); } export declare class Brands implements ICollection<Brand> { models: Array<Brand>; constructor({ models }: any); } export declare const brandEntity: { tableName: string; columns: import("../../../src/core").IColumn[]; Model: typeof Brand; Collection: typeof Brands; };