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

📄 tbgoods.java

📁 构建一个以商品销售为主体的电子商城,功能描叙如下: 1.按商品大类及商品名称进行模糊查询 2.实现网上购物 3.新品及特价商品展示 4.商品销售排行
💻 JAVA
字号:
package com.lzw.model;

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

public class TbGoods implements java.io.Serializable {
	private Long id;

	private Integer typeId;

	private String goodsName;

	private String introduce;

	private Double price;

	private Double nowPrice;

	private String picture;

	private Date intime;

	private Integer newGoods;

	private Integer sale;

	private Integer hit;

	private Set tbOrderDetails = new HashSet(0);

	public TbGoods() {
	}

	public TbGoods(Long id, Integer typeId, String goodsName, Double price,
			Date intime, Integer newGoods) {
		this.id = id;
		this.typeId = typeId;
		this.goodsName = goodsName;
		this.price = price;
		this.intime = intime;
		this.newGoods = newGoods;
	}

	public TbGoods(Long id, Integer typeId, String goodsName, String introduce,
			Double price, Double nowPrice, String picture, Date intime,
			Integer newGoods, Integer sale, Integer hit, Set tbOrderDetails) {
		this.id = id;
		this.typeId = typeId;
		this.goodsName = goodsName;
		this.introduce = introduce;
		this.price = price;
		this.nowPrice = nowPrice;
		this.picture = picture;
		this.intime = intime;
		this.newGoods = newGoods;
		this.sale = sale;
		this.hit = hit;
		this.tbOrderDetails = tbOrderDetails;
	}

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

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

	public Integer getTypeId() {
		return this.typeId;
	}

	public void setTypeId(Integer typeId) {
		this.typeId = typeId;
	}

	public String getGoodsName() {
		return this.goodsName;
	}

	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}

	public String getIntroduce() {
		return this.introduce;
	}

	public void setIntroduce(String introduce) {
		this.introduce = introduce;
	}

	public Double getPrice() {
		return this.price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

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

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

	public String getPicture() {
		return this.picture;
	}

	public void setPicture(String picture) {
		this.picture = picture;
	}

	public Date getIntime() {
		return this.intime;
	}

	public void setIntime(Date intime) {
		this.intime = intime;
	}

	public Integer getNewGoods() {
		return this.newGoods;
	}

	public void setNewGoods(Integer newGoods) {
		this.newGoods = newGoods;
	}

	public Integer getSale() {
		return this.sale;
	}

	public void setSale(Integer sale) {
		this.sale = sale;
	}

	public Integer getHit() {
		return this.hit;
	}

	public void setHit(Integer hit) {
		this.hit = hit;
	}

	public Set getTbOrderDetails() {
		return this.tbOrderDetails;
	}

	public void setTbOrderDetails(Set tbOrderDetails) {
		this.tbOrderDetails = tbOrderDetails;
	}

}

⌨️ 快捷键说明

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