-
Notifications
You must be signed in to change notification settings - Fork 385
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
likui
committed
Jul 30, 2024
1 parent
d1373ad
commit e8bb7e4
Showing
15 changed files
with
337 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,14 +8,15 @@ | |
|
||
import javax.validation.constraints.NotBlank; | ||
import javax.validation.constraints.NotNull; | ||
import java.util.Map; | ||
|
||
/** | ||
* 问卷发布后的配置表 | ||
* | ||
* @author [email protected] | ||
* @date: 2024/7/27 13:59 | ||
*/ | ||
@Document("surveySubmit") | ||
@Document("surveyPublish") | ||
@EqualsAndHashCode(callSuper = true) | ||
@ToString(callSuper = true) | ||
@Data | ||
|
@@ -45,7 +46,7 @@ public class SurveyPublish extends BaseEntity { | |
*/ | ||
@NotBlank(message = "问卷schema不能为空") | ||
@NotNull(message = "问卷schema不能为空") | ||
private String code; | ||
private Map<String, Object> code; | ||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
53 changes: 53 additions & 0 deletions
53
survey-core/src/main/java/com/xiaojusurvey/engine/core/survey/vo/SurveyVO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
//package com.xiaojusurvey.engine.core.survey.vo; | ||
// | ||
//import com.xiaojusurvey.engine.common.entity.Status; | ||
// | ||
//import javax.validation.constraints.NotBlank; | ||
//import javax.validation.constraints.NotNull; | ||
// | ||
///** | ||
// * 问卷信息 | ||
// * | ||
// * @author [email protected] | ||
// * @Date 2024/7/28 21:57 | ||
// */ | ||
//public class SurveyVO { | ||
// | ||
// private String _id; | ||
// | ||
// private String name; | ||
// /** | ||
// * 问卷类型 | ||
// */ | ||
// @NotBlank(message = "问卷类型不能为空") | ||
// @NotNull(message = "问卷类型不能为空") | ||
// private String surveyType; | ||
// | ||
// /** | ||
// * 问卷短链 | ||
// */ | ||
// private String surveyPath; | ||
// /** | ||
// * 问卷标题 | ||
// */ | ||
// private String title; | ||
// /** | ||
// * 当前状态 | ||
// */ | ||
// private Status curStatus; | ||
// | ||
// /** | ||
// * 创建时间 | ||
// */ | ||
// private Long createDate; | ||
// | ||
// /** | ||
// * 创建人 | ||
// */ | ||
// private String creator; | ||
// /** | ||
// * 所有者 | ||
// */ | ||
// private String owner; | ||
// | ||
//} |
Oops, something went wrong.