Bathsheba is mentioned in the genealogy of Jesus Christ in the Gospel of Matthew. However, she's not mentioned by name. Instead, she is referred to as "the wife of Uriah." Matthew 1:6 states: "and David was the father of Solomon by the wife of Uriah."
Therefore, Bathsheba's significance in the genealogy is that she is the mother of Solomon, a key figure in the lineage that leads to Jesus.