export class Table {
    id;
    type;
    name;
    schema;
    columns;
    keys;
    templates;
    constructor(name, type, schema) {
        this.name = name;
        this.schema = schema;
        this.type = type;
        this.columns = [];
        this.keys = [];
        this.templates = [];
    }
}
export var TableType;
(function (TableType) {
    TableType["TABLE"] = "TABLE";
    TableType["VIEW"] = "VIEW";
    TableType["ALIAS"] = "ALIAS";
    TableType["COLLECTION"] = "COLLECTION";
})(TableType || (TableType = {}));
export class Column {
    name;
    type;
    escapedName;
    constructor(name, type, escapedName) {
        this.name = name;
        this.type = type;
        this.escapedName = escapedName;
    }
}
export class Template {
    title;
    body;
}
export class Schema {
    id;
    name;
    constructor(name) {
        this.name = name;
    }
}
//# sourceMappingURL=database.js.map