|
|
@@ -24,17 +24,6 @@ public class KanbanInstance extends BaseEntity {
|
|
|
@FieldProperty(nullable = false)
|
|
|
private String kanbanCode;
|
|
|
|
|
|
- /**
|
|
|
- * 展示方式
|
|
|
- */
|
|
|
- @FieldProperty(nullable = false)
|
|
|
- private Display display;
|
|
|
-
|
|
|
- /**
|
|
|
- * 切换频率(ms)
|
|
|
- */
|
|
|
- private Long switchFrequent;
|
|
|
-
|
|
|
/**
|
|
|
* 看板实例参数
|
|
|
* <p/>
|
|
|
@@ -60,22 +49,6 @@ public class KanbanInstance extends BaseEntity {
|
|
|
this.kanbanCode = kanbanCode;
|
|
|
}
|
|
|
|
|
|
- public Display getDisplay() {
|
|
|
- return display;
|
|
|
- }
|
|
|
-
|
|
|
- public void setDisplay(Display display) {
|
|
|
- this.display = display;
|
|
|
- }
|
|
|
-
|
|
|
- public Long getSwitchFrequent() {
|
|
|
- return switchFrequent;
|
|
|
- }
|
|
|
-
|
|
|
- public void setSwitchFrequent(Long switchFrequent) {
|
|
|
- this.switchFrequent = switchFrequent;
|
|
|
- }
|
|
|
-
|
|
|
public Map<String, List<TemplateParameter>> getParameters() {
|
|
|
return parameters;
|
|
|
}
|
|
|
@@ -86,28 +59,9 @@ public class KanbanInstance extends BaseEntity {
|
|
|
|
|
|
@Override
|
|
|
public String toString() {
|
|
|
- return "KanbanInstance [kanbanCode=" + kanbanCode + ", display=" + display + ", switchFrequent="
|
|
|
- + switchFrequent + ", parameters=" + parameters + ", id=" + id + ", createTime=" + createTime
|
|
|
- + ", lastModified=" + lastModified + ", version=" + version + ", code=" + code + "]";
|
|
|
- }
|
|
|
-
|
|
|
- /**
|
|
|
- * 展示方式
|
|
|
- *
|
|
|
- * @author sunyj
|
|
|
- * @since 2017年9月1日 下午8:01:53
|
|
|
- */
|
|
|
- public enum Display {
|
|
|
-
|
|
|
- /**
|
|
|
- * 自动切换
|
|
|
- */
|
|
|
- AutoSwitch,
|
|
|
-
|
|
|
- /**
|
|
|
- * 分屏展示
|
|
|
- */
|
|
|
- SplitScreen;
|
|
|
+ return "KanbanInstance [kanbanCode=" + kanbanCode + ", parameters=" + parameters + ", id=" + id
|
|
|
+ + ", createTime=" + createTime + ", lastModified=" + lastModified + ", version=" + version + ", code="
|
|
|
+ + code + "]";
|
|
|
}
|
|
|
|
|
|
}
|