sporttery_match_lineup.ts 1008 字节
/* jshint indent: 2 */

module.exports = function(sequelize:any, DataTypes:any) {
  return sequelize.define('sporttery_match_lineup', {
    m_id: {
      type: DataTypes.STRING(50),
      allowNull: false,
      primaryKey: true
    },
    referee_name: {
      type: DataTypes.STRING(50),
      allowNull: true
    },
    suspension_info: {
      type: DataTypes.JSON,
      allowNull: true
    },
    a_lineups_info: {
      type: DataTypes.JSON,
      allowNull: true
    },
    h_lineups_info: {
      type: DataTypes.JSON,
      allowNull: true
    },
    injuries_info: {
      type: DataTypes.JSON,
      allowNull: true
    },
    updated_at: {
      type: DataTypes.BIGINT,
      allowNull: true
    },
    created_at: {
      type: DataTypes.BIGINT,
      allowNull: true
    },
    issue_name: {
      type: DataTypes.STRING(50),
      allowNull: true
    },
    match_number: {
      type: DataTypes.STRING(50),
      allowNull: true
    }
  }, {
    tableName: 'sporttery_match_lineup'
  });
};