ms_soccer_hdaodds_814.js 2.7 KB
/* jshint indent: 2 */
module.exports = function (sequelize, DataTypes) {
    return sequelize.define('ms_soccer_hdaodds_814', {
        id: {
            type: DataTypes.INTEGER(11),
            allowNull: false,
            primaryKey: true,
            autoIncrement: true
        },
        company_id: {
            type: DataTypes.INTEGER(11),
            allowNull: true
        },
        company_name: {
            type: DataTypes.STRING(50),
            allowNull: true
        },
        issue_name: {
            type: DataTypes.STRING(20),
            allowNull: true
        },
        game_date: {
            type: DataTypes.BIGINT,
            allowNull: true
        },
        home_team_id: {
            type: DataTypes.INTEGER(11),
            allowNull: true
        },
        away_team_id: {
            type: DataTypes.INTEGER(11),
            allowNull: true
        },
        home_team_name: {
            type: DataTypes.STRING(50),
            allowNull: true
        },
        away_team_name: {
            type: DataTypes.STRING(50),
            allowNull: true
        },
        bcbf: {
            type: DataTypes.STRING(20),
            allowNull: true
        },
        qcbf: {
            type: DataTypes.STRING(20),
            allowNull: true
        },
        game_id: {
            type: DataTypes.BIGINT,
            allowNull: true
        },
        competition_id: {
            type: DataTypes.INTEGER(11),
            allowNull: true
        },
        competition_name: {
            type: DataTypes.STRING(50),
            allowNull: true
        },
        first_odds_win: {
            type: DataTypes.DECIMAL,
            allowNull: true
        },
        first_odds_draw: {
            type: DataTypes.DECIMAL,
            allowNull: true
        },
        first_odds_loss: {
            type: DataTypes.DECIMAL,
            allowNull: true
        },
        first_odds_date: {
            type: DataTypes.BIGINT,
            allowNull: true
        },
        last_odds_win: {
            type: DataTypes.DECIMAL,
            allowNull: true
        },
        last_odds_draw: {
            type: DataTypes.DECIMAL,
            allowNull: true
        },
        last_odds_loss: {
            type: DataTypes.DECIMAL,
            allowNull: true
        },
        last_odds_date: {
            type: DataTypes.BIGINT,
            allowNull: true
        },
        home_score: {
            type: DataTypes.INTEGER(11),
            allowNull: true
        },
        away_score: {
            type: DataTypes.INTEGER(11),
            allowNull: true
        }
    }, {
        tableName: 'ms_soccer_hdaodds_814'
    });
};
//# sourceMappingURL=ms_soccer_hdaodds_814.js.map