1 package org.hibernate.test.bidi; 3 4 import java.util.ArrayList ; 5 import java.util.Date ; 6 import java.util.List ; 7 8 11 public class Auction { 12 private Long id; 13 private String description; 14 private List bids = new ArrayList (); 15 private Bid successfulBid; 16 private Date end; 17 18 public Date getEnd() { 19 return end; 20 } 21 public void setEnd(Date end) { 22 this.end = end; 23 } 24 public List getBids() { 25 return bids; 26 } 27 public void setBids(List bids) { 28 this.bids = bids; 29 } 30 public String getDescription() { 31 return description; 32 } 33 public void setDescription(String description) { 34 this.description = description; 35 } 36 public Long getId() { 37 return id; 38 } 39 public void setId(Long id) { 40 this.id = id; 41 } 42 public Bid getSuccessfulBid() { 43 return successfulBid; 44 } 45 public void setSuccessfulBid(Bid successfulBid) { 46 this.successfulBid = successfulBid; 47 } 48 } 49 | Popular Tags |