build: 创建人不用从前台传入,后台直接给值
This commit is contained in:
parent
c64f283ef7
commit
e2d6d3e4be
|
@ -19,16 +19,12 @@ public class ApiDefinition implements Serializable {
|
|||
private Long createTime;
|
||||
|
||||
@Schema(title = "创建人", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@NotBlank(message = "{api_definition.create_user.not_blank}", groups = {Created.class})
|
||||
@Size(min = 1, max = 50, message = "{api_definition.create_user.length_range}", groups = {Created.class, Updated.class})
|
||||
private String createUser;
|
||||
|
||||
@Schema(title = "修改时间")
|
||||
private Long updateTime;
|
||||
|
||||
@Schema(title = "修改人", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@NotBlank(message = "{api_definition.update_user.not_blank}", groups = {Created.class})
|
||||
@Size(min = 1, max = 50, message = "{api_definition.update_user.length_range}", groups = {Created.class, Updated.class})
|
||||
private String updateUser;
|
||||
|
||||
@Schema(title = "删除人")
|
||||
|
|
|
@ -28,8 +28,6 @@ public class ApiDefinitionMock implements Serializable {
|
|||
private Long updateTime;
|
||||
|
||||
@Schema(title = "创建人", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@NotBlank(message = "{api_definition_mock.create_user.not_blank}", groups = {Created.class})
|
||||
@Size(min = 1, max = 50, message = "{api_definition_mock.create_user.length_range}", groups = {Created.class, Updated.class})
|
||||
private String createUser;
|
||||
|
||||
@Schema(title = "mock 名称", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
|
|
|
@ -22,13 +22,9 @@ public class ApiDefinitionModule implements Serializable {
|
|||
private Long updateTime;
|
||||
|
||||
@Schema(title = "修改人", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@NotBlank(message = "{api_definition_module.update_user.not_blank}", groups = {Created.class})
|
||||
@Size(min = 1, max = 50, message = "{api_definition_module.update_user.length_range}", groups = {Created.class, Updated.class})
|
||||
private String updateUser;
|
||||
|
||||
@Schema(title = "创建人", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@NotBlank(message = "{api_definition_module.create_user.not_blank}", groups = {Created.class})
|
||||
@Size(min = 1, max = 50, message = "{api_definition_module.create_user.length_range}", groups = {Created.class, Updated.class})
|
||||
private String createUser;
|
||||
|
||||
@Schema(title = "模块名称", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
|
|
|
@ -22,8 +22,6 @@ public class ApiEnvironmentConfig implements Serializable {
|
|||
private Long updateTime;
|
||||
|
||||
@Schema(title = "用户fk", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@NotBlank(message = "{api_environment_config.create_user.not_blank}", groups = {Created.class})
|
||||
@Size(min = 1, max = 50, message = "{api_environment_config.create_user.length_range}", groups = {Created.class, Updated.class})
|
||||
private String createUser;
|
||||
|
||||
@Schema(title = "环境fk", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
|
|
|
@ -32,13 +32,9 @@ public class ApiReport implements Serializable {
|
|||
private Long updateTime;
|
||||
|
||||
@Schema(title = "创建人fk", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@NotBlank(message = "{api_report.create_user.not_blank}", groups = {Created.class})
|
||||
@Size(min = 1, max = 50, message = "{api_report.create_user.length_range}", groups = {Created.class, Updated.class})
|
||||
private String createUser;
|
||||
|
||||
@Schema(title = "修改人", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@NotBlank(message = "{api_report.update_user.not_blank}", groups = {Created.class})
|
||||
@Size(min = 1, max = 50, message = "{api_report.update_user.length_range}", groups = {Created.class, Updated.class})
|
||||
private String updateUser;
|
||||
|
||||
@Schema(title = "删除状态", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
|
|
|
@ -21,8 +21,6 @@ public class ApiScenario implements Serializable {
|
|||
private String name;
|
||||
|
||||
@Schema(title = "创建人", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@NotBlank(message = "{api_scenario.create_user.not_blank}", groups = {Created.class})
|
||||
@Size(min = 1, max = 50, message = "{api_scenario.create_user.length_range}", groups = {Created.class, Updated.class})
|
||||
private String createUser;
|
||||
|
||||
@Schema(title = "创建时间")
|
||||
|
@ -35,8 +33,6 @@ public class ApiScenario implements Serializable {
|
|||
private String deleteUser;
|
||||
|
||||
@Schema(title = "更新人", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@NotBlank(message = "{api_scenario.update_user.not_blank}", groups = {Created.class})
|
||||
@Size(min = 1, max = 50, message = "{api_scenario.update_user.length_range}", groups = {Created.class, Updated.class})
|
||||
private String updateUser;
|
||||
|
||||
@Schema(title = "更新时间")
|
||||
|
|
|
@ -37,13 +37,9 @@ public class ApiScenarioModule implements Serializable {
|
|||
private Long updateTime;
|
||||
|
||||
@Schema(title = "更新人", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@NotBlank(message = "{api_scenario_module.update_user.not_blank}", groups = {Created.class})
|
||||
@Size(min = 1, max = 50, message = "{api_scenario_module.update_user.length_range}", groups = {Created.class, Updated.class})
|
||||
private String updateUser;
|
||||
|
||||
@Schema(title = "创建人", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@NotBlank(message = "{api_scenario_module.create_user.not_blank}", groups = {Created.class})
|
||||
@Size(min = 1, max = 50, message = "{api_scenario_module.create_user.length_range}", groups = {Created.class, Updated.class})
|
||||
private String createUser;
|
||||
|
||||
@Schema(title = "项目fk", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
|
|
|
@ -24,8 +24,6 @@ public class ApiScenarioReference implements Serializable {
|
|||
private Long createTime;
|
||||
|
||||
@Schema(title = "创建人", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@NotBlank(message = "{api_scenario_reference.create_user.not_blank}", groups = {Created.class})
|
||||
@Size(min = 1, max = 50, message = "{api_scenario_reference.create_user.length_range}", groups = {Created.class, Updated.class})
|
||||
private String createUser;
|
||||
|
||||
@Schema(title = "引用步骤fk", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
|
|
|
@ -24,8 +24,6 @@ public class ApiScenarioReport implements Serializable {
|
|||
private Long createTime;
|
||||
|
||||
@Schema(title = "创建人", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@NotBlank(message = "{api_scenario_report.create_user.not_blank}", groups = {Created.class})
|
||||
@Size(min = 1, max = 50, message = "{api_scenario_report.create_user.length_range}", groups = {Created.class, Updated.class})
|
||||
private String createUser;
|
||||
|
||||
@Schema(title = "删除时间")
|
||||
|
@ -40,8 +38,6 @@ public class ApiScenarioReport implements Serializable {
|
|||
private Boolean deleted;
|
||||
|
||||
@Schema(title = "修改人", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@NotBlank(message = "{api_scenario_report.update_user.not_blank}", groups = {Created.class})
|
||||
@Size(min = 1, max = 50, message = "{api_scenario_report.update_user.length_range}", groups = {Created.class, Updated.class})
|
||||
private String updateUser;
|
||||
|
||||
@Schema(title = "更新时间")
|
||||
|
|
|
@ -24,16 +24,12 @@ public class ApiTestCase implements Serializable {
|
|||
private Long createTime;
|
||||
|
||||
@Schema(title = "创建人", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@NotBlank(message = "{api_test_case.create_user.not_blank}", groups = {Created.class})
|
||||
@Size(min = 1, max = 50, message = "{api_test_case.create_user.length_range}", groups = {Created.class, Updated.class})
|
||||
private String createUser;
|
||||
|
||||
@Schema(title = "更新时间")
|
||||
private Long updateTime;
|
||||
|
||||
@Schema(title = "更新人", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@NotBlank(message = "{api_test_case.update_user.not_blank}", groups = {Created.class})
|
||||
@Size(min = 1, max = 50, message = "{api_test_case.update_user.length_range}", groups = {Created.class, Updated.class})
|
||||
private String updateUser;
|
||||
|
||||
@Schema(title = "删除时间")
|
||||
|
|
|
@ -50,8 +50,6 @@ public class LoadTest implements Serializable {
|
|||
private Integer num;
|
||||
|
||||
@Schema(title = "创建人", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@NotBlank(message = "{load_test.create_user.not_blank}", groups = {Created.class})
|
||||
@Size(min = 1, max = 50, message = "{load_test.create_user.length_range}", groups = {Created.class, Updated.class})
|
||||
private String createUser;
|
||||
|
||||
@Schema(title = "自定义排序,间隔5000", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
|
|
|
@ -40,8 +40,6 @@ public class LoadTestReport implements Serializable {
|
|||
private String status;
|
||||
|
||||
@Schema(title = "创建人(执行人)ID", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@NotBlank(message = "{load_test_report.create_user.not_blank}", groups = {Created.class})
|
||||
@Size(min = 1, max = 50, message = "{load_test_report.create_user.length_range}", groups = {Created.class, Updated.class})
|
||||
private String createUser;
|
||||
|
||||
@Schema(title = "触发方式", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
|
|
|
@ -47,8 +47,6 @@ public class TestPlan implements Serializable {
|
|||
private Long createTime;
|
||||
|
||||
@Schema(title = "创建人", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@NotBlank(message = "{test_plan.create_user.not_blank}", groups = {Created.class})
|
||||
@Size(min = 1, max = 50, message = "{test_plan.create_user.length_range}", groups = {Created.class, Updated.class})
|
||||
private String createUser;
|
||||
|
||||
@Schema(title = "更新时间")
|
||||
|
|
|
@ -35,8 +35,6 @@ public class TestPlanApiCase implements Serializable {
|
|||
private Long createTime;
|
||||
|
||||
@Schema(title = "创建人", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@NotBlank(message = "{test_plan_api_case.create_user.not_blank}", groups = {Created.class})
|
||||
@Size(min = 1, max = 40, message = "{test_plan_api_case.create_user.length_range}", groups = {Created.class, Updated.class})
|
||||
private String createUser;
|
||||
|
||||
@Schema(title = "自定义排序,间隔5000", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
|
|
|
@ -27,8 +27,6 @@ public class TestPlanApiScenario implements Serializable {
|
|||
private Long createTime;
|
||||
|
||||
@Schema(title = "创建人", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@NotBlank(message = "{test_plan_api_scenario.create_user.not_blank}", groups = {Created.class})
|
||||
@Size(min = 1, max = 100, message = "{test_plan_api_scenario.create_user.length_range}", groups = {Created.class, Updated.class})
|
||||
private String createUser;
|
||||
|
||||
@Schema(title = "自定义排序,间隔5000", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
|
|
|
@ -29,8 +29,6 @@ public class TestPlanFunctionCase implements Serializable {
|
|||
private Long createTime;
|
||||
|
||||
@Schema(title = "创建人", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@NotBlank(message = "{test_plan_function_case.create_user.not_blank}", groups = {Created.class})
|
||||
@Size(min = 1, max = 50, message = "{test_plan_function_case.create_user.length_range}", groups = {Created.class, Updated.class})
|
||||
private String createUser;
|
||||
|
||||
@Schema(title = "自定义排序,间隔5000", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
|
|
|
@ -31,8 +31,6 @@ public class TestPlanFunctionCaseResult implements Serializable {
|
|||
private String result;
|
||||
|
||||
@Schema(title = "创建人", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@NotBlank(message = "{test_plan_function_case_result.create_user.not_blank}", groups = {Created.class})
|
||||
@Size(min = 1, max = 50, message = "{test_plan_function_case_result.create_user.length_range}", groups = {Created.class, Updated.class})
|
||||
private String createUser;
|
||||
|
||||
@Schema(title = "创建时间")
|
||||
|
|
|
@ -29,8 +29,6 @@ public class TestPlanLoadCase implements Serializable {
|
|||
private Long createTime;
|
||||
|
||||
@Schema(title = "创建人", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@NotBlank(message = "{test_plan_load_case.create_user.not_blank}", groups = {Created.class})
|
||||
@Size(min = 1, max = 50, message = "{test_plan_load_case.create_user.length_range}", groups = {Created.class, Updated.class})
|
||||
private String createUser;
|
||||
|
||||
@Schema(title = "所用测试资源池ID")
|
||||
|
|
|
@ -26,8 +26,6 @@ public class TestPlanReport implements Serializable {
|
|||
private String name;
|
||||
|
||||
@Schema(title = "创建人", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@NotBlank(message = "{test_plan_report.create_user.not_blank}", groups = {Created.class})
|
||||
@Size(min = 1, max = 50, message = "{test_plan_report.create_user.length_range}", groups = {Created.class, Updated.class})
|
||||
private String createUser;
|
||||
|
||||
@Schema(title = "创建时间")
|
||||
|
|
|
@ -26,8 +26,6 @@ public class TestPlanUiScenario implements Serializable {
|
|||
private String uiScenarioId;
|
||||
|
||||
@Schema(title = "创建人", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@NotBlank(message = "{test_plan_ui_scenario.create_user.not_blank}", groups = {Created.class})
|
||||
@Size(min = 1, max = 50, message = "{test_plan_ui_scenario.create_user.length_range}", groups = {Created.class, Updated.class})
|
||||
private String createUser;
|
||||
|
||||
@Schema(title = "创建时间")
|
||||
|
|
|
@ -32,8 +32,6 @@ public class ApiTemplate implements Serializable {
|
|||
private Long createTime;
|
||||
|
||||
@Schema(title = "创建人", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@NotBlank(message = "{api_template.create_user.not_blank}", groups = {Created.class})
|
||||
@Size(min = 1, max = 50, message = "{api_template.create_user.length_range}", groups = {Created.class, Updated.class})
|
||||
private String createUser;
|
||||
|
||||
@Schema(title = "项目ID", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
|
|
|
@ -27,13 +27,9 @@ public class FakeError implements Serializable {
|
|||
private Long updateTime;
|
||||
|
||||
@Schema(title = "创建人", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@NotBlank(message = "{fake_error.create_user.not_blank}", groups = {Created.class})
|
||||
@Size(min = 1, max = 64, message = "{fake_error.create_user.length_range}", groups = {Created.class, Updated.class})
|
||||
private String createUser;
|
||||
|
||||
@Schema(title = "更新人", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@NotBlank(message = "{fake_error.update_user.not_blank}", groups = {Created.class})
|
||||
@Size(min = 1, max = 64, message = "{fake_error.update_user.length_range}", groups = {Created.class, Updated.class})
|
||||
private String updateUser;
|
||||
|
||||
@Schema(title = "错误码", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
|
|
|
@ -45,13 +45,9 @@ public class FileMetadata implements Serializable {
|
|||
private String storage;
|
||||
|
||||
@Schema(title = "创建人", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@NotBlank(message = "{file_metadata.create_user.not_blank}", groups = {Created.class})
|
||||
@Size(min = 1, max = 50, message = "{file_metadata.create_user.length_range}", groups = {Created.class, Updated.class})
|
||||
private String createUser;
|
||||
|
||||
@Schema(title = "修改人", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@NotBlank(message = "{file_metadata.update_user.not_blank}", groups = {Created.class})
|
||||
@Size(min = 1, max = 50, message = "{file_metadata.update_user.length_range}", groups = {Created.class, Updated.class})
|
||||
private String updateUser;
|
||||
|
||||
@Schema(title = "标签")
|
||||
|
|
|
@ -32,8 +32,6 @@ public class FunctionalCaseTemplate implements Serializable {
|
|||
private Long createTime;
|
||||
|
||||
@Schema(title = "创建人", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@NotBlank(message = "{functional_case_template.create_user.not_blank}", groups = {Created.class})
|
||||
@Size(min = 1, max = 50, message = "{functional_case_template.create_user.length_range}", groups = {Created.class, Updated.class})
|
||||
private String createUser;
|
||||
|
||||
@Schema(title = "项目ID", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
|
|
|
@ -32,8 +32,6 @@ public class IssueTemplate implements Serializable {
|
|||
private Long createTime;
|
||||
|
||||
@Schema(title = "创建人", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@NotBlank(message = "{issue_template.create_user.not_blank}", groups = {Created.class})
|
||||
@Size(min = 1, max = 50, message = "{issue_template.create_user.length_range}", groups = {Created.class, Updated.class})
|
||||
private String createUser;
|
||||
|
||||
@Schema(title = "项目ID", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
|
|
|
@ -49,8 +49,6 @@ public class ProjectVersion implements Serializable {
|
|||
private Long createTime;
|
||||
|
||||
@Schema(title = "创建人", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@NotBlank(message = "{project_version.create_user.not_blank}", groups = {Created.class})
|
||||
@Size(min = 1, max = 50, message = "{project_version.create_user.length_range}", groups = {Created.class, Updated.class})
|
||||
private String createUser;
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
|
|
@ -38,8 +38,6 @@ public class Environment implements Serializable {
|
|||
private Integer port;
|
||||
|
||||
@Schema(title = "创建人", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@NotBlank(message = "{environment.create_user.not_blank}", groups = {Created.class})
|
||||
@Size(min = 1, max = 50, message = "{environment.create_user.length_range}", groups = {Created.class, Updated.class})
|
||||
private String createUser;
|
||||
|
||||
@Schema(title = "创建时间")
|
||||
|
|
|
@ -29,8 +29,6 @@ public class EnvironmentGroup implements Serializable {
|
|||
private String description;
|
||||
|
||||
@Schema(title = "创建人", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@NotBlank(message = "{environment_group.create_user.not_blank}", groups = {Created.class})
|
||||
@Size(min = 1, max = 50, message = "{environment_group.create_user.length_range}", groups = {Created.class, Updated.class})
|
||||
private String createUser;
|
||||
|
||||
@Schema(title = "创建时间")
|
||||
|
|
|
@ -31,8 +31,6 @@ public class RelationshipEdge implements Serializable {
|
|||
private String graphId;
|
||||
|
||||
@Schema(title = "创建人", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@NotBlank(message = "{relationship_edge.create_user.not_blank}", groups = {Created.class})
|
||||
@Size(min = 1, max = 50, message = "{relationship_edge.create_user.length_range}", groups = {Created.class, Updated.class})
|
||||
private String createUser;
|
||||
|
||||
@Schema(title = "")
|
||||
|
|
|
@ -19,8 +19,6 @@ public class ShareInfo implements Serializable {
|
|||
private Long createTime;
|
||||
|
||||
@Schema(title = "创建人", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@NotBlank(message = "{share_info.create_user.not_blank}", groups = {Created.class})
|
||||
@Size(min = 1, max = 50, message = "{share_info.create_user.length_range}", groups = {Created.class, Updated.class})
|
||||
private String createUser;
|
||||
|
||||
@Schema(title = "更新时间")
|
||||
|
|
|
@ -40,8 +40,6 @@ public class Schedule implements Serializable {
|
|||
private String resourceId;
|
||||
|
||||
@Schema(title = "创建人", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@NotBlank(message = "{schedule.create_user.not_blank}", groups = {Created.class})
|
||||
@Size(min = 1, max = 50, message = "{schedule.create_user.length_range}", groups = {Created.class, Updated.class})
|
||||
private String createUser;
|
||||
|
||||
@Schema(title = "Create timestamp")
|
||||
|
|
|
@ -57,8 +57,6 @@ public class User implements Serializable {
|
|||
private String lastProjectId;
|
||||
|
||||
@Schema(title = "创建人", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@NotBlank(message = "{user.create_user.not_blank}", groups = {Created.class})
|
||||
@Size(min = 1, max = 50, message = "{user.create_user.length_range}", groups = {Created.class, Updated.class})
|
||||
private String createUser;
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
|
|
@ -16,8 +16,6 @@ public class UserKey implements Serializable {
|
|||
private String id;
|
||||
|
||||
@Schema(title = "用户ID", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@NotBlank(message = "{user_key.create_user.not_blank}", groups = {Created.class})
|
||||
@Size(min = 1, max = 50, message = "{user_key.create_user.length_range}", groups = {Created.class, Updated.class})
|
||||
private String createUser;
|
||||
|
||||
@Schema(title = "access_key", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
|
|
|
@ -40,8 +40,6 @@ public class UserRole implements Serializable {
|
|||
private Long updateTime;
|
||||
|
||||
@Schema(title = "创建人(操作人)", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@NotBlank(message = "{user_role.create_user.not_blank}", groups = {Created.class})
|
||||
@Size(min = 1, max = 50, message = "{user_role.create_user.length_range}", groups = {Created.class, Updated.class})
|
||||
private String createUser;
|
||||
|
||||
@Schema(title = "应用范围", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
|
|
|
@ -30,8 +30,6 @@ public class Workspace implements Serializable {
|
|||
private Long updateTime;
|
||||
|
||||
@Schema(title = "创建人", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@NotBlank(message = "{workspace.create_user.not_blank}", groups = {Created.class})
|
||||
@Size(min = 1, max = 50, message = "{workspace.create_user.length_range}", groups = {Created.class, Updated.class})
|
||||
private String createUser;
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
|
|
@ -76,8 +76,6 @@ public class UiCustomCommand implements Serializable {
|
|||
private String customNum;
|
||||
|
||||
@Schema(title = "创建人", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@NotBlank(message = "{ui_custom_command.create_user.not_blank}", groups = {Created.class})
|
||||
@Size(min = 1, max = 50, message = "{ui_custom_command.create_user.length_range}", groups = {Created.class, Updated.class})
|
||||
private String createUser;
|
||||
|
||||
@Schema(title = "删除时间")
|
||||
|
|
|
@ -47,8 +47,6 @@ public class UiCustomCommandModule implements Serializable {
|
|||
private Double pos;
|
||||
|
||||
@Schema(title = "创建人", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@NotBlank(message = "{ui_custom_command_module.create_user.not_blank}", groups = {Created.class})
|
||||
@Size(min = 1, max = 50, message = "{ui_custom_command_module.create_user.length_range}", groups = {Created.class, Updated.class})
|
||||
private String createUser;
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
|
|
@ -46,13 +46,9 @@ public class UiElement implements Serializable {
|
|||
private String location;
|
||||
|
||||
@Schema(title = "创建人", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@NotBlank(message = "{ui_element.create_user.not_blank}", groups = {Created.class})
|
||||
@Size(min = 1, max = 50, message = "{ui_element.create_user.length_range}", groups = {Created.class, Updated.class})
|
||||
private String createUser;
|
||||
|
||||
@Schema(title = "更新人", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@NotBlank(message = "{ui_element.update_user.not_blank}", groups = {Created.class})
|
||||
@Size(min = 1, max = 50, message = "{ui_element.update_user.length_range}", groups = {Created.class, Updated.class})
|
||||
private String updateUser;
|
||||
|
||||
@Schema(title = "版本ID", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
|
|
|
@ -47,8 +47,6 @@ public class UiElementModule implements Serializable {
|
|||
private Double pos;
|
||||
|
||||
@Schema(title = "创建人", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@NotBlank(message = "{ui_element_module.create_user.not_blank}", groups = {Updated.class})
|
||||
@Size(min = 1, max = 50, message = "{ui_element_module.create_user.length_range}", groups = {Created.class, Updated.class})
|
||||
private String createUser;
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
|
|
@ -79,8 +79,6 @@ public class UiScenario implements Serializable {
|
|||
private String customNum;
|
||||
|
||||
@Schema(title = "创建人", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@NotBlank(message = "{ui_scenario.create_user.not_blank}", groups = {Created.class})
|
||||
@Size(min = 1, max = 50, message = "{ui_scenario.create_user.length_range}", groups = {Created.class, Updated.class})
|
||||
private String createUser;
|
||||
|
||||
@Schema(title = "删除时间")
|
||||
|
|
|
@ -47,8 +47,6 @@ public class UiScenarioModule implements Serializable {
|
|||
private Double pos;
|
||||
|
||||
@Schema(title = "创建人", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@NotBlank(message = "{ui_scenario_module.create_user.not_blank}", groups = {Created.class})
|
||||
@Size(min = 1, max = 50, message = "{ui_scenario_module.create_user.length_range}", groups = {Created.class, Updated.class})
|
||||
private String createUser;
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
|
|
@ -24,8 +24,6 @@ public class UiScenarioReference implements Serializable {
|
|||
private Long createTime;
|
||||
|
||||
@Schema(title = "创建人", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@NotBlank(message = "{ui_scenario_reference.create_user.not_blank}", groups = {Created.class})
|
||||
@Size(min = 1, max = 50, message = "{ui_scenario_reference.create_user.length_range}", groups = {Created.class, Updated.class})
|
||||
private String createUser;
|
||||
|
||||
@Schema(title = "被引用的ID", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
|
|
|
@ -57,8 +57,6 @@ public class UiScenarioReport implements Serializable {
|
|||
private String scenarioId;
|
||||
|
||||
@Schema(title = "创建人", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@NotBlank(message = "{ui_scenario_report.create_user.not_blank}", groups = {Created.class})
|
||||
@Size(min = 1, max = 50, message = "{ui_scenario_report.create_user.length_range}", groups = {Created.class, Updated.class})
|
||||
private String createUser;
|
||||
|
||||
@Schema(title = "资源池ID", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
|
|
Loading…
Reference in New Issue