⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bid.java

📁 hibernate 开源框架的代码 jar包希望大家能喜欢
💻 JAVA
字号:
//$Id: Bid.java 6793 2005-05-16 05:46:47Z oneovthafew $package org.hibernate.test.joinfetch;import java.util.Calendar;/** * @author Gavin King */public class Bid {		private float amount;	private Item item;	private Calendar timestamp;	private Long id;	public float getAmount() {		return amount;	}	public void setAmount(float amount) {		this.amount = amount;	}	public Item getItem() {		return item;	}	public void setItem(Item item) {		this.item = item;	}	public Calendar getTimestamp() {		return timestamp;	}	public void setTimestamp(Calendar timestamp) {		this.timestamp = timestamp;	}		Bid() {}	public Bid(Item item, float amount) {		this.amount = amount;		this.item = item;		item.getBids().add(this);		this.timestamp = Calendar.getInstance();	}	public Long getId() {		return id;	}	public void setId(Long id) {		this.id = id;	}}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -