| | |
| | | package com.yeshi.fanli.entity.bus.activity;
|
| | |
|
| | | import java.util.Date;
|
| | | import java.util.List;
|
| | |
|
| | | import com.google.gson.annotations.Expose;
|
| | | import com.google.gson.annotations.SerializedName;
|
| | | import org.yeshi.utils.mybatis.Column;
|
| | | import org.yeshi.utils.mybatis.Table;
|
| | |
|
| | | /**
|
| | | * 推荐活动
|
| | | * |
| | | * @author Administrator
|
| | | *
|
| | | */
|
| | | @Table("yeshi_ec_activity_recommend")
|
| | | public class RecommendActivity {
|
| | | public final static int TYPE_SHARE_GOODS = 1;// 商品分享
|
| | | public final static int TYPE_INVITE = 2;// 生成邀请图
|
| | | public final static int TYPE_TEXTIMG = 3;// 简单图文
|
| | | public final static int TYPE_VIDEO = 4;// 视频
|
| | | @Expose
|
| | | @Column(name = "ar_id")
|
| | | private Long id;
|
| | | @Expose
|
| | | @Column(name = "ar_title")
|
| | | private String title;// 标题
|
| | | @Expose
|
| | | @Column(name = "ar_type")
|
| | | private Integer type;// 类型
|
| | | @Column(name = "ar_order_by")
|
| | | private Integer orderBy;// 排序值 从小到大排序
|
| | | @Expose
|
| | | @Column(name = "ar_activity_uid")
|
| | | private ActivityUser activityUser;// 发布动态的用户
|
| | |
|
| | | @Expose
|
| | | private List<RecommendActivityTaoBaoGoods> goodsList;// 商品列表-商品分享有此属性
|
| | |
|
| | | @Expose
|
| | | private List<String> imageList;// 图片列表
|
| | |
|
| | | @Expose
|
| | | private List<String> widthAndHeight;
|
| | |
|
| | | @Column(name = "ar_share_count")
|
| | | private Integer shareCount;// 分享数
|
| | |
|
| | | // 总共分享赚的资金-商品分享有此属性
|
| | | @Expose
|
| | | @Column(name = "ar_total_getmoney")
|
| | | private String totalGetMoney;
|
| | |
|
| | | @Expose
|
| | | @Column(name = "ar_video_post_picture")
|
| | | private String videoPostPictire;// 视频封面图片
|
| | |
|
| | | @Expose
|
| | | @Column(name = "ar_video_url")
|
| | | private String videoUrl;// 视频链接
|
| | |
|
| | | @Expose
|
| | | @Column(name = "ar_create_time")
|
| | | private Date createTime;// 创建时间
|
| | |
|
| | | @Expose
|
| | | @Column(name = "ar_top")
|
| | | private Boolean top;// 是否置顶
|
| | |
|
| | | @Expose
|
| | | @SerializedName("shareCount")
|
| | | private String shareCountShow;
|
| | | |
| | | |
| | | private RecommendActivityInviteInfo inviteInfo;
|
| | |
|
| | | public RecommendActivityInviteInfo getInviteInfo() {
|
| | | return inviteInfo;
|
| | | }
|
| | |
|
| | | public void setInviteInfo(RecommendActivityInviteInfo inviteInfo) {
|
| | | this.inviteInfo = inviteInfo;
|
| | | }
|
| | |
|
| | | public String getShareCountShow() {
|
| | | return shareCountShow;
|
| | | }
|
| | |
|
| | | public void setShareCountShow(String shareCountShow) {
|
| | | this.shareCountShow = shareCountShow;
|
| | | }
|
| | |
|
| | | public Boolean getTop() {
|
| | | return top;
|
| | | }
|
| | |
|
| | | public void setTop(Boolean top) {
|
| | | this.top = top;
|
| | | }
|
| | |
|
| | | public Long getId() {
|
| | | return id;
|
| | | }
|
| | |
|
| | | public void setId(Long id) {
|
| | | this.id = id;
|
| | | }
|
| | |
|
| | | public String getTitle() {
|
| | | return title;
|
| | | }
|
| | |
|
| | | public void setTitle(String title) {
|
| | | this.title = title;
|
| | | }
|
| | |
|
| | | public Integer getType() {
|
| | | return type;
|
| | | }
|
| | |
|
| | | public void setType(Integer type) {
|
| | | this.type = type;
|
| | | }
|
| | |
|
| | | public Integer getOrderBy() {
|
| | | return orderBy;
|
| | | }
|
| | |
|
| | | public void setOrderBy(Integer orderBy) {
|
| | | this.orderBy = orderBy;
|
| | | }
|
| | |
|
| | | public ActivityUser getActivityUser() {
|
| | | return activityUser;
|
| | | }
|
| | |
|
| | | public void setActivityUser(ActivityUser activityUser) {
|
| | | this.activityUser = activityUser;
|
| | | }
|
| | |
|
| | | public List<RecommendActivityTaoBaoGoods> getGoodsList() {
|
| | | return goodsList;
|
| | | }
|
| | |
|
| | | public void setGoodsList(List<RecommendActivityTaoBaoGoods> goodsList) {
|
| | | this.goodsList = goodsList;
|
| | | }
|
| | |
|
| | | public List<String> getImageList() {
|
| | | return imageList;
|
| | | }
|
| | |
|
| | | public void setImageList(List<String> imageList) {
|
| | | this.imageList = imageList;
|
| | | }
|
| | |
|
| | | public Integer getShareCount() {
|
| | | return shareCount;
|
| | | }
|
| | |
|
| | | public void setShareCount(Integer shareCount) {
|
| | | this.shareCount = shareCount;
|
| | | }
|
| | |
|
| | | public String getTotalGetMoney() {
|
| | | return totalGetMoney;
|
| | | }
|
| | |
|
| | | public void setTotalGetMoney(String totalGetMoney) {
|
| | | this.totalGetMoney = totalGetMoney;
|
| | | }
|
| | |
|
| | | public String getVideoPostPictire() {
|
| | | return videoPostPictire;
|
| | | }
|
| | |
|
| | | public void setVideoPostPictire(String videoPostPictire) {
|
| | | this.videoPostPictire = videoPostPictire;
|
| | | }
|
| | |
|
| | | public String getVideoUrl() {
|
| | | return videoUrl;
|
| | | }
|
| | |
|
| | | public void setVideoUrl(String videoUrl) {
|
| | | this.videoUrl = videoUrl;
|
| | | }
|
| | |
|
| | | public Date getCreateTime() {
|
| | | return createTime;
|
| | | }
|
| | |
|
| | | public void setCreateTime(Date createTime) {
|
| | | this.createTime = createTime;
|
| | | }
|
| | |
|
| | | public List<String> getWidthAndHeight() {
|
| | | return widthAndHeight;
|
| | | }
|
| | |
|
| | | public void setWidthAndHeight(List<String> widthAndHeight) {
|
| | | this.widthAndHeight = widthAndHeight;
|
| | | }
|
| | | }
|
| | | package com.yeshi.fanli.entity.bus.activity; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | import com.google.gson.annotations.Expose; |
| | | import com.google.gson.annotations.SerializedName; |
| | | import org.yeshi.utils.generater.mybatis.Column; |
| | | import org.yeshi.utils.generater.mybatis.Table; |
| | | |
| | | /** |
| | | * 推荐活动 |
| | | * |
| | | * @author Administrator |
| | | * |
| | | */ |
| | | @Table("yeshi_ec_activity_recommend") |
| | | public class RecommendActivity implements Serializable{ |
| | | /** |
| | | * |
| | | */ |
| | | private static final long serialVersionUID = 1L; |
| | | public final static int TYPE_SHARE_GOODS = 1;// 商品分享 |
| | | public final static int TYPE_INVITE = 2;// 生成邀请图 |
| | | public final static int TYPE_TEXTIMG = 3;// 简单图文 |
| | | public final static int TYPE_VIDEO = 4;// 视频 |
| | | @Expose |
| | | @Column(name = "ar_id") |
| | | private Long id; |
| | | @Expose |
| | | @Column(name = "ar_title") |
| | | private String title;// 标题 |
| | | @Expose |
| | | @Column(name = "ar_type") |
| | | private Integer type;// 类型 |
| | | @Column(name = "ar_order_by") |
| | | private Integer orderBy;// 排序值 从小到大排序 |
| | | @Expose |
| | | @Column(name = "ar_activity_uid") |
| | | private ActivityUser activityUser;// 发布动态的用户 |
| | | |
| | | |
| | | @Column(name = "ar_share_count") |
| | | private Integer shareCount;// 分享数 |
| | | |
| | | // 总共分享赚的资金-商品分享有此属性 |
| | | @Expose |
| | | @Column(name = "ar_total_getmoney") |
| | | private String totalGetMoney; |
| | | |
| | | @Expose |
| | | @Column(name = "ar_video_post_picture") |
| | | private String videoPostPictire;// 视频封面图片 |
| | | |
| | | @Expose |
| | | @Column(name = "ar_video_url") |
| | | private String videoUrl;// 视频链接 |
| | | |
| | | @Expose |
| | | @Column(name = "ar_create_time") |
| | | private Date createTime;// 创建时间 |
| | | |
| | | @Expose |
| | | @Column(name = "ar_top") |
| | | private Boolean top;// 是否置顶 |
| | | |
| | | @Column(name = "ar_state") |
| | | private Integer state;// 发布状态:1已发布 0未发布 |
| | | |
| | | |
| | | |
| | | @Expose |
| | | @SerializedName("shareCount") |
| | | private String shareCountShow; |
| | | |
| | | |
| | | @Column(name = "ar_start_time") |
| | | private Date startTime;//起始时间 |
| | | |
| | | @Column(name = "ar_end_time") |
| | | private Date endTime;//结束时间 |
| | | |
| | | // 是否定时 |
| | | private boolean timeTask; |
| | | // 起始时间 |
| | | private String startTime_str; |
| | | // 结束时间 |
| | | private String endTime_str; |
| | | |
| | | |
| | | @Expose |
| | | private List<RecommendActivityTaoBaoGoods> goodsList;// 商品列表-商品分享有此属性 |
| | | |
| | | @Expose |
| | | private List<String> imageList;// 图片列表 |
| | | |
| | | @Expose |
| | | private List<String> widthAndHeight; |
| | | |
| | | private RecommendActivityInviteInfo inviteInfo; |
| | | |
| | | public RecommendActivityInviteInfo getInviteInfo() { |
| | | return inviteInfo; |
| | | } |
| | | |
| | | public void setInviteInfo(RecommendActivityInviteInfo inviteInfo) { |
| | | this.inviteInfo = inviteInfo; |
| | | } |
| | | |
| | | public String getShareCountShow() { |
| | | return shareCountShow; |
| | | } |
| | | |
| | | public void setShareCountShow(String shareCountShow) { |
| | | this.shareCountShow = shareCountShow; |
| | | } |
| | | |
| | | public Boolean getTop() { |
| | | return top; |
| | | } |
| | | |
| | | public void setTop(Boolean top) { |
| | | this.top = top; |
| | | } |
| | | |
| | | public Long getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Long id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public String getTitle() { |
| | | return title; |
| | | } |
| | | |
| | | public void setTitle(String title) { |
| | | this.title = title; |
| | | } |
| | | |
| | | public Integer getType() { |
| | | return type; |
| | | } |
| | | |
| | | public void setType(Integer type) { |
| | | this.type = type; |
| | | } |
| | | |
| | | public Integer getOrderBy() { |
| | | return orderBy; |
| | | } |
| | | |
| | | public void setOrderBy(Integer orderBy) { |
| | | this.orderBy = orderBy; |
| | | } |
| | | |
| | | public ActivityUser getActivityUser() { |
| | | return activityUser; |
| | | } |
| | | |
| | | public void setActivityUser(ActivityUser activityUser) { |
| | | this.activityUser = activityUser; |
| | | } |
| | | |
| | | public List<RecommendActivityTaoBaoGoods> getGoodsList() { |
| | | return goodsList; |
| | | } |
| | | |
| | | public void setGoodsList(List<RecommendActivityTaoBaoGoods> goodsList) { |
| | | this.goodsList = goodsList; |
| | | } |
| | | |
| | | public List<String> getImageList() { |
| | | return imageList; |
| | | } |
| | | |
| | | public void setImageList(List<String> imageList) { |
| | | this.imageList = imageList; |
| | | } |
| | | |
| | | public Integer getShareCount() { |
| | | return shareCount; |
| | | } |
| | | |
| | | public void setShareCount(Integer shareCount) { |
| | | this.shareCount = shareCount; |
| | | } |
| | | |
| | | public String getTotalGetMoney() { |
| | | return totalGetMoney; |
| | | } |
| | | |
| | | public void setTotalGetMoney(String totalGetMoney) { |
| | | this.totalGetMoney = totalGetMoney; |
| | | } |
| | | |
| | | public String getVideoPostPictire() { |
| | | return videoPostPictire; |
| | | } |
| | | |
| | | public void setVideoPostPictire(String videoPostPictire) { |
| | | this.videoPostPictire = videoPostPictire; |
| | | } |
| | | |
| | | public String getVideoUrl() { |
| | | return videoUrl; |
| | | } |
| | | |
| | | public void setVideoUrl(String videoUrl) { |
| | | this.videoUrl = videoUrl; |
| | | } |
| | | |
| | | public Date getCreateTime() { |
| | | return createTime; |
| | | } |
| | | |
| | | public void setCreateTime(Date createTime) { |
| | | this.createTime = createTime; |
| | | } |
| | | |
| | | public List<String> getWidthAndHeight() { |
| | | return widthAndHeight; |
| | | } |
| | | |
| | | public void setWidthAndHeight(List<String> widthAndHeight) { |
| | | this.widthAndHeight = widthAndHeight; |
| | | } |
| | | |
| | | 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 isTimeTask() { |
| | | return timeTask; |
| | | } |
| | | |
| | | public void setTimeTask(boolean timeTask) { |
| | | this.timeTask = timeTask; |
| | | } |
| | | |
| | | 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; |
| | | } |
| | | |
| | | public Integer getState() { |
| | | return state; |
| | | } |
| | | |
| | | public void setState(Integer state) { |
| | | this.state = state; |
| | | } |
| | | |
| | | } |