"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const sequelize_1 = require("sequelize");
const database_1 = __importDefault(require("../database"));
class Chat extends sequelize_1.Model {
}
exports.default = Chat;
Chat.init({
    id: {
        type: sequelize_1.DataTypes.INTEGER,
        autoIncrement: true,
        primaryKey: true
    },
    outputFile: {
        type: sequelize_1.DataTypes.STRING,
        allowNull: true
    },
    type: {
        type: sequelize_1.DataTypes.STRING,
        allowNull: true
    },
    llm_provider: {
        type: sequelize_1.DataTypes.TEXT,
        allowNull: true
    },
    llm_model: {
        type: sequelize_1.DataTypes.TEXT,
        allowNull: true
    },
    appId: {
        type: sequelize_1.DataTypes.TEXT,
        allowNull: true
    }
}, {
    tableName: 'chat',
    sequelize: database_1.default.sequelize,
    timestamps: true,
    paranoid: true
});
