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

module.exports = function(sequelize:any, DataTypes:any) {
  return sequelize.define('T_NBAOddsBigSmall', {
    MatchId: {
      type: DataTypes.INTEGER(11),
      allowNull: true
    },
    CompanyId: {
      type: DataTypes.INTEGER(11),
      allowNull: true
    },
    FirstBigOdds: {
      type: DataTypes.DECIMAL,
      allowNull: true
    },
    FirstPlate: {
      type: DataTypes.DECIMAL,
      allowNull: true
    },
    FirstSmallOdds: {
      type: DataTypes.DECIMAL,
      allowNull: true
    },
    BigOdds: {
      type: DataTypes.DECIMAL,
      allowNull: true
    },
    Plate: {
      type: DataTypes.DECIMAL,
      allowNull: true
    },
    SmallOdds: {
      type: DataTypes.DECIMAL,
      allowNull: true
    },
    UpdateTime: {
      type: DataTypes.STRING(20),
      allowNull: true
    },
    Details: {
      type: DataTypes.TEXT,
      allowNull: true
    },
    Id: {
      type: DataTypes.BIGINT,
      allowNull: false,
      primaryKey: true,
      autoIncrement: true
    },
    IsDynamic: {
      type: DataTypes.INTEGER(1),
      allowNull: true
    }
  }, {
    tableName: 'T_NBAOddsBigSmall'
  });
};