"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CommonRunsModel = void 0;
const sequelize_1 = require("@golemio/core/dist/shared/sequelize");
class CommonRunsModel extends sequelize_1.Model {
}
exports.CommonRunsModel = CommonRunsModel;
CommonRunsModel.TABLE_NAME = "vehiclepositions_runs";
CommonRunsModel.attributeModel = {
    id: {
        primaryKey: true,
        type: sequelize_1.DataTypes.STRING,
    },
    route_id: { type: sequelize_1.DataTypes.STRING },
    run_number: { type: sequelize_1.DataTypes.INTEGER },
    line_short_name: sequelize_1.DataTypes.STRING,
    registration_number: { type: sequelize_1.DataTypes.STRING },
    wheelchair_accessible: { type: sequelize_1.DataTypes.BOOLEAN },
    msg_start_timestamp: { type: sequelize_1.DataTypes.DATE },
    msg_last_timestamp: { type: sequelize_1.DataTypes.DATE },
};
CommonRunsModel.jsonSchema = {
    type: "object",
    properties: {
        id: {
            type: "string",
        },
        route_id: {
            type: "string",
        },
        run_number: {
            type: "integer",
        },
        line_short_name: {
            type: "string",
        },
        registration_number: {
            type: "string",
        },
        wheelchair_accessible: {
            type: "boolean",
        },
        msg_start_timestamp: {
            type: "string",
        },
        msg_last_timestamp: {
            type: "string",
        },
    },
    required: [
        "id",
        "route_id",
        "run_number",
        "line_short_name",
        "registration_number",
        "wheelchair_accessible",
        "msg_start_timestamp",
        "msg_last_timestamp",
    ],
};
//# sourceMappingURL=CommonRunsModel.js.map