package com.github.taxbeans.model;

public enum AccountSide {

    //debits entries appear on the left, credits on the right
    DEBIT(Position.LEFT),
    CREDIT(Position.RIGHT);
    
    public AccountSide(Position position) {
      this.position = position;
    }
}

Create AccountSide.java