"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.RopidDeparturesPresetsModel = void 0;
const sequelize_1 = require("@golemio/core/dist/shared/sequelize");
class RopidDeparturesPresetsModel extends sequelize_1.Model {
}
exports.RopidDeparturesPresetsModel = RopidDeparturesPresetsModel;
RopidDeparturesPresetsModel.tableName = "ropid_departures_presets";
RopidDeparturesPresetsModel.attributeModel = {
    id: {
        type: sequelize_1.DataTypes.INTEGER,
        primaryKey: true,
        autoIncrement: true,
    },
    route_name: {
        type: sequelize_1.DataTypes.STRING(100),
        unique: true,
    },
    api_version: sequelize_1.DataTypes.SMALLINT,
    route: sequelize_1.DataTypes.STRING(100),
    url_query_params: sequelize_1.DataTypes.STRING(400),
    note: sequelize_1.DataTypes.STRING(1000),
    is_testing: sequelize_1.DataTypes.BOOLEAN,
};
RopidDeparturesPresetsModel.jsonSchema = {
    type: "array",
    items: {
        type: "object",
        properties: {
            id: {
                type: "number",
            },
            route_name: {
                type: "string",
            },
            api_version: {
                type: "number",
            },
            route: {
                type: "string",
            },
            url_query_params: {
                type: "string",
            },
            note: {
                type: "string",
            },
            is_testing: {
                type: "boolean",
            },
        },
        required: ["route_name", "api_version", "route", "url_query_params", "note", "is_testing"],
        additionalProperties: false,
    },
};
//# sourceMappingURL=RopidDeparturesPresetsModel.js.map