add self relation of TransactionDetail