"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ProcessedPositionModel = void 0;
const sequelize_1 = require("@golemio/core/dist/shared/sequelize");
class ProcessedPositionModel extends sequelize_1.Model {
}
exports.ProcessedPositionModel = ProcessedPositionModel;
ProcessedPositionModel.tableName = "v_vehiclepositions_all_processed_positions";
ProcessedPositionModel.attributeModel = {
    trips_id: {
        type: sequelize_1.DataTypes.STRING,
        primaryKey: true,
    },
    bearing: sequelize_1.DataTypes.INTEGER,
    delay: sequelize_1.DataTypes.INTEGER,
    delay_stop_arrival: sequelize_1.DataTypes.INTEGER,
    delay_stop_departure: sequelize_1.DataTypes.INTEGER,
    is_canceled: sequelize_1.DataTypes.BOOLEAN,
    last_stop_arrival_time_isostring: sequelize_1.DataTypes.STRING,
    last_stop_departure_time_isostring: sequelize_1.DataTypes.STRING,
    last_stop_id: sequelize_1.DataTypes.STRING,
    last_stop_sequence: sequelize_1.DataTypes.INTEGER,
    lat: sequelize_1.DataTypes.DECIMAL,
    lng: sequelize_1.DataTypes.DECIMAL,
    next_stop_arrival_time_isostring: sequelize_1.DataTypes.STRING,
    next_stop_departure_time_isostring: sequelize_1.DataTypes.STRING,
    next_stop_id: sequelize_1.DataTypes.STRING,
    next_stop_sequence: sequelize_1.DataTypes.INTEGER,
    origin_timestamp_isostring: {
        type: sequelize_1.DataTypes.STRING,
        primaryKey: true,
    },
    shape_dist_traveled: sequelize_1.DataTypes.FLOAT,
    speed: sequelize_1.DataTypes.INTEGER,
    state_position: sequelize_1.DataTypes.INTEGER,
};
//# sourceMappingURL=ProcessedPositionModel.js.map