package com.yeshi.fanli.entity.bus.recommend;
|
|
import java.io.Serializable;
|
|
import javax.persistence.Column;
|
import javax.persistence.Entity;
|
import javax.persistence.FetchType;
|
import javax.persistence.GeneratedValue;
|
import javax.persistence.GenerationType;
|
import javax.persistence.Id;
|
import javax.persistence.JoinColumn;
|
import javax.persistence.ManyToOne;
|
import javax.persistence.Table;
|
|
import com.yeshi.fanli.entity.common.JumpDetail;
|
|
/**
|
* 推荐专题
|
*
|
* @author Administrator
|
*
|
*/
|
@Entity
|
@Table(name = "yeshi_ec_recommend_special")
|
public class RecommendSpecial implements Serializable{
|
/**
|
*
|
*/
|
private static final long serialVersionUID = 1L;
|
|
@Id
|
@GeneratedValue(strategy = GenerationType.AUTO)
|
@Column(name = "id")
|
private long id;
|
@Column(length = 256)
|
private String picture;
|
@Column(name = "`name`", length = 50)
|
private String name;
|
@Column(name = "`tag`", length = 50)
|
private String tag;
|
private int orderby;
|
@ManyToOne(fetch = FetchType.EAGER)
|
@JoinColumn(name = "jumpid")
|
private JumpDetail jumpDetail;// 跳转详情
|
@Column(name = "`params`", length = 128)
|
private String params;
|
@Column(name = "`show`")
|
private boolean show;
|
private long createtime;
|
|
public RecommendSpecial() {
|
// TODO Auto-generated constructor stub
|
}
|
|
public RecommendSpecial(long id) {
|
super();
|
this.id = id;
|
}
|
|
public RecommendSpecial(String picture, String name, String tag,
|
int orderby, JumpDetail jumpDetail, String params, boolean show,
|
long createtime) {
|
super();
|
this.picture = picture;
|
this.name = name;
|
this.tag = tag;
|
this.orderby = orderby;
|
this.jumpDetail = jumpDetail;
|
this.params = params;
|
this.show = show;
|
this.createtime = createtime;
|
}
|
|
public long getId() {
|
return id;
|
}
|
|
public void setId(long id) {
|
this.id = id;
|
}
|
|
public String getPicture() {
|
return picture;
|
}
|
|
public void setPicture(String picture) {
|
this.picture = picture;
|
}
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
public String getTag() {
|
return tag;
|
}
|
|
public void setTag(String tag) {
|
this.tag = tag;
|
}
|
|
public int getOrderby() {
|
return orderby;
|
}
|
|
public void setOrderby(int orderby) {
|
this.orderby = orderby;
|
}
|
|
public JumpDetail getJumpDetail() {
|
return jumpDetail;
|
}
|
|
public void setJumpDetail(JumpDetail jumpDetail) {
|
this.jumpDetail = jumpDetail;
|
}
|
|
public String getParams() {
|
return params;
|
}
|
|
public void setParams(String params) {
|
this.params = params;
|
}
|
|
public boolean isShow() {
|
return show;
|
}
|
|
public void setShow(boolean show) {
|
this.show = show;
|
}
|
|
public long getCreatetime() {
|
return createtime;
|
}
|
|
public void setCreatetime(long createtime) {
|
this.createtime = createtime;
|
}
|
|
}
|