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

📄 productid.java

📁 采用struts+hibernet+javabean+jsp 些得shop购物网站,此系本人原创.
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
	public void setSolded(Short solded) {
		this.solded = solded;
	}

	public Short getViewnum() {
		return this.viewnum;
	}

	public void setViewnum(Short viewnum) {
		this.viewnum = viewnum;
	}

	public Double getDiscount() {
		return this.discount;
	}

	public void setDiscount(Double discount) {
		this.discount = discount;
	}

	public Short getSortsid() {
		return this.sortsid;
	}

	public void setSortsid(Short sortsid) {
		this.sortsid = sortsid;
	}

	public Short getCategoryid() {
		return this.categoryid;
	}

	public void setCategoryid(Short categoryid) {
		this.categoryid = categoryid;
	}

	public String getPic() {
		return this.pic;
	}

	public void setPic(String pic) {
		this.pic = pic;
	}

	public Short getMakein() {
		return this.makein;
	}

	public void setMakein(Short makein) {
		this.makein = makein;
	}

	public Date getAdddate() {
		return this.adddate;
	}

	public void setAdddate(Date adddate) {
		this.adddate = adddate;
	}

	public Short getRanknum() {
		return this.ranknum;
	}

	public void setRanknum(Short ranknum) {
		this.ranknum = ranknum;
	}

	public Double getVipprice() {
		return this.vipprice;
	}

	public void setVipprice(Double vipprice) {
		this.vipprice = vipprice;
	}

	public Integer getAmount() {
		return this.amount;
	}

	public void setAmount(Integer amount) {
		this.amount = amount;
	}

	public Integer getStock() {
		return this.stock;
	}

	public void setStock(Integer stock) {
		this.stock = stock;
	}

	public String getLink() {
		return this.link;
	}

	public void setLink(String link) {
		this.link = link;
	}

	public String getMark() {
		return this.mark;
	}

	public void setMark(String mark) {
		this.mark = mark;
	}

	public String getType() {
		return this.type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public boolean equals(Object other) {
		if ((this == other))
			return true;
		if ((other == null))
			return false;
		if (!(other instanceof ProductId))
			return false;
		ProductId castOther = (ProductId) other;

		return ((this.getId() == castOther.getId()) || (this.getId() != null
				&& castOther.getId() != null && this.getId().equals(
				castOther.getId())))
				&& ((this.getPrename() == castOther.getPrename()) || (this
						.getPrename() != null
						&& castOther.getPrename() != null && this.getPrename()
						.equals(castOther.getPrename())))
				&& ((this.getCompany() == castOther.getCompany()) || (this
						.getCompany() != null
						&& castOther.getCompany() != null && this.getCompany()
						.equals(castOther.getCompany())))
				&& ((this.getIntro() == castOther.getIntro()) || (this
						.getIntro() != null
						&& castOther.getIntro() != null && this.getIntro()
						.equals(castOther.getIntro())))
				&& ((this.getPredate() == castOther.getPredate()) || (this
						.getPredate() != null
						&& castOther.getPredate() != null && this.getPredate()
						.equals(castOther.getPredate())))
				&& ((this.getPrice() == castOther.getPrice()) || (this
						.getPrice() != null
						&& castOther.getPrice() != null && this.getPrice()
						.equals(castOther.getPrice())))
				&& ((this.getPretype() == castOther.getPretype()) || (this
						.getPretype() != null
						&& castOther.getPretype() != null && this.getPretype()
						.equals(castOther.getPretype())))
				&& ((this.getOther() == castOther.getOther()) || (this
						.getOther() != null
						&& castOther.getOther() != null && this.getOther()
						.equals(castOther.getOther())))
				&& ((this.getGraph2() == castOther.getGraph2()) || (this
						.getGraph2() != null
						&& castOther.getGraph2() != null && this.getGraph2()
						.equals(castOther.getGraph2())))
				&& ((this.getAddlink() == castOther.getAddlink()) || (this
						.getAddlink() != null
						&& castOther.getAddlink() != null && this.getAddlink()
						.equals(castOther.getAddlink())))
				&& ((this.getPrestock() == castOther.getPrestock()) || (this
						.getPrestock() != null
						&& castOther.getPrestock() != null && this
						.getPrestock().equals(castOther.getPrestock())))
				&& ((this.getGraph() == castOther.getGraph()) || (this
						.getGraph() != null
						&& castOther.getGraph() != null && this.getGraph()
						.equals(castOther.getGraph())))
				&& ((this.getDescription() == castOther.getDescription()) || (this
						.getDescription() != null
						&& castOther.getDescription() != null && this
						.getDescription().equals(castOther.getDescription())))
				&& ((this.getRemarks() == castOther.getRemarks()) || (this
						.getRemarks() != null
						&& castOther.getRemarks() != null && this.getRemarks()
						.equals(castOther.getRemarks())))
				&& ((this.getName() == castOther.getName()) || (this.getName() != null
						&& castOther.getName() != null && this.getName()
						.equals(castOther.getName())))
				&& ((this.getIntroduce() == castOther.getIntroduce()) || (this
						.getIntroduce() != null
						&& castOther.getIntroduce() != null && this
						.getIntroduce().equals(castOther.getIntroduce())))
				&& ((this.getProductdate() == castOther.getProductdate()) || (this
						.getProductdate() != null
						&& castOther.getProductdate() != null && this
						.getProductdate().equals(castOther.getProductdate())))
				&& ((this.getScore() == castOther.getScore()) || (this
						.getScore() != null
						&& castOther.getScore() != null && this.getScore()
						.equals(castOther.getScore())))
				&& ((this.getGrade() == castOther.getGrade()) || (this
						.getGrade() != null
						&& castOther.getGrade() != null && this.getGrade()
						.equals(castOther.getGrade())))
				&& ((this.getPhoto() == castOther.getPhoto()) || (this
						.getPhoto() != null
						&& castOther.getPhoto() != null && this.getPhoto()
						.equals(castOther.getPhoto())))
				&& ((this.getDetail() == castOther.getDetail()) || (this
						.getDetail() != null
						&& castOther.getDetail() != null && this.getDetail()
						.equals(castOther.getDetail())))
				&& ((this.getContent() == castOther.getContent()) || (this
						.getContent() != null
						&& castOther.getContent() != null && this.getContent()
						.equals(castOther.getContent())))
				&& ((this.getRank() == castOther.getRank()) || (this.getRank() != null
						&& castOther.getRank() != null && this.getRank()
						.equals(castOther.getRank())))
				&& ((this.getPrice1() == castOther.getPrice1()) || (this
						.getPrice1() != null
						&& castOther.getPrice1() != null && this.getPrice1()
						.equals(castOther.getPrice1())))
				&& ((this.getPrice2() == castOther.getPrice2()) || (this
						.getPrice2() != null
						&& castOther.getPrice2() != null && this.getPrice2()
						.equals(castOther.getPrice2())))
				&& ((this.getRecommend() == castOther.getRecommend()) || (this
						.getRecommend() != null
						&& castOther.getRecommend() != null && this
						.getRecommend().equals(castOther.getRecommend())))
				&& ((this.getSolded() == castOther.getSolded()) || (this
						.getSolded() != null
						&& castOther.getSolded() != null && this.getSolded()
						.equals(castOther.getSolded())))
				&& ((this.getViewnum() == castOther.getViewnum()) || (this
						.getViewnum() != null
						&& castOther.getViewnum() != null && this.getViewnum()
						.equals(castOther.getViewnum())))
				&& ((this.getDiscount() == castOther.getDiscount()) || (this
						.getDiscount() != null
						&& castOther.getDiscount() != null && this
						.getDiscount().equals(castOther.getDiscount())))
				&& ((this.getSortsid() == castOther.getSortsid()) || (this
						.getSortsid() != null
						&& castOther.getSortsid() != null && this.getSortsid()
						.equals(castOther.getSortsid())))
				&& ((this.getCategoryid() == castOther.getCategoryid()) || (this
						.getCategoryid() != null
						&& castOther.getCategoryid() != null && this
						.getCategoryid().equals(castOther.getCategoryid())))
				&& ((this.getPic() == castOther.getPic()) || (this.getPic() != null
						&& castOther.getPic() != null && this.getPic().equals(
						castOther.getPic())))
				&& ((this.getMakein() == castOther.getMakein()) || (this
						.getMakein() != null
						&& castOther.getMakein() != null && this.getMakein()
						.equals(castOther.getMakein())))
				&& ((this.getAdddate() == castOther.getAdddate()) || (this
						.getAdddate() != null
						&& castOther.getAdddate() != null && this.getAdddate()
						.equals(castOther.getAdddate())))
				&& ((this.getRanknum() == castOther.getRanknum()) || (this
						.getRanknum() != null
						&& castOther.getRanknum() != null && this.getRanknum()
						.equals(castOther.getRanknum())))
				&& ((this.getVipprice() == castOther.getVipprice()) || (this
						.getVipprice() != null
						&& castOther.getVipprice() != null && this
						.getVipprice().equals(castOther.getVipprice())))
				&& ((this.getAmount() == castOther.getAmount()) || (this
						.getAmount() != null
						&& castOther.getAmount() != null && this.getAmount()
						.equals(castOther.getAmount())))
				&& ((this.getStock() == castOther.getStock()) || (this
						.getStock() != null
						&& castOther.getStock() != null && this.getStock()
						.equals(castOther.getStock())))
				&& ((this.getLink() == castOther.getLink()) || (this.getLink() != null
						&& castOther.getLink() != null && this.getLink()
						.equals(castOther.getLink())))
				&& ((this.getMark() == castOther.getMark()) || (this.getMark() != null
						&& castOther.getMark() != null && this.getMark()
						.equals(castOther.getMark())))
				&& ((this.getType() == castOther.getType()) || (this.getType() != null
						&& castOther.getType() != null && this.getType()
						.equals(castOther.getType())));
	}

	public int hashCode() {
		int result = 17;

		result = 37 * result + (getId() == null ? 0 : this.getId().hashCode());
		result = 37 * result
				+ (getPrename() == null ? 0 : this.getPrename().hashCode());
		result = 37 * result
				+ (getCompany() == null ? 0 : this.getCompany().hashCode());
		result = 37 * result
				+ (getIntro() == null ? 0 : this.getIntro().hashCode());
		result = 37 * result
				+ (getPredate() == null ? 0 : this.getPredate().hashCode());
		result = 37 * result
				+ (getPrice() == null ? 0 : this.getPrice().hashCode());
		result = 37 * result
				+ (getPretype() == null ? 0 : this.getPretype().hashCode());
		result = 37 * result
				+ (getOther() == null ? 0 : this.getOther().hashCode());
		result = 37 * result
				+ (getGraph2() == null ? 0 : this.getGraph2().hashCode());
		result = 37 * result
				+ (getAddlink() == null ? 0 : this.getAddlink().hashCode());
		result = 37 * result
				+ (getPrestock() == null ? 0 : this.getPrestock().hashCode());
		result = 37 * result
				+ (getGraph() == null ? 0 : this.getGraph().hashCode());
		result = 37
				* result
				+ (getDescription() == null ? 0 : this.getDescription()
						.hashCode());
		result = 37 * result
				+ (getRemarks() == null ? 0 : this.getRemarks().hashCode());
		result = 37 * result
				+ (getName() == null ? 0 : this.getName().hashCode());
		result = 37 * result
				+ (getIntroduce() == null ? 0 : this.getIntroduce().hashCode());
		result = 37
				* result
				+ (getProductdate() == null ? 0 : this.getProductdate()
						.hashCode());
		result = 37 * result
				+ (getScore() == null ? 0 : this.getScore().hashCode());
		result = 37 * result
				+ (getGrade() == null ? 0 : this.getGrade().hashCode());
		result = 37 * result
				+ (getPhoto() == null ? 0 : this.getPhoto().hashCode());
		result = 37 * result
				+ (getDetail() == null ? 0 : this.getDetail().hashCode());
		result = 37 * result
				+ (getContent() == null ? 0 : this.getContent().hashCode());
		result = 37 * result
				+ (getRank() == null ? 0 : this.getRank().hashCode());
		result = 37 * result
				+ (getPrice1() == null ? 0 : this.getPrice1().hashCode());
		result = 37 * result
				+ (getPrice2() == null ? 0 : this.getPrice2().hashCode());
		result = 37 * result
				+ (getRecommend() == null ? 0 : this.getRecommend().hashCode());
		result = 37 * result
				+ (getSolded() == null ? 0 : this.getSolded().hashCode());
		result = 37 * result
				+ (getViewnum() == null ? 0 : this.getViewnum().hashCode());
		result = 37 * result
				+ (getDiscount() == null ? 0 : this.getDiscount().hashCode());
		result = 37 * result
				+ (getSortsid() == null ? 0 : this.getSortsid().hashCode());
		result = 37
				* result
				+ (getCategoryid() == null ? 0 : this.getCategoryid()
						.hashCode());
		result = 37 * result
				+ (getPic() == null ? 0 : this.getPic().hashCode());
		result = 37 * result
				+ (getMakein() == null ? 0 : this.getMakein().hashCode());
		result = 37 * result
				+ (getAdddate() == null ? 0 : this.getAdddate().hashCode());
		result = 37 * result
				+ (getRanknum() == null ? 0 : this.getRanknum().hashCode());
		result = 37 * result
				+ (getVipprice() == null ? 0 : this.getVipprice().hashCode());
		result = 37 * result
				+ (getAmount() == null ? 0 : this.getAmount().hashCode());
		result = 37 * result
				+ (getStock() == null ? 0 : this.getStock().hashCode());
		result = 37 * result
				+ (getLink() == null ? 0 : this.getLink().hashCode());
		result = 37 * result
				+ (getMark() == null ? 0 : this.getMark().hashCode());
		result = 37 * result
				+ (getType() == null ? 0 : this.getType().hashCode());
		return result;
	}

}

⌨️ 快捷键说明

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