| | |
| | | package com.yeshi.fanli.entity.bus.homemodule;
|
| | |
|
| | | import java.util.Date;
|
| | |
|
| | | import org.yeshi.utils.mybatis.Column;
|
| | | import org.yeshi.utils.mybatis.Table;
|
| | |
|
| | | import com.yeshi.fanli.entity.AppVersionInfo;
|
| | |
|
| | | /**
|
| | | * 广告活动版本控制(包含 Banner与专题)
|
| | | * |
| | | * @author Administrator
|
| | | *
|
| | | */
|
| | | @Table("yeshi_ec_ad_activity_version_control")
|
| | | public class AdActivityVersionControl {
|
| | |
|
| | | public enum AdActivityType {
|
| | | banner,// 轮播图
|
| | | special,// 专题
|
| | | floatAD,// 悬浮图
|
| | | notification,// 小黄条
|
| | | helpClass,// 帮助中心分类
|
| | | helpCenter;// 帮助中心文档
|
| | | }
|
| | |
|
| | | @Column(name = "vc_id")
|
| | | private Long id;
|
| | | @Column(name = "vc_type")
|
| | | private AdActivityType type;// 广告活动类型
|
| | | @Column(name = "vc_source_id")
|
| | | private Long sourceId;// 轮播图ID或者专题Id
|
| | | @Column(name = "vc_version")
|
| | | private AppVersionInfo version;// 版本号
|
| | | @Column(name = "vc_create_time")
|
| | | private Date createTime;
|
| | |
|
| | | public Long getId() {
|
| | | return id;
|
| | | }
|
| | |
|
| | | public void setId(Long id) {
|
| | | this.id = id;
|
| | | }
|
| | |
|
| | | public AdActivityType getType() {
|
| | | return type;
|
| | | }
|
| | |
|
| | | public void setType(AdActivityType type) {
|
| | | this.type = type;
|
| | | }
|
| | |
|
| | | public Long getSourceId() {
|
| | | return sourceId;
|
| | | }
|
| | |
|
| | | public void setSourceId(Long sourceId) {
|
| | | this.sourceId = sourceId;
|
| | | }
|
| | |
|
| | | public AppVersionInfo getVersion() {
|
| | | return version;
|
| | | }
|
| | |
|
| | | public void setVersion(AppVersionInfo version) {
|
| | | this.version = version;
|
| | | }
|
| | |
|
| | | public Date getCreateTime() {
|
| | | return createTime;
|
| | | }
|
| | |
|
| | | public void setCreateTime(Date createTime) {
|
| | | this.createTime = createTime;
|
| | | }
|
| | | }
|
| | | package com.yeshi.fanli.entity.bus.homemodule; |
| | | |
| | | import java.util.Date; |
| | | |
| | | import org.yeshi.utils.generater.mybatis.Column; |
| | | import org.yeshi.utils.generater.mybatis.Table; |
| | | |
| | | import com.yeshi.fanli.entity.AppVersionInfo; |
| | | |
| | | /** |
| | | * 广告活动版本控制(包含 Banner与专题) |
| | | * |
| | | * @author Administrator |
| | | * |
| | | */ |
| | | @Table("yeshi_ec_ad_activity_version_control") |
| | | public class AdActivityVersionControl { |
| | | |
| | | public enum AdActivityType { |
| | | banner,// 轮播图 |
| | | special,// 专题 |
| | | floatAD,// 悬浮图 |
| | | notification,// 小黄条 |
| | | helpClass,// 帮助中心分类 |
| | | helpCenter;// 帮助中心文档 |
| | | } |
| | | |
| | | @Column(name = "vc_id") |
| | | private Long id; |
| | | @Column(name = "vc_type") |
| | | private AdActivityType type;// 广告活动类型 |
| | | @Column(name = "vc_source_id") |
| | | private Long sourceId;// 轮播图ID或者专题Id |
| | | @Column(name = "vc_version") |
| | | private AppVersionInfo version;// 版本号 |
| | | @Column(name = "vc_create_time") |
| | | private Date createTime; |
| | | |
| | | public Long getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Long id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public AdActivityType getType() { |
| | | return type; |
| | | } |
| | | |
| | | public void setType(AdActivityType type) { |
| | | this.type = type; |
| | | } |
| | | |
| | | public Long getSourceId() { |
| | | return sourceId; |
| | | } |
| | | |
| | | public void setSourceId(Long sourceId) { |
| | | this.sourceId = sourceId; |
| | | } |
| | | |
| | | public AppVersionInfo getVersion() { |
| | | return version; |
| | | } |
| | | |
| | | public void setVersion(AppVersionInfo version) { |
| | | this.version = version; |
| | | } |
| | | |
| | | public Date getCreateTime() { |
| | | return createTime; |
| | | } |
| | | |
| | | public void setCreateTime(Date createTime) { |
| | | this.createTime = createTime; |
| | | } |
| | | } |