汽车销售网站设计与实现 详细设计与代码实现毕业设计论文 下载本文

}

@Column(nullable=false)

@SearchableProperty(index=Index.NO,store=Store.YES)

public Boolean getVisible() { }

public void setVisible(Boolean visible) { }

@ManyToOne(cascade=CascadeType.REFRESH,optional=false) @JoinColumn(name=\public ProductType getType() { }

public void setType(ProductType type) { }

@Temporal(TemporalType.DATE) public Date getCreatedate() { }

return createdate;

this.type = type; return type; this.visible = visible; return visible;

public void setCreatedate(Date createdate) { }

@Column(nullable=false) public Integer getClickcount() { }

public void setClickcount(Integer clickcount) {

this.clickcount = clickcount;

第13页(共49页)

return clickcount;

this.createdate = createdate;

}

@Column(nullable=false) public Integer getSellcount() { }

public void setSellcount(Integer sellcount) { }

@Column

public Boolean getIsNew() { }

return isNew;

this.sellcount = sellcount; return sellcount;

public void setIsNew(Boolean isNew) { }

this.isNew = isNew;

@Column @SearchableProperty(store=Store.YES)

public String getHighlight() { }

public void setHighlight(String highlight) { }

this.highlight = highlight; return highlight;

@Column

public Boolean getIsHot() { }

public void setIsHot(Boolean isHot) {

this.isHot = isHot;

第14页(共49页)

return isHot;

} @Column

public Boolean getIsActivity() { }

public void setIsActivity(Boolean isActivity) { }

@Column @SearchableProperty(index=Index.NO,store=Store.YES) public Float getBarginMoney() { }

return barginMoney; this.isActivity = isActivity; return isActivity;

public void setBarginMoney(Float barginMoney) { }

@Column(nullable=false)

this.barginMoney = barginMoney;

@SearchableProperty(index=Index.NO,store=Store.YES)

public String getViewImagePathFront() { }

return viewImagePathFront;

public void setViewImagePathFront(String viewImagePathFront) { }

@OneToMany(cascade={CascadeType.ALL},fetch=FetchType.EAGER,

this.viewImagePathFront = viewImagePathFront;

mappedBy=\

public Set getViewImages() { }

第15页(共49页)

return viewImages;