T_NBAMatch.ts 1.9 KB
/* jshint indent: 2 */

module.exports = function(sequelize:any, DataTypes:any) {
  return sequelize.define('T_NBAMatch', {
    Id: {
      type: DataTypes.INTEGER(11),
      allowNull: false,
      primaryKey: true
    },
    MatchTypeId: {
      type: DataTypes.INTEGER(11),
      allowNull: true
    },
    MatchSubId: {
      type: DataTypes.INTEGER(11),
      allowNull: true
    },
    MatchSeason: {
      type: DataTypes.STRING(20),
      allowNull: true
    },
    Group: {
      type: DataTypes.STRING(10),
      allowNull: true
    },
    Status: {
      type: DataTypes.INTEGER(6),
      allowNull: true
    },
    BeginTime: {
      type: DataTypes.STRING(20),
      allowNull: true
    },
    HostTeamId: {
      type: DataTypes.INTEGER(11),
      allowNull: true
    },
    HostTeam: {
      type: DataTypes.STRING(20),
      allowNull: true
    },
    HostOrder: {
      type: DataTypes.STRING(10),
      allowNull: true
    },
    HostHalfScore: {
      type: DataTypes.INTEGER(6),
      allowNull: true
    },
    HostScore: {
      type: DataTypes.INTEGER(6),
      allowNull: true
    },
    GuestTeamId: {
      type: DataTypes.INTEGER(11),
      allowNull: true
    },
    GuestTeam: {
      type: DataTypes.STRING(20),
      allowNull: true
    },
    GuestOrder: {
      type: DataTypes.STRING(10),
      allowNull: true
    },
    GuestHalfScore: {
      type: DataTypes.INTEGER(6),
      allowNull: true
    },
    GuestScore: {
      type: DataTypes.INTEGER(6),
      allowNull: true
    },
    LetScore: {
      type: DataTypes.STRING(20),
      allowNull: true
    },
    TotalScore: {
      type: DataTypes.STRING(20),
      allowNull: true
    },
    Type: {
      type: DataTypes.INTEGER(6),
      allowNull: true
    },
    Year: {
      type: DataTypes.INTEGER(6),
      allowNull: true
    },
    Month: {
      type: DataTypes.INTEGER(6),
      allowNull: true
    }
  }, {
    tableName: 'T_NBAMatch'
  });
};