tmp
parent
d97a855e83
commit
15633bc28e
@ -1,9 +1,60 @@
|
|||||||
package cn.estsh.i3plus.pojo.screen.bean;
|
package cn.estsh.i3plus.pojo.screen.bean;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||||
|
import io.swagger.annotations.Api;
|
||||||
|
import io.swagger.annotations.ApiParam;
|
||||||
|
import lombok.AllArgsConstructor;
|
||||||
|
import lombok.Builder;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.EqualsAndHashCode;
|
||||||
|
import lombok.NoArgsConstructor;
|
||||||
|
|
||||||
|
import javax.persistence.Column;
|
||||||
|
import javax.persistence.Entity;
|
||||||
|
import javax.persistence.Table;
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Wynne.Lu
|
* @author Wynne.Lu
|
||||||
* @date 2021/3/22 下午9:59
|
* @date 2021/3/22 下午9:59
|
||||||
* @desc
|
* @desc
|
||||||
*/
|
*/
|
||||||
public class ScrFile {
|
@Entity
|
||||||
|
@Table(name = "SCR_FILE")
|
||||||
|
@Data
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@NoArgsConstructor
|
||||||
|
@AllArgsConstructor
|
||||||
|
@Builder
|
||||||
|
@Api("文件")
|
||||||
|
public class ScrFile extends BaseBean implements Serializable {
|
||||||
|
private static final long serialVersionUID = 2343301746531746105L;
|
||||||
|
|
||||||
|
@Column(name = "FILE_NAME")
|
||||||
|
@ApiParam("文件名称")
|
||||||
|
private String fileName;
|
||||||
|
|
||||||
|
@Column(name = "FILE_URL")
|
||||||
|
@ApiParam("文件URL")
|
||||||
|
private String fileUrl;
|
||||||
|
|
||||||
|
@Column(name = "GROUP_NAME")
|
||||||
|
@ApiParam("组名")
|
||||||
|
private String groupName;
|
||||||
|
|
||||||
|
@Column(name = "FILE_ORIGIN_NAME")
|
||||||
|
@ApiParam("文件原名")
|
||||||
|
private String fileOriginName;
|
||||||
|
|
||||||
|
@Column(name = "FILE_SIZE")
|
||||||
|
@ApiParam("文件大小")
|
||||||
|
private String fileSize;
|
||||||
|
|
||||||
|
@Column(name = "FILE_TYPE")
|
||||||
|
@ApiParam("文件类型名称")
|
||||||
|
private String fileType;
|
||||||
|
|
||||||
|
@Column(name = "SYNC_TAG")
|
||||||
|
@ApiParam("同步标记")
|
||||||
|
private Integer syncTag = 0;
|
||||||
}
|
}
|
||||||
|
@ -0,0 +1,60 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.screen.bean;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||||
|
import cn.estsh.i3plus.pojo.screen.component.base.BaseComponent;
|
||||||
|
import com.alibaba.fastjson.JSON;
|
||||||
|
import io.swagger.annotations.Api;
|
||||||
|
import io.swagger.annotations.ApiParam;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.EqualsAndHashCode;
|
||||||
|
|
||||||
|
import javax.persistence.Column;
|
||||||
|
import javax.persistence.Entity;
|
||||||
|
import javax.persistence.Lob;
|
||||||
|
import javax.persistence.Table;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Wynne.Lu
|
||||||
|
* @date 2021/3/25 下午4:33
|
||||||
|
* @desc
|
||||||
|
*/
|
||||||
|
@Entity
|
||||||
|
@Table(name = "SCR_PANEL_COMPONENT")
|
||||||
|
@Data
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Api("组件")
|
||||||
|
public class ScrPanelComponent extends BaseBean {
|
||||||
|
private static final long serialVersionUID = 3459027655126916483L;
|
||||||
|
|
||||||
|
public ScrPanelComponent() {
|
||||||
|
}
|
||||||
|
|
||||||
|
public ScrPanelComponent(String panelCode, String layoutCode, String rowCode, String columnCode, BaseComponent baseComponent) {
|
||||||
|
this.panelCode = panelCode;
|
||||||
|
this.layoutCode = layoutCode;
|
||||||
|
this.rowCode = rowCode;
|
||||||
|
this.columnCode = columnCode;
|
||||||
|
this.componentDesc = JSON.toJSONString(baseComponent);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Column(name = "PANEL_CODE")
|
||||||
|
@ApiParam("panel代码")
|
||||||
|
private String panelCode;
|
||||||
|
|
||||||
|
@Column(name = "LAYOUT_CODE")
|
||||||
|
@ApiParam("布局代码")
|
||||||
|
private String layoutCode;
|
||||||
|
|
||||||
|
@Column(name = "ROW_CODE")
|
||||||
|
@ApiParam("行代码")
|
||||||
|
private String rowCode;
|
||||||
|
|
||||||
|
@Column(name = "COLUMN_CODE")
|
||||||
|
@ApiParam("列代码")
|
||||||
|
private String columnCode;
|
||||||
|
|
||||||
|
@Lob
|
||||||
|
@Column(name = "COMPONENT_DESC")
|
||||||
|
@ApiParam(value = "组件描述")
|
||||||
|
private String componentDesc;
|
||||||
|
}
|
@ -1,35 +0,0 @@
|
|||||||
package cn.estsh.i3plus.pojo.screen.bean;
|
|
||||||
|
|
||||||
import io.swagger.annotations.Api;
|
|
||||||
import io.swagger.annotations.ApiParam;
|
|
||||||
import lombok.AllArgsConstructor;
|
|
||||||
import lombok.Builder;
|
|
||||||
import lombok.Data;
|
|
||||||
import lombok.EqualsAndHashCode;
|
|
||||||
import lombok.NoArgsConstructor;
|
|
||||||
|
|
||||||
import javax.persistence.Column;
|
|
||||||
import javax.persistence.Entity;
|
|
||||||
import javax.persistence.Table;
|
|
||||||
import java.io.Serializable;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @author Wynne.Lu
|
|
||||||
* @date 2021/3/11 下午5:01
|
|
||||||
* @desc
|
|
||||||
*/
|
|
||||||
@Entity
|
|
||||||
@Table(name = "SCR_PANEL_LAYOUT_COLUMN")
|
|
||||||
@Data
|
|
||||||
@EqualsAndHashCode(callSuper = true)
|
|
||||||
@NoArgsConstructor
|
|
||||||
@AllArgsConstructor
|
|
||||||
@Builder
|
|
||||||
@Api("Panel布局-列")
|
|
||||||
public class ScrPanelLayoutColumn extends ScrLayoutColumn implements Serializable {
|
|
||||||
private static final long serialVersionUID = 6577099884589179886L;
|
|
||||||
|
|
||||||
@Column(name = "COMPONENT_CODE")
|
|
||||||
@ApiParam("组件代码")
|
|
||||||
private String componentCode;
|
|
||||||
}
|
|
@ -1,45 +0,0 @@
|
|||||||
package cn.estsh.i3plus.pojo.screen.bean;
|
|
||||||
|
|
||||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
|
||||||
import io.swagger.annotations.Api;
|
|
||||||
import io.swagger.annotations.ApiParam;
|
|
||||||
import lombok.AllArgsConstructor;
|
|
||||||
import lombok.Builder;
|
|
||||||
import lombok.Data;
|
|
||||||
import lombok.EqualsAndHashCode;
|
|
||||||
import lombok.NoArgsConstructor;
|
|
||||||
|
|
||||||
import javax.persistence.Column;
|
|
||||||
import javax.persistence.Entity;
|
|
||||||
import javax.persistence.Table;
|
|
||||||
import java.io.Serializable;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @author Wynne.Lu
|
|
||||||
* @date 2021/3/22 下午8:42
|
|
||||||
* @desc
|
|
||||||
*/
|
|
||||||
@Entity
|
|
||||||
@Table(name = "SCR_PANEL_MODEL")
|
|
||||||
@Data
|
|
||||||
@EqualsAndHashCode(callSuper = true)
|
|
||||||
@NoArgsConstructor
|
|
||||||
@AllArgsConstructor
|
|
||||||
@Builder
|
|
||||||
@Api("Panel与Model的关系")
|
|
||||||
public class ScrPanelModel extends BaseBean implements Serializable {
|
|
||||||
private static final long serialVersionUID = -6998319452471117206L;
|
|
||||||
|
|
||||||
@Column(name = "PANEL_MODEL_CODE")
|
|
||||||
@ApiParam("Panel与Model的关系代码")
|
|
||||||
private String panelModelCode;
|
|
||||||
|
|
||||||
@Column(name = "PANEL_CODE")
|
|
||||||
@ApiParam("Panel代码")
|
|
||||||
private String panelCode;
|
|
||||||
|
|
||||||
@Column(name = "MODEL_CODE")
|
|
||||||
@ApiParam("Model代码")
|
|
||||||
private String modelCode;
|
|
||||||
|
|
||||||
}
|
|
@ -1,36 +0,0 @@
|
|||||||
package cn.estsh.i3plus.pojo.screen.bean;
|
|
||||||
|
|
||||||
import io.swagger.annotations.Api;
|
|
||||||
import io.swagger.annotations.ApiParam;
|
|
||||||
import lombok.AllArgsConstructor;
|
|
||||||
import lombok.Builder;
|
|
||||||
import lombok.Data;
|
|
||||||
import lombok.EqualsAndHashCode;
|
|
||||||
import lombok.NoArgsConstructor;
|
|
||||||
|
|
||||||
import javax.persistence.Column;
|
|
||||||
import javax.persistence.Entity;
|
|
||||||
import javax.persistence.Table;
|
|
||||||
import java.io.Serializable;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @author Wynne.Lu
|
|
||||||
* @date 2021/3/11 下午5:01
|
|
||||||
* @desc
|
|
||||||
*/
|
|
||||||
@Entity
|
|
||||||
@Table(name = "SCR_SCREEN_LAYOUT_COLUMN")
|
|
||||||
@Data
|
|
||||||
@EqualsAndHashCode(callSuper = true)
|
|
||||||
@NoArgsConstructor
|
|
||||||
@AllArgsConstructor
|
|
||||||
@Builder
|
|
||||||
@Api("Screen布局-列")
|
|
||||||
public class ScrScreenLayoutColumn extends ScrLayoutColumn implements Serializable {
|
|
||||||
private static final long serialVersionUID = 4084273106415805804L;
|
|
||||||
|
|
||||||
@Column(name = "PANEL_CODE")
|
|
||||||
@ApiParam("Panel代码")
|
|
||||||
private String panelCode;
|
|
||||||
|
|
||||||
}
|
|
@ -0,0 +1,56 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.screen.bean;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||||
|
import io.swagger.annotations.Api;
|
||||||
|
import io.swagger.annotations.ApiParam;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.EqualsAndHashCode;
|
||||||
|
|
||||||
|
import javax.persistence.Column;
|
||||||
|
import javax.persistence.Entity;
|
||||||
|
import javax.persistence.Table;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Wynne.Lu
|
||||||
|
* @date 2021/3/25 下午4:33
|
||||||
|
* @desc
|
||||||
|
*/
|
||||||
|
@Entity
|
||||||
|
@Table(name = "SCR_SCREEN_PANEL")
|
||||||
|
@Data
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Api("Screen与Panel的关系")
|
||||||
|
public class ScrScreenPanel extends BaseBean {
|
||||||
|
private static final long serialVersionUID = 3459027655126916483L;
|
||||||
|
|
||||||
|
public ScrScreenPanel() {
|
||||||
|
}
|
||||||
|
|
||||||
|
public ScrScreenPanel(String screenCode, String layoutCode, String rowCode, String columnCode, String panelCode) {
|
||||||
|
this.screenCode = screenCode;
|
||||||
|
this.layoutCode = layoutCode;
|
||||||
|
this.rowCode = rowCode;
|
||||||
|
this.columnCode = columnCode;
|
||||||
|
this.panelCode = panelCode;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Column(name = "SCREEN_CODE")
|
||||||
|
@ApiParam("panel代码")
|
||||||
|
private String screenCode;
|
||||||
|
|
||||||
|
@Column(name = "LAYOUT_CODE")
|
||||||
|
@ApiParam("布局代码")
|
||||||
|
private String layoutCode;
|
||||||
|
|
||||||
|
@Column(name = "ROW_CODE")
|
||||||
|
@ApiParam("行代码")
|
||||||
|
private String rowCode;
|
||||||
|
|
||||||
|
@Column(name = "COLUMN_CODE")
|
||||||
|
@ApiParam("列代码")
|
||||||
|
private String columnCode;
|
||||||
|
|
||||||
|
@Column(name = "PANEL_CODE")
|
||||||
|
@ApiParam(value = "panel代码")
|
||||||
|
private String panelCode;
|
||||||
|
}
|
@ -0,0 +1,24 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.screen.component.base;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.screen.bean.base.BaseScreenBean;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Wynne.Lu
|
||||||
|
* @date 2021/3/11 下午12:32
|
||||||
|
* @desc
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
public abstract class BaseComponent extends BaseScreenBean {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 6768391193506016205L;
|
||||||
|
|
||||||
|
private String componentCode;
|
||||||
|
|
||||||
|
private String cssStyle;
|
||||||
|
|
||||||
|
private Integer tabIndex;
|
||||||
|
|
||||||
|
private String componentType = this.getClass().getName();
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,15 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.screen.component.base;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Wynne.Lu
|
||||||
|
* @date 2021/3/11 下午12:30
|
||||||
|
* @desc
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
public abstract class BaseView extends BaseComponent {
|
||||||
|
|
||||||
|
private String jsEnhance;
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,15 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.screen.component.base;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Wynne.Lu
|
||||||
|
* @date 2021/3/11 下午12:30
|
||||||
|
* @desc
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
public abstract class BaseWidget extends BaseComponent {
|
||||||
|
|
||||||
|
private String widgetType=this.getClass().getName();
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,26 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.screen.component.view;
|
||||||
|
|
||||||
|
import io.swagger.annotations.Api;
|
||||||
|
import lombok.AllArgsConstructor;
|
||||||
|
import lombok.Builder;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.EqualsAndHashCode;
|
||||||
|
import lombok.NoArgsConstructor;
|
||||||
|
|
||||||
|
import javax.persistence.Entity;
|
||||||
|
import javax.persistence.Table;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Wynne.Lu
|
||||||
|
* @date 2021/3/11 下午12:31
|
||||||
|
* @desc
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
public class ScrViewBarChart extends ScrViewChart {
|
||||||
|
private static final long serialVersionUID = 7114030006928397461L;
|
||||||
|
|
||||||
|
private List<Object> xAxis;
|
||||||
|
|
||||||
|
private List<Object> yAxis;
|
||||||
|
}
|
@ -0,0 +1,16 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.screen.component.view;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.screen.component.base.BaseView;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Wynne.Lu
|
||||||
|
* @date 2021/3/11 下午12:31
|
||||||
|
* @desc
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
public class ScrViewChart extends BaseView {
|
||||||
|
private static final long serialVersionUID = 3786868086148227665L;
|
||||||
|
private Integer autoRefreshInterval;
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,18 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.screen.component.view;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Wynne.Lu
|
||||||
|
* @date 2021/3/11 下午12:31
|
||||||
|
* @desc
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
public class ScrViewLineChart extends ScrViewChart {
|
||||||
|
|
||||||
|
// private List<Object> xAxis;
|
||||||
|
//
|
||||||
|
// private List<Object> yAxis;
|
||||||
|
}
|
@ -0,0 +1,16 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.screen.component.view;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Wynne.Lu
|
||||||
|
* @date 2021/3/11 下午12:31
|
||||||
|
* @desc
|
||||||
|
*/
|
||||||
|
|
||||||
|
@Data
|
||||||
|
public class ScrViewPieChart extends ScrViewChart {
|
||||||
|
private static final long serialVersionUID = -4334873164110780274L;
|
||||||
|
|
||||||
|
// private Map<String, Double> data;
|
||||||
|
}
|
@ -0,0 +1,21 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.screen.component.view;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.screen.component.base.BaseView;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Wynne.Lu
|
||||||
|
* @date 2021/3/11 下午12:29
|
||||||
|
* @desc
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
public class ScrViewTable extends BaseView {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = -795585853717859678L;
|
||||||
|
private Integer autoRefreshInterval = 0;
|
||||||
|
|
||||||
|
private Boolean isShowChoice;
|
||||||
|
|
||||||
|
private Boolean isPagination;
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,19 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.screen.component.view;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.screen.component.base.BaseView;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Wynne.Lu
|
||||||
|
* @date 2021/3/11 下午12:30
|
||||||
|
* @desc
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
public class ScrViewTree extends BaseView {
|
||||||
|
private static final long serialVersionUID = 3615560061167536377L;
|
||||||
|
|
||||||
|
private String parentField;
|
||||||
|
|
||||||
|
private String showField;
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,13 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.screen.component.widget;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.screen.component.base.BaseWidget;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Wynne.Lu
|
||||||
|
* @date 2021/3/11 下午12:31
|
||||||
|
* @desc
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
public class ScrWidgetCascader extends BaseWidget {
|
||||||
|
}
|
@ -0,0 +1,15 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.screen.component.widget;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.screen.component.base.BaseWidget;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Wynne.Lu
|
||||||
|
* @date 2021/3/11 下午12:31
|
||||||
|
* @desc
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
public class ScrWidgetLabel extends BaseWidget {
|
||||||
|
|
||||||
|
private String text;
|
||||||
|
}
|
@ -1,23 +0,0 @@
|
|||||||
package cn.estsh.i3plus.pojo.screen.model;
|
|
||||||
|
|
||||||
import cn.estsh.i3plus.pojo.screen.bean.ScrModel;
|
|
||||||
import cn.estsh.i3plus.pojo.screen.bean.ScrModelField;
|
|
||||||
import cn.estsh.i3plus.pojo.screen.model.component.AbstractComponent;
|
|
||||||
import lombok.Data;
|
|
||||||
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @author Wynne.Lu
|
|
||||||
* @date 2021/3/11 下午1:14
|
|
||||||
* @desc
|
|
||||||
*/
|
|
||||||
@Data
|
|
||||||
public class PanelModelField {
|
|
||||||
|
|
||||||
private ScrModel model;
|
|
||||||
|
|
||||||
private List<ScrModelField> modelFields;
|
|
||||||
|
|
||||||
private AbstractComponent component;
|
|
||||||
}
|
|
@ -0,0 +1,22 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.screen.model;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.screen.bean.ScrLayout;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Wynne.Lu
|
||||||
|
* @date 2021/3/27 下午6:10
|
||||||
|
* @desc
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
public class ScrLayoutModel implements Serializable {
|
||||||
|
private static final long serialVersionUID = -2767386371499251918L;
|
||||||
|
|
||||||
|
private ScrLayout layout;
|
||||||
|
|
||||||
|
private List<ScrRowColumnModel> rowColumnModels;
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,20 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.screen.model;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.screen.bean.ScrLayoutColumn;
|
||||||
|
import cn.estsh.i3plus.pojo.screen.bean.ScrLayoutRow;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Wynne.Lu
|
||||||
|
* @date 2021/3/27 下午8:35
|
||||||
|
* @desc
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
public class ScrRowColumnModel {
|
||||||
|
|
||||||
|
private ScrLayoutRow row;
|
||||||
|
|
||||||
|
private List<ScrLayoutColumn> columns;
|
||||||
|
}
|
@ -1,26 +0,0 @@
|
|||||||
package cn.estsh.i3plus.pojo.screen.model.component;
|
|
||||||
|
|
||||||
import cn.estsh.i3plus.pojo.screen.bean.ScrEventAction;
|
|
||||||
import lombok.Data;
|
|
||||||
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @author Wynne.Lu
|
|
||||||
* @date 2021/3/11 下午12:32
|
|
||||||
* @desc
|
|
||||||
*/
|
|
||||||
@Data
|
|
||||||
public abstract class AbstractComponent extends AbstractContainer {
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 6768391193506016205L;
|
|
||||||
private String cssStyle;
|
|
||||||
|
|
||||||
private String name;
|
|
||||||
|
|
||||||
private Integer tabIndex;
|
|
||||||
|
|
||||||
private List<ScrEventAction> eventAction;
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
@ -1,18 +0,0 @@
|
|||||||
package cn.estsh.i3plus.pojo.screen.model.component;
|
|
||||||
|
|
||||||
import lombok.Data;
|
|
||||||
|
|
||||||
import java.util.Map;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @author Wynne.Lu
|
|
||||||
* @date 2021/3/11 下午12:30
|
|
||||||
* @desc
|
|
||||||
*/
|
|
||||||
@Data
|
|
||||||
public abstract class AbstractView extends AbstractComponent {
|
|
||||||
|
|
||||||
private String jsEnhance;
|
|
||||||
|
|
||||||
private Map<String, String> viewTemplateMap;
|
|
||||||
}
|
|
@ -1,15 +0,0 @@
|
|||||||
package cn.estsh.i3plus.pojo.screen.model.component;
|
|
||||||
|
|
||||||
import lombok.Data;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @author Wynne.Lu
|
|
||||||
* @date 2021/3/11 下午12:30
|
|
||||||
* @desc
|
|
||||||
*/
|
|
||||||
@Data
|
|
||||||
public abstract class AbstractWidget extends AbstractComponent {
|
|
||||||
|
|
||||||
private String labelText;
|
|
||||||
|
|
||||||
}
|
|
@ -1,18 +0,0 @@
|
|||||||
package cn.estsh.i3plus.pojo.screen.model.component;
|
|
||||||
|
|
||||||
import lombok.Data;
|
|
||||||
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @author Wynne.Lu
|
|
||||||
* @date 2021/3/11 下午12:31
|
|
||||||
* @desc
|
|
||||||
*/
|
|
||||||
@Data
|
|
||||||
public class BarChart extends Chart {
|
|
||||||
|
|
||||||
private List<Object> xAxis;
|
|
||||||
|
|
||||||
private List<Object> yAxis;
|
|
||||||
}
|
|
@ -1,12 +0,0 @@
|
|||||||
package cn.estsh.i3plus.pojo.screen.model.component;
|
|
||||||
|
|
||||||
import lombok.Data;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @author Wynne.Lu
|
|
||||||
* @date 2021/3/11 下午12:31
|
|
||||||
* @desc
|
|
||||||
*/
|
|
||||||
@Data
|
|
||||||
public class Cascader extends AbstractWidget{
|
|
||||||
}
|
|
@ -1,14 +0,0 @@
|
|||||||
package cn.estsh.i3plus.pojo.screen.model.component;
|
|
||||||
|
|
||||||
import lombok.Data;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @author Wynne.Lu
|
|
||||||
* @date 2021/3/11 下午12:31
|
|
||||||
* @desc
|
|
||||||
*/
|
|
||||||
@Data
|
|
||||||
public class Chart extends AbstractWidget {
|
|
||||||
private Integer autoRefreshInterval;
|
|
||||||
|
|
||||||
}
|
|
@ -1,14 +0,0 @@
|
|||||||
package cn.estsh.i3plus.pojo.screen.model.component;
|
|
||||||
|
|
||||||
import lombok.Data;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @author Wynne.Lu
|
|
||||||
* @date 2021/3/11 下午12:31
|
|
||||||
* @desc
|
|
||||||
*/
|
|
||||||
@Data
|
|
||||||
public class Label extends AbstractWidget {
|
|
||||||
|
|
||||||
private String text;
|
|
||||||
}
|
|
@ -1,18 +0,0 @@
|
|||||||
package cn.estsh.i3plus.pojo.screen.model.component;
|
|
||||||
|
|
||||||
import lombok.Data;
|
|
||||||
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @author Wynne.Lu
|
|
||||||
* @date 2021/3/11 下午12:31
|
|
||||||
* @desc
|
|
||||||
*/
|
|
||||||
@Data
|
|
||||||
public class LineChart extends Chart {
|
|
||||||
|
|
||||||
private List<Object> xAxis;
|
|
||||||
|
|
||||||
private List<Object> yAxis;
|
|
||||||
}
|
|
@ -1,17 +0,0 @@
|
|||||||
package cn.estsh.i3plus.pojo.screen.model.component;
|
|
||||||
|
|
||||||
import lombok.Data;
|
|
||||||
|
|
||||||
import java.util.Map;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @author Wynne.Lu
|
|
||||||
* @date 2021/3/11 下午12:31
|
|
||||||
* @desc
|
|
||||||
*/
|
|
||||||
|
|
||||||
@Data
|
|
||||||
public class PieChart extends Chart {
|
|
||||||
|
|
||||||
private Map<String, Double> data;
|
|
||||||
}
|
|
@ -1,22 +0,0 @@
|
|||||||
package cn.estsh.i3plus.pojo.screen.model.component;
|
|
||||||
|
|
||||||
import cn.estsh.i3plus.pojo.screen.model.Pagination;
|
|
||||||
import lombok.Data;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @author Wynne.Lu
|
|
||||||
* @date 2021/3/11 下午12:29
|
|
||||||
* @desc
|
|
||||||
*/
|
|
||||||
@Data
|
|
||||||
public class Table extends AbstractView {
|
|
||||||
|
|
||||||
private Integer autoRefreshInterval = 0;
|
|
||||||
|
|
||||||
private Boolean isShowChoice;
|
|
||||||
|
|
||||||
private Boolean isPagination;
|
|
||||||
|
|
||||||
private Pagination defaultPagination;
|
|
||||||
|
|
||||||
}
|
|
@ -1,20 +0,0 @@
|
|||||||
package cn.estsh.i3plus.pojo.screen.model.component;
|
|
||||||
|
|
||||||
import lombok.Data;
|
|
||||||
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @author Wynne.Lu
|
|
||||||
* @date 2021/3/11 下午12:30
|
|
||||||
* @desc
|
|
||||||
*/
|
|
||||||
@Data
|
|
||||||
public class Tree extends AbstractView {
|
|
||||||
|
|
||||||
private String parentField;
|
|
||||||
|
|
||||||
private String showField;
|
|
||||||
|
|
||||||
private List<Object> data;
|
|
||||||
}
|
|
@ -0,0 +1,14 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.screen.repository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.screen.bean.ScrAction;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :
|
||||||
|
* @Reference :
|
||||||
|
* @Author : wei.peng
|
||||||
|
* @CreateDate : 20-5-28 下午3:39
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
public interface ScrActionRepository extends BaseRepository<ScrAction, Long> {
|
||||||
|
}
|
@ -0,0 +1,14 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.screen.repository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.screen.bean.ScrComponentEventAction;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :
|
||||||
|
* @Reference :
|
||||||
|
* @Author : wei.peng
|
||||||
|
* @CreateDate : 20-5-28 下午3:39
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
public interface ScrComponentEventActionRepository extends BaseRepository<ScrComponentEventAction, Long> {
|
||||||
|
}
|
@ -0,0 +1,14 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.screen.repository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.screen.bean.ScrComponentModelField;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :
|
||||||
|
* @Reference :
|
||||||
|
* @Author : wei.peng
|
||||||
|
* @CreateDate : 20-5-28 下午3:39
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
public interface ScrComponentModelFieldRepository extends BaseRepository<ScrComponentModelField, Long> {
|
||||||
|
}
|
@ -0,0 +1,14 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.screen.repository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.screen.bean.ScrPanelComponent;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :
|
||||||
|
* @Reference :
|
||||||
|
* @Author : wei.peng
|
||||||
|
* @CreateDate : 20-5-28 下午3:39
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
public interface ScrComponentRepository extends BaseRepository<ScrPanelComponent, Long> {
|
||||||
|
}
|
@ -0,0 +1,14 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.screen.repository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.screen.bean.ScrDataObjectProperty;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :
|
||||||
|
* @Reference :
|
||||||
|
* @Author : wei.peng
|
||||||
|
* @CreateDate : 20-5-28 下午3:39
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
public interface ScrDataObjectPropertyRepository extends BaseRepository<ScrDataObjectProperty, Long> {
|
||||||
|
}
|
@ -0,0 +1,14 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.screen.repository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.screen.bean.ScrDataObject;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :
|
||||||
|
* @Reference :
|
||||||
|
* @Author : wei.peng
|
||||||
|
* @CreateDate : 20-5-28 下午3:39
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
public interface ScrDataObjectRepository extends BaseRepository<ScrDataObject, Long> {
|
||||||
|
}
|
@ -0,0 +1,14 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.screen.repository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.screen.bean.ScrDatasource;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :
|
||||||
|
* @Reference :
|
||||||
|
* @Author : wei.peng
|
||||||
|
* @CreateDate : 20-5-28 下午3:39
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
public interface ScrDatasourceRepository extends BaseRepository<ScrDatasource, Long> {
|
||||||
|
}
|
@ -0,0 +1,14 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.screen.repository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.screen.bean.ScrEventAction;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :
|
||||||
|
* @Reference :
|
||||||
|
* @Author : wei.peng
|
||||||
|
* @CreateDate : 20-5-28 下午3:39
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
public interface ScrEventActionRepository extends BaseRepository<ScrEventAction, Long> {
|
||||||
|
}
|
@ -0,0 +1,14 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.screen.repository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.screen.bean.ScrEvent;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :
|
||||||
|
* @Reference :
|
||||||
|
* @Author : wei.peng
|
||||||
|
* @CreateDate : 20-5-28 下午3:39
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
public interface ScrEventRepository extends BaseRepository<ScrEvent, Long> {
|
||||||
|
}
|
@ -0,0 +1,14 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.screen.repository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.screen.bean.ScrFile;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :
|
||||||
|
* @Reference :
|
||||||
|
* @Author : wei.peng
|
||||||
|
* @CreateDate : 20-5-28 下午3:39
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
public interface ScrFileRepository extends BaseRepository<ScrFile, Long> {
|
||||||
|
}
|
@ -0,0 +1,15 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.screen.repository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.screen.bean.ScrLayout;
|
||||||
|
import cn.estsh.i3plus.pojo.screen.bean.ScrLayoutColumn;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :
|
||||||
|
* @Reference :
|
||||||
|
* @Author : wei.peng
|
||||||
|
* @CreateDate : 20-5-28 下午3:39
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
public interface ScrLayoutColumnRepository extends BaseRepository<ScrLayoutColumn, Long> {
|
||||||
|
}
|
@ -0,0 +1,14 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.screen.repository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.screen.bean.ScrLayout;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :
|
||||||
|
* @Reference :
|
||||||
|
* @Author : wei.peng
|
||||||
|
* @CreateDate : 20-5-28 下午3:39
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
public interface ScrLayoutRepository extends BaseRepository<ScrLayout, Long> {
|
||||||
|
}
|
@ -0,0 +1,15 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.screen.repository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.screen.bean.ScrLayout;
|
||||||
|
import cn.estsh.i3plus.pojo.screen.bean.ScrLayoutRow;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :
|
||||||
|
* @Reference :
|
||||||
|
* @Author : wei.peng
|
||||||
|
* @CreateDate : 20-5-28 下午3:39
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
public interface ScrLayoutRowRepository extends BaseRepository<ScrLayoutRow, Long> {
|
||||||
|
}
|
@ -0,0 +1,14 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.screen.repository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.screen.bean.ScrModelFieldConstraint;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :
|
||||||
|
* @Reference :
|
||||||
|
* @Author : wei.peng
|
||||||
|
* @CreateDate : 20-5-28 下午3:39
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
public interface ScrModelFieldConstraintRepository extends BaseRepository<ScrModelFieldConstraint, Long> {
|
||||||
|
}
|
@ -0,0 +1,15 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.screen.repository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.screen.bean.ScrLayoutRow;
|
||||||
|
import cn.estsh.i3plus.pojo.screen.bean.ScrModelField;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :
|
||||||
|
* @Reference :
|
||||||
|
* @Author : wei.peng
|
||||||
|
* @CreateDate : 20-5-28 下午3:39
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
public interface ScrModelFieldRepository extends BaseRepository<ScrModelField, Long> {
|
||||||
|
}
|
@ -0,0 +1,15 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.screen.repository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.screen.bean.ScrModelFieldConstraint;
|
||||||
|
import cn.estsh.i3plus.pojo.screen.bean.ScrModelFieldVirtual;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :
|
||||||
|
* @Reference :
|
||||||
|
* @Author : wei.peng
|
||||||
|
* @CreateDate : 20-5-28 下午3:39
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
public interface ScrModelFieldVirtualRepository extends BaseRepository<ScrModelFieldVirtual, Long> {
|
||||||
|
}
|
@ -0,0 +1,14 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.screen.repository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.screen.bean.ScrModel;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :
|
||||||
|
* @Reference :
|
||||||
|
* @Author : wei.peng
|
||||||
|
* @CreateDate : 20-5-28 下午3:39
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
public interface ScrModelRepository extends BaseRepository<ScrModel, Long> {
|
||||||
|
}
|
@ -0,0 +1,15 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.screen.repository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.screen.bean.ScrAction;
|
||||||
|
import cn.estsh.i3plus.pojo.screen.bean.ScrPanel;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :
|
||||||
|
* @Reference :
|
||||||
|
* @Author : wei.peng
|
||||||
|
* @CreateDate : 20-5-28 下午3:39
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
public interface ScrPanelRepository extends BaseRepository<ScrPanel, Long> {
|
||||||
|
}
|
@ -0,0 +1,14 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.screen.repository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.screen.bean.ScrScreen;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :
|
||||||
|
* @Reference :
|
||||||
|
* @Author : wei.peng
|
||||||
|
* @CreateDate : 20-5-28 下午3:39
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
public interface ScrScreenRepository extends BaseRepository<ScrScreen, Long> {
|
||||||
|
}
|
Loading…
Reference in New Issue