diff --git a/eiam-common/src/main/java/cn/topiam/employee/common/schema/FormSchema.java b/eiam-common/src/main/java/cn/topiam/employee/common/schema/FormSchema.java deleted file mode 100644 index 897ed7c6..00000000 --- a/eiam-common/src/main/java/cn/topiam/employee/common/schema/FormSchema.java +++ /dev/null @@ -1,85 +0,0 @@ -/* - * eiam-common - Employee Identity and Access Management - * Copyright © 2022-Present Jinan Yuanchuang Network Technology Co., Ltd. (support@topiam.cn) - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ -package cn.topiam.employee.common.schema; - -import java.util.Map; - -import lombok.Data; - -/** - * - * @author TopIAM - * Created by support@topiam.cn on 2023/4/12 21:17 - */ -@Data -public class FormSchema { - /** - * type: 'object'(固定配置) - */ - private String type = "object"; - - /** - * 表单项 label 布局方式:row | column | inline - */ - private DisplayType displayType = DisplayType.row; - - /** - * 表单布局:一行多列 - */ - private Integer column; - - /** - * 固定表单标签的宽度 - */ - private Integer labelWidth; - - /** - * labelCol - */ - private Integer labelCol = 6; - - /** - * fieldCol - */ - private Integer fieldCol = 14; - - /** - * 表单元素集合 - */ - private Map properties; - - /** - * - * @author TopIAM - * Created by support@topiam.cn on 2023/4/12 21:16 - */ - public enum DisplayType { - /** - * row - */ - row, - /** - * column - */ - column, - /** - * inline - */ - inline - } -} diff --git a/eiam-common/src/main/java/cn/topiam/employee/common/schema/field/Checkbox.java b/eiam-common/src/main/java/cn/topiam/employee/common/schema/field/Checkbox.java deleted file mode 100644 index ba3e971f..00000000 --- a/eiam-common/src/main/java/cn/topiam/employee/common/schema/field/Checkbox.java +++ /dev/null @@ -1,31 +0,0 @@ -/* - * eiam-common - Employee Identity and Access Management - * Copyright © 2022-Present Jinan Yuanchuang Network Technology Co., Ltd. (support@topiam.cn) - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ -package cn.topiam.employee.common.schema.field; - -/** - * Checkbox 单选 - * - * @author TopIAM - * Created by support@topiam.cn on 2023/4/12 21:31 - */ -public class Checkbox extends Field { - public Checkbox(String title) { - super("boolean", "checkbox"); - this.title = title; - } -} \ No newline at end of file diff --git a/eiam-common/src/main/java/cn/topiam/employee/common/schema/field/Checkboxes.java b/eiam-common/src/main/java/cn/topiam/employee/common/schema/field/Checkboxes.java deleted file mode 100644 index 02666f27..00000000 --- a/eiam-common/src/main/java/cn/topiam/employee/common/schema/field/Checkboxes.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * eiam-common - Employee Identity and Access Management - * Copyright © 2022-Present Jinan Yuanchuang Network Technology Co., Ltd. (support@topiam.cn) - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ -package cn.topiam.employee.common.schema.field; - -import java.util.List; - -/** - * Checkbox 多选 - * - * @author TopIAM - * Created by support@topiam.cn on 2023/4/12 21:31 - */ -public class Checkboxes extends Field { - - public Checkboxes(String title, List