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

📄 product.java

📁 一个简易的网上购物系统。具有普遍的购物功能。还有一个小型的论坛
💻 JAVA
字号:
package com.longHua.domain;

import java.util.Date;

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

public class Product implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = -3126500011859849354L;
	private Integer productId;
	private Integer uid;
	private Integer catId;
	private String productName;
	private Integer productCount;
	private String productModel;
	private String productUnits;
	private Integer buyNum;
	private Integer lookNum;
	private Float productPrice;
	private Float nowPrice;
	private String productPictrue;
	private String productDesc;
	private Date registerTime;
	private Date duration;
	private String keywords;
	private String supplier;
	private String nowPlace;
	private String productContent;
	private String isPreferred;
	private String payType;
	private String carriagePay;
	private String sendType;
	private String isValid;

	// Constructors

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

	/** full constructor */
	public Product(Integer uid, Integer catId, String productName,
			Integer productCount, String productModel, String productUnits,
			Integer buyNum, Integer lookNum, Float productPrice,
			Float nowPrice, String productPictrue, String productDesc,
			Date registerTime, Date duration, String keywords, String supplier,
			String nowPlace, String productContent, String isPreferred,
			String payType, String carriagePay, String sendType, String isValid) {
		this.uid = uid;
		this.catId = catId;
		this.productName = productName;
		this.productCount = productCount;
		this.productModel = productModel;
		this.productUnits = productUnits;
		this.buyNum = buyNum;
		this.lookNum = lookNum;
		this.productPrice = productPrice;
		this.nowPrice = nowPrice;
		this.productPictrue = productPictrue;
		this.productDesc = productDesc;
		this.registerTime = registerTime;
		this.duration = duration;
		this.keywords = keywords;
		this.supplier = supplier;
		this.nowPlace = nowPlace;
		this.productContent = productContent;
		this.isPreferred = isPreferred;
		this.payType = payType;
		this.carriagePay = carriagePay;
		this.sendType = sendType;
		this.isValid = isValid;
	}

	// Property accessors

	public Integer getProductId() {
		return this.productId;
	}

	public void setProductId(Integer productId) {
		this.productId = productId;
	}

	public Integer getUid() {
		return this.uid;
	}

	public void setUid(Integer uid) {
		this.uid = uid;
	}

	public Integer getCatId() {
		return this.catId;
	}

	public void setCatId(Integer catId) {
		this.catId = catId;
	}

	public String getProductName() {
		return this.productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public Integer getProductCount() {
		return this.productCount;
	}

	public void setProductCount(Integer productCount) {
		this.productCount = productCount;
	}

	public String getProductModel() {
		return this.productModel;
	}

	public void setProductModel(String productModel) {
		this.productModel = productModel;
	}

	public String getProductUnits() {
		return this.productUnits;
	}

	public void setProductUnits(String productUnits) {
		this.productUnits = productUnits;
	}

	public Integer getBuyNum() {
		return this.buyNum;
	}

	public void setBuyNum(Integer buyNum) {
		this.buyNum = buyNum;
	}

	public Integer getLookNum() {
		return this.lookNum;
	}

	public void setLookNum(Integer lookNum) {
		this.lookNum = lookNum;
	}

	public Float getProductPrice() {
		return this.productPrice;
	}

	public void setProductPrice(Float productPrice) {
		this.productPrice = productPrice;
	}

	public Float getNowPrice() {
		return this.nowPrice;
	}

	public void setNowPrice(Float nowPrice) {
		this.nowPrice = nowPrice;
	}

	public String getProductPictrue() {
		return this.productPictrue;
	}

	public void setProductPictrue(String productPictrue) {
		this.productPictrue = productPictrue;
	}

	public String getProductDesc() {
		return this.productDesc;
	}

	public void setProductDesc(String productDesc) {
		this.productDesc = productDesc;
	}

	public Date getRegisterTime() {
		return this.registerTime;
	}

	public void setRegisterTime(Date registerTime) {
		this.registerTime = registerTime;
	}

	public Date getDuration() {
		return this.duration;
	}

	public void setDuration(Date duration) {
		this.duration = duration;
	}

	public String getKeywords() {
		return this.keywords;
	}

	public void setKeywords(String keywords) {
		this.keywords = keywords;
	}

	public String getSupplier() {
		return this.supplier;
	}

	public void setSupplier(String supplier) {
		this.supplier = supplier;
	}

	public String getNowPlace() {
		return this.nowPlace;
	}

	public void setNowPlace(String nowPlace) {
		this.nowPlace = nowPlace;
	}

	public String getProductContent() {
		return this.productContent;
	}

	public void setProductContent(String productContent) {
		this.productContent = productContent;
	}

	public String getIsPreferred() {
		return this.isPreferred;
	}

	public void setIsPreferred(String isPreferred) {
		this.isPreferred = isPreferred;
	}

	public String getPayType() {
		return this.payType;
	}

	public void setPayType(String payType) {
		this.payType = payType;
	}

	public String getCarriagePay() {
		return this.carriagePay;
	}

	public void setCarriagePay(String carriagePay) {
		this.carriagePay = carriagePay;
	}

	public String getSendType() {
		return this.sendType;
	}

	public void setSendType(String sendType) {
		this.sendType = sendType;
	}

	public String getIsValid() {
		return this.isValid;
	}

	public void setIsValid(String isValid) {
		this.isValid = isValid;
	}

}

⌨️ 快捷键说明

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