odds_europe_roll_ball.ts 796 字节
/* jshint indent: 2 */

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