From a6bcc34ae855c327ada4d12d3d14dbaaec4e75b0 Mon Sep 17 00:00:00 2001 From: daihh Date: Mon, 19 Dec 2022 10:22:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E5=BC=B9=E5=87=BA=E7=AA=97?= =?UTF-8?q?=E5=8F=A3=E5=A2=9E=E5=8A=A0=E6=AC=A1=E6=95=B0=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/xboe/module/popup/entity/Popup.java | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/servers/boe-server-all/src/main/java/com/xboe/module/popup/entity/Popup.java b/servers/boe-server-all/src/main/java/com/xboe/module/popup/entity/Popup.java index 25fb3d99..894c3582 100644 --- a/servers/boe-server-all/src/main/java/com/xboe/module/popup/entity/Popup.java +++ b/servers/boe-server-all/src/main/java/com/xboe/module/popup/entity/Popup.java @@ -15,10 +15,11 @@ import java.time.LocalDateTime; @EqualsAndHashCode(callSuper = false) @Entity @Table(name = SysConstant.TABLE_PRE+"popup") -public class Popup extends IdEntity { +public class Popup extends IdEntity { + private static final long serialVersionUID = 1L; - /** + /** * 开始时间 * */ @Column(name = "start_time") @@ -61,6 +62,12 @@ public class Popup extends IdEntity { * */ @Column(name = "title",length = 50) private String title; + + /** + * 弹出次数 + */ + @Column(name = "times",length = 2) + private Integer times; /** * 弹窗内容