stat_simple_predict.js 1.4 KB
module.exports = function (sequelize, DataTypes) {
    return sequelize.define('stat_simple_predict', {
        id: {
            type: DataTypes.INTEGER(11),
            allowNull: false,
            primaryKey: true,
            autoIncrement: true
        },
        created_at: {
            type: DataTypes.DATE,
            allowNull: true
        },
        updated_at: {
            type: DataTypes.DATE,
            allowNull: true
        },
        lottery_id: {
            type: DataTypes.INTEGER(11),
            allowNull: true
        },
        issue_name: {
            type: DataTypes.STRING(50),
            allowNull: true
        },
        open_number: {
            type: DataTypes.STRING(500),
            allowNull: true
        },
        prediction_option_text: {
            type: DataTypes.STRING(500),
            allowNull: true
        },
        user_id: {
            type: DataTypes.INTEGER(11),
            allowNull: true
        },
        user_name: {
            type: DataTypes.STRING(500),
            allowNull: true
        },
        prediction_value: {
            type: DataTypes.JSON,
            allowNull: true
        },
        prediction_result: {
            type: DataTypes.JSON,
            allowNull: true
        },
        prediction_date: {
            type: DataTypes.DATE,
            allowNull: true
        }
    }, {
        tableName: 'stat_simple_predict'
    });
};
//# sourceMappingURL=stat_simple_predict.js.map