From 28cf328a098334b51a3e9d2d56f983fb8c862211 Mon Sep 17 00:00:00 2001 From: yujian <yujian@163.com> Date: 星期六, 23 五月 2020 09:54:38 +0800 Subject: [PATCH] 足迹、收藏订单兼容新需求 --- fanli/src/main/java/com/yeshi/fanli/entity/xcx/StrategyPicture.java | 28 ++++++++++++++++++++++++++++ 1 files changed, 28 insertions(+), 0 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/entity/xcx/StrategyPicture.java b/fanli/src/main/java/com/yeshi/fanli/entity/xcx/StrategyPicture.java index 8a7d4e2..79afc5a 100644 --- a/fanli/src/main/java/com/yeshi/fanli/entity/xcx/StrategyPicture.java +++ b/fanli/src/main/java/com/yeshi/fanli/entity/xcx/StrategyPicture.java @@ -11,6 +11,10 @@ @Table("ye_yeshi_strategy_picture") public class StrategyPicture { + public static int TYPE_TEXT = 1; + + public static int TYPE_VIDEO = 2; + @Expose @Id @GeneratedValue(strategy = GenerationType.AUTO) @@ -31,6 +35,30 @@ @Column(name = "orderBy") private Integer orderBy; + @Expose + @Column(name = "type") + private Integer type; + + @Expose + @Column(name = "video_url") + private String videoUrl; + + public Integer getType() { + return type; + } + + public void setType(Integer type) { + this.type = type; + } + + public String getVideoUrl() { + return videoUrl; + } + + public void setVideoUrl(String videoUrl) { + this.videoUrl = videoUrl; + } + public String getPostPicture() { return postPicture; } -- Gitblit v1.8.0