pure-orm
Version:
A SQL Toolkit based on pure business objects passed to and from stateful data access objects
20 lines (19 loc) • 579 B
TypeScript
import { IModel, ICollection, IColumns } from '../../../src/index';
export declare const tableName: string;
export declare const columns: IColumns;
export declare class Gender implements IModel {
id: number;
value: string;
label: string;
constructor(props: any);
}
export declare class Genders implements ICollection<Gender> {
models: Array<Gender>;
constructor({ models }: any);
}
export declare const genderEntity: {
tableName: string;
columns: import("../../../src/core").IColumn[];
Model: typeof Gender;
Collection: typeof Genders;
};