"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ShapeDto = void 0;
const sequelize_1 = require("@golemio/core/dist/shared/sequelize");
class ShapeDto extends sequelize_1.Model {
}
exports.ShapeDto = ShapeDto;
ShapeDto.attributeModel = {
    shape_dist_traveled: sequelize_1.DataTypes.DOUBLE,
    shape_id: { type: sequelize_1.DataTypes.STRING, primaryKey: true },
    shape_pt_lat: sequelize_1.DataTypes.DOUBLE,
    shape_pt_lon: sequelize_1.DataTypes.DOUBLE,
    shape_pt_sequence: { type: sequelize_1.DataTypes.INTEGER, primaryKey: true },
};
ShapeDto.jsonSchema = {
    type: "array",
    items: {
        type: "object",
        properties: {
            shape_id: { type: "string" },
            shape_pt_sequence: { type: "integer" },
            shape_dist_traveled: { type: "number" },
            shape_pt_lat: { type: "number" },
            shape_pt_lon: { type: "number" },
        },
        required: ["shape_id", "shape_pt_sequence"],
    },
};
//# sourceMappingURL=ShapeDto.js.map