T_PlayerInTeam.ts 771 字节
/* jshint indent: 2 */

module.exports = function(sequelize:any, DataTypes:any) {
  return sequelize.define('T_PlayerInTeam', {
    PlayerId: {
      type: DataTypes.INTEGER(11),
      allowNull: true
    },
    PlayerName: {
      type: DataTypes.STRING(30),
      allowNull: true
    },
    TeamId: {
      type: DataTypes.INTEGER(11),
      allowNull: true
    },
    TeamName: {
      type: DataTypes.STRING(30),
      allowNull: true
    },
    Place: {
      type: DataTypes.STRING(10),
      allowNull: true
    },
    Number: {
      type: DataTypes.STRING(3),
      allowNull: true
    },
    id: {
      type: DataTypes.INTEGER(11),
      allowNull: false,
      primaryKey: true,
      autoIncrement: true
    }
  }, {
    tableName: 'T_PlayerInTeam'
  });
};