From efd965b02d6ca3c1506d027feb27c95a36a33ea0 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期六, 03 八月 2019 18:16:29 +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