"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Schema = exports.Template = exports.Column = exports.TableType = exports.Table = void 0;
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 = [];
    }
}
exports.Table = Table;
var TableType;
(function (TableType) {
    TableType["TABLE"] = "TABLE";
    TableType["VIEW"] = "VIEW";
    TableType["ALIAS"] = "ALIAS";
    TableType["COLLECTION"] = "COLLECTION";
})(TableType || (exports.TableType = TableType = {}));
class Column {
    name;
    type;
    escapedName;
    constructor(name, type, escapedName) {
        this.name = name;
        this.type = type;
        this.escapedName = escapedName;
    }
}
exports.Column = Column;
class Template {
    title;
    body;
}
exports.Template = Template;
class Schema {
    id;
    name;
    constructor(name) {
        this.name = name;
    }
}
exports.Schema = Schema;
//# sourceMappingURL=database.js.map