package com.yeshi.buwan.domain;
|
|
import com.google.gson.annotations.Expose;
|
import com.yeshi.buwan.domain.system.SystemInfo;
|
|
import java.io.Serializable;
|
|
import javax.persistence.Entity;
|
import javax.persistence.ManyToOne;
|
|
/**
|
* 首页广告
|
*
|
* @author Administrator
|
*/
|
@Entity
|
public class HomeAd implements Serializable {
|
/**
|
*
|
*/
|
private static final long serialVersionUID = 1L;
|
|
public HomeAd(String id) {
|
this.id = id;
|
}
|
|
public HomeAd() {
|
|
}
|
|
@Expose
|
private String id;
|
@Expose
|
private AdTag tag;
|
private AdminInfo admin;
|
@Expose
|
private String picture;
|
@Expose
|
private String createtime;
|
@Expose
|
private VideoInfo video;
|
private String starttime;
|
private String endtime;
|
@Expose
|
private String title;
|
@Expose
|
private String introduction;
|
|
private SystemInfo system;// 系统
|
|
|
public String getIntroduction() {
|
return introduction;
|
}
|
|
public void setIntroduction(String introduction) {
|
this.introduction = introduction;
|
}
|
|
private String beizhu;
|
// 跳转到的类
|
@Expose
|
private String clazz;
|
// 传的参数
|
@Expose
|
private String params;
|
@Expose
|
private int linkType;
|
|
private int orderby;
|
|
//专题关键字
|
private String specialDataKey;
|
|
public String getSpecialDataKey() {
|
return specialDataKey;
|
}
|
|
public void setSpecialDataKey(String specialDataKey) {
|
this.specialDataKey = specialDataKey;
|
}
|
|
public int getOrderby() {
|
return orderby;
|
}
|
|
public void setOrderby(int orderby) {
|
this.orderby = orderby;
|
}
|
|
public int getLinkType() {
|
return linkType;
|
}
|
|
public void setLinkType(int linkType) {
|
this.linkType = linkType;
|
}
|
|
public String getClazz() {
|
return clazz;
|
}
|
|
public void setClazz(String clazz) {
|
this.clazz = clazz;
|
}
|
|
public String getParams() {
|
return params;
|
}
|
|
public void setParams(String params) {
|
this.params = params;
|
}
|
|
|
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;
|
}
|
|
@ManyToOne
|
public AdTag getTag() {
|
return tag;
|
}
|
|
public void setTag(AdTag tag) {
|
this.tag = tag;
|
}
|
|
@ManyToOne
|
public AdminInfo getAdmin() {
|
return admin;
|
}
|
|
public void setAdmin(AdminInfo admin) {
|
this.admin = admin;
|
}
|
|
public String getPicture() {
|
return picture;
|
}
|
|
public void setPicture(String picture) {
|
this.picture = picture;
|
}
|
|
public String getCreatetime() {
|
return createtime;
|
}
|
|
public void setCreatetime(String createtime) {
|
this.createtime = createtime;
|
}
|
|
@ManyToOne
|
public VideoInfo getVideo() {
|
return video;
|
}
|
|
public void setVideo(VideoInfo video) {
|
this.video = video;
|
}
|
|
public String getStarttime() {
|
return starttime;
|
}
|
|
public void setStarttime(String starttime) {
|
this.starttime = starttime;
|
}
|
|
public String getEndtime() {
|
return endtime;
|
}
|
|
public void setEndtime(String endtime) {
|
this.endtime = endtime;
|
}
|
|
public String getTitle() {
|
return title;
|
}
|
|
public void setTitle(String title) {
|
this.title = title;
|
}
|
|
public String getBeizhu() {
|
return beizhu;
|
}
|
|
public void setBeizhu(String beizhu) {
|
this.beizhu = beizhu;
|
}
|
|
}
|