初始代码
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<parent>
|
||||
<artifactId>yunzhupaas-visualdev-base</artifactId>
|
||||
<groupId>com.yunzhupaas</groupId>
|
||||
<version>5.2.0-RELEASE</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<artifactId>yunzhupaas-visualdev-base-entity</artifactId>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.yunzhupaas</groupId>
|
||||
<artifactId>yunzhupaas-common-all</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.yunzhupaas</groupId>
|
||||
<artifactId>yunzhupaas-permission-entity</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
</project>
|
||||
@@ -0,0 +1,55 @@
|
||||
package com.yunzhupaas.base.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 单据递增序号
|
||||
*
|
||||
* @author 云筑产品开发平台组
|
||||
* @version v5.1.0
|
||||
* @copyright 深圳市乐程软件有限公司
|
||||
* @date 2024/9/3 14:08:03
|
||||
*/
|
||||
@Data
|
||||
@TableName("base_bill_num")
|
||||
public class BillNumEntity extends SuperEntity {
|
||||
|
||||
/**
|
||||
* 单据规则id
|
||||
*/
|
||||
@TableField("f_rule_id")
|
||||
private String ruleId;
|
||||
|
||||
/**
|
||||
* 功能id
|
||||
*/
|
||||
@TableField("f_visual_id")
|
||||
private String visualId;
|
||||
|
||||
/**
|
||||
* 流程模板id
|
||||
*/
|
||||
@TableField("f_flow_id")
|
||||
private String flowId;
|
||||
|
||||
/**
|
||||
* 时间规则类型
|
||||
*/
|
||||
@TableField("f_rule_config")
|
||||
private String ruleConfig;
|
||||
|
||||
/**
|
||||
* 时间规则值:用于判断是否重置
|
||||
*/
|
||||
@TableField("f_date_value")
|
||||
private String dateValue;
|
||||
|
||||
/**
|
||||
* 单据递增序号
|
||||
*/
|
||||
@TableField("f_num")
|
||||
private Integer num;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
package com.yunzhupaas.base.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
|
||||
|
||||
@Data
|
||||
@TableName("base_visual_filter")
|
||||
public class FilterEntity extends SuperExtendEntity<String> {
|
||||
/**
|
||||
* 在线和代码生成记录主键
|
||||
*/
|
||||
@TableField("F_MODULE_ID")
|
||||
private String moduleId;
|
||||
|
||||
/**
|
||||
* 过滤配置
|
||||
*/
|
||||
@TableField("F_CONFIG")
|
||||
private String config;
|
||||
|
||||
/**
|
||||
* 过滤配置app
|
||||
*/
|
||||
@TableField("F_CONFIG_APP")
|
||||
private String configApp;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
package com.yunzhupaas.base.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 流程表单关联表
|
||||
*
|
||||
* @author 云筑产品开发平台组
|
||||
* @version V3.4.2
|
||||
* @copyright 深圳市乐程软件有限公司
|
||||
* @date 2024/10/26 15:58:02
|
||||
*/
|
||||
@Data
|
||||
@TableName("flow_form_relation")
|
||||
public class FlowFormRelationEntity extends SuperExtendEntity<String> {
|
||||
|
||||
/**
|
||||
* 流程版本id
|
||||
*/
|
||||
@TableField("F_FLOW_ID")
|
||||
private String flowId;
|
||||
/**
|
||||
* 表单id
|
||||
*/
|
||||
@TableField("F_FORM_ID")
|
||||
private String formId;
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
package com.yunzhupaas.base.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
@TableName("base_visual_alias")
|
||||
public class VisualAliasEntity extends SuperEntity<String> {
|
||||
/**
|
||||
* 功能表单id
|
||||
*/
|
||||
@TableField("F_VISUAL_ID")
|
||||
private String visualId;
|
||||
/**
|
||||
* 表或字段别名
|
||||
*/
|
||||
@TableField("F_ALIAS_NAME")
|
||||
private String aliasName;
|
||||
/**
|
||||
* 表名称
|
||||
*/
|
||||
@TableField("F_TABLE_NAME")
|
||||
private String tableName;
|
||||
/**
|
||||
* 字段名称
|
||||
*/
|
||||
@TableField("F_FIELD_NAME")
|
||||
private String fieldName;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,123 @@
|
||||
package com.yunzhupaas.base.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
*
|
||||
* 可视化开发功能表
|
||||
* @author 云筑产品开发平台组
|
||||
* @version V3.1.0
|
||||
* @copyright 深圳市乐程软件有限公司(http://www.szlecheng.cn)
|
||||
* @date 2024-04-02
|
||||
*/
|
||||
@Data
|
||||
@TableName("base_visual_dev")
|
||||
public class VisualdevEntity extends SuperExtendEntity.SuperExtendDEEntity<String> {
|
||||
/**
|
||||
* 名称
|
||||
*/
|
||||
@TableField("F_FULL_NAME")
|
||||
private String fullName;
|
||||
|
||||
/**
|
||||
* 编码
|
||||
*/
|
||||
@TableField("F_EN_CODE")
|
||||
private String enCode;
|
||||
|
||||
/**
|
||||
* 状态(0-暂存(默认),1-发布)
|
||||
*/
|
||||
@TableField("F_STATE")
|
||||
private Integer state;
|
||||
|
||||
/**
|
||||
* 类型:1-自定义表单,2-系统表单(有实体代码的)
|
||||
*/
|
||||
@TableField("F_TYPE")
|
||||
private Integer type;
|
||||
|
||||
/**
|
||||
* 关联的表
|
||||
*/
|
||||
@TableField("F_TABLES_DATA")
|
||||
@JSONField(name = "tables")
|
||||
private String visualTables;
|
||||
|
||||
/**
|
||||
* 分类(数据字典)
|
||||
*/
|
||||
@TableField("F_CATEGORY")
|
||||
private String category;
|
||||
|
||||
/**
|
||||
* 表单配置JSON
|
||||
*/
|
||||
@TableField("F_FORM_DATA")
|
||||
private String formData;
|
||||
|
||||
/**
|
||||
* 列表配置JSON
|
||||
*/
|
||||
@TableField("F_COLUMN_DATA")
|
||||
private String columnData;
|
||||
|
||||
/**
|
||||
* 关联数据连接id
|
||||
*/
|
||||
@TableField("F_DB_LINK_ID")
|
||||
private String dbLinkId;
|
||||
|
||||
/**
|
||||
* 页面类型(1、纯表单,2、表单加列表,4、数据视图)
|
||||
*/
|
||||
@TableField("F_WEB_TYPE")
|
||||
private Integer webType;
|
||||
|
||||
/**
|
||||
* app列表配置JSON
|
||||
*/
|
||||
@TableField("F_APP_COLUMN_DATA")
|
||||
private String appColumnData;
|
||||
|
||||
/**
|
||||
* 接口id
|
||||
*/
|
||||
@TableField("F_INTERFACE_ID")
|
||||
private String interfaceId;
|
||||
|
||||
/**
|
||||
* 接口参数
|
||||
*/
|
||||
@TableField("F_INTERFACE_PARAM")
|
||||
private String interfaceParam;
|
||||
|
||||
/**
|
||||
* 发布时勾选平台类型
|
||||
*/
|
||||
@TableField("F_PLATFORM_RELEASE" )
|
||||
private String platformRelease;
|
||||
|
||||
//以下系统表单属性
|
||||
/**
|
||||
* Web地址
|
||||
*/
|
||||
@TableField("F_URL_ADDRESS")
|
||||
private String urlAddress;
|
||||
/**
|
||||
* APP地址
|
||||
*/
|
||||
@TableField("F_APP_URL_ADDRESS")
|
||||
private String appUrlAddress;
|
||||
/**
|
||||
* 接口路径
|
||||
*/
|
||||
@TableField("F_INTERFACE_URL")
|
||||
private String interfaceUrl;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,123 @@
|
||||
package com.yunzhupaas.base.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 可视化功能草稿
|
||||
* @version V5.2.0
|
||||
* @copyright 深圳市乐程软件有限公司(http://www.szlecheng.cn)
|
||||
* @author 云筑产品开发平台组
|
||||
* @date 2024/3/16
|
||||
*/
|
||||
@Data
|
||||
@TableName("base_visual_release")
|
||||
public class VisualdevReleaseEntity extends SuperExtendEntity.SuperExtendDEEntity<String> {
|
||||
|
||||
/**
|
||||
* 名称
|
||||
*/
|
||||
@TableField("F_FULL_NAME")
|
||||
private String fullName;
|
||||
|
||||
/**
|
||||
* 编码
|
||||
*/
|
||||
@TableField("F_EN_CODE")
|
||||
private String enCode;
|
||||
|
||||
/**
|
||||
* 状态(0-暂存(默认),1-发布)
|
||||
*/
|
||||
@TableField("F_STATE")
|
||||
private Integer state;
|
||||
|
||||
/**
|
||||
* 类型(1-表单设计,2-系统表单)
|
||||
*/
|
||||
@TableField("F_TYPE")
|
||||
private Integer type;
|
||||
|
||||
/**
|
||||
* 关联的表
|
||||
*/
|
||||
@TableField("F_TABLES_DATA")
|
||||
@JSONField(name = "tables")
|
||||
private String visualTables;
|
||||
|
||||
/**
|
||||
* 分类(数据字典)
|
||||
*/
|
||||
@TableField("F_CATEGORY")
|
||||
private String category;
|
||||
|
||||
/**
|
||||
* 表单配置JSON
|
||||
*/
|
||||
@TableField("F_FORM_DATA")
|
||||
private String formData;
|
||||
|
||||
/**
|
||||
* 列表配置JSON
|
||||
*/
|
||||
@TableField("F_COLUMN_DATA")
|
||||
private String columnData;
|
||||
|
||||
/**
|
||||
* 关联数据连接id
|
||||
*/
|
||||
@TableField("F_DB_LINK_ID")
|
||||
private String dbLinkId;
|
||||
|
||||
/**
|
||||
* 页面类型(1、纯表单,2、表单加列表,4、数据视图)
|
||||
*/
|
||||
@TableField("F_WEB_TYPE")
|
||||
private Integer webType;
|
||||
|
||||
/**
|
||||
* app列表配置JSON
|
||||
*/
|
||||
@TableField("F_APP_COLUMN_DATA")
|
||||
private String appColumnData;
|
||||
|
||||
/**
|
||||
* 接口id
|
||||
*/
|
||||
@TableField("F_INTERFACE_ID")
|
||||
private String interfaceId;
|
||||
|
||||
/**
|
||||
* 接口参数
|
||||
*/
|
||||
@TableField("F_INTERFACE_PARAM")
|
||||
private String interfaceParam;
|
||||
|
||||
//以下系统表单属性
|
||||
/**
|
||||
* Web地址
|
||||
*/
|
||||
@TableField("F_URL_ADDRESS")
|
||||
private String urlAddress;
|
||||
/**
|
||||
* APP地址
|
||||
*/
|
||||
@TableField("F_APP_URL_ADDRESS")
|
||||
private String appUrlAddress;
|
||||
/**
|
||||
* 接口路径
|
||||
*/
|
||||
@TableField("F_INTERFACE_URL")
|
||||
private String interfaceUrl;
|
||||
|
||||
/**
|
||||
* 已发布旧版本信息
|
||||
*/
|
||||
@TableField("F_OLD_CONTENT")
|
||||
private String oldContent;
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,110 @@
|
||||
package com.yunzhupaas.base.entity;
|
||||
|
||||
import com.yunzhupaas.base.entity.SuperEntity;
|
||||
import com.baomidou.mybatisplus.annotation.FieldFill;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 在线开发表单外链实体
|
||||
*
|
||||
* @author 云筑产品开发平台组
|
||||
* @version V3.4.2
|
||||
* @copyright 深圳市乐程软件有限公司
|
||||
* @date 2024/12/30 11:10:44
|
||||
*/
|
||||
@Data
|
||||
@TableName("base_visual_link")
|
||||
public class VisualdevShortLinkEntity extends SuperExtendEntity.SuperExtendEnabledEntity<String> {
|
||||
|
||||
/**
|
||||
* 短链接
|
||||
*/
|
||||
@TableField("F_SHORT_LINK")
|
||||
private String shortLink;
|
||||
|
||||
/**
|
||||
* 外链填单开关
|
||||
*/
|
||||
@TableField("F_FORM_USE")
|
||||
private Integer formUse;
|
||||
|
||||
/**
|
||||
* 外链填单
|
||||
*/
|
||||
@TableField("F_FORM_LINK")
|
||||
private String formLink;
|
||||
|
||||
/**
|
||||
* 外链密码开关
|
||||
*/
|
||||
@TableField("F_FORM_PASS_USE")
|
||||
private Integer formPassUse;
|
||||
|
||||
/**
|
||||
* 外链填单密码
|
||||
*/
|
||||
@TableField("F_FORM_PASSWORD")
|
||||
private String formPassword;
|
||||
|
||||
/**
|
||||
* 公开查询开关
|
||||
*/
|
||||
@TableField("F_COLUMN_USE")
|
||||
private Integer columnUse;
|
||||
|
||||
/**
|
||||
* 公开查询
|
||||
*/
|
||||
@TableField("F_COLUMN_LINK")
|
||||
private String columnLink;
|
||||
|
||||
/**
|
||||
* 查询密码开关
|
||||
*/
|
||||
@TableField("F_COLUMN_PASS_USE")
|
||||
private Integer columnPassUse;
|
||||
|
||||
/**
|
||||
* 公开查询密码
|
||||
*/
|
||||
@TableField("F_COLUMN_PASSWORD")
|
||||
private String columnPassword;
|
||||
|
||||
/**
|
||||
* 查询条件
|
||||
*/
|
||||
@TableField("F_COLUMN_CONDITION")
|
||||
private String columnCondition;
|
||||
|
||||
/**
|
||||
* 显示内容
|
||||
*/
|
||||
@TableField("F_COLUMN_TEXT")
|
||||
private String columnText;
|
||||
|
||||
/**
|
||||
* PC端链接
|
||||
*/
|
||||
@TableField("F_REAL_PC_LINK")
|
||||
private String realPcLink;
|
||||
|
||||
/**
|
||||
* App端链接
|
||||
*/
|
||||
@TableField("F_REAL_APP_LINK")
|
||||
private String realAppLink;
|
||||
|
||||
/**
|
||||
* 用户id
|
||||
*/
|
||||
@TableField("F_USER_ID")
|
||||
private String userId;
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,42 @@
|
||||
package com.yunzhupaas.base.model;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import com.yunzhupaas.base.entity.VisualdevEntity;
|
||||
import com.yunzhupaas.database.model.entity.DbLinkEntity;
|
||||
import com.yunzhupaas.model.visualJson.FieLdsModel;
|
||||
import com.yunzhupaas.model.visualJson.TableModel;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
@Data
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Schema(description = "验证参数模型")
|
||||
public class CheckFormModel {
|
||||
@Schema(description = "表单字段")
|
||||
private List<FieLdsModel> formFieldList;
|
||||
@Schema(description = "数据")
|
||||
private Map<String, Object> dataMap;
|
||||
@Schema(description = "连接")
|
||||
private DbLinkEntity linkEntity;
|
||||
@Schema(description = "表列表")
|
||||
private List<TableModel> tableModelList;
|
||||
@Schema(description = "表单信息")
|
||||
private VisualdevEntity visualdevEntity;
|
||||
@Schema(description = "表单id值")
|
||||
private String id;
|
||||
@Schema(description = "是否数据传递")
|
||||
@Builder.Default
|
||||
private Boolean isTransfer = false;
|
||||
|
||||
@Schema(description = "是否外链")
|
||||
@Builder.Default
|
||||
private Boolean isLink = false;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,137 @@
|
||||
package com.yunzhupaas.base.model;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import com.yunzhupaas.base.model.Template6.BtnData;
|
||||
import com.yunzhupaas.database.model.superQuery.SuperJsonModel;
|
||||
import com.yunzhupaas.model.visualJson.config.HeaderModel;
|
||||
import com.yunzhupaas.model.visualJson.config.TabConfigModel;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author 云筑产品开发平台组
|
||||
* @version V3.1.0
|
||||
* @copyright 深圳市乐程软件有限公司
|
||||
* @date 2024/3/16 8:47
|
||||
*/
|
||||
@Data
|
||||
@Schema(description = "")
|
||||
public class ColumnDataModel {
|
||||
private String searchList;
|
||||
private String printIds;
|
||||
private Boolean hasDefaultValue = false;
|
||||
private Boolean hasSuperQuery = false;
|
||||
/**
|
||||
* 合计配置
|
||||
*/
|
||||
private boolean showSummary;
|
||||
/**
|
||||
* 合计字段
|
||||
*/
|
||||
private List<String> summaryField = new ArrayList<>();
|
||||
/**
|
||||
* 子表展示样式
|
||||
*/
|
||||
private Integer childTableStyle = 1;
|
||||
private String columnOptions;
|
||||
private String columnList;
|
||||
private String defaultColumnList;
|
||||
private String sortList;
|
||||
/**
|
||||
* 1普通,2左侧树,3分组,4编辑,5树形
|
||||
*/
|
||||
private Integer type;
|
||||
private String defaultSidx;
|
||||
private String sort;
|
||||
private Boolean hasPage;
|
||||
private Integer pageSize;
|
||||
private String treeTitle;
|
||||
private String treeDataSource;
|
||||
private String treeDictionary;
|
||||
private String treeRelation;
|
||||
private String treePropsUrl;
|
||||
private String treePropsValue;
|
||||
private String treePropsChildren;
|
||||
private String treePropsLabel;
|
||||
private String isLeaf;
|
||||
private String groupField;
|
||||
private List<BtnData> btnsList = new ArrayList<>();
|
||||
private List<BtnData> columnBtnsList = new ArrayList<>();
|
||||
private String uploaderTemplateJson;
|
||||
/**
|
||||
* 自定义按钮区
|
||||
*/
|
||||
private String customBtnsList;
|
||||
/**
|
||||
* 列表权限
|
||||
*/
|
||||
private Boolean useColumnPermission;
|
||||
/**
|
||||
* 表单权限
|
||||
*/
|
||||
private Boolean useFormPermission;
|
||||
/**
|
||||
* 按钮权限
|
||||
*/
|
||||
private Boolean useBtnPermission;
|
||||
/**
|
||||
* 数据权限
|
||||
*/
|
||||
private Boolean useDataPermission;
|
||||
|
||||
//以下树形列表属性,type=5的情况
|
||||
/**
|
||||
* 同步异步(0:同步,1:异步)
|
||||
*/
|
||||
private Integer treeLazyType = 0;
|
||||
|
||||
/**
|
||||
* 父级字段
|
||||
*/
|
||||
private String parentField;
|
||||
/**
|
||||
* 子级字段
|
||||
*/
|
||||
private String subField;
|
||||
|
||||
/**
|
||||
* 左侧树同步异步
|
||||
*/
|
||||
private Integer treeSynType;
|
||||
/**
|
||||
* 左侧树查询
|
||||
*/
|
||||
private Boolean hasTreeQuery;
|
||||
|
||||
private String treeInterfaceId;
|
||||
private String treeTemplateJson;
|
||||
|
||||
|
||||
private SuperJsonModel ruleList = new SuperJsonModel();
|
||||
private SuperJsonModel ruleListApp = new SuperJsonModel();
|
||||
private List<HeaderModel> complexHeaderList = new ArrayList<>();
|
||||
|
||||
/**
|
||||
* 千分位开关
|
||||
*/
|
||||
private boolean thousands = false;
|
||||
/**
|
||||
* 千分位字段列表
|
||||
*/
|
||||
private List<String> thousandsField = new ArrayList<>();
|
||||
/**
|
||||
* 默认排序列表
|
||||
*/
|
||||
private Object defaultSortConfig;
|
||||
/**
|
||||
* 标签面板属性
|
||||
*/
|
||||
private TabConfigModel tabConfig;
|
||||
/**
|
||||
* 视图主键
|
||||
*/
|
||||
private String viewKey;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
package com.yunzhupaas.base.model;
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
@Schema(description = "下载代码表单")
|
||||
public class DownloadCodeForm {
|
||||
|
||||
@Schema(description = "所属模块")
|
||||
private String module;
|
||||
|
||||
@Schema(description = "模块包名")
|
||||
private String modulePackageName;
|
||||
|
||||
@Schema(description = "主功能备注")
|
||||
private String description;
|
||||
|
||||
@Schema(description = "数据源id")
|
||||
private String dataSourceId;
|
||||
|
||||
@Schema(description = "主表表名:用于文件夹创建")
|
||||
private String mainClassName;
|
||||
|
||||
@Schema(description = "是否流程:0否,1-是")
|
||||
private Integer enableFlow;
|
||||
|
||||
@Schema(description = "是否对比:-true,false")
|
||||
private boolean contrast = false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
package com.yunzhupaas.base.model;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
public class ExportSelectedModel {
|
||||
private String tableField;
|
||||
private String field;
|
||||
private String label;
|
||||
private List<ExportSelectedModel> selectedModelList;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
package com.yunzhupaas.base.model;
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
@Schema(description="表单字段")
|
||||
public class FormDataField {
|
||||
@Schema(description = "key")
|
||||
private String vModel;
|
||||
@Schema(description = "名称")
|
||||
private String label;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,46 @@
|
||||
package com.yunzhupaas.base.model.OnlineImport;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
*
|
||||
* 在线开发导入数据结果集
|
||||
* @author 云筑产品开发平台组
|
||||
* @version V3.4.3
|
||||
* @copyright 深圳市乐程软件有限公司(http://www.szlecheng.cn)
|
||||
* @date 2022/9/6
|
||||
*/
|
||||
@Data
|
||||
public class ExcelImportModel {
|
||||
/**
|
||||
* 导入成功条数
|
||||
*/
|
||||
private int snum;
|
||||
/**
|
||||
* 导入失败条数
|
||||
*/
|
||||
private int fnum;
|
||||
/**
|
||||
* 导入结果状态(0,成功 1,失败)
|
||||
*/
|
||||
private int resultType;
|
||||
|
||||
/**
|
||||
* 失败结果
|
||||
*/
|
||||
private List<Map<String, Object>> failResult;
|
||||
|
||||
/**
|
||||
* 数据字段
|
||||
*/
|
||||
private List<Map<String, Object>> headerRow;
|
||||
|
||||
/**
|
||||
* 集成调用哦个
|
||||
*/
|
||||
private List<VisualdevModelDataInfoVO> dataInfoList = new ArrayList<>();
|
||||
}
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
package com.yunzhupaas.base.model.OnlineImport;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
@Data
|
||||
public class ImportDataModel {
|
||||
private String id;
|
||||
private Map<String,Object> resultData = new HashMap<>();
|
||||
}
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
package com.yunzhupaas.base.model.OnlineImport;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @version V3.1.0
|
||||
* @copyright 深圳市乐程软件有限公司(http://www.szlecheng.cn)
|
||||
* @author 云筑产品开发平台组
|
||||
* @date 2024/3/16
|
||||
*/
|
||||
@Data
|
||||
public class ImportExcelFieldModel {
|
||||
private String tableField;
|
||||
private String field;
|
||||
private String fullName;
|
||||
private String yunzhupaasKey;
|
||||
private List<ImportExcelFieldModel> children;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,40 @@
|
||||
package com.yunzhupaas.base.model.OnlineImport;
|
||||
|
||||
import com.yunzhupaas.database.model.entity.DbLinkEntity;
|
||||
import com.yunzhupaas.model.visualJson.TableModel;
|
||||
import lombok.Data;
|
||||
|
||||
import java.sql.Connection;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* 导入验证 表单验证
|
||||
*
|
||||
* @author 云筑产品开发平台组
|
||||
* @version V3.4.5
|
||||
* @copyright 深圳市乐程软件有限公司(http://www.szlecheng.cn)
|
||||
* @date 2022/11/12
|
||||
*/
|
||||
@Data
|
||||
public class ImportFormCheckUniqueModel {
|
||||
private boolean isUpdate;
|
||||
private boolean isMain;
|
||||
private String id;
|
||||
private String dbLinkId;
|
||||
private DbLinkEntity linkEntity;
|
||||
private String flowId;
|
||||
private List<String> flowIdList = new ArrayList<>();
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
private Connection connection;
|
||||
private Integer primaryKeyPolicy;
|
||||
private Boolean logicalDelete = false;
|
||||
private List<ImportDataModel> importDataModel = new ArrayList<>();
|
||||
private List<TableModel> tableModelList;
|
||||
private List<Map<String, Object>> childMap;
|
||||
private Integer childIndex;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
package com.yunzhupaas.base.model.OnlineImport;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @author 云筑产品开发平台组
|
||||
* @version V3.1.0
|
||||
* @copyright 深圳市乐程软件有限公司
|
||||
* @date 2024年3月15日09:47:19
|
||||
*/
|
||||
@Data
|
||||
public class OnlineExportExceptionVO {
|
||||
private String tableField;
|
||||
private String field;
|
||||
private String label;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
package com.yunzhupaas.base.model.OnlineImport;
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* 导入失败的数据
|
||||
*
|
||||
* @author 云筑产品开发平台组
|
||||
* @version V3.1.0
|
||||
* @copyright 深圳市乐程软件有限公司(http://www.szlecheng.cn)
|
||||
* @date 2022/9/6
|
||||
*/
|
||||
@Data
|
||||
@Schema(description="导入参数")
|
||||
public class VisualImportModel {
|
||||
@Schema(description = "数据数组")
|
||||
private List<Map<String, Object>> list;
|
||||
|
||||
@Schema(description = "流程引擎:模板id")
|
||||
private String flowId;
|
||||
|
||||
@Schema(description = "菜单ID")
|
||||
private String menuId;
|
||||
|
||||
private boolean type;
|
||||
|
||||
private String fileName;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
package com.yunzhupaas.base.model.OnlineImport;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
*
|
||||
* @version V3.1.0
|
||||
* @copyright 深圳市乐程软件有限公司(http://www.szlecheng.cn)
|
||||
* @author 云筑产品开发平台组
|
||||
* @date 2024/3/16
|
||||
*/
|
||||
@Data
|
||||
public class VisualdevModelDataInfoVO {
|
||||
|
||||
private Object id;
|
||||
private String data;
|
||||
private String integrateId;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,39 @@
|
||||
package com.yunzhupaas.base.model;
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import com.yunzhupaas.base.Pagination;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @author 云筑产品开发平台组
|
||||
* @version V3.1.0
|
||||
* @copyright 深圳市乐程软件有限公司(http://www.szlecheng.cn)
|
||||
* @date 2024/3/16
|
||||
*/
|
||||
@Data
|
||||
@Schema(description = "列表查询参数")
|
||||
public class PaginationVisualdev extends Pagination {
|
||||
|
||||
@Schema(description = "类型")
|
||||
private Integer type;
|
||||
|
||||
@Schema(description = "关键字")
|
||||
private String keyword;
|
||||
|
||||
@Schema(description = "表单类型:1-表单,2-列表,4-视图")
|
||||
private Integer webType;
|
||||
|
||||
@Schema(description = "表单类型:0-普通表单,1-流程表单")
|
||||
private Integer enableFlow;
|
||||
|
||||
@Schema(description = "类别:字典分类")
|
||||
private String category;
|
||||
|
||||
@Schema(description = "状态:0-未发布,1-已发布,2-已修改")
|
||||
private String isRelease;
|
||||
|
||||
@Schema(description = "是否流程启用节点调用")
|
||||
private Boolean flowStart = false;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.yunzhupaas.base.model.Template6;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 权限控制字段
|
||||
* @author 云筑产品开发平台组
|
||||
* @version V3.2
|
||||
* @copyright 深圳市乐程软件有限公司(http://www.szlecheng.cn)
|
||||
* @date 2021/10/6
|
||||
*/
|
||||
@Data
|
||||
public class AuthorityModel {
|
||||
/**
|
||||
* 列表权限
|
||||
*/
|
||||
private Boolean useColumnPermission;
|
||||
/**
|
||||
* 表单权限
|
||||
*/
|
||||
private Boolean useFormPermission;
|
||||
/**
|
||||
* 按钮权限
|
||||
*/
|
||||
private Boolean useBtnPermission;
|
||||
/**
|
||||
* 数据权限
|
||||
*/
|
||||
private Boolean useDataPermission;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
package com.yunzhupaas.base.model.Template6;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class BtnData {
|
||||
private String value;
|
||||
private String icon;
|
||||
private String label;
|
||||
private boolean show;
|
||||
private String labelI18nCode;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
package com.yunzhupaas.base.model.Template6;
|
||||
|
||||
|
||||
import com.yunzhupaas.model.visualJson.FieLdsModel;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 列表字段
|
||||
* @author 云筑产品开发平台组
|
||||
* @version V3.1.0
|
||||
* @copyright 深圳市乐程软件有限公司(http://www.szlecheng.cn)
|
||||
* @date 2024/3/16
|
||||
*/
|
||||
@Data
|
||||
public class ColumnListField extends FieLdsModel {
|
||||
/**
|
||||
* 字段
|
||||
*/
|
||||
private String prop;
|
||||
/**
|
||||
* 列名
|
||||
*/
|
||||
private String label;
|
||||
/**
|
||||
* 对齐
|
||||
*/
|
||||
private String align;
|
||||
|
||||
private String yunzhupaasKey;
|
||||
/**
|
||||
* 是否勾选
|
||||
*/
|
||||
private Boolean checked;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
package com.yunzhupaas.base.model.Template6;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 列表字段
|
||||
*/
|
||||
@Data
|
||||
public class IndexGridField6Model {
|
||||
//字段
|
||||
private String prop;
|
||||
//列名
|
||||
private String label;
|
||||
//对齐
|
||||
private String align;
|
||||
//宽度
|
||||
private String width;
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,65 @@
|
||||
package com.yunzhupaas.base.model.Template6;
|
||||
|
||||
|
||||
import com.yunzhupaas.base.model.Template6.ColumnListField;
|
||||
import com.yunzhupaas.model.visualJson.TableModel;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 多表开发配置
|
||||
* @version V3.1.0
|
||||
* @copyright 深圳市乐程软件有限公司(http://www.szlecheng.cn)
|
||||
* @author 云筑产品开发平台组
|
||||
* @date 2024/3/16
|
||||
*/
|
||||
@Data
|
||||
public class Template6Model {
|
||||
/**
|
||||
* 版本
|
||||
*/
|
||||
private String version = "V3.0.0";
|
||||
/**
|
||||
* 版权
|
||||
*/
|
||||
private String copyright;
|
||||
/**
|
||||
* 创建人员
|
||||
*/
|
||||
private String createUser;
|
||||
/**
|
||||
* 创建日期
|
||||
*/
|
||||
private String createDate;
|
||||
/**
|
||||
* 功能描述
|
||||
*/
|
||||
private String description;
|
||||
/**
|
||||
* 子类功能名称
|
||||
*/
|
||||
private String subClassName;
|
||||
/**
|
||||
* 主类功能名称
|
||||
*/
|
||||
private String className;
|
||||
|
||||
/**
|
||||
* tables
|
||||
*/
|
||||
/**
|
||||
* 列表主表 - 字段集合
|
||||
*/
|
||||
private List<ColumnListField> columnListFields;
|
||||
|
||||
|
||||
private String serviceDirectory;
|
||||
|
||||
|
||||
/**
|
||||
* 数据关联 - 集合
|
||||
*/
|
||||
private List<TableModel> dbTableRelation;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
package com.yunzhupaas.base.model.Template7;
|
||||
|
||||
|
||||
import com.yunzhupaas.model.visualJson.FieLdsModel;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
public class ChildrenModel {
|
||||
|
||||
//子表的属性
|
||||
private List<FieLdsModel> childrenList;
|
||||
//子表名称
|
||||
private String className;
|
||||
//json原始名称
|
||||
private String tableModel;
|
||||
//子表系统控件
|
||||
private List<KeyModel> systemList;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
package com.yunzhupaas.base.model.Template7;
|
||||
|
||||
|
||||
import com.yunzhupaas.model.visualJson.FieLdsModel;
|
||||
import com.yunzhupaas.util.treeutil.SumTree;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
public class HtmlModel extends SumTree {
|
||||
|
||||
//类型 栅格row,卡片card,子表table,主表mast
|
||||
private String yunzhupaaskey;
|
||||
//json原始名称
|
||||
private String vmodel;
|
||||
//主表属性
|
||||
private FieLdsModel fieLdsModel;
|
||||
//子表list属性
|
||||
private List<FieLdsModel> tablFieLdsModel;
|
||||
//控件宽度
|
||||
private String span;
|
||||
//结束
|
||||
private String end="0";
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
package com.yunzhupaas.base.model.Template7;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class KeyModel {
|
||||
//系统自带属性
|
||||
private String yunzhupaasKey;
|
||||
//字段名称
|
||||
private String model;
|
||||
//规则数据
|
||||
private String rule;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
package com.yunzhupaas.base.model.Template7;
|
||||
|
||||
|
||||
import com.yunzhupaas.model.visualJson.FieLdsModel;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
public class MastModel {
|
||||
|
||||
//主表的属性
|
||||
private List<FieLdsModel> mastList;
|
||||
//系统自带的赋值
|
||||
private List<KeyModel> keyMastList;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
package com.yunzhupaas.base.model.Template7;
|
||||
|
||||
|
||||
|
||||
import com.yunzhupaas.model.visualJson.FieLdsModel;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
public class Template7DataModel {
|
||||
private List<FieLdsModel> fields;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,150 @@
|
||||
package com.yunzhupaas.base.model.Template7;
|
||||
|
||||
import com.yunzhupaas.model.visualJson.TableModel;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @version V3.1.0
|
||||
* @copyright 深圳市乐程软件有限公司(http://www.szlecheng.cn)
|
||||
* @author 云筑产品开发平台组
|
||||
* @date 2024/3/16
|
||||
*/
|
||||
@Data
|
||||
public class Template7Model {
|
||||
/**
|
||||
* 版本
|
||||
*/
|
||||
private String version = "V5.2.0";
|
||||
/**
|
||||
* 版权
|
||||
*/
|
||||
private String copyright;
|
||||
/**
|
||||
* 创建人员
|
||||
*/
|
||||
private String createUser;
|
||||
/**
|
||||
* 创建日期
|
||||
*/
|
||||
private String createDate;
|
||||
/**
|
||||
* 功能描述
|
||||
*/
|
||||
private String description;
|
||||
/**
|
||||
* 子类功能名称
|
||||
*/
|
||||
private String subClassName;
|
||||
/**
|
||||
* 主类功能名称
|
||||
*/
|
||||
private String className;
|
||||
|
||||
/**
|
||||
* 表
|
||||
*/
|
||||
private String tableName;
|
||||
|
||||
|
||||
/**
|
||||
* 表单页名
|
||||
*/
|
||||
private String formPageName;
|
||||
/**
|
||||
* 列表页名
|
||||
*/
|
||||
private String indexPageName;
|
||||
/**
|
||||
* 后端目录
|
||||
*/
|
||||
private String serviceDirectory;
|
||||
/**
|
||||
* 前端目录
|
||||
*/
|
||||
private String webDirectory;
|
||||
/**
|
||||
* 表单标题
|
||||
*/
|
||||
private String formTitle;
|
||||
/**
|
||||
* 弹窗类型
|
||||
*/
|
||||
private String formDialog;
|
||||
/**
|
||||
* 表单宽度
|
||||
*/
|
||||
private int formWidth;
|
||||
/**
|
||||
* 表单高度
|
||||
*/
|
||||
private int formHeight;
|
||||
/**
|
||||
* 表单Tabs
|
||||
*/
|
||||
private String[] formTabs;
|
||||
/**
|
||||
* 列表左边树 - 是否显示
|
||||
*/
|
||||
private int treeIsShow;
|
||||
/**
|
||||
* 列表左边树 - 树形标题
|
||||
*/
|
||||
private String treeTitle;
|
||||
/**
|
||||
* 列表左边树 - 数据来源
|
||||
*/
|
||||
private String treeDataSource;
|
||||
/**
|
||||
* 列表左边树 - 数据字典
|
||||
*/
|
||||
private String treeDictionary;
|
||||
/**
|
||||
* 列表左边树 - 数据选择
|
||||
*/
|
||||
private String treePropsUrl;
|
||||
/**
|
||||
* 列表左边树 - 主键字段
|
||||
*/
|
||||
private String treePropsValue;
|
||||
/**
|
||||
* 列表左边树 - 父级字段
|
||||
*/
|
||||
private String treePropsChildren;
|
||||
/**
|
||||
* 列表左边树 - 显示字段
|
||||
*/
|
||||
private String treePropsLabel;
|
||||
/**
|
||||
* 列表左边树 - 关联字段
|
||||
*/
|
||||
private String treeRelation;
|
||||
/**
|
||||
* 按钮 - 新建
|
||||
*/
|
||||
private String indexBtnAddName;
|
||||
/**
|
||||
* 按钮 - 编辑
|
||||
*/
|
||||
private String indexBtnEditName;
|
||||
/**
|
||||
* 按钮 - 删除
|
||||
*/
|
||||
private String indexBtnRemoveName;
|
||||
/**
|
||||
* 列表 - 标题
|
||||
*/
|
||||
private String indexListTitle;
|
||||
/**
|
||||
* 列表 - 分页
|
||||
*/
|
||||
private int indexGridIsPage;
|
||||
|
||||
/**
|
||||
* 数据关联 - 集合
|
||||
*/
|
||||
private List<TableModel> dbTableRelation;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
package com.yunzhupaas.base.model;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import com.yunzhupaas.model.visualJson.TableModel;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
@Schema(description = "命名规范表单")
|
||||
public class VisualAliasForm {
|
||||
List<TableModel> tableList;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
package com.yunzhupaas.base.model;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 在线开发变量
|
||||
*
|
||||
* @author 云筑产品开发平台组
|
||||
* @version v5.1.0
|
||||
* @copyright 深圳市乐程软件有限公司
|
||||
* @date 2024/12/6 10:03:10
|
||||
*/
|
||||
public class VisualConst {
|
||||
/**
|
||||
* 数据库全部的 int bigint字段
|
||||
*/
|
||||
public static final List<String> DB_INT_ALL = Arrays.asList("int", "bigint", "number", "integer", "int2", "int4", "int8", "numeric");
|
||||
}
|
||||
|
||||
@@ -0,0 +1,64 @@
|
||||
package com.yunzhupaas.base.model;
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
*
|
||||
* @version V3.1.0
|
||||
* @copyright 深圳市乐程软件有限公司(http://www.szlecheng.cn)
|
||||
* @author 云筑产品开发平台组
|
||||
* @date 2024/3/16
|
||||
*/
|
||||
@Data
|
||||
@Schema(description="功能设计创建表单" )
|
||||
public class VisualDevCrForm {
|
||||
@Schema(description = "名称" )
|
||||
private String fullName;
|
||||
@Schema(description = "编码" )
|
||||
private String enCode;
|
||||
@Schema(description = "类型(1-应用开发,2-移动开发,3-流程表单,4-Web表单,5-App表单)" )
|
||||
private Integer type;
|
||||
@Schema(description = "描述" )
|
||||
private String description;
|
||||
@Schema(description = "表单配置JSON" )
|
||||
private String formData;
|
||||
@Schema(description = "列表配置JSON" )
|
||||
private String columnData;
|
||||
@Schema(description = "app列表配置JSON" )
|
||||
private String appColumnData;
|
||||
@Schema(description = "关联的表" )
|
||||
private String tables;
|
||||
@Schema(description = "分类(数据字典维护)" )
|
||||
private String category;
|
||||
@Schema(description = "状态" )
|
||||
private Integer state = 0;
|
||||
@Schema(description = "关联数据连接id" )
|
||||
private String dbLinkId;
|
||||
@Schema(description = "页面类型(1、纯表单,2、表单加列表,3、表单列表工作流、4、数据视图)" )
|
||||
private String webType;
|
||||
@Schema(description = "排序" )
|
||||
private Long sortCode;
|
||||
@Schema(description = "启用流程" )
|
||||
private Integer enableFlow;
|
||||
@Schema(description = "流程引擎json" )
|
||||
private String flowTemplateJson;
|
||||
@Schema(description = "接口id" )
|
||||
private String interfaceId;
|
||||
@Schema(description = "接口名称" )
|
||||
private String interfaceName;
|
||||
@Schema(description = "接口参数" )
|
||||
private String interfaceParam;
|
||||
|
||||
//以下系统表单属性
|
||||
@Schema(description = "Web地址")
|
||||
private String urlAddress;
|
||||
|
||||
@Schema(description = "APP地址")
|
||||
private String appUrlAddress;
|
||||
|
||||
@Schema(description = "接口路径")
|
||||
private String interfaceUrl;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,67 @@
|
||||
package com.yunzhupaas.base.model;
|
||||
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
*
|
||||
* @version V3.1.0
|
||||
* @copyright 深圳市乐程软件有限公司(http://www.szlecheng.cn)
|
||||
* @author 云筑产品开发平台组
|
||||
* @date 2024/3/16
|
||||
*/
|
||||
@Data
|
||||
@Schema(description="功能设计详情模型" )
|
||||
public class VisualDevInfoVO {
|
||||
@Schema(description = "主键" )
|
||||
private String id;
|
||||
@Schema(description = "名称" )
|
||||
private String fullName;
|
||||
@Schema(description = "编码" )
|
||||
private String enCode;
|
||||
@Schema(description = "分类(数据字典维护)" )
|
||||
private String category;
|
||||
@Schema(description = "类型(1-表单设计,2-系统表单)" )
|
||||
private Integer type;
|
||||
@Schema(description = "描述" )
|
||||
private String description;
|
||||
@Schema(description = "表单配置JSON" )
|
||||
private String formData;
|
||||
@Schema(description = "列表配置JSON" )
|
||||
private String columnData;
|
||||
@Schema(description = "app列表配置JSON" )
|
||||
private String appColumnData;
|
||||
@Schema(description = "关联的表" )
|
||||
private String tables;
|
||||
@Schema(description = "状态" )
|
||||
private Integer state;
|
||||
@Schema(description = "关联数据连接id" )
|
||||
private String dbLinkId;
|
||||
@Schema(description = "页面类型(1、纯表单,2、表单加列表,4、数据视图)" )
|
||||
private String webType;
|
||||
@Schema(description = "排序" )
|
||||
private Long sortCode;
|
||||
@Schema(description = "启用流程" )
|
||||
private Integer enableFlow;
|
||||
@Schema(description = "流程引擎json" )
|
||||
private String flowTemplateJson;
|
||||
@Schema(description = "接口id" )
|
||||
private String interfaceId;
|
||||
@Schema(description = "接口名称" )
|
||||
private String interfaceName;
|
||||
@Schema(description = "接口参数" )
|
||||
private String interfaceParam;
|
||||
|
||||
//以下系统表单属性
|
||||
@Schema(description = "Web地址")
|
||||
private String urlAddress;
|
||||
|
||||
@Schema(description = "APP地址")
|
||||
private String appUrlAddress;
|
||||
|
||||
@Schema(description = "接口路径")
|
||||
private String interfaceUrl;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,86 @@
|
||||
package com.yunzhupaas.base.model;
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import com.yunzhupaas.database.model.superQuery.SuperJsonModel;
|
||||
import com.yunzhupaas.model.visualJson.FieLdsModel;
|
||||
import com.yunzhupaas.model.visualJson.FormDataModel;
|
||||
import com.yunzhupaas.model.visualJson.TableModel;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* json格式化对象(在线开发对象)
|
||||
*
|
||||
* @author 云筑产品开发平台组
|
||||
* @version V3.1.0
|
||||
* @copyright 深圳市乐程软件有限公司(http://www.szlecheng.cn)
|
||||
* @date 2024/6/14
|
||||
*/
|
||||
@Data
|
||||
@Schema(description = "功能设计json模型")
|
||||
public class VisualDevJsonModel {
|
||||
@Schema(description = "主键")
|
||||
private String id;
|
||||
@Schema(description = "名称")
|
||||
private String fullName;
|
||||
@Schema(description = "类型(1-应用开发,2-移动开发,3-流程表单,4-Web表单,5-App表单)")
|
||||
private Integer type;
|
||||
@Schema(description = "关联的表对象")
|
||||
private List<TableModel> visualTables;
|
||||
@Schema(description = "表单配置对象")
|
||||
private FormDataModel formData;
|
||||
@Schema(description = "字段配置对象")
|
||||
private ColumnDataModel columnData;
|
||||
@Schema(description = "app字段配置对象")
|
||||
private ColumnDataModel appColumnData;
|
||||
@Schema(description = "关联数据连接id")
|
||||
private String dbLinkId;
|
||||
@Schema(description = "页面类型(1、纯表单,2、表单加列表,3、表单列表工作流、4、数据视图)")
|
||||
private Integer webType;
|
||||
@Schema(description = "表单字段列表")
|
||||
private List<FieLdsModel> formListModels;
|
||||
@Schema(description = "树形子列表查询")
|
||||
private boolean isChildSearch = false;//树形子列表查询
|
||||
@Schema(description = "树形子列表查询值")
|
||||
private String childValue;//树形子列表查询值
|
||||
@Schema(description = "流程引擎id")
|
||||
private String flowId;
|
||||
|
||||
@Schema(description = "主表主键")
|
||||
private String pkeyId;//切库回传
|
||||
|
||||
@Schema(description = "数据过滤")
|
||||
private SuperJsonModel ruleQuery = new SuperJsonModel();
|
||||
@Schema(description = "高级搜索")
|
||||
private SuperJsonModel superQuery = new SuperJsonModel();
|
||||
@Schema(description = "列表搜索")
|
||||
private SuperJsonModel query = new SuperJsonModel();
|
||||
@Schema(description = "页签查询")
|
||||
private SuperJsonModel extraQuery = new SuperJsonModel();
|
||||
|
||||
|
||||
@Schema(description = "列表搜索")
|
||||
private SuperJsonModel keyQuery = new SuperJsonModel();
|
||||
|
||||
@Schema(description = "数据权限")
|
||||
private List<SuperJsonModel> authorize = new ArrayList<>();
|
||||
private List<String> dataIdList = new ArrayList<>();
|
||||
|
||||
@Schema(description = "是否流程菜单")
|
||||
private boolean enableFlow;
|
||||
@Schema(description = "流程版本id列表")
|
||||
private List<String> flowVersionIds = new ArrayList<>();
|
||||
|
||||
@Schema(description = "是否外链:true -是")
|
||||
private Boolean isLinkList = false;
|
||||
|
||||
@Schema(description = "需要判断权限")
|
||||
private Boolean needPermission = false;
|
||||
@Schema(description = "权限列表")
|
||||
private List<String> permissionList;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
package com.yunzhupaas.base.model;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* json格式化对象(在线开发对象)
|
||||
*
|
||||
* @author 云筑产品开发平台组
|
||||
* @version V3.1.0
|
||||
* @copyright 深圳市乐程软件有限公司(http://www.szlecheng.cn)
|
||||
*/
|
||||
@Data
|
||||
public class VisualDevListVO {
|
||||
@Schema(description = "主键" )
|
||||
private String id;
|
||||
@Schema(description = "名称" )
|
||||
private String fullName;
|
||||
@Schema(description = "编码" )
|
||||
private String enCode;
|
||||
@Schema(description = "是否启用流程" )
|
||||
private Integer enableFlow;
|
||||
|
||||
@Schema(description = "是否引用:0-否,1-是" )
|
||||
private Integer isQuote;
|
||||
@Schema(description = "类型:1-自定义表单,2-系统表单" )
|
||||
private Integer type;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
package com.yunzhupaas.base.model;
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 同步菜单类型
|
||||
*
|
||||
* @author 云筑产品开发平台组
|
||||
* @version V3.4.1
|
||||
* @copyright 深圳市乐程软件有限公司(http://www.szlecheng.cn)
|
||||
* @date 2022/4/14
|
||||
*/
|
||||
@Data
|
||||
@Schema(description="发布功能参数" )
|
||||
public class VisualDevPubModel {
|
||||
@Schema(description = "pc" )
|
||||
private Integer pc;
|
||||
@Schema(description = "app" )
|
||||
private Integer app;
|
||||
@Schema(description = "pc菜单父id" )
|
||||
private List<String> pcModuleParentId;
|
||||
@Schema(description = "app菜单父id" )
|
||||
private List<String> appModuleParentId;
|
||||
@Schema(description = "pc系统id" )
|
||||
private String pcSystemId;
|
||||
@Schema(description = "app系统id" )
|
||||
private String appSystemId;
|
||||
@Schema(description = "发布选中平台" )
|
||||
private String platformRelease;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
package com.yunzhupaas.base.model;
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
*
|
||||
* @version V3.1.0
|
||||
* @copyright 深圳市乐程软件有限公司(http://www.szlecheng.cn)
|
||||
* @author 云筑产品开发平台组
|
||||
* @date 2024/3/16
|
||||
*/
|
||||
@Data
|
||||
@Schema(description="功能设计修改表单" )
|
||||
public class VisualDevUpForm extends VisualDevCrForm{
|
||||
}
|
||||
|
||||
@@ -0,0 +1,98 @@
|
||||
package com.yunzhupaas.base.model;
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 可视化列表模型
|
||||
*
|
||||
* @author 云筑产品开发平台组
|
||||
* @version V3.2.8
|
||||
* @copyright 深圳市乐程软件有限公司(http://www.szlecheng.cn)
|
||||
* @date 2024/11/20
|
||||
*/
|
||||
@Data
|
||||
@Schema(description="可视化列表模型")
|
||||
public class VisualFunctionModel {
|
||||
@Schema(description = "名称" )
|
||||
private String fullName;
|
||||
@Schema(description = "编码" )
|
||||
private String enCode;
|
||||
@Schema(description = "状态" )
|
||||
private Integer state;
|
||||
@Schema(description = "类型(1-应用开发,2-移动开发,3-流程表单,4-Web表单,5-App表单)" )
|
||||
private Integer type;
|
||||
@Schema(description = "关联的表" )
|
||||
private String tables;
|
||||
@Schema(description = "创建时间" )
|
||||
private Long creatorTime;
|
||||
@Schema(description = "创建人" )
|
||||
private String creatorUser;
|
||||
@Schema(description = "创建人id" )
|
||||
private String creatorUserId;
|
||||
@Schema(description = "修改时间" )
|
||||
private Long lastModifyTime;
|
||||
@Schema(description = "修改人" )
|
||||
private String lastModifyUser;
|
||||
@Schema(description = "修改人id" )
|
||||
private String lastModifyUserId;
|
||||
@Schema(description = "排序" )
|
||||
private Long sortCode;
|
||||
@Schema(description = "分类(数据字典维护)" )
|
||||
private String category;
|
||||
@Schema(description = "主键" )
|
||||
private String id;
|
||||
@Schema(description = "页面类型(1、纯表单,2、表单加列表,3、表单列表工作流、4、数据视图)" )
|
||||
private Integer webType;
|
||||
@Schema(description = "pc是否发布" )
|
||||
private Integer pcIsRelease;
|
||||
@Schema(description = "app是否发布" )
|
||||
private Integer appIsRelease;
|
||||
/**
|
||||
* 是否发布
|
||||
*/
|
||||
@Schema(description = "是否发布" )
|
||||
private Integer isRelease;
|
||||
/**
|
||||
* 是否启用流程
|
||||
*/
|
||||
@Schema(description = "是否启用流程" )
|
||||
private Integer enableFlow;
|
||||
|
||||
/**
|
||||
* 状态
|
||||
*/
|
||||
@Schema(description = "状态是否启用" )
|
||||
private Integer enabledMark;
|
||||
/**
|
||||
* 移动锁定0-锁定1-可移动
|
||||
*/
|
||||
@Schema(description = "移动锁定0-未锁定1-锁定" )
|
||||
private Integer enabledLock;
|
||||
|
||||
/**
|
||||
* 是否有包名
|
||||
*/
|
||||
@Schema(description = "是否有包名")
|
||||
private boolean hasPackage = false;
|
||||
|
||||
@Schema(description = "pc是否发布门户" )
|
||||
private Integer pcPortalIsRelease;
|
||||
@Schema(description = "app是否发布门户" )
|
||||
private Integer appPortalIsRelease;
|
||||
|
||||
@Schema(description = "pc已发布菜单名称" )
|
||||
private String pcReleaseName;
|
||||
@Schema(description = "app已发布菜单名称" )
|
||||
private String appReleaseName;
|
||||
|
||||
@Schema(description = "pc已发布门户名称" )
|
||||
private String pcPortalReleaseName;
|
||||
@Schema(description = "app已发布门户名称" )
|
||||
private String appPortalReleaseName;
|
||||
|
||||
@Schema(description = "发布时勾选平台类型" )
|
||||
private String platformRelease;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,40 @@
|
||||
package com.yunzhupaas.base.model;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* 日志存储模型
|
||||
*
|
||||
* @author 云筑产品开发平台组
|
||||
* @version v5.1.0
|
||||
* @copyright 深圳市乐程软件有限公司
|
||||
* @date 2024/8/27 16:05:28
|
||||
*/
|
||||
@Data
|
||||
@Schema(description = "控件类型")
|
||||
public class VisualLogModel {
|
||||
@Schema(description = "字段key")
|
||||
private String field;
|
||||
@Schema(description = "字段名称")
|
||||
private String fieldName;
|
||||
@Schema(description = "旧数据")
|
||||
private String oldData;
|
||||
@Schema(description = "新数据")
|
||||
private String newData;
|
||||
@Schema(description = "控件类型")
|
||||
private String yunzhupaasKey;
|
||||
@Schema(description = "动作类型:0-新增,1-修改,3-删除,4-清空字段")
|
||||
private Integer type;
|
||||
@Schema(description = "显示已修改")
|
||||
private boolean nameModified;
|
||||
@Schema(description = "子表字段")
|
||||
private List<Map<String, Object>> chidField;
|
||||
@Schema(description = "子表数据")
|
||||
private List<Map<String, Object>> chidData;
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
package com.yunzhupaas.base.model;
|
||||
|
||||
import com.yunzhupaas.util.treeutil.SumTree;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author 云筑产品开发平台组
|
||||
* @version V3.1.0
|
||||
* @copyright 深圳市乐程软件有限公司
|
||||
*/
|
||||
@Data
|
||||
public class VisualTreeModel extends SumTree {
|
||||
private String fullName;
|
||||
private Long num;
|
||||
private String enCode;
|
||||
private Integer state;
|
||||
private String type;
|
||||
private String tables;
|
||||
private Long creatorTime;
|
||||
private String creatorUser;
|
||||
private Long lastModifyTime;
|
||||
private String lastModifyUser;
|
||||
private Long sortCode;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
package com.yunzhupaas.base.model;
|
||||
/**
|
||||
* 模板类型
|
||||
*
|
||||
* @author 云筑产品开发平台组
|
||||
* @version V3.2.9
|
||||
* @copyright 深圳市乐程软件有限公司(http://www.szlecheng.cn)
|
||||
* @date 2021/12/4
|
||||
*/
|
||||
public enum VisualWebTypeEnum {
|
||||
/**
|
||||
* 模板类型
|
||||
*/
|
||||
FORM(1,"表单"),
|
||||
FORM_LIST(2,"列表"),
|
||||
DATA_VIEW(4,"视图");
|
||||
|
||||
VisualWebTypeEnum(Integer type, String modelName) {
|
||||
this.type = type;
|
||||
this.modelName = modelName;
|
||||
}
|
||||
|
||||
public Integer getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public String getModelName() {
|
||||
return modelName;
|
||||
}
|
||||
|
||||
private Integer type;
|
||||
private String modelName;
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
package com.yunzhupaas.base.model;
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
@Schema(description="功能树形模型" )
|
||||
public class VisualdevTreeChildModel {
|
||||
@Schema(description = "主键" )
|
||||
private String id;
|
||||
@Schema(description = "名称" )
|
||||
private String fullName;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.yunzhupaas.base.model;
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @version V3.1.0
|
||||
* @copyright 深圳市乐程软件有限公司(http://www.szlecheng.cn)
|
||||
* @author 云筑产品开发平台组
|
||||
* @date 2024/3/16
|
||||
*/
|
||||
@Data
|
||||
@Schema(description="功能树形VO" )
|
||||
public class VisualdevTreeVO {
|
||||
@Schema(description = "主键" )
|
||||
private String id;
|
||||
@Schema(description = "名称" )
|
||||
private String fullName;
|
||||
@Schema(description = "是否有子集" )
|
||||
private Boolean hasChildren;
|
||||
@Schema(description = "排序" )
|
||||
private Long sortCode;
|
||||
@Schema(description = "子集对象" )
|
||||
private List<VisualdevTreeChildModel> children;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
package com.yunzhupaas.base.model.ai;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import com.yunzhupaas.model.ai.AiFormModel;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* ai模型列表
|
||||
*
|
||||
* @author 云筑产品开发平台组
|
||||
* @version v5.1.0
|
||||
* @copyright 深圳市乐程软件有限公司
|
||||
* @date 2024/12/2 16:09:38
|
||||
*/
|
||||
@Data
|
||||
@Schema(description = "ai模型列表")
|
||||
public class VisualAiModel {
|
||||
@Schema(description = "模型编码")
|
||||
private String enCode;
|
||||
@Schema(description = "模型名称")
|
||||
private String fullName;
|
||||
@Schema(description = "ai模型列表")
|
||||
private List<AiFormModel> aiModelList;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
package com.yunzhupaas.base.model.filter;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class FilterInfo {
|
||||
private String id;
|
||||
private String moduleId;
|
||||
private String config;
|
||||
private String deleteMark;
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
package com.yunzhupaas.base.model.filter;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.yunzhupaas.base.entity.FilterEntity;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
public class FilterQuery extends Page<FilterEntity> {
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
package com.yunzhupaas.base.model.filter;
|
||||
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class RuleInfo {
|
||||
/**
|
||||
* 字段说明
|
||||
*/
|
||||
private String fieldName;
|
||||
/**
|
||||
* 运算符
|
||||
*/
|
||||
private String operator;
|
||||
/**
|
||||
* 逻辑拼接符号
|
||||
*/
|
||||
private String logic;
|
||||
/**
|
||||
* 组件标识
|
||||
*/
|
||||
private String yunzhupaasKey;
|
||||
/**
|
||||
* 字段key
|
||||
* 数据库字段(对于在线)
|
||||
*/
|
||||
private String field;
|
||||
/**
|
||||
* 自定义的值
|
||||
*/
|
||||
private String fieldValue;
|
||||
|
||||
private String fieldValue2;
|
||||
|
||||
/**
|
||||
* 显示类型
|
||||
*/
|
||||
private String showLevel;
|
||||
|
||||
/**
|
||||
* 日期格式
|
||||
*/
|
||||
private String format;
|
||||
|
||||
@JSONField(name = "symbol")
|
||||
public void setOperator(String operator) {
|
||||
this.operator = operator;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,82 @@
|
||||
package com.yunzhupaas.base.model.flow;
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import com.yunzhupaas.base.UserInfo;
|
||||
import com.yunzhupaas.base.model.VisualLogModel;
|
||||
import com.yunzhupaas.base.model.form.ModuleFormModel;
|
||||
import com.yunzhupaas.database.model.entity.DbLinkEntity;
|
||||
import com.yunzhupaas.model.visualJson.FieLdsModel;
|
||||
import com.yunzhupaas.model.visualJson.TableModel;
|
||||
import com.yunzhupaas.model.visualJson.analysis.FormAllModel;
|
||||
import com.yunzhupaas.permission.entity.UserEntity;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
@Data
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Schema(description = "数据模型")
|
||||
public class DataModel {
|
||||
@Schema(description = "功能id")
|
||||
private String visualId;
|
||||
@Schema(description = "名称")
|
||||
private Map<String, Object> dataNewMap;
|
||||
@Schema(description = "字段列表")
|
||||
private List<FieLdsModel> fieLdsModelList;
|
||||
@Schema(description = "表列表")
|
||||
private List<TableModel> tableModelList;
|
||||
@Schema(description = "解析后字段")
|
||||
private List<FormAllModel> formAllModel;
|
||||
@Schema(description = "主表id")
|
||||
private String mainId;
|
||||
@Schema(description = "数据库链接")
|
||||
private DbLinkEntity link;
|
||||
@Schema(description = "转换")
|
||||
private Boolean convert;
|
||||
@Schema(description = "数据库类型")
|
||||
private String dbType;
|
||||
@Schema(description = "用户信息")
|
||||
private UserEntity userEntity;
|
||||
//是否开启安全锁
|
||||
@Schema(description = "安全锁策略")
|
||||
@Builder.Default
|
||||
private Boolean concurrencyLock = false;
|
||||
@Schema(description = "逻辑删除")
|
||||
@Builder.Default
|
||||
private Boolean logicalDelete = false;
|
||||
@Schema(description = "主键策略")
|
||||
private Integer primaryKeyPolicy = 1;
|
||||
@Schema(description = "用户信息")
|
||||
private UserInfo userInfo;
|
||||
@Schema(description = "是否外链")
|
||||
@Builder.Default
|
||||
private boolean linkOpen = false;
|
||||
|
||||
@Schema(description = "流程表单权限")
|
||||
private List<Map<String, Object>> flowFormOperates;
|
||||
|
||||
private List<VisualLogModel> listLog;
|
||||
|
||||
@Schema(description = "子表仅修改")
|
||||
@Builder.Default
|
||||
private Boolean onlyUpdate = false;
|
||||
|
||||
@Schema(description = "旧的主表数据")
|
||||
private Map<String, Object> oldMainData;
|
||||
|
||||
|
||||
@Schema(description = "需要判断权限")
|
||||
@Builder.Default
|
||||
private Boolean needPermission = false;
|
||||
@Schema(description = "表单权限")
|
||||
private List<String> formPerList;
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
package com.yunzhupaas.base.model.flow;
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import com.yunzhupaas.permission.entity.UserEntity;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
@Data
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Schema(description="流程表单数据模型")
|
||||
public class FlowFormDataModel {
|
||||
@Schema(description = "表单id")
|
||||
private String formId;
|
||||
@Schema(description = "主键id")
|
||||
private String id;
|
||||
@Schema(description = "流程小版本id")
|
||||
private String flowId;
|
||||
@Schema(description = "数据map对象")
|
||||
private Map<String, Object> map;
|
||||
@Schema(description = "数据权限")
|
||||
private List<Map<String, Object>> formOperates;
|
||||
@Schema(description = "委托人信息")
|
||||
private UserEntity delegateUser;
|
||||
|
||||
@Schema(description = "是否数据传递")
|
||||
@Builder.Default
|
||||
private Boolean isTransfer = false;
|
||||
|
||||
//删除接口参数
|
||||
@Schema(description = "表名")
|
||||
private String tableName;
|
||||
@Schema(description = "分组间关系")
|
||||
private String ruleMatchLogic;
|
||||
@Schema(description = "数据过滤分组")
|
||||
private List<Map<String, Object>> ruleList;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
package com.yunzhupaas.base.model.flow;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import com.yunzhupaas.model.TransferModel;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Schema(description = "自定义按钮发起审批参数对象")
|
||||
public class FlowLaunchModel {
|
||||
@Schema(description = "流程大id")
|
||||
private String template;
|
||||
|
||||
@Schema(description = "按钮编码")
|
||||
private String btnCode;
|
||||
|
||||
@Schema(description = "是否当前用户")
|
||||
private Integer currentUser;
|
||||
|
||||
@Schema(description = "是否自定义用户")
|
||||
private Integer customUser;
|
||||
|
||||
@Schema(description = "自定义列表")
|
||||
private List<String> initiator;
|
||||
|
||||
@Schema(description = "数据列表")
|
||||
private List<List<TransferModel>> dataList;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
package com.yunzhupaas.base.model.flow;
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @author 云筑产品开发平台组
|
||||
* @version V3.1.0
|
||||
* @copyright 深圳市乐程软件有限公司
|
||||
* @date 2024/3/15 9:17
|
||||
*/
|
||||
@Data
|
||||
@Schema(description="流程引擎信息模型")
|
||||
public class FlowTempInfoModel {
|
||||
@Schema(description = "编码")
|
||||
private String enCode;
|
||||
@Schema(description = "流程引擎id")
|
||||
private String id;
|
||||
@Schema(description = "是否启用")
|
||||
private Integer enabledMark;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
package com.yunzhupaas.base.model.form;
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
@Schema(description="流程表单草稿模型")
|
||||
public class DraftJsonModel {
|
||||
@Schema(description = "是否必填")
|
||||
private Boolean required;
|
||||
@Schema(description = "字段id")
|
||||
private String filedId;
|
||||
@Schema(description = "字段名称")
|
||||
private String filedName;
|
||||
@Schema(description = "yunzhupaaskey")
|
||||
private String yunzhupaasKey;
|
||||
@Schema(description = "是否多选")
|
||||
private boolean multiple;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
package com.yunzhupaas.base.model.form;
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
/**
|
||||
* 流程设计
|
||||
*
|
||||
* @author 云筑产品开发平台组
|
||||
* @version V3.4.2
|
||||
* @copyright 深圳市乐程软件有限公司
|
||||
* @date 2024/9/23 15:10:27
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
@Schema(description="字段模型")
|
||||
public class FlowFieldModel {
|
||||
/**
|
||||
*__vModel__
|
||||
*/
|
||||
@Schema(description = "字段id")
|
||||
String filedId;
|
||||
/**
|
||||
*__config__.label
|
||||
*/
|
||||
@Schema(description = "字段名称")
|
||||
String filedName;
|
||||
/**
|
||||
*__config__.yunzhupaasKey
|
||||
*/
|
||||
@Schema(description = "字段yunzhupaaskey")
|
||||
String yunzhupaasKey;
|
||||
/**
|
||||
*__config__.required
|
||||
*/
|
||||
@Schema(description = "字段是否必填")
|
||||
String required;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,87 @@
|
||||
package com.yunzhupaas.base.model.form;
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 流程表单参数
|
||||
*
|
||||
* @author 云筑产品开发平台组
|
||||
* @version V3.4.2
|
||||
* @copyright 深圳市乐程软件有限公司
|
||||
* @date 2024/6/30 18:29
|
||||
*/
|
||||
@Data
|
||||
@Schema(description="流程表单参数")
|
||||
public class FlowFormModel {
|
||||
@Schema(description = "主键")
|
||||
private String id;
|
||||
|
||||
@Schema(description = "表单编码")
|
||||
private String enCode;
|
||||
|
||||
@Schema(description = "表单名称")
|
||||
private String fullName;
|
||||
|
||||
@Schema(description = "流程类型:0-发起流程,1-功能流程")
|
||||
private Integer flowType;
|
||||
|
||||
@Schema(description = "表单类型:1-系统表单,2-自定义表单")
|
||||
private Integer formType;
|
||||
|
||||
@Schema(description = "表单分类")
|
||||
private String category;
|
||||
|
||||
@Schema(description = "Web地址")
|
||||
private String urlAddress;
|
||||
|
||||
@Schema(description = "APP地址")
|
||||
private String appUrlAddress;
|
||||
|
||||
@Schema(description = "接口路径")
|
||||
private String interfaceUrl;
|
||||
|
||||
@Schema(description = "属性字段")
|
||||
private String propertyJson;
|
||||
|
||||
@Schema(description = "描述")
|
||||
private String description;
|
||||
|
||||
@Schema(description = "排序码")
|
||||
private Long sortCode;
|
||||
|
||||
@Schema(description = "有效标志")
|
||||
private Integer enabledMark;
|
||||
|
||||
@Schema(description = "创建时间")
|
||||
private Long creatorTime;
|
||||
|
||||
@Schema(description = "创建用户")
|
||||
private String creatorUserId;
|
||||
|
||||
@Schema(description = "修改时间")
|
||||
private Long lastModifyTime;
|
||||
|
||||
@Schema(description = "修改用户")
|
||||
private String lastModifyUserId;
|
||||
|
||||
@Schema(description = "删除标志")
|
||||
private Integer deleteMark;
|
||||
|
||||
@Schema(description = "删除时间")
|
||||
private Long deleteTime;
|
||||
|
||||
@Schema(description = "删除用户")
|
||||
private String deleteUserId;
|
||||
|
||||
@Schema(description = "草稿版本json")
|
||||
private String draftJson;
|
||||
|
||||
@Schema(description = "关联数据连接id")
|
||||
private String dbLinkId;
|
||||
|
||||
@Schema(description = "关联的表")
|
||||
private String tableJson;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
package com.yunzhupaas.base.model.form;
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import com.yunzhupaas.base.Pagination;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 流程设计
|
||||
*
|
||||
* @author 云筑产品开发平台组
|
||||
* @version V3.4.2
|
||||
* @copyright 深圳市乐程软件有限公司
|
||||
* @date 2024/7/1 9:48
|
||||
*/
|
||||
@Schema(description="表单列表查询参数")
|
||||
@Data
|
||||
public class FlowFormPage extends Pagination {
|
||||
private String keyword;
|
||||
@Schema(description = "流程类型:0-发起流程,1-功能流程")
|
||||
private Integer flowType;
|
||||
@Schema(description = "表单类型:1-系统表单,2-自定义表单")
|
||||
private Integer formType;
|
||||
@Schema(description = "该参数下拉列表无效")
|
||||
private Integer enabledMark;
|
||||
@Schema(description = "状态")
|
||||
private Integer isRelease;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
package com.yunzhupaas.base.model.form;
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 流程表单对象
|
||||
*
|
||||
* @author 云筑产品开发平台组
|
||||
* @version V3.4.2
|
||||
* @copyright 深圳市乐程软件有限公司
|
||||
* @date 2024/6/30 18:06
|
||||
*/
|
||||
@Data
|
||||
@Schema(description="流程下拉对象")
|
||||
public class FlowSelectVo {
|
||||
@Schema(description = "主键")
|
||||
private String id;
|
||||
|
||||
@Schema(description = "表单编码")
|
||||
private String enCode;
|
||||
|
||||
@Schema(description = "表单名称")
|
||||
private String fullName;
|
||||
|
||||
@Schema(description = "流程类型")
|
||||
private Integer flowType;
|
||||
|
||||
@Schema(description = "表单类型")
|
||||
private Integer formType;
|
||||
|
||||
@Schema(description = "表单分类")
|
||||
private String category;
|
||||
|
||||
@Schema(description = "描述")
|
||||
private String description;
|
||||
|
||||
@Schema(description = "排序码")
|
||||
private Long sortCode;
|
||||
|
||||
@Schema(description = "是否引用")
|
||||
private Boolean isQuote;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
package com.yunzhupaas.base.model.form;
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import org.mybatis.dynamic.sql.select.render.SelectStatementProvider;
|
||||
|
||||
/**
|
||||
*
|
||||
* 表单验证
|
||||
* @author 云筑产品开发平台组
|
||||
* @version V3.4.5
|
||||
* @copyright 深圳市乐程软件有限公司(http://www.szlecheng.cn)
|
||||
* @date 2022/11/15
|
||||
*/
|
||||
@Data
|
||||
@Schema(description="表单验证模型")
|
||||
public class FormCheckModel {
|
||||
@Schema(description = "名称")
|
||||
private String label;
|
||||
@Schema(description = "选择值")
|
||||
private SelectStatementProvider statementProvider;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
package com.yunzhupaas.base.model.form;
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
/**
|
||||
* 流程设计
|
||||
*
|
||||
* @author 云筑产品开发平台组
|
||||
* @version V3.4.2
|
||||
* @copyright 深圳市乐程软件有限公司
|
||||
* @date 2024/10/19 14:22:18
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
@Schema(description="表单草稿存储对象模型")
|
||||
public class FormDraftJsonModel {
|
||||
@Schema(description = "草稿json")
|
||||
private String draftJson;
|
||||
@Schema(description = "表json")
|
||||
private String tableJson;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
package com.yunzhupaas.base.model.form;
|
||||
|
||||
import com.alibaba.fastjson.JSONArray;
|
||||
import com.yunzhupaas.model.visualJson.analysis.FormAllModel;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* @author 云筑产品开发平台组
|
||||
* @version V3.4.2
|
||||
* @copyright 深圳市乐程软件有限公司(http://www.szlecheng.cn)
|
||||
*/
|
||||
@Data
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class VisualTableModel {
|
||||
private JSONArray jsonArray;
|
||||
private List<FormAllModel> formAllModel=new ArrayList<>();
|
||||
private String table;
|
||||
private String linkId;
|
||||
private String fullName;
|
||||
private boolean concurrency = false;
|
||||
private Integer primaryKey = 1;
|
||||
//逻辑删除
|
||||
private Boolean logicalDelete = false;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,73 @@
|
||||
package com.yunzhupaas.base.model.read;
|
||||
|
||||
|
||||
import com.yunzhupaas.util.StringUtil;
|
||||
|
||||
/**
|
||||
* @author 云筑产品开发平台组
|
||||
* @version V3.1.0
|
||||
* @copyright 深圳市乐程软件有限公司
|
||||
* @date 2024/8/20
|
||||
*/
|
||||
public enum ReadEnum {
|
||||
/**
|
||||
* 模型
|
||||
*/
|
||||
model("model"),
|
||||
/**
|
||||
* 控制器
|
||||
*/
|
||||
controller("controller"),
|
||||
/**
|
||||
* 业务层
|
||||
*/
|
||||
service("service"),
|
||||
/**
|
||||
* 数据层
|
||||
*/
|
||||
mapper("mapper"),
|
||||
/**
|
||||
* 实体
|
||||
*/
|
||||
entity("entity"),
|
||||
/**
|
||||
* web
|
||||
*/
|
||||
web("web"),
|
||||
/**
|
||||
* json
|
||||
*/
|
||||
json("json"),
|
||||
/**
|
||||
* app
|
||||
*/
|
||||
app("app");
|
||||
|
||||
private String message;
|
||||
|
||||
ReadEnum(String message) {
|
||||
this.message = message;
|
||||
}
|
||||
|
||||
public String getMessage() {
|
||||
return message;
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据状态code获取枚举名称
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public static ReadEnum getMessage(String path) {
|
||||
if (StringUtil.isNotEmpty(path)) {
|
||||
for (ReadEnum status : ReadEnum.values()) {
|
||||
if (path.contains(status.getMessage())) {
|
||||
return status;
|
||||
}
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
package com.yunzhupaas.base.model.read;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @version V3.1.0
|
||||
* @copyright 深圳市乐程软件有限公司(http://www.szlecheng.cn)
|
||||
* @author 云筑产品开发平台组
|
||||
* @date 2024/8/20
|
||||
*/
|
||||
@Data
|
||||
public class ReadListVO {
|
||||
private String fileName;
|
||||
private String id;
|
||||
private List<ReadModel> children;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
package com.yunzhupaas.base.model.read;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
*
|
||||
* @version V3.1.0
|
||||
* @copyright 深圳市乐程软件有限公司(http://www.szlecheng.cn)
|
||||
* @author 云筑产品开发平台组
|
||||
* @date 2024/8/20
|
||||
*/
|
||||
@Data
|
||||
public class ReadModel {
|
||||
private String folderName;
|
||||
private String fileName;
|
||||
private String fileContent;
|
||||
private String oldFileContent;
|
||||
private String fileType;
|
||||
private String id;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
package com.yunzhupaas.base.model.shortLink;
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 在线表单外链显示类
|
||||
*
|
||||
* @author 云筑产品开发平台组
|
||||
* @version V3.4.2
|
||||
* @copyright 深圳市乐程软件有限公司
|
||||
* @date 2024/12/30 11:25:16
|
||||
*/
|
||||
@Data
|
||||
@Schema(description="外链配置对象")
|
||||
public class VisualdevShortLinkConfigVo {
|
||||
@Schema(description = "主键")
|
||||
private String id;
|
||||
@Schema(description = "表单开关0-关闭,1-开启")
|
||||
private Integer formUse = 0;
|
||||
@Schema(description = "表单密码开关0-关闭,1-开启")
|
||||
private Integer formPassUse = 0;
|
||||
@Schema(description = "列表开关0-关闭,1-开启")
|
||||
private Integer columnUse = 0;
|
||||
@Schema(description = "列表密码开关0-关闭,1-开启")
|
||||
private Integer columnPassUse = 0;
|
||||
@Schema(description = "列表查询字段")
|
||||
private String columnCondition;
|
||||
@Schema(description = "列表展示字段")
|
||||
private String columnText;
|
||||
@Schema(description = "用户id")
|
||||
private String userId;
|
||||
@Schema(description = "租户id")
|
||||
private String tenantId;
|
||||
@Schema(description = "是否启用0-关闭1-启用")
|
||||
private Integer enabledMark;
|
||||
@Schema(description = "表单外链")
|
||||
private String formLink;
|
||||
@Schema(description = "列表外链")
|
||||
private String columnLink;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
package com.yunzhupaas.base.model.shortLink;
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 在线表单外链显示类
|
||||
*
|
||||
* @author 云筑产品开发平台组
|
||||
* @version V3.4.2
|
||||
* @copyright 深圳市乐程软件有限公司
|
||||
* @date 2024/12/30 11:25:16
|
||||
*/
|
||||
@Data
|
||||
@Schema(description="外链提交表单")
|
||||
public class VisualdevShortLinkForm {
|
||||
@Schema(description = "主键")
|
||||
private String id;
|
||||
@Schema(description = "短链接key")
|
||||
private String shortLink;
|
||||
@Schema(description = "表单开关0-关闭,1-开启")
|
||||
private Integer formUse;
|
||||
@Schema(description = "表单外链")
|
||||
private String formLink;
|
||||
@Schema(description = "表单密码开关0-关闭,1-开启")
|
||||
private Integer formPassUse;
|
||||
@Schema(description = "表单密码")
|
||||
private String formPassword;
|
||||
@Schema(description = "列表开关0-关闭,1-开启")
|
||||
private Integer columnUse;
|
||||
@Schema(description = "列表外链")
|
||||
private String columnLink;
|
||||
@Schema(description = "列表密码开关0-关闭,1-开启")
|
||||
private Integer columnPassUse;
|
||||
@Schema(description = "列表密码")
|
||||
private String columnPassword;
|
||||
@Schema(description = "列表查询自选")
|
||||
private String columnCondition;
|
||||
@Schema(description = "列表展示字段")
|
||||
private String columnText;
|
||||
@Schema(description = "是否启用")
|
||||
private Integer enabledMark;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
package com.yunzhupaas.base.model.shortLink;
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 外链请求参数
|
||||
*
|
||||
* @author 云筑产品开发平台组
|
||||
* @version V3.4.2
|
||||
* @copyright 深圳市乐程软件有限公司
|
||||
* @date 2024/12/30 16:28:23
|
||||
*/
|
||||
@Data
|
||||
@Schema(description="外链入口参数")
|
||||
public class VisualdevShortLinkModel {
|
||||
@Schema(description = "类型:form-表单,list-列表")
|
||||
private String type;
|
||||
@Schema(description = "租户id")
|
||||
private String tenantId;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
package com.yunzhupaas.base.model.shortLink;
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 在线表单外链显示类
|
||||
*
|
||||
* @author 云筑产品开发平台组
|
||||
* @version V3.4.2
|
||||
* @copyright 深圳市乐程软件有限公司
|
||||
* @date 2024/12/30 11:25:16
|
||||
*/
|
||||
@Data
|
||||
@Schema(description="外链密码验证对象")
|
||||
public class VisualdevShortLinkPwd {
|
||||
@Schema(description = "主键")
|
||||
private String id;
|
||||
@Schema(description = "类型:form-表单,list-列表")
|
||||
private Integer type;
|
||||
@Schema(description = "密码")
|
||||
private String password;
|
||||
@Schema(description = "加密参数")
|
||||
private String encryption;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,52 @@
|
||||
package com.yunzhupaas.base.model.shortLink;
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 在线表单外链显示类
|
||||
*
|
||||
* @author 云筑产品开发平台组
|
||||
* @version V3.4.2
|
||||
* @copyright 深圳市乐程软件有限公司
|
||||
* @date 2024/12/30 11:25:16
|
||||
*/
|
||||
@Data
|
||||
@Schema(description="外链配置详情")
|
||||
public class VisualdevShortLinkVo {
|
||||
@Schema(description = "主键")
|
||||
private String id;
|
||||
@Schema(description = "短链接key")
|
||||
private String shortLink;
|
||||
@Schema(description = "表单开关0-关闭,1-开启")
|
||||
private Integer formUse = 0;
|
||||
@Schema(description = "表单外链")
|
||||
private String formLink;
|
||||
@Schema(description = "表单密码开关0-关闭,1-开启")
|
||||
private Integer formPassUse = 0;
|
||||
@Schema(description = "表单密码")
|
||||
private String formPassword;
|
||||
@Schema(description = "列表开关0-关闭,1-开启")
|
||||
private Integer columnUse = 0;
|
||||
@Schema(description = "列表外链")
|
||||
private String columnLink;
|
||||
@Schema(description = "列表密码开关0-关闭,1-开启")
|
||||
private Integer columnPassUse = 0;
|
||||
@Schema(description = "列表密码")
|
||||
private String columnPassword;
|
||||
@Schema(description = "列表条件字段")
|
||||
private String columnCondition;
|
||||
@Schema(description = "列表展示字段")
|
||||
private String columnText;
|
||||
@Schema(description = "用户id")
|
||||
private String userId;
|
||||
@Schema(description = "租户id")
|
||||
private String tenantId;
|
||||
@Schema(description = "是否启用")
|
||||
private Integer enabledMark;
|
||||
|
||||
@Schema(description = "是否已保存")
|
||||
private boolean alreadySave = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user