package com.doctor.esper.event;

import java.math.BigDecimal;

public class Withdrawal {
	private String account;

	private BigDecimal amount;

	public String getAccount() {
		return account;
	}

	public BigDecimal getAmount() {
		return amount;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}

}

package com.doctor.esper.event;

import java.math.BigDecimal;

public class Withdrawal {
	private String account;

	private BigDecimal amount;

	public Withdrawal(String account, BigDecimal amount) {
		this.account = account;
		this.amount = amount;
	}

	public String getAccount() {
		return account;
	}

	public BigDecimal getAmount() {
		return amount;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}

}

add constructor