"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MetroRunsMessagesRepository = void 0;
const const_1 = require("../../../../../schema-definitions/const");
const models_1 = require("../../../../../schema-definitions/vehicle-positions/models");
const golemio_validator_1 = require("@golemio/core/dist/shared/golemio-validator");
const AbstractRunRepository_1 = require("./AbstractRunRepository");
class MetroRunsMessagesRepository extends AbstractRunRepository_1.AbstractRunRepository {
    constructor() {
        super("MetroRunsMessagesRepository", {
            pgTableName: models_1.MetroRunsMessagesModel.TABLE_NAME,
            pgSchema: const_1.PG_SCHEMA,
            outputSequelizeAttributes: models_1.MetroRunsMessagesModel.attributeModel,
            savingType: "insertOnly",
        }, new golemio_validator_1.JSONSchemaValidator("MetroRunsMessagesRepository", models_1.MetroRunsMessagesModel.arrayJsonSchema));
    }
}
exports.MetroRunsMessagesRepository = MetroRunsMessagesRepository;
//# sourceMappingURL=MetroRunsMessagesRepository.js.map