bid.java

来自「基于ssh2的三者整合」· Java 代码 · 共 77 行

JAVA
77
字号
package com.lixineng.dao;

import java.util.Date;

/**
 * Bid entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Bid implements java.io.Serializable {

	// Fields

	private Integer bidId;
	private Item item;
	private AuctionUser auctionUser;
	private Double bidPrice;
	private Date bidDate;

	// Constructors

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

	/** full constructor */
	public Bid(Item item, AuctionUser auctionUser, Double bidPrice, Date bidDate) {
		this.item = item;
		this.auctionUser = auctionUser;
		this.bidPrice = bidPrice;
		this.bidDate = bidDate;
	}

	// Property accessors

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

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

	public Item getItem() {
		return this.item;
	}

	public void setItem(Item item) {
		this.item = item;
	}

	public AuctionUser getAuctionUser() {
		return this.auctionUser;
	}

	public void setAuctionUser(AuctionUser auctionUser) {
		this.auctionUser = auctionUser;
	}

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

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

	public Date getBidDate() {
		return this.bidDate;
	}

	public void setBidDate(Date bidDate) {
		this.bidDate = bidDate;
	}

}

⌨️ 快捷键说明

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