"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.TripWithLastPositionModel = void 0;
const sequelize_1 = require("@golemio/core/dist/shared/sequelize");
class TripWithLastPositionModel extends sequelize_1.Model {
}
exports.TripWithLastPositionModel = TripWithLastPositionModel;
TripWithLastPositionModel.tableName = "v_vehiclepositions_all_trips_with_last_position";
TripWithLastPositionModel.attributeModel = {
    id: {
        type: sequelize_1.DataTypes.STRING,
        primaryKey: true,
    },
    agency_name_real: sequelize_1.DataTypes.STRING,
    agency_name_scheduled: sequelize_1.DataTypes.STRING,
    cis_line_id: sequelize_1.DataTypes.STRING,
    cis_trip_number: sequelize_1.DataTypes.INTEGER,
    gtfs_route_id: sequelize_1.DataTypes.STRING,
    gtfs_route_short_name: sequelize_1.DataTypes.STRING,
    gtfs_route_type: sequelize_1.DataTypes.INTEGER,
    gtfs_trip_headsign: sequelize_1.DataTypes.STRING,
    gtfs_trip_short_name: sequelize_1.DataTypes.STRING,
    gtfs_trip_id: {
        type: sequelize_1.DataTypes.STRING,
        primaryKey: true,
    },
    origin_route_name: sequelize_1.DataTypes.STRING,
    run_number: sequelize_1.DataTypes.INTEGER,
    vehicle_registration_number: sequelize_1.DataTypes.INTEGER,
    vehicle_type_id: sequelize_1.DataTypes.INTEGER,
    wheelchair_accessible: sequelize_1.DataTypes.BOOLEAN,
    updated_at: sequelize_1.DataTypes.DATE,
    start_timestamp_isostring: sequelize_1.DataTypes.STRING,
    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_id: sequelize_1.DataTypes.STRING,
    last_stop_sequence: sequelize_1.DataTypes.INTEGER,
    last_stop_headsign: sequelize_1.DataTypes.STRING,
    lat: sequelize_1.DataTypes.DECIMAL,
    lng: sequelize_1.DataTypes.DECIMAL,
    next_stop_id: sequelize_1.DataTypes.STRING,
    next_stop_sequence: sequelize_1.DataTypes.INTEGER,
    shape_dist_traveled: sequelize_1.DataTypes.FLOAT,
    speed: sequelize_1.DataTypes.INTEGER,
    state_position: sequelize_1.DataTypes.STRING,
    is_tracked: sequelize_1.DataTypes.BOOLEAN,
    last_stop_arrival_time_isostring: sequelize_1.DataTypes.STRING,
    last_stop_departure_time_isostring: sequelize_1.DataTypes.STRING,
    next_stop_arrival_time_isostring: sequelize_1.DataTypes.STRING,
    next_stop_departure_time_isostring: sequelize_1.DataTypes.STRING,
    origin_timestamp_isostring: sequelize_1.DataTypes.STRING,
};
//# sourceMappingURL=TripWithLastPositionModel.js.map