|
|
@@ -19,9 +19,9 @@ public class KanbanInstance extends BaseEntity {
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
|
|
/**
|
|
|
- * 默认刷新频率为 5000 ms
|
|
|
+ * 默认刷新频率为 5 s
|
|
|
*/
|
|
|
- public static final long DEFAULT_REFRESH_FREQUENCY = 5000L;
|
|
|
+ public static final double DEFAULT_REFRESH_FREQUENCY = 5;
|
|
|
|
|
|
/**
|
|
|
* 看板的 code
|
|
|
@@ -30,10 +30,10 @@ public class KanbanInstance extends BaseEntity {
|
|
|
private String kanbanCode;
|
|
|
|
|
|
/**
|
|
|
- * 刷新频率(ms)
|
|
|
+ * 刷新频率(秒)
|
|
|
*/
|
|
|
@FieldProperty(nullable = false)
|
|
|
- private Long refreshFrequency;
|
|
|
+ private Double refreshFrequency;
|
|
|
|
|
|
/**
|
|
|
* 公共参数
|
|
|
@@ -66,11 +66,11 @@ public class KanbanInstance extends BaseEntity {
|
|
|
this.kanbanCode = kanbanCode;
|
|
|
}
|
|
|
|
|
|
- public Long getRefreshFrequency() {
|
|
|
+ public Double getRefreshFrequency() {
|
|
|
return refreshFrequency;
|
|
|
}
|
|
|
|
|
|
- public void setRefreshFrequency(Long refreshFrequency) {
|
|
|
+ public void setRefreshFrequency(Double refreshFrequency) {
|
|
|
this.refreshFrequency = refreshFrequency;
|
|
|
}
|
|
|
|