⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 color.java

📁 基于struts+hibernate的电子商务网站。可运行。数据库mysql
💻 JAVA
字号:
package tarena.entity;

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

/**
 * Color entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Color implements java.io.Serializable {

	// Fields

	private Integer id;
	private Product product;
	private String colorname;
	private String image;
	private String description;
	private Set transactions = new HashSet(0);

	// Constructors

	/** default constructor */
	public Color() {
	}

	/** minimal constructor */
	public Color(Product product, String colorname, String image) {
		this.product = product;
		this.colorname = colorname;
		this.image = image;
	}

	/** full constructor */
	public Color(Product product, String colorname, String image,
			String description, Set transactions) {
		this.product = product;
		this.colorname = colorname;
		this.image = image;
		this.description = description;
		this.transactions = transactions;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Product getProduct() {
		return this.product;
	}

	public void setProduct(Product product) {
		this.product = product;
	}

	public String getColorname() {
		return this.colorname;
	}

	public void setColorname(String colorname) {
		this.colorname = colorname;
	}

	public String getImage() {
		return this.image;
	}

	public void setImage(String image) {
		this.image = image;
	}

	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Set getTransactions() {
		return this.transactions;
	}

	public void setTransactions(Set transactions) {
		this.transactions = transactions;
	}

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -