norms.java

来自「基于struts+hibernate的电子商务网站。可运行。数据库mysql」· Java 代码 · 共 95 行

JAVA
95
字号
package tarena.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * Norms entity.
 * 
 * @author 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 + -
显示快捷键?