stores.java
来自「带分页显示的简单例子 Hibernate」· Java 代码 · 共 120 行
JAVA
120 行
package fmq.model.bo;
import java.util.HashSet;
import java.util.Set;
/**
* Stores generated by MyEclipse Persistence Tools
*/
public class Stores implements java.io.Serializable {
// Fields
private String storId;
private String storName;
private String storAddress;
private String city;
private String state;
private String zip;
private Set saleses = new HashSet(0);
private Set discountses = new HashSet(0);
// Constructors
/** default constructor */
public Stores() {
}
/** minimal constructor */
public Stores(String storId) {
this.storId = storId;
}
/** full constructor */
public Stores(String storId, String storName, String storAddress,
String city, String state, String zip, Set saleses, Set discountses) {
this.storId = storId;
this.storName = storName;
this.storAddress = storAddress;
this.city = city;
this.state = state;
this.zip = zip;
this.saleses = saleses;
this.discountses = discountses;
}
// Property accessors
public String getStorId() {
return this.storId;
}
public void setStorId(String storId) {
this.storId = storId;
}
public String getStorName() {
return this.storName;
}
public void setStorName(String storName) {
this.storName = storName;
}
public String getStorAddress() {
return this.storAddress;
}
public void setStorAddress(String storAddress) {
this.storAddress = storAddress;
}
public String getCity() {
return this.city;
}
public void setCity(String city) {
this.city = city;
}
public String getState() {
return this.state;
}
public void setState(String state) {
this.state = state;
}
public String getZip() {
return this.zip;
}
public void setZip(String zip) {
this.zip = zip;
}
public Set getSaleses() {
return this.saleses;
}
public void setSaleses(Set saleses) {
this.saleses = saleses;
}
public Set getDiscountses() {
return this.discountses;
}
public void setDiscountses(Set discountses) {
this.discountses = discountses;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?