package classes;
import java.util.Date;
public class Transaction {
private Date date;
private Item item;
public Transaction(Item item) {
date = new Date();
this.item = item;
}
public Date getDate() {
return date;
}
public void setDate(Date date) {
this.date = date;
}
public Item getItem() {
return item;
}
public void setItem(Item item) {
this.item = item;
}
}