product.java

来自「购物车系统」· Java 代码 · 共 46 行

JAVA
46
字号
package com.estore.entity;

import java.util.*;

public class Product {
	private Integer pid;
	private String name;
	private String description;
	private double price;
	
	public Product(){
		
	}
	public Product(String name,String description,double price){
		this.name = name;
		this.description = description;
		this.price = price;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public Integer getPid() {
		return pid;
	}
	public void setPid(Integer pid) {
		this.pid = pid;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
 	
	
}

⌨️ 快捷键说明

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