提交弹出窗口增加次数条件

This commit is contained in:
daihh
2022-12-19 10:22:21 +08:00
parent fbab42e46c
commit a6bcc34ae8

View File

@@ -15,10 +15,11 @@ import java.time.LocalDateTime;
@EqualsAndHashCode(callSuper = false) @EqualsAndHashCode(callSuper = false)
@Entity @Entity
@Table(name = SysConstant.TABLE_PRE+"popup") @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") @Column(name = "start_time")
@@ -62,6 +63,12 @@ public class Popup extends IdEntity {
@Column(name = "title",length = 50) @Column(name = "title",length = 50)
private String title; private String title;
/**
* 弹出次数
*/
@Column(name = "times",length = 2)
private Integer times;
/** /**
* 弹窗内容 * 弹窗内容
* */ * */