protected STransaction toUnwrappedModel(STransaction sTransaction) {
if (sTransaction instanceof STransactionImpl) {
return sTransaction;
}
STransactionImpl sTransactionImpl = new STransactionImpl();
sTransactionImpl.setNew(sTransaction.isNew());
sTransactionImpl.setPrimaryKey(sTransaction.getPrimaryKey());
sTransactionImpl.setTransactionId(sTransaction.getTransactionId());
sTransactionImpl.setBookId(sTransaction.getBookId());
sTransactionImpl.setMemberId(sTransaction.getMemberId());
sTransactionImpl.setTdate(sTransaction.getTdate());
return sTransactionImpl;
}