package org.richfaces.datatable;

public class ExpenseReportRecordItem {
	private String day;
	private double meals;
	private double hotels;
	private double transport;

	public ExpenseReportRecordItem(String day, double meals, double hotels, double transport) {
		this.day = day;
		this.meals = meals;
		this.hotels = hotels;
		this.transport = transport;
	}
	public String getDay() {
		return day;
	}
	public void setDay(String day) {
		this.day = day;
	}
	public double getHotels() {
		return hotels;
	}
	public void setHotels(double hotels) {
		this.hotels = hotels;
	}
	public double getMeals() {
		return meals;
	}
	public void setMeals(double meals) {
		this.meals = meals;
	}
	public double getTransport() {
		return transport;
	}
	public void setTransport(double transport) {
		this.transport = transport;
	}
	public double getTotal() {
		return meals+hotels+transport;
	}
}
