"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.RouteDto = void 0;
const sequelize_1 = require("@golemio/core/dist/shared/sequelize");
class RouteDto extends sequelize_1.Model {
}
exports.RouteDto = RouteDto;
RouteDto.attributeModel = {
    agency_id: sequelize_1.DataTypes.STRING,
    is_night: sequelize_1.DataTypes.STRING,
    route_color: sequelize_1.DataTypes.STRING,
    route_desc: sequelize_1.DataTypes.STRING,
    route_id: { type: sequelize_1.DataTypes.STRING, primaryKey: true },
    route_long_name: sequelize_1.DataTypes.STRING,
    route_short_name: sequelize_1.DataTypes.STRING,
    route_text_color: sequelize_1.DataTypes.STRING,
    route_type: {
        type: sequelize_1.DataTypes.SMALLINT,
        allowNull: false,
    },
    route_url: sequelize_1.DataTypes.STRING,
    is_regional: sequelize_1.DataTypes.STRING,
    is_substitute_transport: sequelize_1.DataTypes.STRING,
};
RouteDto.jsonSchema = {
    type: "array",
    items: {
        type: "object",
        properties: {
            route_id: { type: "string" },
            agency_id: { type: "string" },
            is_night: { type: "string" },
            is_regional: { type: "string" },
            is_substitute_transport: { type: "string" },
            route_color: { type: "string" },
            route_desc: { type: "string" },
            route_long_name: { type: "string" },
            route_short_name: { type: "string" },
            route_text_color: { type: "string" },
            route_type: { type: "integer" },
            route_url: { type: "string" },
        },
        required: ["route_id", "route_type"],
    },
};
//# sourceMappingURL=RouteDto.js.map