UNPKG

@golemio/pid

Version:
41 lines 1.2 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CisStopModel = void 0; const sequelize_1 = require("@golemio/core/dist/shared/sequelize"); class CisStopModel extends sequelize_1.Model { } exports.CisStopModel = CisStopModel; CisStopModel.tableName = "vehiclepositions_cis_stops"; CisStopModel.attributeModel = { rt_trip_id: { type: sequelize_1.DataTypes.STRING(255), primaryKey: true, }, cis_stop_group_id: { type: sequelize_1.DataTypes.INTEGER, primaryKey: true, }, cis_stop_platform_code: { type: sequelize_1.DataTypes.STRING(15), allowNull: true, }, }; CisStopModel.arrayJsonSchema = { type: "array", items: { type: "object", properties: { rt_trip_id: { type: "string", }, cis_stop_group_id: { type: "integer", }, cis_stop_platform_code: { oneOf: [{ type: "string" }, { type: "null", nullable: true }], }, }, required: ["rt_trip_id", "cis_stop_group_id", "cis_stop_platform_code"], }, }; //# sourceMappingURL=CisStopModel.js.map