@golemio/pid
Version:
Golemio PID Module
41 lines • 1.27 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.JISInfotextsRopidGTFSStopsModel = void 0;
const sequelize_1 = require("@golemio/core/dist/shared/sequelize");
class JISInfotextsRopidGTFSStopsModel extends sequelize_1.Model {
}
exports.JISInfotextsRopidGTFSStopsModel = JISInfotextsRopidGTFSStopsModel;
JISInfotextsRopidGTFSStopsModel.tableName = "jis_infotexts_ropidgtfs_stops";
JISInfotextsRopidGTFSStopsModel.attributeModel = {
infotext_id: {
primaryKey: true,
type: sequelize_1.DataTypes.UUID,
allowNull: false,
},
stop_id: {
primaryKey: true,
type: sequelize_1.DataTypes.STRING(50),
allowNull: false,
},
created_at: {
type: sequelize_1.DataTypes.DATE,
allowNull: false,
},
updated_at: {
type: sequelize_1.DataTypes.DATE,
allowNull: false,
},
};
JISInfotextsRopidGTFSStopsModel.jsonSchema = {
type: "array",
items: {
type: "object",
properties: {
infotext_id: { type: "string" },
stop_id: { type: "string" },
},
additionalProperties: false,
required: ["infotext_id", "stop_id"],
},
};
//# sourceMappingURL=JISInfotextsRopidGTFSStopsModel.js.map