prices.java

来自「struts+spring+hibernate例子」· Java 代码 · 共 66 行

JAVA
66
字号
package com.shop.entity;

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

public class Prices implements java.io.Serializable {

	// Fields

	private Integer id;
	private Product product;
	private String shopname;
	private Double shopprice;

	// Constructors

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

	/** full constructor */
	public Prices(Integer id, Product product, String shopname, Double shopprice) {
		this.id = id;
		this.product = product;
		this.shopname = shopname;
		this.shopprice = shopprice;
	}

	// 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 getShopname() {
		return this.shopname;
	}

	public void setShopname(String shopname) {
		this.shopname = shopname;
	}

	public Double getShopprice() {
		return this.shopprice;
	}

	public void setShopprice(Double shopprice) {
		this.shopprice = shopprice;
	}

}

⌨️ 快捷键说明

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