"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.RopidDeparturesPresetsRopidGTFSStopsModel = void 0;
const sequelize_1 = require("@golemio/core/dist/shared/sequelize");
class RopidDeparturesPresetsRopidGTFSStopsModel extends sequelize_1.Model {
}
exports.RopidDeparturesPresetsRopidGTFSStopsModel = RopidDeparturesPresetsRopidGTFSStopsModel;
RopidDeparturesPresetsRopidGTFSStopsModel.tableName = "ropid_departures_presets_ropidgtfs_stops";
RopidDeparturesPresetsRopidGTFSStopsModel.attributeModel = {
    preset_id: {
        type: sequelize_1.DataTypes.INTEGER,
        primaryKey: true,
        allowNull: false,
    },
    stop_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,
    },
};
RopidDeparturesPresetsRopidGTFSStopsModel.jsonSchema = {
    type: "array",
    items: {
        type: "object",
        properties: {
            preset_id: { type: "number" },
            stop_id: { type: "string" },
        },
        additionalProperties: false,
        required: ["preset_id", "stop_id"],
    },
};
//# sourceMappingURL=RopidDeparturesPresetsRopidGTFSStopsModel.js.map