auctionuser.java
来自「基于ssh2的三者整合」· Java 代码 · 共 106 行
JAVA
106 行
package com.lixineng.dao;
import java.util.HashSet;
import java.util.Set;
/**
* AuctionUser entity.
*
* @author MyEclipse Persistence Tools
*/
public class AuctionUser implements java.io.Serializable {
// Fields
private Integer userId;
private String username;
private String userpass;
private String email;
private Set itemsForOwnerId = new HashSet(0);
private Set bids = new HashSet(0);
private Set itemsForWinerId = new HashSet(0);
// Constructors
/** default constructor */
public AuctionUser() {
}
/** minimal constructor */
public AuctionUser(String username, String userpass, String email) {
this.username = username;
this.userpass = userpass;
this.email = email;
}
/** full constructor */
public AuctionUser(String username, String userpass, String email,
Set itemsForOwnerId, Set bids, Set itemsForWinerId) {
this.username = username;
this.userpass = userpass;
this.email = email;
this.itemsForOwnerId = itemsForOwnerId;
this.bids = bids;
this.itemsForWinerId = itemsForWinerId;
}
// Property accessors
public Integer getUserId() {
return this.userId;
}
public void setUserId(Integer userId) {
this.userId = userId;
}
public String getUsername() {
return this.username;
}
public void setUsername(String username) {
this.username = username;
}
public String getUserpass() {
return this.userpass;
}
public void setUserpass(String userpass) {
this.userpass = userpass;
}
public String getEmail() {
return this.email;
}
public void setEmail(String email) {
this.email = email;
}
public Set getItemsForOwnerId() {
return this.itemsForOwnerId;
}
public void setItemsForOwnerId(Set itemsForOwnerId) {
this.itemsForOwnerId = itemsForOwnerId;
}
public Set getBids() {
return this.bids;
}
public void setBids(Set bids) {
this.bids = bids;
}
public Set getItemsForWinerId() {
return this.itemsForWinerId;
}
public void setItemsForWinerId(Set itemsForWinerId) {
this.itemsForWinerId = itemsForWinerId;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?