T_Odds100.ts 1.0 KB
/* jshint indent: 2 */

module.exports = function(sequelize:any, DataTypes:any) {
  return sequelize.define('T_Odds100', {
    Id: {
      type: DataTypes.BIGINT,
      allowNull: false,
      primaryKey: true
    },
    MatchId: {
      type: DataTypes.INTEGER(11),
      allowNull: true
    },
    CompanyId: {
      type: DataTypes.INTEGER(11),
      allowNull: true
    },
    FirstHomeWin: {
      type: DataTypes.DECIMAL,
      allowNull: true
    },
    FirstStandoff: {
      type: DataTypes.DECIMAL,
      allowNull: true
    },
    FirstGuestWin: {
      type: DataTypes.DECIMAL,
      allowNull: true
    },
    HomeWin: {
      type: DataTypes.DECIMAL,
      allowNull: true
    },
    Standoff: {
      type: DataTypes.DECIMAL,
      allowNull: true
    },
    GuestWin: {
      type: DataTypes.DECIMAL,
      allowNull: true
    },
    UpdateTime: {
      type: DataTypes.STRING(20),
      allowNull: true
    },
    Details: {
      type: DataTypes.TEXT,
      allowNull: true
    }
  }, {
    tableName: 'T_Odds100'
  });
};