Merge remote-tracking branch 'origin/ext-dev' into ext-dev
commit
508fd77881
@ -0,0 +1,100 @@
|
||||
package cn.estsh.i3plus.pojo.mdm.bean.busi;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import javax.persistence.Transient;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : yunhao
|
||||
* @CreateDate : 2021-03-29 17:37
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MDM_DATA_SUBSCRIBE")
|
||||
@ApiModel("数据订阅信息")
|
||||
public class MdmDataSubscribe extends BaseBean {
|
||||
|
||||
private static final long serialVersionUID = 8821827445193232389L;
|
||||
|
||||
@Column(name = "MDM_CLASS_NAME")
|
||||
@ApiParam("主数据类名")
|
||||
private String mdmClassName;
|
||||
|
||||
@Column(name = "MDM_NAME")
|
||||
@ApiParam("主数据名称")
|
||||
private String mdmName;
|
||||
|
||||
@Column(name = "INTERNAL_APP_NUM")
|
||||
@ApiParam("内部订阅应用数量")
|
||||
private Integer internalAppNum;
|
||||
|
||||
public long addInternalAppNum() {
|
||||
if (internalAppNum == null) {
|
||||
internalAppNum = 1;
|
||||
} else {
|
||||
internalAppNum++;
|
||||
}
|
||||
return internalAppNum;
|
||||
}
|
||||
|
||||
@Column(name = "EXTERNAL_APP_NUM")
|
||||
@ApiParam("外部订阅应用数量")
|
||||
private Integer externalAppNum;
|
||||
|
||||
public long addExternalAppNum() {
|
||||
if (externalAppNum == null) {
|
||||
externalAppNum = 1;
|
||||
} else {
|
||||
externalAppNum++;
|
||||
}
|
||||
return externalAppNum;
|
||||
}
|
||||
|
||||
@Transient
|
||||
@ApiParam("内部订阅信息")
|
||||
private List<MdmDataSubscribeDetail> internalAppSubList;
|
||||
|
||||
public List<MdmDataSubscribeDetail> getInternalAppSubList() {
|
||||
return internalAppSubList == null ? new ArrayList<>() : internalAppSubList;
|
||||
}
|
||||
|
||||
public void addInternalApp(MdmDataSubscribeDetail detail) {
|
||||
if (internalAppSubList == null) {
|
||||
internalAppSubList = new ArrayList<>();
|
||||
}
|
||||
internalAppSubList.add(detail);
|
||||
}
|
||||
|
||||
@Transient
|
||||
@ApiParam("外部订阅信息")
|
||||
private List<MdmDataSubscribeDetail> externalAppSubList;
|
||||
|
||||
public List<MdmDataSubscribeDetail> getExternalAppSubList() {
|
||||
return externalAppSubList == null ? new ArrayList<>() : externalAppSubList;
|
||||
}
|
||||
|
||||
public void addExternalApp(MdmDataSubscribeDetail detail) {
|
||||
if (externalAppSubList == null) {
|
||||
externalAppSubList = new ArrayList<>();
|
||||
}
|
||||
externalAppSubList.add(detail);
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,57 @@
|
||||
package cn.estsh.i3plus.pojo.mdm.bean.busi;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import cn.estsh.i3plus.pojo.base.enumutil.MdmEnumUtil;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : yunhao
|
||||
* @CreateDate : 2021-03-29 17:37
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MDM_DATA_SUBSCRIBE_DETAIL")
|
||||
@ApiModel("数据订阅明细")
|
||||
public class MdmDataSubscribeDetail extends BaseBean {
|
||||
|
||||
private static final long serialVersionUID = -741233265567034262L;
|
||||
|
||||
@Column(name = "DATA_SUBSCRIBE_ID")
|
||||
@ApiParam("数据订阅id")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long dataSubscribeId;
|
||||
|
||||
@Column(name = "APP_ID")
|
||||
@ApiParam("应用id")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long appId;
|
||||
|
||||
@Column(name = "APP_TYPE")
|
||||
@ApiParam("应用类型")
|
||||
private Integer appType;
|
||||
|
||||
public int getAppTypeVal() {
|
||||
return appType == null ? MdmEnumUtil.MDM_SYNC_APP_TYPE.INTERNAL.getValue() : appType;
|
||||
}
|
||||
|
||||
@Column(name = "APP_NAME")
|
||||
@ApiParam("应用名称")
|
||||
private String appName;
|
||||
}
|
@ -0,0 +1,49 @@
|
||||
package cn.estsh.i3plus.pojo.mdm.bean.busi;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : yunhao
|
||||
* @CreateDate : 2021-03-29 17:41
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MDM_EXTERNAL_APP")
|
||||
@ApiModel("外部应用信息")
|
||||
public class MdmExternalApp extends BaseBean {
|
||||
|
||||
private static final long serialVersionUID = -5344361274535836969L;
|
||||
|
||||
@Column(name = "APP_NAME")
|
||||
@ApiParam("应用名称")
|
||||
private String appName;
|
||||
|
||||
@Column(name = "APP_CODE")
|
||||
@ApiParam("应用代码")
|
||||
private String appCode;
|
||||
|
||||
@Column(name = "CALL_TOKEN")
|
||||
@ApiParam("调用令牌")
|
||||
private String callToken;
|
||||
|
||||
@Column(name = "CALLBACK_URL")
|
||||
@ApiParam("回调地址")
|
||||
private String callbackUrl;
|
||||
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package cn.estsh.i3plus.pojo.mdm.repository.busi;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mdm.bean.busi.MdmDataSubscribeDetail;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : yunhao
|
||||
* @CreateDate : 2021-04-14 10:56
|
||||
* @Modify:
|
||||
**/
|
||||
public interface MdmDataSubscribeDetailRepository extends BaseRepository<MdmDataSubscribeDetail, Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.mdm.repository.busi;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mdm.bean.busi.MdmDataSubscribe;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : yunhao
|
||||
* @CreateDate : 2021-03-29 17:44
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MdmDataSubscribeRepository extends BaseRepository<MdmDataSubscribe, Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.mdm.repository.busi;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mdm.bean.busi.MdmExternalApp;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : yunhao
|
||||
* @CreateDate : 2021-03-29 17:52
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MdmExternalAppRepository extends BaseRepository<MdmExternalApp, Long> {
|
||||
}
|
@ -0,0 +1,71 @@
|
||||
package cn.estsh.i3plus.pojo.mdm.sqlpack;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.DdlPackBean;
|
||||
import cn.estsh.i3plus.pojo.base.tool.DdlPreparedPack;
|
||||
import cn.estsh.i3plus.pojo.mdm.bean.busi.MdmDataSubscribe;
|
||||
import cn.estsh.i3plus.pojo.mdm.bean.busi.MdmExternalApp;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : yunhao
|
||||
* @CreateDate : 2021-04-14 19:33
|
||||
* @Modify:
|
||||
**/
|
||||
public class MdmHqlPack {
|
||||
|
||||
/**
|
||||
* mdm订阅信息查询条件拼接
|
||||
*
|
||||
* @param mdmDataSubscribe
|
||||
* @return
|
||||
*/
|
||||
public static DdlPackBean packHqlMdmDataSubscribe(MdmDataSubscribe mdmDataSubscribe) {
|
||||
DdlPackBean ddlPackBean = DdlPackBean.getDdlPackBean(mdmDataSubscribe);
|
||||
|
||||
DdlPreparedPack.getStringLikerPack(mdmDataSubscribe.getMdmName(), "mdmName", ddlPackBean);
|
||||
DdlPreparedPack.getStringLikerPack(mdmDataSubscribe.getMdmClassName(), "mdmClassName", ddlPackBean);
|
||||
|
||||
return ddlPackBean;
|
||||
}
|
||||
|
||||
public static DdlPackBean packHqlCheckMdmDataSubscribeOnly(MdmDataSubscribe mdmDataSubscribe) {
|
||||
DdlPackBean ddlPackBean = DdlPackBean.getDdlPackBean(mdmDataSubscribe);
|
||||
|
||||
DdlPreparedPack.getNumNOEqualPack(mdmDataSubscribe.getId(), "id", ddlPackBean);
|
||||
DdlPreparedPack.getStringEqualPack(mdmDataSubscribe.getMdmClassName(), "mdmClassName", ddlPackBean);
|
||||
|
||||
return ddlPackBean;
|
||||
}
|
||||
|
||||
/**
|
||||
* 外部应用查询条件拼接
|
||||
*
|
||||
* @param mdmExternalApp
|
||||
* @return
|
||||
*/
|
||||
public static DdlPackBean packHqlMdmExternalApp(MdmExternalApp mdmExternalApp) {
|
||||
DdlPackBean ddlPackBean = DdlPackBean.getDdlPackBean(mdmExternalApp);
|
||||
|
||||
DdlPreparedPack.getStringLikerPack(mdmExternalApp.getAppName(), "appName", ddlPackBean);
|
||||
DdlPreparedPack.getStringLikerPack(mdmExternalApp.getAppCode(), "appCode", ddlPackBean);
|
||||
|
||||
return ddlPackBean;
|
||||
}
|
||||
|
||||
/**
|
||||
* 数据对象查询条件拼接
|
||||
*
|
||||
* @param mdmExternalApp
|
||||
* @return
|
||||
*/
|
||||
public static DdlPackBean packHqlCheckMdmExternalAppOnly(MdmExternalApp mdmExternalApp) {
|
||||
DdlPackBean ddlPackBean = DdlPackBean.getDdlPackBean(mdmExternalApp);
|
||||
|
||||
DdlPreparedPack.getNumNOEqualPack(mdmExternalApp.getId(), "id", ddlPackBean);
|
||||
DdlPreparedPack.getStringEqualPack(mdmExternalApp.getAppCode(), "appCode", ddlPackBean);
|
||||
|
||||
return ddlPackBean;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
//package cn.estsh.i3plus.pojo.screen.annotation;
|
||||
//
|
||||
//import cn.estsh.i3plus.pojo.base.enumutil.ScreenEnumUtil;
|
||||
//
|
||||
//import java.lang.annotation.Documented;
|
||||
//import java.lang.annotation.ElementType;
|
||||
//import java.lang.annotation.Retention;
|
||||
//import java.lang.annotation.RetentionPolicy;
|
||||
//import java.lang.annotation.Target;
|
||||
//
|
||||
///**
|
||||
// * @author Wynne.Lu
|
||||
// * @date 2021/3/30 下午9:11
|
||||
// * @desc
|
||||
// */
|
||||
//@Retention(RetentionPolicy.RUNTIME)
|
||||
//@Target({ElementType.FIELD)
|
||||
//@Documented
|
||||
//public @interface ReferTo {
|
||||
//
|
||||
// ScreenEnumUtil.DATA_RESOURCE_TYPE refType() default ScreenEnumUtil.DATA_RESOURCE_TYPE.ENUM;
|
||||
//
|
||||
// String refWhere();
|
||||
//
|
||||
// String refField();
|
||||
//
|
||||
//
|
||||
//}
|
@ -0,0 +1,53 @@
|
||||
package cn.estsh.i3plus.pojo.screen.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
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.Lob;
|
||||
import javax.persistence.Table;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2021/3/22 上午10:43
|
||||
* @desc
|
||||
*/
|
||||
@Entity
|
||||
@Table(name = "SCR_COMPONENT")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Builder
|
||||
@ApiModel("组件")
|
||||
public class ScrComponent extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = 3832856363595940018L;
|
||||
|
||||
@Column(name = "COMPONENT_CODE")
|
||||
@ApiModelProperty(value = "组件代码")
|
||||
private String componentCode;
|
||||
|
||||
@Column(name = "COMPONENT_TYPE")
|
||||
@ApiModelProperty(value = "组件代码")
|
||||
private String componentType;
|
||||
|
||||
@Column(name = "MODEL_CODE")
|
||||
@ApiModelProperty(value = "model代码")
|
||||
private String modelCode;
|
||||
|
||||
@Lob
|
||||
@Column(name = "COMPONENT_PROPERTY")
|
||||
@ApiModelProperty(value = "组件描述")
|
||||
private String componentProperty;
|
||||
|
||||
|
||||
}
|
@ -1,9 +1,61 @@
|
||||
package cn.estsh.i3plus.pojo.screen.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
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 下午9:59
|
||||
* @desc
|
||||
*/
|
||||
public class ScrFile {
|
||||
@Entity
|
||||
@Table(name = "SCR_FILE")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Builder
|
||||
@ApiModel("文件")
|
||||
public class ScrFile extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = 2343301746531746105L;
|
||||
|
||||
@Column(name = "FILE_NAME")
|
||||
@ApiModelProperty("文件名称")
|
||||
private String fileName;
|
||||
|
||||
@Column(name = "FILE_URL")
|
||||
@ApiModelProperty("文件URL")
|
||||
private String fileUrl;
|
||||
|
||||
@Column(name = "GROUP_NAME")
|
||||
@ApiModelProperty("组名")
|
||||
private String groupName;
|
||||
|
||||
@Column(name = "FILE_ORIGIN_NAME")
|
||||
@ApiModelProperty("文件原名")
|
||||
private String fileOriginName;
|
||||
|
||||
@Column(name = "FILE_SIZE")
|
||||
@ApiModelProperty("文件大小")
|
||||
private String fileSize;
|
||||
|
||||
@Column(name = "FILE_TYPE")
|
||||
@ApiModelProperty("文件类型名称")
|
||||
private String fileType;
|
||||
|
||||
@Column(name = "SYNC_TAG")
|
||||
@ApiModelProperty("同步标记")
|
||||
private Integer syncTag = 0;
|
||||
}
|
||||
|
@ -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,42 +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_COMPONENT")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Builder
|
||||
@Api("Panel与Model组件的关系")
|
||||
public class ScrPanelModelComponent extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = 2011504067317832781L;
|
||||
|
||||
@Column(name = "PANEL_MODEL_CODE")
|
||||
@ApiParam("Panel与Model的关系代码")
|
||||
private String panelModelCode;
|
||||
|
||||
@Column(name = "COMPONENT_CODE")
|
||||
@ApiParam("组件代码")
|
||||
private String componentCode;
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,50 @@
|
||||
package cn.estsh.i3plus.pojo.screen.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
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.Lob;
|
||||
import javax.persistence.Table;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2021/3/22 下午1:27
|
||||
* @desc
|
||||
*/
|
||||
@Entity
|
||||
@Table(name = "SCR_SCREEN_HISTORY")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Builder
|
||||
@ApiModel("数据对象管理")
|
||||
public class ScrScreenHistory extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = -2191090486124097302L;
|
||||
|
||||
@Column(name = "SCREEN_CODE")
|
||||
@ApiModelProperty(value = "界面代码")
|
||||
private String screenCode;
|
||||
|
||||
@Column(name = "SCREEN_VERSION")
|
||||
@ApiModelProperty(value = "页面版本")
|
||||
private String screenVersion;
|
||||
|
||||
@Lob
|
||||
@Column(name = "SCREEN_DETAIL")
|
||||
@ApiModelProperty(value = "界面详情")
|
||||
private String screenDetail;
|
||||
|
||||
|
||||
}
|
@ -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,39 @@
|
||||
package cn.estsh.i3plus.pojo.screen.bean.relation;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
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;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2021/3/25 上午9:56
|
||||
* @desc
|
||||
*/
|
||||
@Entity
|
||||
@Table(name = "SCR_COMPONENT_EVENT_ACTION")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Builder
|
||||
@ApiModel("组件事件动作")
|
||||
public class ScrComponentEventAction extends BaseBean {
|
||||
private static final long serialVersionUID = 7600064730551351570L;
|
||||
|
||||
@Column(name = "COMPONENT_CODE")
|
||||
@ApiModelProperty("组件代码")
|
||||
private String componentCode;
|
||||
|
||||
@Column(name = "EVENT_ACTION_CODE")
|
||||
@ApiModelProperty("事件动作代码")
|
||||
private String eventActionCode;
|
||||
}
|
@ -0,0 +1,53 @@
|
||||
package cn.estsh.i3plus.pojo.screen.bean.relation;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Index;
|
||||
import javax.persistence.Table;
|
||||
import javax.persistence.UniqueConstraint;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2021/3/25 下午4:33
|
||||
* @desc
|
||||
*/
|
||||
@Entity
|
||||
@Table(name = "SCR_PANEL_COMPONENT",
|
||||
// indexes = {
|
||||
// @Index(columnList = "PANEL_CODE")},
|
||||
uniqueConstraints = {
|
||||
@UniqueConstraint(columnNames = {"PANEL_CODE", "LAYOUT_CODE"})
|
||||
}
|
||||
)
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ApiModel("Panel与组件的关系")
|
||||
public class ScrPanelComponent extends BaseBean {
|
||||
private static final long serialVersionUID = 3459027655126916483L;
|
||||
|
||||
@Column(name = "PANEL_CODE")
|
||||
@ApiModelProperty("panel代码")
|
||||
private String panelCode;
|
||||
|
||||
@Column(name = "LAYOUT_CODE")
|
||||
@ApiModelProperty("布局代码")
|
||||
private String layoutCode;
|
||||
|
||||
@Column(name = "ROW_CODE")
|
||||
@ApiModelProperty("行代码")
|
||||
private String rowCode;
|
||||
|
||||
@Column(name = "COLUMN_CODE")
|
||||
@ApiModelProperty("列代码")
|
||||
private String columnCode;
|
||||
|
||||
@Column(name = "COMPONENT_CODE")
|
||||
@ApiModelProperty(value = "组件代码")
|
||||
private String componentCode;
|
||||
}
|
@ -0,0 +1,56 @@
|
||||
package cn.estsh.i3plus.pojo.screen.bean.relation;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
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 javax.persistence.UniqueConstraint;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2021/3/25 下午4:33
|
||||
* @desc
|
||||
*/
|
||||
@Entity
|
||||
@Table(name = "SCR_SCREEN_PANEL",
|
||||
uniqueConstraints = {
|
||||
@UniqueConstraint(columnNames = {"SCREEN_CODE", "LAYOUT_CODE"})
|
||||
}
|
||||
)
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Builder
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ApiModel("Screen与Panel的关系")
|
||||
public class ScrScreenPanel extends BaseBean {
|
||||
private static final long serialVersionUID = 3459027655126916483L;
|
||||
|
||||
@Column(name = "SCREEN_CODE")
|
||||
@ApiModelProperty("Screen代码")
|
||||
private String screenCode;
|
||||
|
||||
@Column(name = "LAYOUT_CODE")
|
||||
@ApiModelProperty("布局代码")
|
||||
private String layoutCode;
|
||||
|
||||
@Column(name = "ROW_CODE")
|
||||
@ApiModelProperty("行代码")
|
||||
private String rowCode;
|
||||
|
||||
@Column(name = "COLUMN_CODE")
|
||||
@ApiModelProperty("列代码")
|
||||
private String columnCode;
|
||||
|
||||
@Column(name = "PANEL_CODE")
|
||||
@ApiModelProperty(value = "panel代码")
|
||||
private String panelCode;
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
package cn.estsh.i3plus.pojo.screen.component.base;
|
||||
|
||||
import cn.estsh.i3plus.pojo.screen.bean.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 modelCode;
|
||||
|
||||
private String cssStyle;
|
||||
|
||||
private Integer tabIndex;
|
||||
|
||||
private String componentType = this.getClass().getName();
|
||||
|
||||
private String communicationType;
|
||||
|
||||
}
|
@ -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,13 @@
|
||||
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 {
|
||||
|
||||
}
|
@ -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,19 @@
|
||||
package cn.estsh.i3plus.pojo.screen.component.view;
|
||||
|
||||
import cn.estsh.i3plus.pojo.screen.component.base.BaseView;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2021/3/11 下午12:30
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
public class ScrViewForm extends BaseView {
|
||||
|
||||
private Map<String, String> fields;
|
||||
|
||||
private String action;
|
||||
}
|
@ -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,21 @@
|
||||
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:30
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
public class ScrWidgetButton extends BaseWidget {
|
||||
|
||||
private String icon;
|
||||
|
||||
private String type;
|
||||
|
||||
private String size;
|
||||
|
||||
private String action;
|
||||
}
|
@ -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,37 @@
|
||||
package cn.estsh.i3plus.pojo.screen.model;
|
||||
|
||||
import cn.estsh.i3plus.pojo.screen.bean.ScrComponent;
|
||||
import cn.estsh.i3plus.pojo.screen.bean.ScrModelField;
|
||||
import cn.estsh.i3plus.pojo.screen.component.base.BaseComponent;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2021/3/28 上午12:42
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
public class ScrPanelComponentCreateModel implements Serializable {
|
||||
private static final long serialVersionUID = -5832175256726333348L;
|
||||
|
||||
private String panelCode;
|
||||
|
||||
private String layoutCode;
|
||||
|
||||
private String rowCode;
|
||||
|
||||
private String columnCode;
|
||||
|
||||
private Map<String, Object> baseComponent;
|
||||
|
||||
private String modelCode;
|
||||
|
||||
private List<String> eventActions;
|
||||
|
||||
private List<ScrModelField> modelFields;
|
||||
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
package cn.estsh.i3plus.pojo.screen.model;
|
||||
|
||||
import cn.estsh.i3plus.pojo.screen.bean.ScrComponent;
|
||||
import cn.estsh.i3plus.pojo.screen.bean.ScrEventAction;
|
||||
import cn.estsh.i3plus.pojo.screen.bean.relation.ScrComponentModelField;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2021/3/28 上午12:42
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
public class ScrPanelComponentQueryModel implements Serializable {
|
||||
private static final long serialVersionUID = 4133777603151273736L;
|
||||
|
||||
private String rowCode;
|
||||
|
||||
private String columnCode;
|
||||
|
||||
private ScrComponent component;
|
||||
|
||||
private ScrEventAction eventAction;
|
||||
|
||||
private List<ScrComponentModelField> modelFields;
|
||||
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
package cn.estsh.i3plus.pojo.screen.model;
|
||||
|
||||
import cn.estsh.i3plus.pojo.screen.bean.ScrLayout;
|
||||
import cn.estsh.i3plus.pojo.screen.bean.ScrPanel;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2021/3/28 下午2:23
|
||||
* @desc
|
||||
*/
|
||||
public class ScrPanelLayoutModel {
|
||||
|
||||
private ScrPanel panel;
|
||||
|
||||
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;
|
||||
}
|
@ -0,0 +1,26 @@
|
||||
package cn.estsh.i3plus.pojo.screen.model;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2021/3/28 上午12:42
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
public class ScrScreenPanelCreateModel implements Serializable {
|
||||
private static final long serialVersionUID = -5832175256726333348L;
|
||||
|
||||
private String screenCode;
|
||||
|
||||
private String layoutCode;
|
||||
|
||||
private String rowCode;
|
||||
|
||||
private String columnCode;
|
||||
|
||||
private String panelCode;
|
||||
|
||||
}
|
@ -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,24 +0,0 @@
|
||||
package cn.estsh.i3plus.pojo.screen.model.component;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import cn.estsh.i3plus.pojo.screen.bean.ScrEventAction;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2021/3/11 下午12:27
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
public abstract class AbstractContainer extends BaseBean {
|
||||
private static final long serialVersionUID = 7696523743371800661L;
|
||||
|
||||
private String background;
|
||||
|
||||
private String cssStyle;
|
||||
|
||||
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,20 +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 class Button extends AbstractWidget {
|
||||
|
||||
private String icon;
|
||||
|
||||
private String type;
|
||||
|
||||
private String size;
|
||||
|
||||
private String onClick;
|
||||
}
|
@ -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,16 +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 class Form extends AbstractView{
|
||||
|
||||
private Map<String,String> fields;
|
||||
}
|
@ -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.ScrComponent;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : wei.peng
|
||||
* @CreateDate : 20-5-28 下午3:39
|
||||
* @Modify:
|
||||
**/
|
||||
public interface ScrComponentRepository extends BaseRepository<ScrComponent, 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> {
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue