package com.yeshi.buwan.domain.recommend;
|
|
import com.google.gson.annotations.Expose;
|
import com.yeshi.buwan.domain.jump.JumpDetail;
|
import org.springframework.data.annotation.Id;
|
import org.springframework.data.mongodb.core.mapping.Document;
|
import org.springframework.data.mongodb.core.mapping.Field;
|
|
import java.util.Date;
|
|
//悬浮大图广告
|
@Document(collection = "floatAd")
|
public class FloatAD {
|
@Expose
|
@Id
|
private String id;//主键ID
|
|
@Expose
|
@Field
|
private String picture;//图片
|
|
@Expose
|
@Field
|
private JumpDetail jumpDetail;//跳转方式
|
|
@Expose
|
@Field
|
private String params;//跳转参数
|
|
@Field
|
private Integer weight;//权重
|
|
@Field
|
private Boolean show;//是否显示
|
|
@Field
|
private Date showStartTime;//展示开始时间
|
|
@Field
|
private Date showEndTime;//展示结束时间
|
|
|
@Field
|
private Date createTime;//创建时间
|
|
@Field
|
private Date updateTime;//更新时间
|
|
|
public Date getShowStartTime() {
|
return showStartTime;
|
}
|
|
public void setShowStartTime(Date showStartTime) {
|
this.showStartTime = showStartTime;
|
}
|
|
public Date getShowEndTime() {
|
return showEndTime;
|
}
|
|
public void setShowEndTime(Date showEndTime) {
|
this.showEndTime = showEndTime;
|
}
|
|
public Integer getWeight() {
|
return weight;
|
}
|
|
public void setWeight(Integer weight) {
|
this.weight = weight;
|
}
|
|
public String getId() {
|
return id;
|
}
|
|
public void setId(String id) {
|
this.id = id;
|
}
|
|
public String getPicture() {
|
return picture;
|
}
|
|
public void setPicture(String picture) {
|
this.picture = picture;
|
}
|
|
public JumpDetail getJumpDetail() {
|
return jumpDetail;
|
}
|
|
public void setJumpDetail(JumpDetail jumpDetail) {
|
this.jumpDetail = jumpDetail;
|
}
|
|
public String getParams() {
|
return params;
|
}
|
|
public void setParams(String params) {
|
this.params = params;
|
}
|
|
public Boolean getShow() {
|
return show;
|
}
|
|
public void setShow(Boolean show) {
|
this.show = show;
|
}
|
|
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;
|
}
|
}
|