odds_big_small_immedicate.ts 971 字节
/* jshint indent: 2 */

module.exports = function(sequelize:any, DataTypes:any) {
  return sequelize.define('odds_big_small_immedicate', {
    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
    },
    init_odds: {
      type: DataTypes.JSON,
      allowNull: false
    },
    immediate_odds: {
      type: DataTypes.JSON,
      allowNull: true
    },
    latest_immediate_odds: {
      type: DataTypes.JSON,
      allowNull: false
    },
    created_at: {
      type: DataTypes.STRING(20),
      allowNull: true
    },
    updated_at: {
      type: DataTypes.STRING(20),
      allowNull: true
    },
    match_time: {
      type: DataTypes.INTEGER(11),
      allowNull: false
    }
  }, {
    tableName: 'odds_big_small_immedicate'
  });
};