package com.yeshi.buwan.domain;
|
|
import java.io.Serializable;
|
|
import javax.persistence.Entity;
|
import javax.persistence.ManyToOne;
|
|
import com.google.gson.annotations.Expose;
|
|
/**
|
* 首页分类下面的视频
|
*
|
* @author Administrator
|
*/
|
@Entity
|
public class HomeVideo implements Serializable {
|
public HomeVideo(String id) {
|
this.id = id;
|
}
|
|
public HomeVideo() {
|
}
|
|
@Expose
|
private String id;
|
private HomeType type;
|
@Expose
|
private VideoInfo video;
|
@Expose
|
private String picture;
|
@Expose
|
private String tag;
|
@Expose
|
private int orderby;
|
@Expose
|
private Boolean bigPicture;//是否为大图显示
|
|
public Boolean getBigPicture() {
|
return bigPicture;
|
}
|
|
public void setBigPicture(Boolean bigPicture) {
|
this.bigPicture = bigPicture;
|
}
|
|
public int getOrderby() {
|
return orderby;
|
}
|
|
public void setOrderby(int orderby) {
|
this.orderby = orderby;
|
}
|
|
public String getTag() {
|
return tag;
|
}
|
|
public void setTag(String tag) {
|
this.tag = tag;
|
}
|
|
@ManyToOne
|
public VideoInfo getVideo() {
|
return video;
|
}
|
|
public void setVideo(VideoInfo video) {
|
this.video = video;
|
}
|
|
private String beizhu;
|
private AdminInfo admin;
|
@Expose
|
private String createtime;
|
|
public String getCreatetime() {
|
return createtime;
|
}
|
|
public void setCreatetime(String createtime) {
|
this.createtime = createtime;
|
}
|
|
public String getId() {
|
return id;
|
}
|
|
public void setId(String id) {
|
this.id = id;
|
}
|
|
@ManyToOne
|
public HomeType getType() {
|
return type;
|
}
|
|
public void setType(HomeType type) {
|
this.type = type;
|
}
|
|
public String getBeizhu() {
|
return beizhu;
|
}
|
|
public void setBeizhu(String beizhu) {
|
this.beizhu = beizhu;
|
}
|
|
@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;
|
}
|
|
}
|