T_OddsLetGoal.ts 1.2 KB
/* jshint indent: 2 */

module.exports = function(sequelize:any, DataTypes:any) {
  return sequelize.define('T_OddsLetGoal', {
    MatchId: {
      type: DataTypes.INTEGER(11),
      allowNull: true
    },
    CompanyId: {
      type: DataTypes.INTEGER(11),
      allowNull: true
    },
    FirstPlate: {
      type: DataTypes.DECIMAL,
      allowNull: true
    },
    FirstHostOdds: {
      type: DataTypes.DECIMAL,
      allowNull: true
    },
    FirstQuestOdds: {
      type: DataTypes.DECIMAL,
      allowNull: true
    },
    Plate: {
      type: DataTypes.DECIMAL,
      allowNull: true
    },
    HostOdds: {
      type: DataTypes.DECIMAL,
      allowNull: true
    },
    QuestOdds: {
      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
    },
    IsClose: {
      type: DataTypes.INTEGER(1),
      allowNull: true
    },
    IsDynamic: {
      type: DataTypes.INTEGER(1),
      allowNull: true
    }
  }, {
    tableName: 'T_OddsLetGoal'
  });
};