package com.newvideo.domain; import javax.persistence.Entity; import javax.persistence.ManyToOne; import com.google.gson.annotations.Expose; /** * 热门搜索 * * @author Administrator * */ @Entity public class HotSearch { @Expose private String id; @Expose private String name; @Expose private String createtime; private AdminInfo admin; private String beizhu; private SystemInfo system;// 系统 private int orderby; public int getOrderby() { return orderby; } public void setOrderby(int orderby) { this.orderby = orderby; } public HotSearch() { } public HotSearch(String id) { this.id = id; } public SystemInfo getSystem() { return system; } public void setSystem(SystemInfo system) { this.system = system; } public String getId() { return id; } public void setId(String id) { this.id = id; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getCreatetime() { return createtime; } public void setCreatetime(String createtime) { this.createtime = createtime; } @ManyToOne public AdminInfo getAdmin() { return admin; } public void setAdmin(AdminInfo admin) { this.admin = admin; } public String getBeizhu() { return beizhu; } public void setBeizhu(String beizhu) { this.beizhu = beizhu; } }