//$Id: Bid.java 14736 2008-06-04 14:23:42Z hardy.ferentschik $
package org.hibernate.test.annotations.entity;

import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import javax.persistence.Id;

/**
 * @author Emmanuel Bernard
 */
@Entity
public class Bid {
	private Integer id;
	private String description;
	private Starred note;
	private Starred editorsNote;
	private Boolean approved;

	@Enumerated(EnumType.STRING)
	//@Column(columnDefinition = "VARCHAR(10)")
	public Starred getEditorsNote() {
		return editorsNote;
	}

	public void setEditorsNote(Starred editorsNote) {
		this.editorsNote = editorsNote;
	}

	@Id
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Starred getNote() {
		return note;
	}

	public void setNote(Starred note) {
		this.note = note;
	}

	public Boolean getApproved() {
		return approved;
	}

	public void setApproved(Boolean approved) {
		this.approved = approved;
	}

}
