"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.JISInfotextsPresetsModel = void 0;
const sequelize_1 = require("@golemio/core/dist/shared/sequelize");
class JISInfotextsPresetsModel extends sequelize_1.Model {
}
exports.JISInfotextsPresetsModel = JISInfotextsPresetsModel;
JISInfotextsPresetsModel.tableName = "jis_infotexts_presets";
JISInfotextsPresetsModel.attributeModel = {
    infotext_id: {
        primaryKey: true,
        type: sequelize_1.DataTypes.UUID,
        allowNull: false,
    },
    route_name: {
        primaryKey: true,
        type: sequelize_1.DataTypes.STRING(100),
        allowNull: false,
    },
    created_at: {
        type: sequelize_1.DataTypes.DATE,
        allowNull: false,
    },
    updated_at: {
        type: sequelize_1.DataTypes.DATE,
        allowNull: false,
    },
};
JISInfotextsPresetsModel.jsonSchema = {
    type: "array",
    items: {
        type: "object",
        properties: {
            infotext_id: { type: "string" },
            route_name: { type: "string" },
        },
        additionalProperties: false,
        required: ["infotext_id", "route_name"],
    },
};
//# sourceMappingURL=JISInfotextsPresetsModel.js.map