From 2147d023563a7c9d05d97547c00d6b0162c0644c Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期一, 09 十一月 2020 18:37:24 +0800 Subject: [PATCH] 刷单风险规则优化 --- fanli/src/main/java/com/yeshi/fanli/entity/xcx/StrategyPicture.java | 34 ++++++++++++++++++++++++++++------ 1 files changed, 28 insertions(+), 6 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..2bedd8d 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 @@ -1,9 +1,5 @@ package com.yeshi.fanli.entity.xcx; -import javax.persistence.GeneratedValue; -import javax.persistence.GenerationType; -import javax.persistence.Id; - import com.google.gson.annotations.Expose; import org.yeshi.utils.mybatis.Column; import org.yeshi.utils.mybatis.Table; @@ -11,9 +7,11 @@ @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) @Column(name = "id") private Long id; @@ -31,6 +29,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