norms.java
来自「一个网上购物商城系统」· Java 代码 · 共 98 行
JAVA
98 行
package tarena.entity;
import java.util.HashSet;
import java.util.Set;
/**
* Norms generated by MyEclipse Persistence Tools
*/
public class Norms implements java.io.Serializable {
// Fields
private Integer id;
private Category category;
private String normname;
private String description;
private Set normproperties = new HashSet(0);
private Set productnorms = new HashSet(0);
// Constructors
/** default constructor */
public Norms() {
}
/** minimal constructor */
public Norms(Category category, String normname) {
this.category = category;
this.normname = normname;
}
/** full constructor */
public Norms(Category category, String normname, String description,
Set normproperties, Set productnorms) {
this.category = category;
this.normname = normname;
this.description = description;
this.normproperties = normproperties;
this.productnorms = productnorms;
}
// Property accessors
public Integer getId() {
return this.id;
}
public void setId(Integer id) {
this.id = id;
}
public Category getCategory() {
return this.category;
}
public void setCategory(Category category) {
this.category = category;
}
public String getNormname() {
return this.normname;
}
public void setNormname(String normname) {
this.normname = normname;
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
}
public Set getNormproperties() {
return this.normproperties;
}
public void setNormproperties(Set normproperties) {
this.normproperties = normproperties;
}
public Set getProductnorms() {
return this.productnorms;
}
public void setProductnorms(Set productnorms) {
this.productnorms = productnorms;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?