?? item.java
字號:
package com.lixineng.dao;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;
/**
* Item entity.
*
* @author MyEclipse Persistence Tools
*/
public class Item implements java.io.Serializable {
// Fields
private Integer itemId;
private AuctionUser auctionUserByWinerId;
private Kind kind;
private AuctionUser auctionUserByOwnerId;
private State state;
private String itemName;
private String itemRemark;
private String itemDesc;
private Date addtime;
private Date endtime;
private Double initPrice;
private Double maxPrice;
private Set bids = new HashSet(0);
// Constructors
/** default constructor */
public Item() {
}
/** minimal constructor */
public Item(Kind kind, AuctionUser auctionUserByOwnerId, State state,
String itemName, String itemRemark, Date addtime, Date endtime,
Double initPrice, Double maxPrice) {
this.kind = kind;
this.auctionUserByOwnerId = auctionUserByOwnerId;
this.state = state;
this.itemName = itemName;
this.itemRemark = itemRemark;
this.addtime = addtime;
this.endtime = endtime;
this.initPrice = initPrice;
this.maxPrice = maxPrice;
}
/** full constructor */
public Item(AuctionUser auctionUserByWinerId, Kind kind,
AuctionUser auctionUserByOwnerId, State state, String itemName,
String itemRemark, String itemDesc, Date addtime, Date endtime,
Double initPrice, Double maxPrice, Set bids) {
this.auctionUserByWinerId = auctionUserByWinerId;
this.kind = kind;
this.auctionUserByOwnerId = auctionUserByOwnerId;
this.state = state;
this.itemName = itemName;
this.itemRemark = itemRemark;
this.itemDesc = itemDesc;
this.addtime = addtime;
this.endtime = endtime;
this.initPrice = initPrice;
this.maxPrice = maxPrice;
this.bids = bids;
}
// Property accessors
public Integer getItemId() {
return this.itemId;
}
public void setItemId(Integer itemId) {
this.itemId = itemId;
}
public AuctionUser getAuctionUserByWinerId() {
return this.auctionUserByWinerId;
}
public void setAuctionUserByWinerId(AuctionUser auctionUserByWinerId) {
this.auctionUserByWinerId = auctionUserByWinerId;
}
public Kind getKind() {
return this.kind;
}
public void setKind(Kind kind) {
this.kind = kind;
}
public AuctionUser getAuctionUserByOwnerId() {
return this.auctionUserByOwnerId;
}
public void setAuctionUserByOwnerId(AuctionUser auctionUserByOwnerId) {
this.auctionUserByOwnerId = auctionUserByOwnerId;
}
public State getState() {
return this.state;
}
public void setState(State state) {
this.state = state;
}
public String getItemName() {
return this.itemName;
}
public void setItemName(String itemName) {
this.itemName = itemName;
}
public String getItemRemark() {
return this.itemRemark;
}
public void setItemRemark(String itemRemark) {
this.itemRemark = itemRemark;
}
public String getItemDesc() {
return this.itemDesc;
}
public void setItemDesc(String itemDesc) {
this.itemDesc = itemDesc;
}
public Date getAddtime() {
return this.addtime;
}
public void setAddtime(Date addtime) {
this.addtime = addtime;
}
public Date getEndtime() {
return this.endtime;
}
public void setEndtime(Date endtime) {
this.endtime = endtime;
}
public Double getInitPrice() {
return this.initPrice;
}
public void setInitPrice(Double initPrice) {
this.initPrice = initPrice;
}
public Double getMaxPrice() {
return this.maxPrice;
}
public void setMaxPrice(Double maxPrice) {
this.maxPrice = maxPrice;
}
public Set getBids() {
return this.bids;
}
public void setBids(Set bids) {
this.bids = bids;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -