bid.java

来自「本系统是一个网上拍卖系统」· Java 代码 · 共 94 行

JAVA
94
字号
package y2ssh.xzh.entity;

import java.util.Date;


/**
 * Bid generated by MyEclipse Persistence Tools
 */

public class Bid implements java.io.Serializable {

	// Fields

	private Long bidId;

	//private Long goodsId;

	//private Long buyerId;

	private Date bidTime;

	private Double bidPrice;

	private Integer bidStatus;
	 private Goods goods;
     private User buyer;
	// Constructors

	public User getBuyer() {
		return buyer;
	}

	public void setBuyer(User buyer) {
		this.buyer = buyer;
	}

	public Goods getGoods() {
		return goods;
	}

	public void setGoods(Goods goods) {
		this.goods = goods;
	}

	/** default constructor */
	public Bid() {
	}

	/** full constructor */
	public Bid(Goods goods, User buyer, Date bidTime, Double bidPrice,
			Integer bidStatus) {
		this.goods = goods;
		this.buyer = buyer;
		this.bidTime = bidTime;
		this.bidPrice = bidPrice;
		this.bidStatus = bidStatus;
	}

	// Property accessors

	public Long getBidId() {
		return this.bidId;
	}

	public void setBidId(Long bidId) {
		this.bidId = bidId;
	}

	
	public Date getBidTime() {
		return this.bidTime;
	}

	public void setBidTime(Date bidTime) {
		this.bidTime = bidTime;
	}

	public Double getBidPrice() {
		return this.bidPrice;
	}

	public void setBidPrice(Double bidPrice) {
		this.bidPrice = bidPrice;
	}

	public Integer getBidStatus() {
		return this.bidStatus;
	}

	public void setBidStatus(Integer bidStatus) {
		this.bidStatus = bidStatus;
	}

}

⌨️ 快捷键说明

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