"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.JISEventsRopidGTFSRoutesModel = void 0;
const sequelize_1 = require("@golemio/core/dist/shared/sequelize");
class JISEventsRopidGTFSRoutesModel extends sequelize_1.Model {
}
exports.JISEventsRopidGTFSRoutesModel = JISEventsRopidGTFSRoutesModel;
JISEventsRopidGTFSRoutesModel.tableName = "jis_events_ropidgtfs_routes";
JISEventsRopidGTFSRoutesModel.attributeModel = {
    event_id: {
        primaryKey: true,
        type: sequelize_1.DataTypes.UUID,
        allowNull: false,
    },
    route_id: {
        primaryKey: true,
        type: sequelize_1.DataTypes.STRING(50),
        allowNull: false,
    },
    created_at: {
        type: sequelize_1.DataTypes.DATE,
        allowNull: false,
    },
    updated_at: {
        type: sequelize_1.DataTypes.DATE,
        allowNull: false,
    },
};
JISEventsRopidGTFSRoutesModel.jsonSchema = {
    type: "array",
    items: {
        type: "object",
        properties: {
            event_id: { type: "string" },
            route_id: { type: "string" },
        },
        additionalProperties: false,
        required: ["event_id", "route_id"],
    },
};
//# sourceMappingURL=JISEventsRopidGTFSRoutesModel.js.map