odds_europe_history.ts 918 字节
module.exports = function(sequelize:any, DataTypes:any) {
  return sequelize.define('odds_europe_history', {
    id: {
      type: DataTypes.INTEGER(11),
      allowNull: false,
      primaryKey: true
    },
    yiqiu_id: {
      type: DataTypes.INTEGER(11),
      allowNull: true
    },
    company_id: {
      type: DataTypes.INTEGER(11),
      allowNull: false,
      primaryKey: true
    },
    match_time: {
      type: DataTypes.INTEGER(11),
      allowNull: false
    },
    init_odds: {
      type: DataTypes.JSON,
      allowNull: true
    },
    latest_odds: {
      type: DataTypes.JSON,
      allowNull: true
    },
    immediate_odds: {
      type: DataTypes.JSON,
      allowNull: true
    },
    live_odds: {
      type: DataTypes.JSON,
      allowNull: true
    },
    created_at: {
      type: DataTypes.STRING(20),
      allowNull: true
    }
  }, {
    tableName: 'odds_europe_history'
  });
  };