1 package org.hibernate.auction; 3 4 import java.util.Date ; 5 6 9 public class AuctionInfo { 10 private long id; 11 private String description; 12 private Date ends; 13 private Float maxAmount; 14 public String getDescription() { 15 return description; 16 } 17 18 public Date getEnds() { 19 return ends; 20 } 21 22 public long getId() { 23 return id; 24 } 25 26 public Float getMaxAmount() { 27 return maxAmount; 28 } 29 30 public AuctionInfo(long id, String description, Date ends, Float maxAmount) { 31 this.id = id; 32 this.description = description; 33 this.ends = ends; 34 this.maxAmount = maxAmount; 35 } 36 37 } 38 | Popular Tags |