T_OddsStandard.ts 1.1 KB
/* jshint indent: 2 */

module.exports = function(sequelize:any, DataTypes:any) {
  return sequelize.define('T_OddsStandard', {
    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
    },
    Id: {
      type: DataTypes.INTEGER(11),
      allowNull: false,
      primaryKey: true,
      autoIncrement: true
    }
  }, {
    tableName: 'T_OddsStandard'
  });
};