From cd637932a970e7935b17d41568fe89c92775bccc Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期五, 06 十二月 2019 17:18:27 +0800 Subject: [PATCH] 双12活动添加,邀请码发布修改,爬单新规则添加 --- 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