package com.yeshi.buwan.domain.recommend;
|
|
import com.google.gson.annotations.Expose;
|
import com.yeshi.buwan.domain.HomeVideo;
|
import org.springframework.data.annotation.Id;
|
import org.springframework.data.annotation.Transient;
|
import org.springframework.data.mongodb.core.index.Indexed;
|
import org.springframework.data.mongodb.core.mapping.Document;
|
import org.yeshi.utils.generater.annotation.admin.DaoQueryCondition;
|
|
import javax.validation.constraints.Pattern;
|
import java.io.Serializable;
|
import java.util.Date;
|
import java.util.List;
|
|
/**
|
* 首页的分类
|
*
|
* @author Administrator
|
*/
|
@Document(collection = "homeTypeV2")
|
public class HomeTypeV2 implements Serializable {
|
@Id
|
@Expose
|
private String id;
|
|
@Indexed
|
@Expose
|
private String name;
|
|
private String beizhu;
|
|
@Indexed
|
@Pattern(regexp = "[0-9]+", message = "请输入数字")
|
private Integer orderby;
|
|
|
@Expose
|
private String activity;
|
@Expose
|
private String params;
|
@Expose
|
private Boolean hasMore;
|
//是否需要填充广告
|
@Expose
|
private Boolean needAd;
|
@Expose
|
private String iosControl;
|
@Expose
|
private String icon;
|
@Expose
|
private Integer columns;
|
@Expose
|
private Integer number;// 显示多少个
|
//刷新的位置 0-无刷新 1-右上角 2-下方
|
@Expose
|
private Integer refreshPosition;
|
@Expose
|
private String moreTag;
|
|
|
private Boolean bigPicture;
|
//数据总数
|
@Expose
|
private Integer count;
|
|
@Transient
|
private List<HomeVideo> homeVideoList;
|
|
@DaoQueryCondition
|
@Indexed
|
private String systemId;
|
|
@DaoQueryCondition
|
@Indexed
|
private String videoTypeId;
|
|
//专题关键字
|
private String specialDataKey;
|
@Expose
|
private Date createTime;
|
private Date updateTime;
|
|
|
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 getBeizhu() {
|
return beizhu;
|
}
|
|
public void setBeizhu(String beizhu) {
|
this.beizhu = beizhu;
|
}
|
|
public Integer getOrderby() {
|
return orderby;
|
}
|
|
public void setOrderby(Integer orderby) {
|
this.orderby = orderby;
|
}
|
|
public String getActivity() {
|
return activity;
|
}
|
|
public void setActivity(String activity) {
|
this.activity = activity;
|
}
|
|
public String getParams() {
|
return params;
|
}
|
|
public void setParams(String params) {
|
this.params = params;
|
}
|
|
public Boolean getHasMore() {
|
return hasMore;
|
}
|
|
public void setHasMore(Boolean hasMore) {
|
this.hasMore = hasMore;
|
}
|
|
public Boolean getNeedAd() {
|
return needAd;
|
}
|
|
public void setNeedAd(Boolean needAd) {
|
this.needAd = needAd;
|
}
|
|
public String getIosControl() {
|
return iosControl;
|
}
|
|
public void setIosControl(String iosControl) {
|
this.iosControl = iosControl;
|
}
|
|
public String getIcon() {
|
return icon;
|
}
|
|
public void setIcon(String icon) {
|
this.icon = icon;
|
}
|
|
public Integer getColumns() {
|
return columns;
|
}
|
|
public void setColumns(Integer columns) {
|
this.columns = columns;
|
}
|
|
public Integer getNumber() {
|
return number;
|
}
|
|
public void setNumber(Integer number) {
|
this.number = number;
|
}
|
|
public Integer getRefreshPosition() {
|
return refreshPosition;
|
}
|
|
public void setRefreshPosition(Integer refreshPosition) {
|
this.refreshPosition = refreshPosition;
|
}
|
|
public String getMoreTag() {
|
return moreTag;
|
}
|
|
public void setMoreTag(String moreTag) {
|
this.moreTag = moreTag;
|
}
|
|
public Boolean getBigPicture() {
|
return bigPicture;
|
}
|
|
public void setBigPicture(Boolean bigPicture) {
|
this.bigPicture = bigPicture;
|
}
|
|
public Integer getCount() {
|
return count;
|
}
|
|
public void setCount(Integer count) {
|
this.count = count;
|
}
|
|
public List<HomeVideo> getHomeVideoList() {
|
return homeVideoList;
|
}
|
|
public void setHomeVideoList(List<HomeVideo> homeVideoList) {
|
this.homeVideoList = homeVideoList;
|
}
|
|
public String getSystemId() {
|
return systemId;
|
}
|
|
public void setSystemId(String systemId) {
|
this.systemId = systemId;
|
}
|
|
public String getVideoTypeId() {
|
return videoTypeId;
|
}
|
|
public void setVideoTypeId(String videoTypeId) {
|
this.videoTypeId = videoTypeId;
|
}
|
|
public String getSpecialDataKey() {
|
return specialDataKey;
|
}
|
|
public void setSpecialDataKey(String specialDataKey) {
|
this.specialDataKey = specialDataKey;
|
}
|
|
public Date getCreateTime() {
|
return createTime;
|
}
|
|
public void setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
}
|
|
public Date getUpdateTime() {
|
return updateTime;
|
}
|
|
public void setUpdateTime(Date updateTime) {
|
this.updateTime = updateTime;
|
}
|
}
|