package com.yeshi.fanli.entity.bus.search;
|
|
import java.io.Serializable;
|
import java.util.List;
|
|
import javax.persistence.Column;
|
import javax.persistence.Entity;
|
import javax.persistence.GeneratedValue;
|
import javax.persistence.GenerationType;
|
import javax.persistence.Id;
|
import javax.persistence.Table;
|
import javax.persistence.Transient;
|
|
import com.yeshi.fanli.entity.system.BusinessSystem;
|
|
@Entity
|
@Table(name = "yeshi_ec_hot_search")
|
public class HotSearch implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
@Id
|
@GeneratedValue(strategy = GenerationType.AUTO)
|
@Column(name = "id")
|
private Long id;
|
@Column(name = "`orderby`")
|
private Integer orderby;
|
@Column(name = "`name`")
|
private String name;
|
private Long createtime;
|
|
@Transient
|
// 系统关联列表
|
private List<BusinessSystem> systemList;
|
|
public HotSearch() {
|
}
|
|
public HotSearch(Long id) {
|
super();
|
this.id = id;
|
}
|
|
public HotSearch(Integer orderby, String name) {
|
super();
|
this.orderby = orderby;
|
this.name = name;
|
}
|
|
public Long getCreatetime() {
|
return createtime;
|
}
|
|
public void setCreatetime(Long createtime) {
|
this.createtime = createtime;
|
}
|
|
public Long getId() {
|
return id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
public Integer getOrderby() {
|
return orderby;
|
}
|
|
public void setOrderby(Integer orderby) {
|
this.orderby = orderby;
|
}
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
public List<BusinessSystem> getSystemList() {
|
return systemList;
|
}
|
|
public void setSystemList(List<BusinessSystem> systemList) {
|
this.systemList = systemList;
|
}
|
|
}
|