修改活动表单设计器的功能
This commit is contained in:
parent
7874627139
commit
ba75f988a0
@ -24,18 +24,6 @@ import java.util.List;
|
||||
@Schema(name = "MpActivityFormEntity对象", description = "活动表单表")
|
||||
public class MpActivityFormEntity extends BaseEntity {
|
||||
|
||||
/**
|
||||
* 表单名称
|
||||
*/
|
||||
@TableField("form_name")
|
||||
private String formName;
|
||||
|
||||
/**
|
||||
* 表单描述
|
||||
*/
|
||||
@TableField("form_description")
|
||||
private String formDescription;
|
||||
|
||||
/**
|
||||
* 配置
|
||||
*/
|
||||
|
||||
@ -20,17 +20,6 @@ public class ActivityFormReq extends PageRequest {
|
||||
@Schema(description = "活动ID")
|
||||
private Integer activityId;
|
||||
|
||||
@Schema(description = "表单名称")
|
||||
@NotBlank(message = "表单名称不能为空")
|
||||
@Size(max = 255, message = "表单名称长度不能超过255个字符")
|
||||
private String formName;
|
||||
|
||||
@Schema(description = "表单模板描述")
|
||||
private String formDescription;
|
||||
|
||||
@Schema(description = "状态:0-禁用,1-启用")
|
||||
private Integer status;
|
||||
|
||||
@Schema(description = "表单配置")
|
||||
private String config;
|
||||
|
||||
|
||||
@ -15,18 +15,6 @@ public class AdminActivityFormResp {
|
||||
@Schema(description = "表单ID")
|
||||
private Integer id;
|
||||
|
||||
/**
|
||||
* 表单名称
|
||||
*/
|
||||
@Schema(description = "表单名称")
|
||||
private String formName;
|
||||
|
||||
/**
|
||||
* 表单描述
|
||||
*/
|
||||
@Schema(description = "表单描述")
|
||||
private String formDescription;
|
||||
|
||||
/**
|
||||
* 表单配置
|
||||
*/
|
||||
|
||||
@ -2,8 +2,6 @@
|
||||
DROP TABLE IF EXISTS `mp_activity_form`;
|
||||
CREATE TABLE `mp_activity_form` (
|
||||
`id` int NOT NULL AUTO_INCREMENT COMMENT '主键ID',
|
||||
`form_name` varchar(255) NOT NULL COMMENT '表单名称',
|
||||
`form_description` text COMMENT '表单描述',
|
||||
`config` text COMMENT '表单的配置信息',
|
||||
`fields` text COMMENT '表单项的数组',
|
||||
`create_time` datetime NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user