stat_inner_prediction_64.js 3.0 KB
/* jshint indent: 2 */
module.exports = function (sequelize, DataTypes) {
    return sequelize.define('stat_inner_prediction_64', {
        id: {
            type: DataTypes.BIGINT,
            allowNull: false,
            primaryKey: true,
            autoIncrement: true
        },
        user_id: {
            type: DataTypes.INTEGER(11),
            allowNull: false
        },
        issue_id: {
            type: DataTypes.INTEGER(11),
            allowNull: false
        },
        issue_name: {
            type: DataTypes.STRING(50),
            allowNull: false
        },
        issue_value: {
            type: DataTypes.STRING(100),
            allowNull: true
        },
        prediction_type: {
            type: DataTypes.STRING(50),
            allowNull: false
        },
        prediction_value: {
            type: DataTypes.STRING(200),
            allowNull: false
        },
        prediction_result: {
            type: DataTypes.STRING(20),
            allowNull: true
        },
        max_win_count: {
            type: DataTypes.INTEGER(11),
            allowNull: true
        },
        win_rate: {
            type: DataTypes.DECIMAL,
            allowNull: true
        },
        created_at: {
            type: DataTypes.DATE,
            allowNull: false
        },
        current_win_count: {
            type: DataTypes.INTEGER(11),
            allowNull: true
        },
        top_10_win_rate: {
            type: DataTypes.DECIMAL,
            allowNull: true
        },
        top_20_win_rate: {
            type: DataTypes.DECIMAL,
            allowNull: true
        },
        type1: {
            type: DataTypes.STRING(10),
            allowNull: false
        },
        type2: {
            type: DataTypes.STRING(10),
            allowNull: false
        },
        type3: {
            type: DataTypes.STRING(10),
            allowNull: false
        },
        prediction_value_text: {
            type: DataTypes.STRING(2000),
            allowNull: true
        },
        lottery_id: {
            type: DataTypes.INTEGER(11),
            allowNull: false
        },
        prediction_result_text: {
            type: DataTypes.STRING(200),
            allowNull: true
        },
        top_10_result: {
            type: DataTypes.STRING(2000),
            allowNull: true
        },
        top_20_result: {
            type: DataTypes.STRING(2000),
            allowNull: true
        },
        top_n_win_rate: {
            type: DataTypes.DECIMAL,
            allowNull: true
        },
        top_n_result: {
            type: DataTypes.STRING(2000),
            allowNull: true
        },
        top_10_win_count: {
            type: DataTypes.INTEGER(11),
            allowNull: true
        },
        top_20_win_count: {
            type: DataTypes.INTEGER(11),
            allowNull: true
        },
        top_n_win_count: {
            type: DataTypes.INTEGER(11),
            allowNull: true
        }
    }, {
        tableName: 'stat_inner_prediction_64'
    });
};
//# sourceMappingURL=stat_inner_prediction_64.js.map