package com.yeshi.fanli.entity.bus.homemodule;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
import com.yeshi.fanli.entity.SystemEnum;
|
import org.springframework.format.annotation.DateTimeFormat;
|
import org.yeshi.utils.generater.mybatis.Column;
|
import org.yeshi.utils.generater.mybatis.Table;
|
|
import com.google.gson.annotations.Expose;
|
import com.yeshi.fanli.entity.common.JumpDetailV2;
|
|
/**
|
* 轮播图 图片管理
|
* @author Administrator
|
*
|
*/
|
@Table("yeshi_ec_swiper_banner_picture")
|
public class SwiperPicture implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
@Expose
|
@Column(name = "pic_id")
|
private Long id;
|
|
// 轮播图标识ID
|
@Column(name = "pic_banner_id")
|
private Long bannerId;
|
|
// 图片链接
|
@Expose
|
@Column(name = "pic_src")
|
private String src;
|
|
// 跳转方式
|
@Expose
|
@Column(name = "pic_jumpid")
|
private JumpDetailV2 jumpDetail;
|
|
// 跳转参数
|
@Expose
|
@Column(name = "pic_params")
|
private String params;
|
|
// 跳转是否需要登陆
|
@Column(name = "pic_jump_need_login")
|
private boolean jumpNeedLogin;
|
|
// 排序
|
@Column(name = "pic_order")
|
private Integer order;
|
|
@Column(name = "pic_remark")
|
private String remark;
|
|
// 启用状态 0 启用1 停用
|
@Column(name = "pic_state")
|
private Integer state;
|
|
// 自动控制
|
@Column(name = "pic_auto_control")
|
private Integer autoControl;
|
|
// 起始时间
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@Column(name = "pic_start_time")
|
private Date startTime;
|
|
// 结束时间
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@Column(name = "pic_end_time")
|
private Date endTime;
|
|
@Column(name = "pic_createtime")
|
private Date createtime;
|
|
@Column(name = "pic_updatetime")
|
private Date updatetime;
|
|
// 起始时间
|
private String startTime_str;
|
// 结束时间
|
private String endTime_str;
|
|
// 标题
|
@Column(name = "pic_title")
|
private String title;
|
// 简介
|
@Column(name = "pic_desc")
|
private String desc;
|
|
@Column(name = "pic_system")
|
private SystemEnum system;
|
|
public SystemEnum getSystem() {
|
return system;
|
}
|
|
public void setSystem(SystemEnum system) {
|
this.system = system;
|
}
|
|
public String getTitle() {
|
return title;
|
}
|
|
public void setTitle(String title) {
|
this.title = title;
|
}
|
|
public String getDesc() {
|
return desc;
|
}
|
|
public void setDesc(String desc) {
|
this.desc = desc;
|
}
|
|
public Long getId() {
|
return this.id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
public Long getBannerId() {
|
return this.bannerId;
|
}
|
|
public void setBannerId(Long bannerId) {
|
this.bannerId = bannerId;
|
}
|
|
public String getSrc() {
|
return this.src;
|
}
|
|
public void setSrc(String src) {
|
this.src = src;
|
}
|
|
public String getRemark() {
|
return this.remark;
|
}
|
|
public void setRemark(String remark) {
|
this.remark = remark;
|
}
|
|
public Integer getState() {
|
return this.state;
|
}
|
|
public void setState(Integer state) {
|
this.state = state;
|
}
|
|
public Date getCreatetime() {
|
return this.createtime;
|
}
|
|
public void setCreatetime(Date createtime) {
|
this.createtime = createtime;
|
}
|
|
public Date getUpdatetime() {
|
return this.updatetime;
|
}
|
|
public void setUpdatetime(Date updatetime) {
|
this.updatetime = updatetime;
|
}
|
|
public Integer getOrder() {
|
return this.order;
|
}
|
|
public void setOrder(Integer order) {
|
this.order = order;
|
}
|
|
public JumpDetailV2 getJumpDetail() {
|
return this.jumpDetail;
|
}
|
|
public void setJumpDetail(JumpDetailV2 jumpDetail) {
|
this.jumpDetail = jumpDetail;
|
}
|
|
public String getParams() {
|
return this.params;
|
}
|
|
public void setParams(String params) {
|
this.params = params;
|
}
|
|
public Integer getAutoControl() {
|
return autoControl;
|
}
|
|
public void setAutoControl(Integer autoControl) {
|
this.autoControl = autoControl;
|
}
|
|
public Date getStartTime() {
|
return startTime;
|
}
|
|
public void setStartTime(Date startTime) {
|
this.startTime = startTime;
|
}
|
|
public Date getEndTime() {
|
return endTime;
|
}
|
|
public void setEndTime(Date endTime) {
|
this.endTime = endTime;
|
}
|
|
public boolean isJumpNeedLogin() {
|
return jumpNeedLogin;
|
}
|
|
public void setJumpNeedLogin(boolean jumpNeedLogin) {
|
this.jumpNeedLogin = jumpNeedLogin;
|
}
|
|
public String getStartTime_str() {
|
return startTime_str;
|
}
|
|
public void setStartTime_str(String startTime_str) {
|
this.startTime_str = startTime_str;
|
}
|
|
public String getEndTime_str() {
|
return endTime_str;
|
}
|
|
public void setEndTime_str(String endTime_str) {
|
this.endTime_str = endTime_str;
|
}
|
}
|