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