mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-14 23:25:00 +00:00
git-svn-id: https://svn.jboss.org/repos/hibernate/core/branches/Branch_3_2@11760 1b8cb986-b30d-0410-93ca-fae66ebed9b2
38 lines
598 B
Java
38 lines
598 B
Java
//$Id$
|
|
package org.hibernate.auction;
|
|
|
|
import java.util.Date;
|
|
|
|
/**
|
|
* @author Gavin King
|
|
*/
|
|
public class AuctionInfo {
|
|
private long id;
|
|
private String description;
|
|
private Date ends;
|
|
private Float maxAmount;
|
|
public String getDescription() {
|
|
return description;
|
|
}
|
|
|
|
public Date getEnds() {
|
|
return ends;
|
|
}
|
|
|
|
public long getId() {
|
|
return id;
|
|
}
|
|
|
|
public Float getMaxAmount() {
|
|
return maxAmount;
|
|
}
|
|
|
|
public AuctionInfo(long id, String description, Date ends, Float maxAmount) {
|
|
this.id = id;
|
|
this.description = description;
|
|
this.ends = ends;
|
|
this.maxAmount = maxAmount;
|
|
}
|
|
|
|
}
|