ms_basketball_game_odds.js 2.1 KB
/*********************************************************************
# Autor: sandyWqh
# Date: 2021-01-08 15:20:22
# Description:
# Version: 1.0
# LastEditors: sandyWqh
# LastEditTime: 2021-03-16 15:33:12
**********************************************************************/
/* jshint indent: 2 */
module.exports = function (sequelize, DataTypes) {
    return sequelize.define('ms_basketball_game_odds', {
        id: {
            type: DataTypes.BIGINT,
            allowNull: false,
            primaryKey: true,
            autoIncrement: true
        },
        created_at: {
            type: DataTypes.DATE,
            allowNull: true
        },
        updated_at: {
            type: DataTypes.DATE,
            allowNull: true
        },
        sportsdt_game_id: {
            type: DataTypes.INTEGER(11),
            allowNull: true
        },
        sportsdt_company_id: {
            type: DataTypes.INTEGER(11),
            allowNull: true
        },
        match_time: {
            type: DataTypes.DATE,
            allowNull: true
        },
        ah: {
            type: DataTypes.JSON,
            allowNull: true
        },
        ou: {
            type: DataTypes.JSON,
            allowNull: true
        },
        hda: {
            type: DataTypes.JSON,
            allowNull: true
        },
        ah_list: {
            type: DataTypes.JSON,
            allowNull: true
        },
        ou_list: {
            type: DataTypes.JSON,
            allowNull: true
        },
        hda_list: {
            type: DataTypes.JSON,
            allowNull: true
        },
        yiqiu_game_id: {
            type: DataTypes.INTEGER(11),
            allowNull: true
        },
        yiqiu_competition_id: {
            type: DataTypes.INTEGER(11),
            allowNull: true
        },
        yiqiu_host_team_id: {
            type: DataTypes.INTEGER(11),
            allowNull: true
        },
        yiqiu_guest_team_id: {
            type: DataTypes.INTEGER(11),
            allowNull: true
        }
    }, {
        tableName: 'ms_basketball_game_odds'
    });
};
//# sourceMappingURL=ms_basketball_game_odds.js.map