A microscopic model of black hole evaporation in two dimensions