build: update api basic primary key
This commit is contained in:
parent
ba383e9727
commit
72d0fd3f16
|
@ -22,8 +22,7 @@ public class ApiDefinitionBlob extends ApiDefinition implements Serializable {
|
|||
@TableId
|
||||
@NotBlank(message = "{api_definition_blob.api_definition_id.not_blank}", groups = {Updated.class})
|
||||
@ApiModelProperty(name = "接口fk/ 一对一关系", required = true, allowableValues = "range[1, 50]")
|
||||
private String apiDefinitionId;
|
||||
|
||||
private String id;
|
||||
|
||||
@ApiModelProperty(name = "请求内容", required = false, dataType = "byte[]")
|
||||
private byte[] request;
|
||||
|
|
|
@ -14,13 +14,13 @@ import java.io.Serializable;
|
|||
@ApiModel(value = "mock期望值配置")
|
||||
@TableName("api_definition_mock_config")
|
||||
@Data
|
||||
public class ApiDefinitionMockConfig implements Serializable {
|
||||
public class ApiDefinitionMockConfig extends ApiDefinitionMock implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@TableId
|
||||
@NotBlank(message = "{api_definition_mock_config.api_definition_mock_id.not_blank}", groups = {Updated.class})
|
||||
@ApiModelProperty(name = "接口mock pk", required = true, allowableValues = "range[1, 50]")
|
||||
private String apiDefinitionMockId;
|
||||
private String id;
|
||||
|
||||
@ApiModelProperty(name = "请求内容", required = false, allowableValues = "range[1, ]")
|
||||
private byte[] request;
|
||||
|
|
|
@ -22,7 +22,7 @@ public class ApiReportBlob extends ApiReport implements Serializable {
|
|||
@TableId
|
||||
@NotBlank(message = "{api_report_blob.api_report_id.not_blank}", groups = {Updated.class})
|
||||
@ApiModelProperty(name = "接口报告fk", required = true, allowableValues = "range[1, 50]")
|
||||
private String apiReportId;
|
||||
private String id;
|
||||
|
||||
@ApiModelProperty(name = "结果内容详情", required = false, dataType = "byte[]")
|
||||
private byte[] content;
|
||||
|
|
|
@ -22,7 +22,7 @@ public class ApiScenarioBlob extends ApiScenario implements Serializable {
|
|||
@TableId
|
||||
@NotBlank(message = "{api_scenario_blob.api_scenario_id.not_blank}", groups = {Updated.class})
|
||||
@ApiModelProperty(name = "场景pk", required = true, allowableValues = "range[1, 50]")
|
||||
private String apiScenarioId;
|
||||
private String id;
|
||||
|
||||
@ApiModelProperty(name = "场景步骤内容", required = false, dataType = "byte[]")
|
||||
private byte[] content;
|
||||
|
|
|
@ -22,7 +22,7 @@ public class ApiTestCaseBlob extends ApiTestCase implements Serializable {
|
|||
@TableId
|
||||
@NotBlank(message = "{api_test_case_blob.api_test_case_id.not_blank}", groups = {Updated.class})
|
||||
@ApiModelProperty(name = "接口用例pk", required = true, allowableValues = "range[1, 50]")
|
||||
private String apiTestCaseId;
|
||||
private String id;
|
||||
|
||||
@ApiModelProperty(name = "请求内容", required = false, dataType = "byte[]")
|
||||
private byte[] request;
|
||||
|
|
Loading…
Reference in New Issue