def METHOD_NAME(cls, db_obj) -> BandwidthTransactionData:
    """
    Return a BandwidthTransaction object from a database object.
    :param db_obj: The BandwidthTransaction object to convert.
    :return A BandwidthTransaction object, based on the database object.
    """
    return BandwidthTransactionData(db_obj.sequence_number, db_obj.public_key_a, db_obj.public_key_b,
                                    db_obj.signature_a, db_obj.signature_b, db_obj.amount, db_obj.timestamp)