ms_soccer_game_odds.ts 1.7 KB

module.exports = function(sequelize:any, DataTypes:any) {
    return sequelize.define('ms_soccer_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
      },
      company_name: {
        type: DataTypes.STRING(100),
        allowNull: true
      }
    }, {
      tableName: 'ms_soccer_game_odds'
    });
  };