finished basic account add
[Bookkeeping.git] / src / com / interrupt / bookkeeping / account / CreditPointer.java
blob42e9688f4e39196b522364c65bf65a60c84728dd
1 package com.interrupt.bookkeeping.account;
3 import com.interrupt.bookkeeping.journal.Entry;
4 import com.interrupt.bookkeeping.journal.Journal;
6 public class CreditPointer extends GCreditPointer {
8 public CreditPointer() {
10 super();
12 public CreditPointer(GCredit credit) {
14 super();
15 this.setAccountid(credit.getAccountid());
16 this.setEntryid(credit.getEntryid());
17 this.setJournalid(((Entry)credit.getParent()).getJournalid());
18 this.setRefid(credit.getId());